AI & XML / LLM test suite / Results / Models / llama3-gradient:8b

Model description

This model extends LLaMa-3 8B’s context length from 8K to more than 1 million tokens.

Model family

llama3-gradient

Context

1M

Input

Text

Size

47 GB

Family sizes

8b, 70b

Readme excerpt

Developed by Gradient with compute support from Crusoe Energy, this model extends LLaMa-3 8B’s context length from 8K to more than 1040K. It shows that state-of-the-art LLMs can learn to handle long contexts with minimal training when the RoPE theta value is adjusted appropriately. This phase used 830 million tokens, with 1.4 billion tokens across all phases in total, less than 0.01 percent of Llama 3’s original pretraining data.

Large context window

Note: a 256K context window requires at least 64 GB of memory. A context window of more than 1 million tokens requires significantly more than 100 GB.

For example, to extend the context window to 256K, use:

API

curl http://localhost:11434/api/generate -d '{ "model": "llama3-gradient", "prompt": "Warum ist der Himmel blau?", "options": { "num_ctx": 256000 } }'

CLI

ollama run llama3-gradient >>> /set parameter num_ctx 256000

References

Website

Hugging Face

1270 Runs 1340 evaluated 25.9 % Score 7.8 % exactly correct

Help on evaluation, score and exact correctness

Score is a graded quality measure: correct = 100 %, mostly_correct = 80 %, partial = 50 %, wrong/not_answered = 0 %.

Exactly correct is stricter: only correct-labeled runs count. Mostly correct increases score but does not count as exactly correct.

Evaluated counts all runs with a substantive judgment. LLM-judge errors also count as evaluated, with score 0 %.

Test case Category

x

back to top