Stemma Machinarum

Model · code-llama-7b

Code Llama 7B

Developer: Meta
Availability: gated · checked 2026-09-24 · source
Meta's repo is gated (manual approval); the codellama/ transformers conversion used for the config is not gated.

Raw record: /data/models/code-llama-7b.json

Fields

id
code-llama-7b
identifiers
huggingface
meta-llama/CodeLlama-7b-hf
codellama/CodeLlama-7b-hf
developer
Meta
release_date
2023-08-24recorded · source
weights_status
open
availability
gated · checked 2026-09-24 · source
note:  Meta's repo is gated (manual approval); the codellama/ transformers conversion used for the config is not gated.
license
Released under the same custom license as Llama 2 (paper: 'released under the same custom permissive license').recorded · source
architecture
family
decoder_only
n_layers
32recorded · source
hidden_size
4096recorded · source
n_heads
32recorded · source
vocab_size
32016recorded · source
positional_encoding
rotary (RoPE)recorded · source
context_length
16384recorded · source
n_kv_heads
32recorded · source
note
Config is from the codellama/ HF org's transformers conversion, pinned by commit. Paper: RoPE base period raised from 10,000 to 1,000,000 for long-context fine-tuning (config rope_theta = 1000000). Vocab 32016 vs Llama 2's 32000; the extra tokens are not explained in the sources read.
training_data
Initialized from Llama 2 7B, then 500B tokens of 'a near-deduplicated dataset of publicly available code' (8% natural language about code).partial · source
techniques
transformer-decoder
rotary-position-embedding
rmsnorm
swiglu
primary_sources
https://arxiv.org/abs/2308.12950
https://huggingface.co/codellama/CodeLlama-7b-hf/raw/6c284d1468fe6c413cf56183e69b194dcfa27fe6/config.json
record_history
date:2026-09-24 · change:created from primary sources (Phase 1 seed, batch 1) · by:wilson-pruitt + claude ·
date:2026-09-24 · change:availability checked and recorded · by:wilson-pruitt + claude ·

Parents

Weights descend

Children

Weights descend

Read in

No station on the reading path has touched this record yet.