Views
No views yet
| Repository suffix | Training phase | Context length |
|---|---|---|
stage1 | Pretraining | 8,192 |
stage2 | Mid-training | 8,192 |
stage3 | Long-context training | 65,536 |
stage4-think | Think SFT | 65,536 |
stage4-instruct | Instruct SFT | 65,536 |
repo_id to the desired repository from the table above:1import torch
2from transformers import AutoModelForCausalLM, AutoTokenizer
3
4repo_id = "ArchSpace-Collection/OLMo3-SiameseNorm-DepthAttention-<stage>"
5
6tokenizer = AutoTokenizer.from_pretrained(
7 repo_id,
8 trust_remote_code=True,
9 fix_mistral_regex=False,
10)
11model = AutoModelForCausalLM.from_pretrained(
12 repo_id,
13 trust_remote_code=True,
14 dtype=torch.bfloat16,
15 attn_implementation="sdpa",
16)fix_mistral_regex=False preserves the tokenizer behavior used during
training. SDPA is the recommended and release-validated BF16 inference backend.