Downloads · 30 days
39
13% of all-time downloads
sfanm/d24-v6-pretrain
d24-v6-pretrain is a text generation model from sfanm. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as other.
The loadable model at this repository's root is the terminal pretraining checkpoint in the public D24 v6 lineage: a 756,819,456-parameter decoder trained from scratch on the nominal 400B-token ClimbMix corpus. The run…
Downloads · 30 days
39
13% of all-time downloads
All-time downloads
312
Public
Repo size
245 GB
Likes
1
Public
Click a slice to open those files.
.distcp205 GB · 100%
From the Hugging Face model README
The loadable model at this repository's root is the terminal pretraining checkpoint in the public D24 v6 lineage: a 756,819,456-parameter decoder trained from scratch on the nominal 400B-token ClimbMix corpus. The run consumed exactly 354,530,270,862 training tokens and ended at optimizer iteration 84,527.
| Field | Value |
|---|---|
| Parameters | 756,819,456 |
| Layers / hidden size | 24 / 1,536 |
| Attention heads | 12 (MHA) |
| FFN size | 4,096 (SwiGLU/SiLU) |
| Position encoding | RoPE, theta 10,000 |
| Normalization | RMSNorm |
| Embeddings | Tied |
| Tokenizer | GPT-2 BPE, vocabulary padded to 50,304 |
| Context | 2,048 tokens |
| Published weights | BF16 |
The Transformers class is LlamaForCausalLM, but this is a from-scratch D24
model with the GPT-2 tokenizer, not a Llama-family pretrained checkpoint.
Training used sequence length 2,048, global batch 2,048, microbatch 4, AdamW
at peak LR 4e-4, weight decay 0.1, gradient clip 1.0, and a WSD schedule with
845 warmup steps and a final 16,905-step cosine decay to 4e-5. Final held-out
language-model loss was 2.256648 (perplexity 9.551).
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "sfanm/d24-v6-pretrain"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
model_id, dtype=torch.bfloat16, device_map="auto"
)
This is a base language model and has no chat template. All 23 retained,
resumable Megatron distributed checkpoints are published under megatron/,
from iter_0004000 through the terminal iter_0084527 (including the
deadline checkpoint iter_0067040).
This experimental research checkpoint has not undergone safety alignment or a comprehensive evaluation. Review the licenses and terms of all upstream data before redistribution or downstream use.