mao7337 commited on
Commit
0f0a6e4
·
verified ·
1 Parent(s): 6b77aa3

Upload Qwen3ForCausalLM

Browse files
Files changed (4) hide show
  1. README.md +3 -0
  2. config.json +85 -0
  3. generation_config.json +14 -0
  4. model.safetensors +3 -0
README.md CHANGED
@@ -1,3 +1,6 @@
1
  ---
2
  license: mit
 
 
 
3
  ---
 
1
  ---
2
  license: mit
3
+ tags:
4
+ - trl
5
+ - sft
6
  ---
config.json ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "Qwen3ForCausalLM"
4
+ ],
5
+ "attention_bias": false,
6
+ "attention_dropout": 0.0,
7
+ "eos_token_id": 151645,
8
+ "head_dim": 128,
9
+ "hidden_act": "silu",
10
+ "hidden_size": 1024,
11
+ "initializer_range": 0.02,
12
+ "intermediate_size": 3072,
13
+ "layer_types": [
14
+ "full_attention",
15
+ "full_attention",
16
+ "full_attention",
17
+ "full_attention",
18
+ "full_attention",
19
+ "full_attention",
20
+ "full_attention",
21
+ "full_attention",
22
+ "full_attention",
23
+ "full_attention",
24
+ "full_attention",
25
+ "full_attention",
26
+ "full_attention",
27
+ "full_attention",
28
+ "full_attention",
29
+ "full_attention",
30
+ "full_attention",
31
+ "full_attention",
32
+ "full_attention",
33
+ "full_attention",
34
+ "full_attention",
35
+ "full_attention",
36
+ "full_attention",
37
+ "full_attention",
38
+ "full_attention",
39
+ "full_attention",
40
+ "full_attention",
41
+ "full_attention"
42
+ ],
43
+ "max_position_embeddings": 40960,
44
+ "max_window_layers": 28,
45
+ "model_type": "qwen3",
46
+ "num_attention_heads": 16,
47
+ "num_hidden_layers": 28,
48
+ "num_key_value_heads": 8,
49
+ "pad_token_id": 151654,
50
+ "quantization_config": {
51
+ "_load_in_4bit": true,
52
+ "_load_in_8bit": false,
53
+ "bnb_4bit_compute_dtype": "bfloat16",
54
+ "bnb_4bit_quant_storage": "uint8",
55
+ "bnb_4bit_quant_type": "nf4",
56
+ "bnb_4bit_use_double_quant": true,
57
+ "llm_int8_enable_fp32_cpu_offload": false,
58
+ "llm_int8_has_fp16_weight": false,
59
+ "llm_int8_skip_modules": [
60
+ "lm_head",
61
+ "multi_modal_projector",
62
+ "merger",
63
+ "modality_projection",
64
+ "model.layers.24.self_attn",
65
+ "model.layers.0.self_attn",
66
+ "model.layers.2.mlp",
67
+ "model.layers.27.mlp.up_proj"
68
+ ],
69
+ "llm_int8_threshold": 6.0,
70
+ "load_in_4bit": true,
71
+ "load_in_8bit": false,
72
+ "quant_method": "bitsandbytes"
73
+ },
74
+ "rms_norm_eps": 1e-06,
75
+ "rope_scaling": null,
76
+ "rope_theta": 1000000,
77
+ "sliding_window": null,
78
+ "tie_word_embeddings": true,
79
+ "torch_dtype": "bfloat16",
80
+ "transformers_version": "4.54.1",
81
+ "unsloth_fixed": true,
82
+ "use_cache": true,
83
+ "use_sliding_window": false,
84
+ "vocab_size": 151936
85
+ }
generation_config.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token_id": 151643,
3
+ "do_sample": true,
4
+ "eos_token_id": [
5
+ 151645,
6
+ 151643
7
+ ],
8
+ "max_length": 40960,
9
+ "pad_token_id": 151654,
10
+ "temperature": 0.6,
11
+ "top_k": 20,
12
+ "top_p": 0.95,
13
+ "transformers_version": "4.54.1"
14
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a649aeddd900dcc3c4f5e740163c0997544fe93e243f00aaf68f9bb167430443
3
+ size 626675748