Upload LlamaForCausalLM
Browse files- config.json +5 -21
- generation_config.json +2 -2
- model.safetensors +2 -2
config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
"architectures": [
|
4 |
"LlamaForCausalLM"
|
5 |
],
|
@@ -11,36 +11,20 @@
|
|
11 |
"hidden_size": 2048,
|
12 |
"initializer_range": 0.02,
|
13 |
"intermediate_size": 5632,
|
14 |
-
"max_position_embeddings":
|
15 |
"mlp_bias": false,
|
16 |
"model_type": "llama",
|
17 |
"num_attention_heads": 32,
|
18 |
"num_hidden_layers": 22,
|
19 |
"num_key_value_heads": 4,
|
20 |
-
"pad_token_id":
|
21 |
"pretraining_tp": 1,
|
22 |
-
"quantization_config": {
|
23 |
-
"bnb_4bit_compute_dtype": "float16",
|
24 |
-
"bnb_4bit_quant_type": "nf4",
|
25 |
-
"bnb_4bit_use_double_quant": true,
|
26 |
-
"llm_int8_enable_fp32_cpu_offload": false,
|
27 |
-
"llm_int8_has_fp16_weight": false,
|
28 |
-
"llm_int8_skip_modules": null,
|
29 |
-
"llm_int8_threshold": 6.0,
|
30 |
-
"load_in_4bit": true,
|
31 |
-
"load_in_8bit": false,
|
32 |
-
"quant_method": "bitsandbytes"
|
33 |
-
},
|
34 |
"rms_norm_eps": 1e-05,
|
35 |
-
"rope_scaling":
|
36 |
-
"factor": 2.0,
|
37 |
-
"type": "linear"
|
38 |
-
},
|
39 |
"rope_theta": 10000.0,
|
40 |
"tie_word_embeddings": false,
|
41 |
-
"torch_dtype": "
|
42 |
"transformers_version": "4.44.2",
|
43 |
-
"unsloth_version": "2024.10.7",
|
44 |
"use_cache": true,
|
45 |
"vocab_size": 32000
|
46 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "TinyLlama/TinyLlama-1.1B-Chat-v1.0",
|
3 |
"architectures": [
|
4 |
"LlamaForCausalLM"
|
5 |
],
|
|
|
11 |
"hidden_size": 2048,
|
12 |
"initializer_range": 0.02,
|
13 |
"intermediate_size": 5632,
|
14 |
+
"max_position_embeddings": 2048,
|
15 |
"mlp_bias": false,
|
16 |
"model_type": "llama",
|
17 |
"num_attention_heads": 32,
|
18 |
"num_hidden_layers": 22,
|
19 |
"num_key_value_heads": 4,
|
20 |
+
"pad_token_id": 2,
|
21 |
"pretraining_tp": 1,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22 |
"rms_norm_eps": 1e-05,
|
23 |
+
"rope_scaling": null,
|
|
|
|
|
|
|
24 |
"rope_theta": 10000.0,
|
25 |
"tie_word_embeddings": false,
|
26 |
+
"torch_dtype": "float32",
|
27 |
"transformers_version": "4.44.2",
|
|
|
28 |
"use_cache": true,
|
29 |
"vocab_size": 32000
|
30 |
}
|
generation_config.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
{
|
2 |
"bos_token_id": 1,
|
3 |
"eos_token_id": 2,
|
4 |
-
"max_length":
|
5 |
-
"pad_token_id":
|
6 |
"transformers_version": "4.44.2"
|
7 |
}
|
|
|
1 |
{
|
2 |
"bos_token_id": 1,
|
3 |
"eos_token_id": 2,
|
4 |
+
"max_length": 2048,
|
5 |
+
"pad_token_id": 2,
|
6 |
"transformers_version": "4.44.2"
|
7 |
}
|
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:5e9e93a56efef2e4c9a01d31c9f3e1d5b7369b81843a426ecfd1889b10e4361d
|
3 |
+
size 4400216536
|