AjayRangoji commited on
Commit
a8501f5
·
verified ·
1 Parent(s): f60cc25

Update README with metadata

Browse files
Files changed (1) hide show
  1. README.md +14 -2
README.md CHANGED
@@ -1,9 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
  # AR (Autoregressive 4B) — Full Pretraining Codebase & Infrastructure
2
 
3
  Pretraining codebase, cluster orchestration scripts, data pipeline, and evaluation harness for **AR-4B**, a 4.02B-parameter decoder-only transformer pretrained from scratch on ~325B tokens across up to 64x NVIDIA H100 GPUs.
4
 
5
  - **Pretrained Weights & Model Card:** [AjayRangoji/AR-4B-base](https://huggingface.co/AjayRangoji/AR-4B-base)
6
- - **Architecture:** 4.02B parameters, 36 layers, hidden size 2,560, GQA (32/8 heads, head dim 128), SwiGLU MLP (inner size 9,728), QK-norm RMSNorm, RoPE (theta = 1,000,000), tied input/output embeddings, 151,936 vocab (Qwen3 BPE).
7
  - **Scale:** ~325 Billion tokens (Stage 1 ~300B general + Stage 2 ~25B reasoning & code anneal).
8
  - **Framework:** PyTorch FSDP2, bf16 compute / fp32 reductions, activation checkpointing, FlexAttention with document masking.
9
 
@@ -140,7 +152,7 @@ sbatch train_real.sbatch
140
  # Export trained checkpoint to weights-only bf16:
141
  python -m ar.eval.export_ckpt --ckpt /path/to/ckpt --out /path/to/model.pt
142
 
143
- # Convert to Hugging Face safetensors format and verify numerical outputs:
144
  python upload/convert_and_check.py \
145
  --ckpt /path/to/model.pt \
146
  --out /path/to/hf_export \
 
1
+ ---
2
+ language:
3
+ - en
4
+ license: apache-2.0
5
+ tags:
6
+ - pretraining
7
+ - causal-lm
8
+ - fsdp2
9
+ - pytorch
10
+ - h100
11
+ ---
12
+
13
  # AR (Autoregressive 4B) — Full Pretraining Codebase & Infrastructure
14
 
15
  Pretraining codebase, cluster orchestration scripts, data pipeline, and evaluation harness for **AR-4B**, a 4.02B-parameter decoder-only transformer pretrained from scratch on ~325B tokens across up to 64x NVIDIA H100 GPUs.
16
 
17
  - **Pretrained Weights & Model Card:** [AjayRangoji/AR-4B-base](https://huggingface.co/AjayRangoji/AR-4B-base)
18
+ - **Architecture:** 4.02B parameters, 36 layers, hidden size 2,560, GQA (32/8 heads, head dim 128), SwiGLU MLP (inner size 9,728), QK-norm RMSNorm, RoPE ($\theta = 1,000,000$), tied input/output embeddings, 151,936 vocab (Qwen3 BPE).
19
  - **Scale:** ~325 Billion tokens (Stage 1 ~300B general + Stage 2 ~25B reasoning & code anneal).
20
  - **Framework:** PyTorch FSDP2, bf16 compute / fp32 reductions, activation checkpointing, FlexAttention with document masking.
21
 
 
152
  # Export trained checkpoint to weights-only bf16:
153
  python -m ar.eval.export_ckpt --ckpt /path/to/ckpt --out /path/to/model.pt
154
 
155
+ # Convert to Hugging Face safetensors format and verify numerical parity:
156
  python upload/convert_and_check.py \
157
  --ckpt /path/to/model.pt \
158
  --out /path/to/hf_export \