atrost/climbmix-matformer-353m-1p2b-h100-s
04
atrost/climbmix-matformer-353m-1p2b-h100-s
Extracted S MatFormer submodel from atrost/climbmix-matformer-353m-1p2b-h100.
Details
- Architecture:
ExtractedMatFormerForCausalLM - MatFormer size:
s - Parameters:
159,776,000 - Source checkpoint:
atrost/climbmix-matformer-353m-1p2b-h100 - Source checkpoint revision:
09960b1419b0340d8e918107e3915c0dccd852de - Source training actual tokens:
1,201,668,096 - Slice spec:
{'num_attention_heads': 2, 'num_key_value_heads': 1, 'intermediate_size': 512}
Loading
from transformers import AutoModelForCausalLM, AutoTokenizer
repo_id = "atrost/climbmix-matformer-353m-1p2b-h100-s"
tokenizer = AutoTokenizer.from_pretrained(repo_id)
model = AutoModelForCausalLM.from_pretrained(
repo_id,
trust_remote_code=True,
torch_dtype="auto",
)trust_remote_code=True is required for the custom MatFormer extracted architecture.
