danielhanchen
commited on
Commit
•
1f7efee
1
Parent(s):
18dd2a3
Upload LlamaForCausalLM
Browse files- README.md +1 -2
- config.json +3 -2
- generation_config.json +1 -1
- model.safetensors +2 -2
README.md
CHANGED
@@ -1,14 +1,13 @@
|
|
1 |
---
|
2 |
language:
|
3 |
- en
|
4 |
-
license: apache-2.0
|
5 |
library_name: transformers
|
|
|
6 |
tags:
|
7 |
- unsloth
|
8 |
- transformers
|
9 |
- codellama
|
10 |
- codellama-7b
|
11 |
-
|
12 |
---
|
13 |
|
14 |
# Finetune Mistral, Gemma, Llama 2-5x faster with 70% less memory via Unsloth!
|
|
|
1 |
---
|
2 |
language:
|
3 |
- en
|
|
|
4 |
library_name: transformers
|
5 |
+
license: apache-2.0
|
6 |
tags:
|
7 |
- unsloth
|
8 |
- transformers
|
9 |
- codellama
|
10 |
- codellama-7b
|
|
|
11 |
---
|
12 |
|
13 |
# Finetune Mistral, Gemma, Llama 2-5x faster with 70% less memory via Unsloth!
|
config.json
CHANGED
@@ -12,16 +12,17 @@
|
|
12 |
"initializer_range": 0.02,
|
13 |
"intermediate_size": 11008,
|
14 |
"max_position_embeddings": 16384,
|
|
|
15 |
"model_type": "llama",
|
16 |
"num_attention_heads": 32,
|
17 |
"num_hidden_layers": 32,
|
18 |
"num_key_value_heads": 32,
|
19 |
-
"pad_token_id": 0,
|
20 |
"pretraining_tp": 1,
|
21 |
"quantization_config": {
|
22 |
"_load_in_4bit": true,
|
23 |
"_load_in_8bit": false,
|
24 |
"bnb_4bit_compute_dtype": "bfloat16",
|
|
|
25 |
"bnb_4bit_quant_type": "nf4",
|
26 |
"bnb_4bit_use_double_quant": true,
|
27 |
"llm_int8_enable_fp32_cpu_offload": false,
|
@@ -37,7 +38,7 @@
|
|
37 |
"rope_theta": 1000000,
|
38 |
"tie_word_embeddings": false,
|
39 |
"torch_dtype": "bfloat16",
|
40 |
-
"transformers_version": "4.
|
41 |
"use_cache": true,
|
42 |
"vocab_size": 32016
|
43 |
}
|
|
|
12 |
"initializer_range": 0.02,
|
13 |
"intermediate_size": 11008,
|
14 |
"max_position_embeddings": 16384,
|
15 |
+
"mlp_bias": false,
|
16 |
"model_type": "llama",
|
17 |
"num_attention_heads": 32,
|
18 |
"num_hidden_layers": 32,
|
19 |
"num_key_value_heads": 32,
|
|
|
20 |
"pretraining_tp": 1,
|
21 |
"quantization_config": {
|
22 |
"_load_in_4bit": true,
|
23 |
"_load_in_8bit": false,
|
24 |
"bnb_4bit_compute_dtype": "bfloat16",
|
25 |
+
"bnb_4bit_quant_storage": "uint8",
|
26 |
"bnb_4bit_quant_type": "nf4",
|
27 |
"bnb_4bit_use_double_quant": true,
|
28 |
"llm_int8_enable_fp32_cpu_offload": false,
|
|
|
38 |
"rope_theta": 1000000,
|
39 |
"tie_word_embeddings": false,
|
40 |
"torch_dtype": "bfloat16",
|
41 |
+
"transformers_version": "4.43.3",
|
42 |
"use_cache": true,
|
43 |
"vocab_size": 32016
|
44 |
}
|
generation_config.json
CHANGED
@@ -2,5 +2,5 @@
|
|
2 |
"_from_model_config": true,
|
3 |
"bos_token_id": 1,
|
4 |
"eos_token_id": 2,
|
5 |
-
"transformers_version": "4.
|
6 |
}
|
|
|
2 |
"_from_model_config": true,
|
3 |
"bos_token_id": 1,
|
4 |
"eos_token_id": 2,
|
5 |
+
"transformers_version": "4.43.3"
|
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:77c6ef940402724bd88cd1043177aae981e269badc0dac59847e29097a26810c
|
3 |
+
size 3866304467
|