hiraltalsaniya commited on
Commit
8e4e8c6
·
verified ·
1 Parent(s): ee80547

Trained with Unsloth

Browse files

Upload model trained with Unsloth 2x faster

Files changed (3) hide show
  1. config.json +148 -0
  2. generation_config.json +8 -0
  3. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,148 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "unsloth/phi-3.5-mini-instruct-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": 32000,
10
+ "hidden_act": "silu",
11
+ "hidden_size": 3072,
12
+ "initializer_range": 0.02,
13
+ "intermediate_size": 8192,
14
+ "max_position_embeddings": 131072,
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
+ "original_max_position_embeddings": 4096,
21
+ "pad_token_id": 32000,
22
+ "pretraining_tp": 1,
23
+ "quantization_config": {
24
+ "bnb_4bit_compute_dtype": "float16",
25
+ "bnb_4bit_quant_type": "nf4",
26
+ "bnb_4bit_use_double_quant": true,
27
+ "llm_int8_enable_fp32_cpu_offload": false,
28
+ "llm_int8_has_fp16_weight": false,
29
+ "llm_int8_skip_modules": null,
30
+ "llm_int8_threshold": 6.0,
31
+ "load_in_4bit": true,
32
+ "load_in_8bit": false,
33
+ "quant_method": "bitsandbytes"
34
+ },
35
+ "rms_norm_eps": 1e-05,
36
+ "rope_scaling": {
37
+ "attention_factor": 32.0,
38
+ "factor": 32.0,
39
+ "long_factor": [
40
+ 1.0800000429153442,
41
+ 1.1100000143051147,
42
+ 1.1399999856948853,
43
+ 1.340000033378601,
44
+ 1.5899999141693115,
45
+ 1.600000023841858,
46
+ 1.6200000047683716,
47
+ 2.620000123977661,
48
+ 3.2300000190734863,
49
+ 3.2300000190734863,
50
+ 4.789999961853027,
51
+ 7.400000095367432,
52
+ 7.700000286102295,
53
+ 9.09000015258789,
54
+ 12.199999809265137,
55
+ 17.670000076293945,
56
+ 24.46000099182129,
57
+ 28.57000160217285,
58
+ 30.420001983642578,
59
+ 30.840002059936523,
60
+ 32.590003967285156,
61
+ 32.93000411987305,
62
+ 42.320003509521484,
63
+ 44.96000289916992,
64
+ 50.340003967285156,
65
+ 50.45000457763672,
66
+ 57.55000305175781,
67
+ 57.93000411987305,
68
+ 58.21000289916992,
69
+ 60.1400032043457,
70
+ 62.61000442504883,
71
+ 62.62000274658203,
72
+ 62.71000289916992,
73
+ 63.1400032043457,
74
+ 63.1400032043457,
75
+ 63.77000427246094,
76
+ 63.93000411987305,
77
+ 63.96000289916992,
78
+ 63.970001220703125,
79
+ 64.02999877929688,
80
+ 64.06999969482422,
81
+ 64.08000183105469,
82
+ 64.12000274658203,
83
+ 64.41000366210938,
84
+ 64.4800033569336,
85
+ 64.51000213623047,
86
+ 64.52999877929688,
87
+ 64.83999633789062
88
+ ],
89
+ "rope_type": "longrope",
90
+ "short_factor": [
91
+ 1.0,
92
+ 1.0199999809265137,
93
+ 1.0299999713897705,
94
+ 1.0299999713897705,
95
+ 1.0499999523162842,
96
+ 1.0499999523162842,
97
+ 1.0499999523162842,
98
+ 1.0499999523162842,
99
+ 1.0499999523162842,
100
+ 1.0699999332427979,
101
+ 1.0999999046325684,
102
+ 1.1099998950958252,
103
+ 1.1599998474121094,
104
+ 1.1599998474121094,
105
+ 1.1699998378753662,
106
+ 1.2899998426437378,
107
+ 1.339999794960022,
108
+ 1.679999828338623,
109
+ 1.7899998426437378,
110
+ 1.8199998140335083,
111
+ 1.8499997854232788,
112
+ 1.8799997568130493,
113
+ 1.9099997282028198,
114
+ 1.9399996995925903,
115
+ 1.9899996519088745,
116
+ 2.0199997425079346,
117
+ 2.0199997425079346,
118
+ 2.0199997425079346,
119
+ 2.0199997425079346,
120
+ 2.0199997425079346,
121
+ 2.0199997425079346,
122
+ 2.0299997329711914,
123
+ 2.0299997329711914,
124
+ 2.0299997329711914,
125
+ 2.0299997329711914,
126
+ 2.0299997329711914,
127
+ 2.0299997329711914,
128
+ 2.0299997329711914,
129
+ 2.0299997329711914,
130
+ 2.0299997329711914,
131
+ 2.0799996852874756,
132
+ 2.0899996757507324,
133
+ 2.189999580383301,
134
+ 2.2199995517730713,
135
+ 2.5899994373321533,
136
+ 2.729999542236328,
137
+ 2.749999523162842,
138
+ 2.8399994373321533
139
+ ]
140
+ },
141
+ "rope_theta": 10000.0,
142
+ "tie_word_embeddings": false,
143
+ "torch_dtype": "float16",
144
+ "transformers_version": "4.44.2",
145
+ "unsloth_version": "2024.10.6",
146
+ "use_cache": true,
147
+ "vocab_size": 32064
148
+ }
generation_config.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 1,
4
+ "eos_token_id": 32000,
5
+ "max_length": 131072,
6
+ "pad_token_id": 32000,
7
+ "transformers_version": "4.44.2"
8
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9cf5cba345a567d2ebe296f6031d07e0d534b4101422161073b167626fa00dcf
3
+ size 2264298177