danielhanchen
commited on
Commit
•
8b129d2
1
Parent(s):
73b0137
Upload config
Browse files- README.md +1 -2
- config.json +7 -2
README.md
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
---
|
2 |
language:
|
3 |
- en
|
4 |
-
license: apache-2.0
|
5 |
library_name: transformers
|
|
|
6 |
tags:
|
7 |
- unsloth
|
8 |
- transformers
|
@@ -11,7 +11,6 @@ tags:
|
|
11 |
- sft
|
12 |
- zephyr
|
13 |
- bnb
|
14 |
-
|
15 |
---
|
16 |
|
17 |
# 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
|
|
|
11 |
- sft
|
12 |
- zephyr
|
13 |
- bnb
|
|
|
14 |
---
|
15 |
|
16 |
# Finetune Mistral, Gemma, Llama 2-5x faster with 70% less memory via Unsloth!
|
config.json
CHANGED
@@ -1,11 +1,12 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "HuggingFaceH4/
|
3 |
"architectures": [
|
4 |
"MistralForCausalLM"
|
5 |
],
|
6 |
"attention_dropout": 0.0,
|
7 |
"bos_token_id": 1,
|
8 |
"eos_token_id": 2,
|
|
|
9 |
"hidden_act": "silu",
|
10 |
"hidden_size": 4096,
|
11 |
"initializer_range": 0.02,
|
@@ -15,8 +16,12 @@
|
|
15 |
"num_attention_heads": 32,
|
16 |
"num_hidden_layers": 32,
|
17 |
"num_key_value_heads": 8,
|
|
|
18 |
"quantization_config": {
|
|
|
|
|
19 |
"bnb_4bit_compute_dtype": "bfloat16",
|
|
|
20 |
"bnb_4bit_quant_type": "nf4",
|
21 |
"bnb_4bit_use_double_quant": true,
|
22 |
"llm_int8_enable_fp32_cpu_offload": false,
|
@@ -32,7 +37,7 @@
|
|
32 |
"sliding_window": 4096,
|
33 |
"tie_word_embeddings": false,
|
34 |
"torch_dtype": "bfloat16",
|
35 |
-
"transformers_version": "4.
|
36 |
"use_cache": true,
|
37 |
"vocab_size": 32000
|
38 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "HuggingFaceH4/zephyr-7b-beta",
|
3 |
"architectures": [
|
4 |
"MistralForCausalLM"
|
5 |
],
|
6 |
"attention_dropout": 0.0,
|
7 |
"bos_token_id": 1,
|
8 |
"eos_token_id": 2,
|
9 |
+
"head_dim": 128,
|
10 |
"hidden_act": "silu",
|
11 |
"hidden_size": 4096,
|
12 |
"initializer_range": 0.02,
|
|
|
16 |
"num_attention_heads": 32,
|
17 |
"num_hidden_layers": 32,
|
18 |
"num_key_value_heads": 8,
|
19 |
+
"pad_token_id": 2,
|
20 |
"quantization_config": {
|
21 |
+
"_load_in_4bit": true,
|
22 |
+
"_load_in_8bit": false,
|
23 |
"bnb_4bit_compute_dtype": "bfloat16",
|
24 |
+
"bnb_4bit_quant_storage": "uint8",
|
25 |
"bnb_4bit_quant_type": "nf4",
|
26 |
"bnb_4bit_use_double_quant": true,
|
27 |
"llm_int8_enable_fp32_cpu_offload": false,
|
|
|
37 |
"sliding_window": 4096,
|
38 |
"tie_word_embeddings": false,
|
39 |
"torch_dtype": "bfloat16",
|
40 |
+
"transformers_version": "4.44.0",
|
41 |
"use_cache": true,
|
42 |
"vocab_size": 32000
|
43 |
}
|