Trained with Unsloth
Browse filesUpload model trained with Unsloth 2x faster
- config.json +18 -19
- generation_config.json +4 -5
- model.safetensors +2 -2
config.json
CHANGED
@@ -1,22 +1,24 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "unsloth/
|
3 |
"architectures": [
|
4 |
-
"
|
5 |
],
|
|
|
6 |
"attention_dropout": 0.0,
|
7 |
-
"bos_token_id":
|
8 |
-
"eos_token_id":
|
9 |
"hidden_act": "silu",
|
10 |
"hidden_size": 2048,
|
11 |
"initializer_range": 0.02,
|
12 |
-
"intermediate_size":
|
13 |
-
"max_position_embeddings":
|
14 |
-
"
|
15 |
-
"model_type": "
|
16 |
-
"num_attention_heads":
|
17 |
-
"num_hidden_layers":
|
18 |
-
"num_key_value_heads":
|
19 |
-
"pad_token_id":
|
|
|
20 |
"quantization_config": {
|
21 |
"bnb_4bit_compute_dtype": "float16",
|
22 |
"bnb_4bit_quant_type": "nf4",
|
@@ -29,16 +31,13 @@
|
|
29 |
"load_in_8bit": false,
|
30 |
"quant_method": "bitsandbytes"
|
31 |
},
|
32 |
-
"rms_norm_eps": 1e-
|
33 |
"rope_scaling": null,
|
34 |
-
"rope_theta":
|
35 |
-
"
|
36 |
-
"tie_word_embeddings": true,
|
37 |
"torch_dtype": "float16",
|
38 |
"transformers_version": "4.44.2",
|
39 |
"unsloth_version": "2024.9.post4",
|
40 |
"use_cache": true,
|
41 |
-
"
|
42 |
-
"use_sliding_window": false,
|
43 |
-
"vocab_size": 151936
|
44 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "unsloth/tinyllama-bnb-4bit",
|
3 |
"architectures": [
|
4 |
+
"LlamaForCausalLM"
|
5 |
],
|
6 |
+
"attention_bias": false,
|
7 |
"attention_dropout": 0.0,
|
8 |
+
"bos_token_id": 1,
|
9 |
+
"eos_token_id": 2,
|
10 |
"hidden_act": "silu",
|
11 |
"hidden_size": 2048,
|
12 |
"initializer_range": 0.02,
|
13 |
+
"intermediate_size": 5632,
|
14 |
+
"max_position_embeddings": 2048,
|
15 |
+
"mlp_bias": false,
|
16 |
+
"model_type": "llama",
|
17 |
+
"num_attention_heads": 32,
|
18 |
+
"num_hidden_layers": 22,
|
19 |
+
"num_key_value_heads": 4,
|
20 |
+
"pad_token_id": 0,
|
21 |
+
"pretraining_tp": 1,
|
22 |
"quantization_config": {
|
23 |
"bnb_4bit_compute_dtype": "float16",
|
24 |
"bnb_4bit_quant_type": "nf4",
|
|
|
31 |
"load_in_8bit": false,
|
32 |
"quant_method": "bitsandbytes"
|
33 |
},
|
34 |
+
"rms_norm_eps": 1e-05,
|
35 |
"rope_scaling": null,
|
36 |
+
"rope_theta": 10000.0,
|
37 |
+
"tie_word_embeddings": false,
|
|
|
38 |
"torch_dtype": "float16",
|
39 |
"transformers_version": "4.44.2",
|
40 |
"unsloth_version": "2024.9.post4",
|
41 |
"use_cache": true,
|
42 |
+
"vocab_size": 32000
|
|
|
|
|
43 |
}
|
generation_config.json
CHANGED
@@ -1,8 +1,7 @@
|
|
1 |
{
|
2 |
-
"bos_token_id":
|
3 |
-
"eos_token_id":
|
4 |
-
"max_length":
|
5 |
-
"
|
6 |
-
"pad_token_id": 151665,
|
7 |
"transformers_version": "4.44.2"
|
8 |
}
|
|
|
1 |
{
|
2 |
+
"bos_token_id": 1,
|
3 |
+
"eos_token_id": 2,
|
4 |
+
"max_length": 2048,
|
5 |
+
"pad_token_id": 0,
|
|
|
6 |
"transformers_version": "4.44.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:dd6b88efc28e5f82be67140f852de51a47b8e823828b6a27eee535499e75e795
|
3 |
+
size 762453353
|