Views
No views yet
atrost/climbmix-matformer-353m-1p2b-h100.ExtractedMatFormerForCausalLMxl352,943,360atrost/climbmix-matformer-353m-1p2b-h10009960b1419b0340d8e918107e3915c0dccd852de1,201,668,096{'num_attention_heads': 16, 'num_key_value_heads': 8, 'intermediate_size': 3584}1from transformers import AutoModelForCausalLM, AutoTokenizer
2
3repo_id = "atrost/climbmix-matformer-353m-1p2b-h100-xl"
4tokenizer = AutoTokenizer.from_pretrained(repo_id)
5model = AutoModelForCausalLM.from_pretrained(
6 repo_id,
7 trust_remote_code=True,
8 torch_dtype="auto",
9)trust_remote_code=True is required for the custom MatFormer extracted architecture.