Skip to content
llmmodels
Chat LLMOpen weightsHistorical

YaRN (Llama 2 13B)

by Nous Research · Nov 1, 2023

YaRN (Llama 2 13B) is an open-weight chat llm from Nous Research, released Nov 1, 2023. It has 13B parameters.

Released
Nov 1, 2023
Type
Chat LLM
Parameters
13B
Context window
—
Max output
—
Input
text
Output
text
Weights
Open weights
License
Open (restricted)
Knowledge cutoff
—
Status
Historical
Training compute
1.9e+20 FLOP
Training data
2.5B tokens/words

About YaRN (Llama 2 13B)

Rotary Position Embeddings (RoPE) have been shown to effectively encode positional information in transformer-based language models. However, these models fail to generalize past the sequence length they were trained on. We present YaRN (Yet another RoPE extensioN method), a compute-efficient method to extend the context window of such models, requiring 10x less tokens and 2.5x less training steps than previous methods.

How to run YaRN (Llama 2 13B)

YaRN (Llama 2 13B) is an open-weight model. Run it locally with Ollama, LM Studio or llama.cpp (quantized GGUF builds), or serve it on GPUs with vLLM, SGLang or Hugging Face TGI. At 13B parameters it needs roughly 8 GB of memory at 4-bit quantization.

YaRN (Llama 2 13B) vs alternatives

Alternatives to YaRN (Llama 2 13B)
ModelProviderReleasedParamsContextInput $/1MOutput $/1MECI
Llama 2-13BopenMetaJul 202313B———96.5
Baichuan2-13BopenBaichuanSep 202313B———91.8
Qwen-14BopenAlibaba (Qwen)Sep 202314B———101.8
vicuna-13b-v1.1openLMSYSApr 202313B———76.1
Llama-2-13b-chat-hfopenMetaJul 202313B————
Cerebras-GPT-13BopenCerebrasApr 202313B———48.9
Dolly 2.0-12bopenDatabricksApr 202312B———55.5
tiny-random-LlamaForCausalLMopenHugging FaceApr 2023—————

More models from Nous Research

All Nous Research models →
ModelReleasedParamsContextInput $/1MOutput $/1M
Hermes 4 405BopenAug 2025406B128K$1$3
Arete-27BopenNov 202627B———
Hermes 2 Pro Llama 3 8BopenApr 20248B128K$0.14$0.14
Hermes-3-Llama-3.1-8BopenJul 20248B———
Meta-Llama-3-8B-InstructopenApr 20248B———
Hermes 3 70B Instruct (Deep Infra)openAug 202471B128K$0.7$0.7
Hermes 3 405B Instruct (Deep Infra)openAug 2024406B128K$1$1
Hermes-4-14BopenAug 2025————

Frequently asked questions

Who made YaRN (Llama 2 13B)?

YaRN (Llama 2 13B) was developed by Nous Research (United States of America,United States of America,Switzerland). It was released on Nov 1, 2023.

Is YaRN (Llama 2 13B) open source?

Yes. YaRN (Llama 2 13B)'s weights are publicly available, so you can download and run it yourself.

How many parameters does YaRN (Llama 2 13B) have?

YaRN (Llama 2 13B) has 13B parameters.

Sources: epoch · paper. Last updated 2026-11-22.