danielhanchen
commited on
Commit
•
1a073c4
1
Parent(s):
2858aa3
Upload model trained with Unsloth
Browse filesUpload model trained with Unsloth 2x faster
- config.json +3 -4
- generation_config.json +5 -2
- model.safetensors +1 -1
config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
"architectures": [
|
4 |
"LlamaForCausalLM"
|
5 |
],
|
@@ -18,8 +18,6 @@
|
|
18 |
"num_key_value_heads": 8,
|
19 |
"pretraining_tp": 1,
|
20 |
"quantization_config": {
|
21 |
-
"_load_in_4bit": true,
|
22 |
-
"_load_in_8bit": false,
|
23 |
"bnb_4bit_compute_dtype": "bfloat16",
|
24 |
"bnb_4bit_quant_type": "nf4",
|
25 |
"bnb_4bit_use_double_quant": true,
|
@@ -36,7 +34,8 @@
|
|
36 |
"rope_theta": 500000.0,
|
37 |
"tie_word_embeddings": false,
|
38 |
"torch_dtype": "bfloat16",
|
39 |
-
"transformers_version": "4.
|
|
|
40 |
"use_cache": true,
|
41 |
"vocab_size": 128256
|
42 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "unsloth/llama-3-8b-bnb-4bit",
|
3 |
"architectures": [
|
4 |
"LlamaForCausalLM"
|
5 |
],
|
|
|
18 |
"num_key_value_heads": 8,
|
19 |
"pretraining_tp": 1,
|
20 |
"quantization_config": {
|
|
|
|
|
21 |
"bnb_4bit_compute_dtype": "bfloat16",
|
22 |
"bnb_4bit_quant_type": "nf4",
|
23 |
"bnb_4bit_use_double_quant": true,
|
|
|
34 |
"rope_theta": 500000.0,
|
35 |
"tie_word_embeddings": false,
|
36 |
"torch_dtype": "bfloat16",
|
37 |
+
"transformers_version": "4.40.1",
|
38 |
+
"unsloth_version": "2024.4",
|
39 |
"use_cache": true,
|
40 |
"vocab_size": 128256
|
41 |
}
|
generation_config.json
CHANGED
@@ -1,6 +1,9 @@
|
|
1 |
{
|
2 |
"_from_model_config": true,
|
3 |
"bos_token_id": 128000,
|
4 |
-
"eos_token_id": [
|
5 |
-
|
|
|
|
|
|
|
6 |
}
|
|
|
1 |
{
|
2 |
"_from_model_config": true,
|
3 |
"bos_token_id": 128000,
|
4 |
+
"eos_token_id": [
|
5 |
+
128001,
|
6 |
+
128009
|
7 |
+
],
|
8 |
+
"transformers_version": "4.40.1"
|
9 |
}
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 5702746405
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bdf50ebc10381ed47ffd73fc48187ab0db5e1fa74de8b8a5916b672af107e459
|
3 |
size 5702746405
|