unsloth / text-generation updated 1 year ago

Meta-Llama-3.1-8B-Instruct

We have a free Google Colab Tesla T4 notebook for Llama 3.1 (8B) here: https://colab.research.google.com/drive/1Ys44kVvmeZtnICzWz0xgpRnrIOjZAuxp?usp=sharing

Params
8.0 B
Context
131,072
Downloads 30d
410 K
Likes
98
Commercial use: conditional · llama3.1 Not gated SAFETENSORS 1 languages View on Hugging Face ↗

Download history

daily snapshots · 10 days
410 K355 K
Jul 28Jul 31Aug 3Aug 6

Can you run it?

Estimated VRAM at 8K context unless noted. Pick your hardware to see the verdict per quantization.

FileQuantSizeEst. VRAMVerdict on RTX 4090 · 24 GB
model.safetensors bf16 16.1 GB 19.4 GB ✅ Runs comfortably
model.safetensors (bf16, full) bf16 + 128K ctx 16.1 GB 37.4 GB ❌ Won’t fit
Estimate: file size × 1.1 + KV cache at 8K + 0.5 GB overhead. Not a benchmark — how we calculate this.

Run it

copy-paste, exact tags checked against the Hub
~ · curl · api/v1
$ curl -s https://aimodelscomparison.com/api/v1/models/meta-llama-3-1-8b-instruct-unsloth
{
  "hf_id": "unsloth/Meta-Llama-3.1-8B-Instruct",
  "params_b": 8.03,
  "context_length": 131072,
  "license": { "id": "llama3.1", "commercial": "conditional" },
  "downloads_30d": 409524,
  "vram_estimates": [
    { "quant": "bf16", "gb": 19.4 }
  ],
  "updated_at": "2026-07-28T18:06:08Z"
}
est. VRAM —on RTX 4090 · 24 GBJSON API →

Specifications

Architecture
LlamaForCausalLM
Parameters
8.0 B
Tensor type
BF16
Context length
131,072
Vocabulary
128,256
Layers / heads
32 / 32
Licence
llama3.1
First seen on the Hub
2024-07-23
Base model
Llama-3.1-8B-Instruct
Training datasets
undisclosed
Added to our catalog
2026-07-28

Family

Base model and the most-downloaded derivatives in the catalog.