[KongchangAI]
ModelLlama 3.1 8B

Llama 3.1 8B

The 8-billion-parameter version of Meta's open-source large language model Llama 3.1, commonly used in research and resource-constrained settings.

Core Facts

Timeline (last 90 days)

Oct 19

The token-probability scoring method significantly outperforms direct prompt-based classification, with particularly notable gains on the 8B model.

Unverified50%
Oct 19

The study evaluated the token-probability scoring method using Llama 3.1 8B and 70B models on three datasets: TOEFL9, Write and Improve 2024, and BULATS-L1.

Unverified50%
Oct 17

Llama 3.1 8B has 8,006,464,512 parameters (according to Meta's official model card).

Unverified50%
Oct 12

Grouped-query attention (GQA) was proposed by Ainslie et al. in 2023 and is a compromise between multi-head attention (MHA) and multi-query attention (MQA); Llama 3.1 8B uses 32 query heads divided into 8 groups, with each group of 4 query heads sharing 1 KV head, shrinking the KV cache by 4x compared to MHA.

Unverified50%
Oct 12

On the cluster panel, replacing the model's structured decision-making with code (based on the same extracted facts) improved family accuracy by an average of 20.5 percentage points, with Llama 3.1 8B rising from 1% under self-judgment to 56% under code adjudication.

Unverified50%
Oct 12

Groq measured inference speed on Llama 3.1 8B exceeds 500 tokens/second

Unverified50%
Sep 24

Llama 3.1 8B and Qwen2.5 14B are recommended for general reasoning and Q&A, with the latter performing better on Chinese and complex reasoning.

Unverified50%
Sep 12

The KV cache overhead per token for Llama 3.1 8B is approximately 128 KB.

Unverified50%
Aug 29

The core idea of model routing is that not all tasks require the most powerful model; simple tasks can use lightweight models such as GPT-4o-mini, Claude 3 Haiku, or Llama 3.1 8B, potentially at just 1/50 or even 1/100 the cost of flagship models.

Unverified50%
Aug 12

Llama 3 8B has 32 layers, 8 KV heads (GQA architecture with 32 query heads), a head dimension of 128, and a KV cache of approximately 1.07 GB for a single sequence under FP16 with an 8192 context length.

Verified65%

All Facts (12)

Verified

以LLaMA-3 70B(80层、64头、每头128维)为例,单个token的KV Cache约占2.6MB(FP16精度),32K上下文的KV Cache总量约达83GB

80%
Verified

Even compressing the weights to 214GB using 4-bit quantization still far exceeds the capacity of a single 48GB GPU.

70%
Verified

Llama 3 8B has 32 layers, 8 KV heads (GQA architecture with 32 query heads), a head dimension of 128, and a KV cache of approximately 1.07 GB for a single sequence under FP16 with an 8192 context length.

65%
Unverified

The token-probability scoring method significantly outperforms direct prompt-based classification, with particularly notable gains on the 8B model.

50%
Unverified

The study evaluated the token-probability scoring method using Llama 3.1 8B and 70B models on three datasets: TOEFL9, Write and Improve 2024, and BULATS-L1.

50%
Unverified

Llama 3.1 8B has 8,006,464,512 parameters (according to Meta's official model card).

50%
Unverified

Grouped-query attention (GQA) was proposed by Ainslie et al. in 2023 and is a compromise between multi-head attention (MHA) and multi-query attention (MQA); Llama 3.1 8B uses 32 query heads divided into 8 groups, with each group of 4 query heads sharing 1 KV head, shrinking the KV cache by 4x compared to MHA.

50%
Unverified

On the cluster panel, replacing the model's structured decision-making with code (based on the same extracted facts) improved family accuracy by an average of 20.5 percentage points, with Llama 3.1 8B rising from 1% under self-judgment to 56% under code adjudication.

50%
Unverified

Groq measured inference speed on Llama 3.1 8B exceeds 500 tokens/second

50%
Unverified

Llama 3.1 8B and Qwen2.5 14B are recommended for general reasoning and Q&A, with the latter performing better on Chinese and complex reasoning.

50%
Unverified

The KV cache overhead per token for Llama 3.1 8B is approximately 128 KB.

50%
Unverified

The core idea of model routing is that not all tasks require the most powerful model; simple tasks can use lightweight models such as GPT-4o-mini, Claude 3 Haiku, or Llama 3.1 8B, potentially at just 1/50 or even 1/100 the cost of flagship models.

50%

Source Articles