Skip to content

Commit

Permalink
Update model_preset.py
Browse files Browse the repository at this point in the history
  • Loading branch information
tlopex authored Nov 23, 2024
1 parent 2eda514 commit 4e6920d
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions python/mlc_llm/model/model_preset.py
Original file line number Diff line number Diff line change
Expand Up @@ -1821,4 +1821,28 @@
"use_cache": True,
"vocab_size": 102400,
},
"olmo": {
"architectures": ["OlmoForCausalLM"],
"attention_bias": False,
"attention_dropout": 0.0,
"clip_qkv": 8.0,
"eos_token_id": 50279,
"hidden_act": "silu",
"hidden_size": 2048,
"initializer_range": 0.02,
"intermediate_size": 8192,
"max_position_embeddings": 4096,
"model_type": "olmo",
"num_attention_heads": 16,
"num_hidden_layers": 16,
"num_key_value_heads": 16,
"pad_token_id": 1,
"rope_scaling": None,
"rope_theta": 10000.0,
"tie_word_embeddings": False,
"torch_dtype": "float32",
"transformers_version": "4.40.2",
"use_cache": True,
"vocab_size": 50304,
},
}

0 comments on commit 4e6920d

Please sign in to comment.