Upload LlamaForCausalLM
Browse files- config.json +6 -10
- generation_config.json +1 -1
- model.safetensors +2 -2
config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "unsloth/tinyllama",
|
3 |
"architectures": [
|
4 |
"LlamaForCausalLM"
|
5 |
],
|
@@ -11,7 +11,7 @@
|
|
11 |
"hidden_size": 2048,
|
12 |
"initializer_range": 0.02,
|
13 |
"intermediate_size": 5632,
|
14 |
-
"max_position_embeddings":
|
15 |
"model_type": "llama",
|
16 |
"num_attention_heads": 32,
|
17 |
"num_hidden_layers": 22,
|
@@ -19,7 +19,7 @@
|
|
19 |
"pad_token_id": 0,
|
20 |
"pretraining_tp": 1,
|
21 |
"quantization_config": {
|
22 |
-
"bnb_4bit_compute_dtype": "
|
23 |
"bnb_4bit_quant_type": "nf4",
|
24 |
"bnb_4bit_use_double_quant": true,
|
25 |
"llm_int8_enable_fp32_cpu_offload": false,
|
@@ -31,15 +31,11 @@
|
|
31 |
"quant_method": "bitsandbytes"
|
32 |
},
|
33 |
"rms_norm_eps": 1e-05,
|
34 |
-
"rope_scaling":
|
35 |
-
"factor": 2.0,
|
36 |
-
"type": "linear"
|
37 |
-
},
|
38 |
"rope_theta": 10000.0,
|
39 |
"tie_word_embeddings": false,
|
40 |
-
"torch_dtype": "
|
41 |
-
"transformers_version": "4.
|
42 |
-
"unsloth_version": "2024.1",
|
43 |
"use_cache": true,
|
44 |
"vocab_size": 32000
|
45 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "unsloth/tinyllama-bnb-4bit",
|
3 |
"architectures": [
|
4 |
"LlamaForCausalLM"
|
5 |
],
|
|
|
11 |
"hidden_size": 2048,
|
12 |
"initializer_range": 0.02,
|
13 |
"intermediate_size": 5632,
|
14 |
+
"max_position_embeddings": 2048,
|
15 |
"model_type": "llama",
|
16 |
"num_attention_heads": 32,
|
17 |
"num_hidden_layers": 22,
|
|
|
19 |
"pad_token_id": 0,
|
20 |
"pretraining_tp": 1,
|
21 |
"quantization_config": {
|
22 |
+
"bnb_4bit_compute_dtype": "bfloat16",
|
23 |
"bnb_4bit_quant_type": "nf4",
|
24 |
"bnb_4bit_use_double_quant": true,
|
25 |
"llm_int8_enable_fp32_cpu_offload": false,
|
|
|
31 |
"quant_method": "bitsandbytes"
|
32 |
},
|
33 |
"rms_norm_eps": 1e-05,
|
34 |
+
"rope_scaling": null,
|
|
|
|
|
|
|
35 |
"rope_theta": 10000.0,
|
36 |
"tie_word_embeddings": false,
|
37 |
+
"torch_dtype": "float32",
|
38 |
+
"transformers_version": "4.35.2",
|
|
|
39 |
"use_cache": true,
|
40 |
"vocab_size": 32000
|
41 |
}
|
generation_config.json
CHANGED
@@ -3,5 +3,5 @@
|
|
3 |
"eos_token_id": 2,
|
4 |
"max_length": 2048,
|
5 |
"pad_token_id": 0,
|
6 |
-
"transformers_version": "4.
|
7 |
}
|
|
|
3 |
"eos_token_id": 2,
|
4 |
"max_length": 2048,
|
5 |
"pad_token_id": 0,
|
6 |
+
"transformers_version": "4.35.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:60b943c6c08c9c855653f13225405ea8dd459424339385da2694deae9c382023
|
3 |
+
size 4400216536
|