Upload config.json with huggingface_hub
Browse files- config.json +27 -0
config.json
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"OpenThaiWilaiForCausalLM"
|
| 4 |
+
],
|
| 5 |
+
"bos_token_id": 2,
|
| 6 |
+
"dtype": "float32",
|
| 7 |
+
"eos_token_id": 3,
|
| 8 |
+
"hidden_size": 768,
|
| 9 |
+
"intermediate_size": 3072,
|
| 10 |
+
"max_position_embeddings": 2048,
|
| 11 |
+
"model_type": "OpenThaiWilai",
|
| 12 |
+
"num_experts": 4,
|
| 13 |
+
"num_heads": 8,
|
| 14 |
+
"num_hidden_layers": 6,
|
| 15 |
+
"num_key_value_heads": 8,
|
| 16 |
+
"num_layers": 6,
|
| 17 |
+
"pad_token_id": 0,
|
| 18 |
+
"rope": true,
|
| 19 |
+
"top_k": 2,
|
| 20 |
+
"transformers_version": "4.56.1",
|
| 21 |
+
"use_flashattn": true,
|
| 22 |
+
"vocab_size": 48000,
|
| 23 |
+
"auto_map": {
|
| 24 |
+
"AutoConfig": "configuration_openthaiwilai.OpenThaiWilaiConfig",
|
| 25 |
+
"AutoModelForCausalLM": "modeling_openthaiwilai.OpenThaiWilaiForCausalLM"
|
| 26 |
+
}
|
| 27 |
+
}
|