JunaidSadiq commited on
Commit
0dbb9c8
·
verified ·
1 Parent(s): e7f023a

(Trained with Unsloth)

Browse files
Files changed (4) hide show
  1. config.json +31 -31
  2. generation_config.json +2 -3
  3. tokenizer.json +2 -2
  4. tokenizer_config.json +1 -1
config.json CHANGED
@@ -1,32 +1,32 @@
1
  {
2
- "architectures": [
3
- "Qwen3ForCausalLM"
4
- ],
5
- "attention_bias": false,
6
- "attention_dropout": 0.0,
7
- "eos_token_id": 151643,
8
- "head_dim": 128,
9
- "hidden_act": "silu",
10
- "hidden_size": 2560,
11
- "initializer_range": 0.02,
12
- "intermediate_size": 9728,
13
- "max_position_embeddings": 32768,
14
- "max_window_layers": 36,
15
- "model_type": "qwen3",
16
- "num_attention_heads": 32,
17
- "num_hidden_layers": 36,
18
- "num_key_value_heads": 8,
19
- "pad_token_id": 151654,
20
- "rms_norm_eps": 1e-06,
21
- "rope_scaling": null,
22
- "rope_theta": 1000000,
23
- "sliding_window": null,
24
- "tie_word_embeddings": true,
25
- "torch_dtype": "float16",
26
- "transformers_version": "4.51.3",
27
- "unsloth_fixed": true,
28
- "unsloth_version": "2025.6.1",
29
- "use_cache": true,
30
- "use_sliding_window": false,
31
- "vocab_size": 151936
32
- }
 
1
  {
2
+ "architectures": [
3
+ "Qwen3ForCausalLM"
4
+ ],
5
+ "attention_bias": false,
6
+ "attention_dropout": 0.0,
7
+ "eos_token_id": 151643,
8
+ "head_dim": 128,
9
+ "hidden_act": "silu",
10
+ "hidden_size": 2560,
11
+ "initializer_range": 0.02,
12
+ "intermediate_size": 9728,
13
+ "max_position_embeddings": 32768,
14
+ "max_window_layers": 36,
15
+ "model_type": "qwen3",
16
+ "num_attention_heads": 32,
17
+ "num_hidden_layers": 36,
18
+ "num_key_value_heads": 8,
19
+ "pad_token_id": 151654,
20
+ "rms_norm_eps": 1e-06,
21
+ "rope_scaling": null,
22
+ "rope_theta": 1000000,
23
+ "sliding_window": null,
24
+ "tie_word_embeddings": true,
25
+ "torch_dtype": "float16",
26
+ "transformers_version": "4.51.3",
27
+ "unsloth_fixed": true,
28
+ "unsloth_version": "2025.6.1",
29
+ "use_cache": true,
30
+ "use_sliding_window": false,
31
+ "vocab_size": 151936
32
+ }
generation_config.json CHANGED
@@ -1,8 +1,7 @@
1
  {
2
- "bos_token_id": 151643,
3
  "eos_token_id": 151643,
4
  "max_length": 32768,
5
- "max_new_tokens": 2048,
6
- "pad_token_id": 151654,
7
  "transformers_version": "4.51.3"
8
  }
 
1
  {
2
+ "_from_model_config": true,
3
  "eos_token_id": 151643,
4
  "max_length": 32768,
5
+ "pad_token_id": 0,
 
6
  "transformers_version": "4.51.3"
7
  }
tokenizer.json CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:aeb13307a71acd8fe81861d94ad54ab689df773318809eed3cbe794b4492dae4
3
- size 11422654
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:132c0fb88b2070b782a69e8833d01ab987b1198ec606df151512d91820abb758
3
+ size 11422822
tokenizer_config.json CHANGED
@@ -227,7 +227,7 @@
227
  "<|video_pad|>"
228
  ],
229
  "bos_token": null,
230
- "chat_template": "{% for message in messages %}\n{% if message['role'] == 'user' %}\n{{ '<|im_start|>user\n' + message['content'] + '<|im_end|>\n' }}{% elif message['role'] == 'system' %}\n{{ '<|im_start|>system\n' + message['im_start|>system\n' + message['content'] + '<|im_end|>\n' }}{% elif message['role'] == 'assistant' %}\n{{ '<|im_start|>assistant\n' + message['content'] + '<|im_end|>\n' }}{% endif %}\n{% if loop.last and add_generation_prompt %}\n{{ '<|im_start|>assistant\n' }}{% endif %}\n{% endfor %}",
231
  "clean_up_tokenization_spaces": false,
232
  "eos_token": "<|endoftext|>",
233
  "errors": "replace",
 
227
  "<|video_pad|>"
228
  ],
229
  "bos_token": null,
230
+ "chat_template": "{% if messages[0]['role'] == 'system' %}{{ messages[0]['content'] + eos_token }}{% set loop_messages = messages[1:] %}{% else %}{{ 'You are given a problem.\nThink about the problem and provide your working out.\nPlace it between <start_working_out> and <end_working_out>.\nThen, provide your solution between <SOLUTION></SOLUTION>' + eos_token }}{% set loop_messages = messages %}{% endif %}{% for message in loop_messages %}{% if message['role'] == 'user' %}{{ message['content'] }}{% elif message['role'] == 'assistant' %}{{ message['content'] + eos_token }}{% endif %}{% endfor %}{% if add_generation_prompt %}{{ '<start_working_out>' }}{% endif %}",
231
  "clean_up_tokenization_spaces": false,
232
  "eos_token": "<|endoftext|>",
233
  "errors": "replace",