Hjgugugjhuhjggg
commited on
Upload config.json with huggingface_hub
Browse files- config.json +63 -0
config.json
ADDED
@@ -0,0 +1,63 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "HuggingFaceTB/SmolLM2-135M-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 |
+
"head_dim": 64,
|
11 |
+
"hidden_act": "silu",
|
12 |
+
"hidden_size": 576,
|
13 |
+
"initializer_range": 0.041666666666666664,
|
14 |
+
"intermediate_size": 1536,
|
15 |
+
"is_llama_config": true,
|
16 |
+
"max_position_embeddings": 8192,
|
17 |
+
"mlp_bias": false,
|
18 |
+
"model_type": "llama",
|
19 |
+
"num_attention_heads": 9,
|
20 |
+
"num_hidden_layers": 30,
|
21 |
+
"num_key_value_heads": 3,
|
22 |
+
"pad_token_id": 2,
|
23 |
+
"pretraining_tp": 1,
|
24 |
+
"quantization_config": {
|
25 |
+
"batch_size": 1,
|
26 |
+
"bits": 2,
|
27 |
+
"block_name_to_quantize": null,
|
28 |
+
"cache_block_outputs": true,
|
29 |
+
"damp_percent": 0.1,
|
30 |
+
"dataset": "c4",
|
31 |
+
"desc_act": false,
|
32 |
+
"exllama_config": {
|
33 |
+
"version": 1
|
34 |
+
},
|
35 |
+
"group_size": 128,
|
36 |
+
"max_input_length": null,
|
37 |
+
"model_seqlen": null,
|
38 |
+
"module_name_preceding_first_block": null,
|
39 |
+
"modules_in_block_to_quantize": null,
|
40 |
+
"pad_token_id": null,
|
41 |
+
"quant_method": "gptq",
|
42 |
+
"sym": true,
|
43 |
+
"tokenizer": null,
|
44 |
+
"true_sequential": true,
|
45 |
+
"use_cuda_fp16": false,
|
46 |
+
"use_exllama": true
|
47 |
+
},
|
48 |
+
"rms_norm_eps": 1e-05,
|
49 |
+
"rope_interleaved": false,
|
50 |
+
"rope_scaling": null,
|
51 |
+
"rope_theta": 100000,
|
52 |
+
"tie_word_embeddings": true,
|
53 |
+
"torch_dtype": "float16",
|
54 |
+
"transformers.js_config": {
|
55 |
+
"kv_cache_dtype": {
|
56 |
+
"fp16": "float16",
|
57 |
+
"q4f16": "float16"
|
58 |
+
}
|
59 |
+
},
|
60 |
+
"transformers_version": "4.48.0",
|
61 |
+
"use_cache": true,
|
62 |
+
"vocab_size": 49152
|
63 |
+
}
|