Upload folder using huggingface_hub
Browse files- config.json +19 -1
- generation_config.json +1 -1
- model.safetensors +2 -2
config.json
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
{
|
|
|
2 |
"architectures": [
|
3 |
"LlamaForCausalLM"
|
4 |
],
|
@@ -6,24 +7,41 @@
|
|
6 |
"attention_dropout": 0.0,
|
7 |
"bos_token_id": 0,
|
8 |
"eos_token_id": 0,
|
|
|
9 |
"hidden_act": "silu",
|
10 |
"hidden_size": 576,
|
11 |
"initializer_range": 0.041666666666666664,
|
12 |
"intermediate_size": 1536,
|
13 |
"is_llama_config": true,
|
14 |
"max_position_embeddings": 8192,
|
|
|
15 |
"model_type": "llama",
|
16 |
"num_attention_heads": 9,
|
17 |
"num_hidden_layers": 30,
|
18 |
"num_key_value_heads": 3,
|
19 |
"pretraining_tp": 1,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
"rms_norm_eps": 1e-05,
|
21 |
"rope_interleaved": false,
|
22 |
"rope_scaling": null,
|
23 |
"rope_theta": 100000,
|
24 |
"tie_word_embeddings": true,
|
25 |
"torch_dtype": "bfloat16",
|
26 |
-
"transformers_version": "4.
|
27 |
"use_cache": true,
|
28 |
"vocab_size": 49152
|
29 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "HuggingFaceTB/SmolLM2-135M",
|
3 |
"architectures": [
|
4 |
"LlamaForCausalLM"
|
5 |
],
|
|
|
7 |
"attention_dropout": 0.0,
|
8 |
"bos_token_id": 0,
|
9 |
"eos_token_id": 0,
|
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 |
"pretraining_tp": 1,
|
23 |
+
"quantization_config": {
|
24 |
+
"_load_in_4bit": true,
|
25 |
+
"_load_in_8bit": false,
|
26 |
+
"bnb_4bit_compute_dtype": "bfloat16",
|
27 |
+
"bnb_4bit_quant_storage": "bfloat16",
|
28 |
+
"bnb_4bit_quant_type": "nf4",
|
29 |
+
"bnb_4bit_use_double_quant": true,
|
30 |
+
"llm_int8_enable_fp32_cpu_offload": false,
|
31 |
+
"llm_int8_has_fp16_weight": false,
|
32 |
+
"llm_int8_skip_modules": null,
|
33 |
+
"llm_int8_threshold": 6.0,
|
34 |
+
"load_in_4bit": true,
|
35 |
+
"load_in_8bit": false,
|
36 |
+
"quant_method": "bitsandbytes"
|
37 |
+
},
|
38 |
"rms_norm_eps": 1e-05,
|
39 |
"rope_interleaved": false,
|
40 |
"rope_scaling": null,
|
41 |
"rope_theta": 100000,
|
42 |
"tie_word_embeddings": true,
|
43 |
"torch_dtype": "bfloat16",
|
44 |
+
"transformers_version": "4.46.2",
|
45 |
"use_cache": true,
|
46 |
"vocab_size": 49152
|
47 |
}
|
generation_config.json
CHANGED
@@ -2,5 +2,5 @@
|
|
2 |
"_from_model_config": true,
|
3 |
"bos_token_id": 0,
|
4 |
"eos_token_id": 0,
|
5 |
-
"transformers_version": "4.
|
6 |
}
|
|
|
2 |
"_from_model_config": true,
|
3 |
"bos_token_id": 0,
|
4 |
"eos_token_id": 0,
|
5 |
+
"transformers_version": "4.46.2"
|
6 |
}
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4963a043140595ba61b95fdff1900bfd5065b198d5982ea64f6bd4f25e814000
|
3 |
+
size 111880782
|