Views
No views yet
use_remote_code=True to load OlmPool models. The revision is the checkpoint that you would like to load. For instance, to load the final post-context-extension model:1from transformers import AutoModel
2import torch
3
4DEVICE = "cuda" if torch.cuda.is_available() else "cpu"
5
6model = AutoModel.from_pretrained("allenai/G_pre_8kv_4k_14k", revision="longcontext-step2385", use_remote_code=True).to(DEVICE)huggingface-hub & running:1from huggingface_hub import list_repo_refs
2out = list_repo_refs("allenai/G_pre_8kv_4k_14k")
3branches = [b.name for b in out.branches]step34000: Final pretraining checkpointlongcontext-step2385: Final long context checkpoint1@misc{bertsch2026cracks,
2 title={Cracks in the Foundation: Seemingly Minor Architectural Choices Impact Long Context Extension},
3 author={Amanda Bertsch and Luca Soldaini and Matthew R. Gormley and Graham Neubig and Hanna Hajishirzi and Kyle Lo and Dirk Groeneveld},
4 year={2026},
5}