Trained with Unsloth
Browse filesUpload model trained with Unsloth 2x faster
- config.json +21 -31
- generation_config.json +9 -8
- model.safetensors +2 -2
config.json
CHANGED
@@ -1,29 +1,22 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "unsloth/
|
3 |
"architectures": [
|
4 |
-
"
|
5 |
],
|
6 |
-
"attention_bias": false,
|
7 |
"attention_dropout": 0.0,
|
8 |
-
"bos_token_id":
|
9 |
-
"eos_token_id":
|
10 |
-
128001,
|
11 |
-
128008,
|
12 |
-
128009
|
13 |
-
],
|
14 |
-
"head_dim": 64,
|
15 |
"hidden_act": "silu",
|
16 |
-
"hidden_size":
|
17 |
"initializer_range": 0.02,
|
18 |
-
"intermediate_size":
|
19 |
-
"max_position_embeddings":
|
20 |
-
"
|
21 |
-
"model_type": "
|
22 |
-
"num_attention_heads":
|
23 |
-
"num_hidden_layers":
|
24 |
-
"num_key_value_heads":
|
25 |
-
"pad_token_id":
|
26 |
-
"pretraining_tp": 1,
|
27 |
"quantization_config": {
|
28 |
"bnb_4bit_compute_dtype": "float16",
|
29 |
"bnb_4bit_quant_type": "nf4",
|
@@ -36,19 +29,16 @@
|
|
36 |
"load_in_8bit": false,
|
37 |
"quant_method": "bitsandbytes"
|
38 |
},
|
39 |
-
"rms_norm_eps": 1e-
|
40 |
-
"rope_scaling":
|
41 |
-
|
42 |
-
|
43 |
-
"low_freq_factor": 1.0,
|
44 |
-
"original_max_position_embeddings": 8192,
|
45 |
-
"rope_type": "llama3"
|
46 |
-
},
|
47 |
-
"rope_theta": 500000.0,
|
48 |
"tie_word_embeddings": true,
|
49 |
"torch_dtype": "float16",
|
50 |
"transformers_version": "4.46.2",
|
51 |
-
"
|
|
|
52 |
"use_cache": true,
|
53 |
-
"
|
|
|
54 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "unsloth/Qwen2.5-0.5B-Instruct-bnb-4bit",
|
3 |
"architectures": [
|
4 |
+
"Qwen2ForCausalLM"
|
5 |
],
|
|
|
6 |
"attention_dropout": 0.0,
|
7 |
+
"bos_token_id": 151643,
|
8 |
+
"eos_token_id": 151645,
|
|
|
|
|
|
|
|
|
|
|
9 |
"hidden_act": "silu",
|
10 |
+
"hidden_size": 896,
|
11 |
"initializer_range": 0.02,
|
12 |
+
"intermediate_size": 4864,
|
13 |
+
"max_position_embeddings": 32768,
|
14 |
+
"max_window_layers": 21,
|
15 |
+
"model_type": "qwen2",
|
16 |
+
"num_attention_heads": 14,
|
17 |
+
"num_hidden_layers": 24,
|
18 |
+
"num_key_value_heads": 2,
|
19 |
+
"pad_token_id": 151665,
|
|
|
20 |
"quantization_config": {
|
21 |
"bnb_4bit_compute_dtype": "float16",
|
22 |
"bnb_4bit_quant_type": "nf4",
|
|
|
29 |
"load_in_8bit": false,
|
30 |
"quant_method": "bitsandbytes"
|
31 |
},
|
32 |
+
"rms_norm_eps": 1e-06,
|
33 |
+
"rope_scaling": null,
|
34 |
+
"rope_theta": 1000000.0,
|
35 |
+
"sliding_window": null,
|
|
|
|
|
|
|
|
|
|
|
36 |
"tie_word_embeddings": true,
|
37 |
"torch_dtype": "float16",
|
38 |
"transformers_version": "4.46.2",
|
39 |
+
"unsloth_fixed": true,
|
40 |
+
"unsloth_version": "2024.11.7",
|
41 |
"use_cache": true,
|
42 |
+
"use_sliding_window": false,
|
43 |
+
"vocab_size": 151936
|
44 |
}
|
generation_config.json
CHANGED
@@ -1,14 +1,15 @@
|
|
1 |
{
|
2 |
-
"bos_token_id":
|
3 |
"do_sample": true,
|
4 |
"eos_token_id": [
|
5 |
-
|
6 |
-
|
7 |
-
128009
|
8 |
],
|
9 |
-
"max_length":
|
10 |
-
"pad_token_id":
|
11 |
-
"
|
12 |
-
"
|
|
|
|
|
13 |
"transformers_version": "4.46.2"
|
14 |
}
|
|
|
1 |
{
|
2 |
+
"bos_token_id": 151643,
|
3 |
"do_sample": true,
|
4 |
"eos_token_id": [
|
5 |
+
151645,
|
6 |
+
151643
|
|
|
7 |
],
|
8 |
+
"max_length": 32768,
|
9 |
+
"pad_token_id": 151665,
|
10 |
+
"repetition_penalty": 1.1,
|
11 |
+
"temperature": 0.7,
|
12 |
+
"top_k": 20,
|
13 |
+
"top_p": 0.8,
|
14 |
"transformers_version": "4.46.2"
|
15 |
}
|
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:43951a399196499028e6503baeb78a9a91cb02a1e2854c336bbc5aa26cd486e9
|
3 |
+
size 457346538
|