hsuwill000
commited on
Commit
•
1282b5c
1
Parent(s):
d6e2c91
Upload config.json with huggingface_hub
Browse files- config.json +36 -0
config.json
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "HuggingFaceTB/SmolLM2-1.7B-Instruct",
|
3 |
+
"architectures": [
|
4 |
+
"LlamaForCausalLM"
|
5 |
+
],
|
6 |
+
"attention_bias": false,
|
7 |
+
"attention_dropout": 0.0,
|
8 |
+
"bos_token_id": 1,
|
9 |
+
"eos_token_id": 2,
|
10 |
+
"hidden_act": "silu",
|
11 |
+
"hidden_size": 2048,
|
12 |
+
"initializer_range": 0.02,
|
13 |
+
"intermediate_size": 8192,
|
14 |
+
"max_position_embeddings": 8192,
|
15 |
+
"mlp_bias": false,
|
16 |
+
"model_type": "llama",
|
17 |
+
"num_attention_heads": 32,
|
18 |
+
"num_hidden_layers": 24,
|
19 |
+
"num_key_value_heads": 32,
|
20 |
+
"pad_token_id": 2,
|
21 |
+
"pretraining_tp": 1,
|
22 |
+
"rms_norm_eps": 1e-05,
|
23 |
+
"rope_scaling": null,
|
24 |
+
"rope_theta": 130000,
|
25 |
+
"tie_word_embeddings": true,
|
26 |
+
"torch_dtype": "bfloat16",
|
27 |
+
"transformers.js_config": {
|
28 |
+
"kv_cache_dtype": {
|
29 |
+
"fp16": "float16",
|
30 |
+
"q4f16": "float16"
|
31 |
+
}
|
32 |
+
},
|
33 |
+
"transformers_version": "4.42.4",
|
34 |
+
"use_cache": true,
|
35 |
+
"vocab_size": 49152
|
36 |
+
}
|