nttruong1007 commited on
Commit
56f7c5d
·
verified ·
1 Parent(s): cf9b523

Upload folder using huggingface_hub

Browse files
NOTICE ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Copyright 2023-2024 01.AI
2
+
3
+ This work, [Your Model Name], is based on the work originally authored by 01.AI.
4
+
5
+ Licensed under the Apache License, Version 2.0 (the "License");
6
+ you may not use this file except in compliance with the License.
7
+ You may obtain a copy of the License at
8
+
9
+ http://www.apache.org/licenses/LICENSE-2.0
10
+
11
+ Unless required by applicable law or agreed to in writing, software
12
+ distributed under the License is distributed on an "AS IS" BASIS,
13
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ See the License for the specific language governing permissions and
15
+ limitations under the License.
16
+
17
+ Attribution
18
+
19
+ If you create derivative works based on this model, please include the following attribution in your derivative works:
20
+
21
+ This work is a derivative of [The Yi-1.5 Series Model You Base On] by 01.AI, used under the Apache 2.0 License.
22
+
23
+
24
+
README.md ADDED
@@ -0,0 +1,93 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ ---
4
+ <div align="center">
5
+
6
+ <picture>
7
+ <img src="https://raw.githubusercontent.com/01-ai/Yi/main/assets/img/Yi_logo_icon_light.svg" width="150px">
8
+ </picture>
9
+
10
+ </div>
11
+
12
+ <p align="center">
13
+ <a href="https://github.com/01-ai">🐙 GitHub</a> •
14
+ <a href="https://discord.gg/hYUwWddeAu">👾 Discord</a> •
15
+ <a href="https://twitter.com/01ai_yi">🐤 Twitter</a> •
16
+ <a href="https://github.com/01-ai/Yi-1.5/issues/2">💬 WeChat</a>
17
+ <br/>
18
+ <a href="https://arxiv.org/abs/2403.04652">📝 Paper</a> •
19
+ <a href="https://01-ai.github.io/">💪 Tech Blog</a> •
20
+ <a href="https://github.com/01-ai/Yi/tree/main?tab=readme-ov-file#faq">🙌 FAQ</a> •
21
+ <a href="https://github.com/01-ai/Yi/tree/main?tab=readme-ov-file#learning-hub">📗 Learning Hub</a>
22
+ </p>
23
+
24
+ # Intro
25
+
26
+ Yi-1.5 is an upgraded version of Yi. It is continuously pre-trained on Yi with a high-quality corpus of 500B tokens and fine-tuned on 3M diverse fine-tuning samples.
27
+
28
+ Compared with Yi, Yi-1.5 delivers stronger performance in coding, math, reasoning, and instruction-following capability, while still maintaining excellent capabilities in language understanding, commonsense reasoning, and reading comprehension.
29
+
30
+ <div align="center">
31
+
32
+ Model | Context Length | Pre-trained Tokens
33
+ | :------------: | :------------: | :------------: |
34
+ | Yi-1.5 | 4K, 16K, 32K | 3.6T
35
+
36
+ </div>
37
+
38
+ # Models
39
+
40
+ - Chat models
41
+
42
+ <div align="center">
43
+
44
+ | Name | Download |
45
+ | --------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
46
+ | Yi-1.5-34B-Chat | • [🤗 Hugging Face](https://huggingface.co/collections/01-ai/yi-15-2024-05-663f3ecab5f815a3eaca7ca8) • [🤖 ModelScope](https://www.modelscope.cn/organization/01ai) • [🟣 wisemodel](https://wisemodel.cn/organization/01.AI)|
47
+ | Yi-1.5-34B-Chat-16K | • [🤗 Hugging Face](https://huggingface.co/collections/01-ai/yi-15-2024-05-663f3ecab5f815a3eaca7ca8) • [🤖 ModelScope](https://www.modelscope.cn/organization/01ai) • [🟣 wisemodel](https://wisemodel.cn/organization/01.AI) |
48
+ | Yi-1.5-9B-Chat | • [🤗 Hugging Face](https://huggingface.co/collections/01-ai/yi-15-2024-05-663f3ecab5f815a3eaca7ca8) • [🤖 ModelScope](https://www.modelscope.cn/organization/01ai) • [🟣 wisemodel](https://wisemodel.cn/organization/01.AI) |
49
+ | Yi-1.5-9B-Chat-16K | • [🤗 Hugging Face](https://huggingface.co/collections/01-ai/yi-15-2024-05-663f3ecab5f815a3eaca7ca8) • [🤖 ModelScope](https://www.modelscope.cn/organization/01ai) • [🟣 wisemodel](https://wisemodel.cn/organization/01.AI) |
50
+ | Yi-1.5-6B-Chat | • [🤗 Hugging Face](https://huggingface.co/collections/01-ai/yi-15-2024-05-663f3ecab5f815a3eaca7ca8) • [🤖 ModelScope](https://www.modelscope.cn/organization/01ai) • [🟣 wisemodel](https://wisemodel.cn/organization/01.AI) |
51
+
52
+ </div>
53
+
54
+ - Base models
55
+
56
+ <div align="center">
57
+
58
+ | Name | Download |
59
+ | ---------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
60
+ | Yi-1.5-34B | • [🤗 Hugging Face](https://huggingface.co/collections/01-ai/yi-15-2024-05-663f3ecab5f815a3eaca7ca8) • [🤖 ModelScope](https://www.modelscope.cn/organization/01ai) • [🟣 wisemodel](https://wisemodel.cn/organization/01.AI) |
61
+ | Yi-1.5-34B-32K | • [🤗 Hugging Face](https://huggingface.co/collections/01-ai/yi-15-2024-05-663f3ecab5f815a3eaca7ca8) • [🤖 ModelScope](https://www.modelscope.cn/organization/01ai) • [🟣 wisemodel](https://wisemodel.cn/organization/01.AI) |
62
+ | Yi-1.5-9B | • [🤗 Hugging Face](https://huggingface.co/collections/01-ai/yi-15-2024-05-663f3ecab5f815a3eaca7ca8) • [🤖 ModelScope](https://www.modelscope.cn/organization/01ai) • [🟣 wisemodel](https://wisemodel.cn/organization/01.AI) |
63
+ | Yi-1.5-9B-32K | • [🤗 Hugging Face](https://huggingface.co/collections/01-ai/yi-15-2024-05-663f3ecab5f815a3eaca7ca8) • [🤖 ModelScope](https://www.modelscope.cn/organization/01ai) • [🟣 wisemodel](https://wisemodel.cn/organization/01.AI) |
64
+ | Yi-1.5-6B | • [🤗 Hugging Face](https://huggingface.co/collections/01-ai/yi-15-2024-05-663f3ecab5f815a3eaca7ca8) • [🤖 ModelScope](https://www.modelscope.cn/organization/01ai) • [🟣 wisemodel](https://wisemodel.cn/organization/01.AI) |
65
+
66
+ </div>
67
+
68
+ # Benchmarks
69
+
70
+ - Chat models
71
+
72
+ Yi-1.5-34B-Chat is on par with or excels beyond larger models in most benchmarks.
73
+
74
+ ![image/png](https://cdn-uploads.huggingface.co/production/uploads/656d9adce8bf55919aca7c3f/KcsJ9Oc1VnEmfCDEJc5cd.png)
75
+
76
+ Yi-1.5-9B-Chat is the top performer among similarly sized open-source models.
77
+
78
+ ![image/png](https://cdn-uploads.huggingface.co/production/uploads/656d9adce8bf55919aca7c3f/xf6pLg5jqRCwjlh6m3t6_.png)
79
+
80
+ - Base models
81
+
82
+ Yi-1.5-34B is on par with or excels beyond larger models in some benchmarks.
83
+
84
+ ![image/png](https://cdn-uploads.huggingface.co/production/uploads/656d9adce8bf55919aca7c3f/BwU7QM-03dZvZzwdIE1xY.png)
85
+
86
+ Yi-1.5-9B is the top performer among similarly sized open-source models.
87
+
88
+ ![image/png](https://cdn-uploads.huggingface.co/production/uploads/656d9adce8bf55919aca7c3f/y-EYSYPT-3aWLJ0x8R94F.png)
89
+
90
+ # Quick Start
91
+
92
+ For getting up and running with Yi-1.5 models quickly, see [README](https://github.com/01-ai/Yi-1.5).
93
+
config.json ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "LlamaForCausalLM"
4
+ ],
5
+ "attention_bias": false,
6
+ "attention_dropout": 0.0,
7
+ "bos_token_id": 1,
8
+ "eos_token_id": 2,
9
+ "hidden_act": "silu",
10
+ "hidden_size": 4096,
11
+ "initializer_range": 0.02,
12
+ "intermediate_size": 11008,
13
+ "max_position_embeddings": 4096,
14
+ "model_type": "llama",
15
+ "num_attention_heads": 32,
16
+ "num_hidden_layers": 48,
17
+ "num_key_value_heads": 4,
18
+ "pad_token_id": 0,
19
+ "pretraining_tp": 1,
20
+ "rms_norm_eps": 1e-06,
21
+ "rope_scaling": null,
22
+ "rope_theta": 5000000.0,
23
+ "tie_word_embeddings": false,
24
+ "torch_dtype": "bfloat16",
25
+ "transformers_version": "4.40.0",
26
+ "use_cache": false,
27
+ "vocab_size": 64000,
28
+ "custom_pipelines": {
29
+ "quizbowl-tossup": {
30
+ "impl": "pipeline.QuizbowlTossupPipeline",
31
+ "pt": [
32
+ "AutoModelForCausalLM"
33
+ ]
34
+ },
35
+ "quizbowl-bonus": {
36
+ "impl": "pipeline.QuizbowlBonusPipeline",
37
+ "pt": [
38
+ "AutoModelForCausalLM"
39
+ ]
40
+ }
41
+ }
42
+ }
generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 1,
4
+ "eos_token_id": 2,
5
+ "pad_token_id": 0,
6
+ "transformers_version": "4.40.0"
7
+ }
md5 ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ 076b120baa027eee3ffcecb9bd2243f0 config.json
2
+ cc8e8e96be047d8884a430c2ba535801 generation_config.json
3
+ a4bd326c13fb1f27b7145dffffe2f421 model-00001-of-00004.safetensors
4
+ 054231cb22dc430b9e3424a4c5a361d6 model-00002-of-00004.safetensors
5
+ 1cd9fd99d24ce8c8f557decb08e73776 model-00003-of-00004.safetensors
6
+ 1e9be95036261e6c214e5ab5fe50194f model-00004-of-00004.safetensors
7
+ 8918290652a4ee6dc89dea20d86768d4 model.safetensors.index.json
8
+ ca53c07de6656e16e23f2665679d7ce3 special_tokens_map.json
9
+ 291724ef50f729e45d68f474a7755bbc tokenizer.model
10
+ 366d56972635d94369dd6e57e90d1e4a tokenizer_config.json
model-00001-of-00004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9a78ba38d63842b47dbc31123fbb29e704a9f077d2f8719a70672a340b2e1d64
3
+ size 4932711424
model-00002-of-00004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:366b6c27b7dfbb5c737f420f99e443cd4d3719d37d95e3519562b50d594cb7ec
3
+ size 4976802816
model-00003-of-00004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3b3a7a0a0f36f8c173fe53520642e440899943f2fa8a85afc954de3d071d87b6
3
+ size 4968397360
model-00004-of-00004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ca084a3507b603cf45b323555311a394fcd213832ff039aa37b734f8365ea5b2
3
+ size 2780953384
model.safetensors.index.json ADDED
@@ -0,0 +1,442 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "metadata": {
3
+ "total_size": 17658814464
4
+ },
5
+ "weight_map": {
6
+ "lm_head.weight": "model-00004-of-00004.safetensors",
7
+ "model.embed_tokens.weight": "model-00001-of-00004.safetensors",
8
+ "model.layers.0.input_layernorm.weight": "model-00001-of-00004.safetensors",
9
+ "model.layers.0.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
10
+ "model.layers.0.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
11
+ "model.layers.0.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
12
+ "model.layers.0.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
13
+ "model.layers.0.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
14
+ "model.layers.0.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
15
+ "model.layers.0.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
16
+ "model.layers.0.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
17
+ "model.layers.1.input_layernorm.weight": "model-00001-of-00004.safetensors",
18
+ "model.layers.1.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
19
+ "model.layers.1.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
20
+ "model.layers.1.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
21
+ "model.layers.1.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
22
+ "model.layers.1.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
23
+ "model.layers.1.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
24
+ "model.layers.1.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
25
+ "model.layers.1.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
26
+ "model.layers.10.input_layernorm.weight": "model-00001-of-00004.safetensors",
27
+ "model.layers.10.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
28
+ "model.layers.10.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
29
+ "model.layers.10.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
30
+ "model.layers.10.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
31
+ "model.layers.10.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
32
+ "model.layers.10.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
33
+ "model.layers.10.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
34
+ "model.layers.10.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
35
+ "model.layers.11.input_layernorm.weight": "model-00001-of-00004.safetensors",
36
+ "model.layers.11.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
37
+ "model.layers.11.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
38
+ "model.layers.11.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
39
+ "model.layers.11.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
40
+ "model.layers.11.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
41
+ "model.layers.11.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
42
+ "model.layers.11.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
43
+ "model.layers.11.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
44
+ "model.layers.12.input_layernorm.weight": "model-00002-of-00004.safetensors",
45
+ "model.layers.12.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
46
+ "model.layers.12.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
47
+ "model.layers.12.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
48
+ "model.layers.12.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
49
+ "model.layers.12.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
50
+ "model.layers.12.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
51
+ "model.layers.12.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
52
+ "model.layers.12.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
53
+ "model.layers.13.input_layernorm.weight": "model-00002-of-00004.safetensors",
54
+ "model.layers.13.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
55
+ "model.layers.13.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
56
+ "model.layers.13.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
57
+ "model.layers.13.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
58
+ "model.layers.13.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
59
+ "model.layers.13.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
60
+ "model.layers.13.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
61
+ "model.layers.13.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
62
+ "model.layers.14.input_layernorm.weight": "model-00002-of-00004.safetensors",
63
+ "model.layers.14.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
64
+ "model.layers.14.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
65
+ "model.layers.14.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
66
+ "model.layers.14.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
67
+ "model.layers.14.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
68
+ "model.layers.14.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
69
+ "model.layers.14.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
70
+ "model.layers.14.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
71
+ "model.layers.15.input_layernorm.weight": "model-00002-of-00004.safetensors",
72
+ "model.layers.15.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
73
+ "model.layers.15.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
74
+ "model.layers.15.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
75
+ "model.layers.15.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
76
+ "model.layers.15.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
77
+ "model.layers.15.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
78
+ "model.layers.15.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
79
+ "model.layers.15.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
80
+ "model.layers.16.input_layernorm.weight": "model-00002-of-00004.safetensors",
81
+ "model.layers.16.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
82
+ "model.layers.16.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
83
+ "model.layers.16.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
84
+ "model.layers.16.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
85
+ "model.layers.16.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
86
+ "model.layers.16.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
87
+ "model.layers.16.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
88
+ "model.layers.16.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
89
+ "model.layers.17.input_layernorm.weight": "model-00002-of-00004.safetensors",
90
+ "model.layers.17.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
91
+ "model.layers.17.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
92
+ "model.layers.17.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
93
+ "model.layers.17.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
94
+ "model.layers.17.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
95
+ "model.layers.17.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
96
+ "model.layers.17.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
97
+ "model.layers.17.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
98
+ "model.layers.18.input_layernorm.weight": "model-00002-of-00004.safetensors",
99
+ "model.layers.18.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
100
+ "model.layers.18.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
101
+ "model.layers.18.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
102
+ "model.layers.18.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
103
+ "model.layers.18.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
104
+ "model.layers.18.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
105
+ "model.layers.18.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
106
+ "model.layers.18.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
107
+ "model.layers.19.input_layernorm.weight": "model-00002-of-00004.safetensors",
108
+ "model.layers.19.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
109
+ "model.layers.19.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
110
+ "model.layers.19.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
111
+ "model.layers.19.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
112
+ "model.layers.19.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
113
+ "model.layers.19.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
114
+ "model.layers.19.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
115
+ "model.layers.19.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
116
+ "model.layers.2.input_layernorm.weight": "model-00001-of-00004.safetensors",
117
+ "model.layers.2.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
118
+ "model.layers.2.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
119
+ "model.layers.2.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
120
+ "model.layers.2.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
121
+ "model.layers.2.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
122
+ "model.layers.2.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
123
+ "model.layers.2.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
124
+ "model.layers.2.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
125
+ "model.layers.20.input_layernorm.weight": "model-00002-of-00004.safetensors",
126
+ "model.layers.20.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
127
+ "model.layers.20.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
128
+ "model.layers.20.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
129
+ "model.layers.20.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
130
+ "model.layers.20.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
131
+ "model.layers.20.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
132
+ "model.layers.20.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
133
+ "model.layers.20.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
134
+ "model.layers.21.input_layernorm.weight": "model-00002-of-00004.safetensors",
135
+ "model.layers.21.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
136
+ "model.layers.21.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
137
+ "model.layers.21.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
138
+ "model.layers.21.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
139
+ "model.layers.21.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
140
+ "model.layers.21.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
141
+ "model.layers.21.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
142
+ "model.layers.21.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
143
+ "model.layers.22.input_layernorm.weight": "model-00002-of-00004.safetensors",
144
+ "model.layers.22.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
145
+ "model.layers.22.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
146
+ "model.layers.22.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
147
+ "model.layers.22.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
148
+ "model.layers.22.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
149
+ "model.layers.22.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
150
+ "model.layers.22.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
151
+ "model.layers.22.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
152
+ "model.layers.23.input_layernorm.weight": "model-00002-of-00004.safetensors",
153
+ "model.layers.23.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
154
+ "model.layers.23.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
155
+ "model.layers.23.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
156
+ "model.layers.23.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
157
+ "model.layers.23.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
158
+ "model.layers.23.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
159
+ "model.layers.23.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
160
+ "model.layers.23.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
161
+ "model.layers.24.input_layernorm.weight": "model-00002-of-00004.safetensors",
162
+ "model.layers.24.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
163
+ "model.layers.24.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
164
+ "model.layers.24.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
165
+ "model.layers.24.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
166
+ "model.layers.24.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
167
+ "model.layers.24.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
168
+ "model.layers.24.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
169
+ "model.layers.24.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
170
+ "model.layers.25.input_layernorm.weight": "model-00002-of-00004.safetensors",
171
+ "model.layers.25.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
172
+ "model.layers.25.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
173
+ "model.layers.25.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
174
+ "model.layers.25.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
175
+ "model.layers.25.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
176
+ "model.layers.25.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
177
+ "model.layers.25.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
178
+ "model.layers.25.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
179
+ "model.layers.26.input_layernorm.weight": "model-00002-of-00004.safetensors",
180
+ "model.layers.26.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
181
+ "model.layers.26.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
182
+ "model.layers.26.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
183
+ "model.layers.26.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
184
+ "model.layers.26.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
185
+ "model.layers.26.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
186
+ "model.layers.26.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
187
+ "model.layers.26.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
188
+ "model.layers.27.input_layernorm.weight": "model-00003-of-00004.safetensors",
189
+ "model.layers.27.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
190
+ "model.layers.27.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
191
+ "model.layers.27.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
192
+ "model.layers.27.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
193
+ "model.layers.27.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
194
+ "model.layers.27.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
195
+ "model.layers.27.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
196
+ "model.layers.27.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
197
+ "model.layers.28.input_layernorm.weight": "model-00003-of-00004.safetensors",
198
+ "model.layers.28.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
199
+ "model.layers.28.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
200
+ "model.layers.28.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
201
+ "model.layers.28.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
202
+ "model.layers.28.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
203
+ "model.layers.28.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
204
+ "model.layers.28.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
205
+ "model.layers.28.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
206
+ "model.layers.29.input_layernorm.weight": "model-00003-of-00004.safetensors",
207
+ "model.layers.29.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
208
+ "model.layers.29.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
209
+ "model.layers.29.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
210
+ "model.layers.29.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
211
+ "model.layers.29.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
212
+ "model.layers.29.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
213
+ "model.layers.29.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
214
+ "model.layers.29.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
215
+ "model.layers.3.input_layernorm.weight": "model-00001-of-00004.safetensors",
216
+ "model.layers.3.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
217
+ "model.layers.3.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
218
+ "model.layers.3.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
219
+ "model.layers.3.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
220
+ "model.layers.3.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
221
+ "model.layers.3.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
222
+ "model.layers.3.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
223
+ "model.layers.3.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
224
+ "model.layers.30.input_layernorm.weight": "model-00003-of-00004.safetensors",
225
+ "model.layers.30.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
226
+ "model.layers.30.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
227
+ "model.layers.30.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
228
+ "model.layers.30.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
229
+ "model.layers.30.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
230
+ "model.layers.30.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
231
+ "model.layers.30.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
232
+ "model.layers.30.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
233
+ "model.layers.31.input_layernorm.weight": "model-00003-of-00004.safetensors",
234
+ "model.layers.31.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
235
+ "model.layers.31.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
236
+ "model.layers.31.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
237
+ "model.layers.31.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
238
+ "model.layers.31.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
239
+ "model.layers.31.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
240
+ "model.layers.31.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
241
+ "model.layers.31.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
242
+ "model.layers.32.input_layernorm.weight": "model-00003-of-00004.safetensors",
243
+ "model.layers.32.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
244
+ "model.layers.32.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
245
+ "model.layers.32.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
246
+ "model.layers.32.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
247
+ "model.layers.32.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
248
+ "model.layers.32.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
249
+ "model.layers.32.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
250
+ "model.layers.32.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
251
+ "model.layers.33.input_layernorm.weight": "model-00003-of-00004.safetensors",
252
+ "model.layers.33.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
253
+ "model.layers.33.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
254
+ "model.layers.33.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
255
+ "model.layers.33.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
256
+ "model.layers.33.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
257
+ "model.layers.33.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
258
+ "model.layers.33.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
259
+ "model.layers.33.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
260
+ "model.layers.34.input_layernorm.weight": "model-00003-of-00004.safetensors",
261
+ "model.layers.34.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
262
+ "model.layers.34.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
263
+ "model.layers.34.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
264
+ "model.layers.34.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
265
+ "model.layers.34.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
266
+ "model.layers.34.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
267
+ "model.layers.34.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
268
+ "model.layers.34.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
269
+ "model.layers.35.input_layernorm.weight": "model-00003-of-00004.safetensors",
270
+ "model.layers.35.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
271
+ "model.layers.35.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
272
+ "model.layers.35.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
273
+ "model.layers.35.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
274
+ "model.layers.35.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
275
+ "model.layers.35.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
276
+ "model.layers.35.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
277
+ "model.layers.35.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
278
+ "model.layers.36.input_layernorm.weight": "model-00003-of-00004.safetensors",
279
+ "model.layers.36.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
280
+ "model.layers.36.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
281
+ "model.layers.36.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
282
+ "model.layers.36.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
283
+ "model.layers.36.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
284
+ "model.layers.36.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
285
+ "model.layers.36.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
286
+ "model.layers.36.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
287
+ "model.layers.37.input_layernorm.weight": "model-00003-of-00004.safetensors",
288
+ "model.layers.37.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
289
+ "model.layers.37.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
290
+ "model.layers.37.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
291
+ "model.layers.37.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
292
+ "model.layers.37.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
293
+ "model.layers.37.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
294
+ "model.layers.37.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
295
+ "model.layers.37.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
296
+ "model.layers.38.input_layernorm.weight": "model-00003-of-00004.safetensors",
297
+ "model.layers.38.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
298
+ "model.layers.38.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
299
+ "model.layers.38.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
300
+ "model.layers.38.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
301
+ "model.layers.38.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
302
+ "model.layers.38.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
303
+ "model.layers.38.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
304
+ "model.layers.38.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
305
+ "model.layers.39.input_layernorm.weight": "model-00003-of-00004.safetensors",
306
+ "model.layers.39.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
307
+ "model.layers.39.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
308
+ "model.layers.39.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
309
+ "model.layers.39.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
310
+ "model.layers.39.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
311
+ "model.layers.39.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
312
+ "model.layers.39.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
313
+ "model.layers.39.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
314
+ "model.layers.4.input_layernorm.weight": "model-00001-of-00004.safetensors",
315
+ "model.layers.4.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
316
+ "model.layers.4.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
317
+ "model.layers.4.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
318
+ "model.layers.4.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
319
+ "model.layers.4.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
320
+ "model.layers.4.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
321
+ "model.layers.4.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
322
+ "model.layers.4.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
323
+ "model.layers.40.input_layernorm.weight": "model-00003-of-00004.safetensors",
324
+ "model.layers.40.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
325
+ "model.layers.40.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
326
+ "model.layers.40.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
327
+ "model.layers.40.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
328
+ "model.layers.40.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
329
+ "model.layers.40.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
330
+ "model.layers.40.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
331
+ "model.layers.40.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
332
+ "model.layers.41.input_layernorm.weight": "model-00004-of-00004.safetensors",
333
+ "model.layers.41.mlp.down_proj.weight": "model-00004-of-00004.safetensors",
334
+ "model.layers.41.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
335
+ "model.layers.41.mlp.up_proj.weight": "model-00004-of-00004.safetensors",
336
+ "model.layers.41.post_attention_layernorm.weight": "model-00004-of-00004.safetensors",
337
+ "model.layers.41.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
338
+ "model.layers.41.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
339
+ "model.layers.41.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
340
+ "model.layers.41.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
341
+ "model.layers.42.input_layernorm.weight": "model-00004-of-00004.safetensors",
342
+ "model.layers.42.mlp.down_proj.weight": "model-00004-of-00004.safetensors",
343
+ "model.layers.42.mlp.gate_proj.weight": "model-00004-of-00004.safetensors",
344
+ "model.layers.42.mlp.up_proj.weight": "model-00004-of-00004.safetensors",
345
+ "model.layers.42.post_attention_layernorm.weight": "model-00004-of-00004.safetensors",
346
+ "model.layers.42.self_attn.k_proj.weight": "model-00004-of-00004.safetensors",
347
+ "model.layers.42.self_attn.o_proj.weight": "model-00004-of-00004.safetensors",
348
+ "model.layers.42.self_attn.q_proj.weight": "model-00004-of-00004.safetensors",
349
+ "model.layers.42.self_attn.v_proj.weight": "model-00004-of-00004.safetensors",
350
+ "model.layers.43.input_layernorm.weight": "model-00004-of-00004.safetensors",
351
+ "model.layers.43.mlp.down_proj.weight": "model-00004-of-00004.safetensors",
352
+ "model.layers.43.mlp.gate_proj.weight": "model-00004-of-00004.safetensors",
353
+ "model.layers.43.mlp.up_proj.weight": "model-00004-of-00004.safetensors",
354
+ "model.layers.43.post_attention_layernorm.weight": "model-00004-of-00004.safetensors",
355
+ "model.layers.43.self_attn.k_proj.weight": "model-00004-of-00004.safetensors",
356
+ "model.layers.43.self_attn.o_proj.weight": "model-00004-of-00004.safetensors",
357
+ "model.layers.43.self_attn.q_proj.weight": "model-00004-of-00004.safetensors",
358
+ "model.layers.43.self_attn.v_proj.weight": "model-00004-of-00004.safetensors",
359
+ "model.layers.44.input_layernorm.weight": "model-00004-of-00004.safetensors",
360
+ "model.layers.44.mlp.down_proj.weight": "model-00004-of-00004.safetensors",
361
+ "model.layers.44.mlp.gate_proj.weight": "model-00004-of-00004.safetensors",
362
+ "model.layers.44.mlp.up_proj.weight": "model-00004-of-00004.safetensors",
363
+ "model.layers.44.post_attention_layernorm.weight": "model-00004-of-00004.safetensors",
364
+ "model.layers.44.self_attn.k_proj.weight": "model-00004-of-00004.safetensors",
365
+ "model.layers.44.self_attn.o_proj.weight": "model-00004-of-00004.safetensors",
366
+ "model.layers.44.self_attn.q_proj.weight": "model-00004-of-00004.safetensors",
367
+ "model.layers.44.self_attn.v_proj.weight": "model-00004-of-00004.safetensors",
368
+ "model.layers.45.input_layernorm.weight": "model-00004-of-00004.safetensors",
369
+ "model.layers.45.mlp.down_proj.weight": "model-00004-of-00004.safetensors",
370
+ "model.layers.45.mlp.gate_proj.weight": "model-00004-of-00004.safetensors",
371
+ "model.layers.45.mlp.up_proj.weight": "model-00004-of-00004.safetensors",
372
+ "model.layers.45.post_attention_layernorm.weight": "model-00004-of-00004.safetensors",
373
+ "model.layers.45.self_attn.k_proj.weight": "model-00004-of-00004.safetensors",
374
+ "model.layers.45.self_attn.o_proj.weight": "model-00004-of-00004.safetensors",
375
+ "model.layers.45.self_attn.q_proj.weight": "model-00004-of-00004.safetensors",
376
+ "model.layers.45.self_attn.v_proj.weight": "model-00004-of-00004.safetensors",
377
+ "model.layers.46.input_layernorm.weight": "model-00004-of-00004.safetensors",
378
+ "model.layers.46.mlp.down_proj.weight": "model-00004-of-00004.safetensors",
379
+ "model.layers.46.mlp.gate_proj.weight": "model-00004-of-00004.safetensors",
380
+ "model.layers.46.mlp.up_proj.weight": "model-00004-of-00004.safetensors",
381
+ "model.layers.46.post_attention_layernorm.weight": "model-00004-of-00004.safetensors",
382
+ "model.layers.46.self_attn.k_proj.weight": "model-00004-of-00004.safetensors",
383
+ "model.layers.46.self_attn.o_proj.weight": "model-00004-of-00004.safetensors",
384
+ "model.layers.46.self_attn.q_proj.weight": "model-00004-of-00004.safetensors",
385
+ "model.layers.46.self_attn.v_proj.weight": "model-00004-of-00004.safetensors",
386
+ "model.layers.47.input_layernorm.weight": "model-00004-of-00004.safetensors",
387
+ "model.layers.47.mlp.down_proj.weight": "model-00004-of-00004.safetensors",
388
+ "model.layers.47.mlp.gate_proj.weight": "model-00004-of-00004.safetensors",
389
+ "model.layers.47.mlp.up_proj.weight": "model-00004-of-00004.safetensors",
390
+ "model.layers.47.post_attention_layernorm.weight": "model-00004-of-00004.safetensors",
391
+ "model.layers.47.self_attn.k_proj.weight": "model-00004-of-00004.safetensors",
392
+ "model.layers.47.self_attn.o_proj.weight": "model-00004-of-00004.safetensors",
393
+ "model.layers.47.self_attn.q_proj.weight": "model-00004-of-00004.safetensors",
394
+ "model.layers.47.self_attn.v_proj.weight": "model-00004-of-00004.safetensors",
395
+ "model.layers.5.input_layernorm.weight": "model-00001-of-00004.safetensors",
396
+ "model.layers.5.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
397
+ "model.layers.5.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
398
+ "model.layers.5.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
399
+ "model.layers.5.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
400
+ "model.layers.5.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
401
+ "model.layers.5.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
402
+ "model.layers.5.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
403
+ "model.layers.5.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
404
+ "model.layers.6.input_layernorm.weight": "model-00001-of-00004.safetensors",
405
+ "model.layers.6.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
406
+ "model.layers.6.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
407
+ "model.layers.6.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
408
+ "model.layers.6.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
409
+ "model.layers.6.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
410
+ "model.layers.6.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
411
+ "model.layers.6.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
412
+ "model.layers.6.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
413
+ "model.layers.7.input_layernorm.weight": "model-00001-of-00004.safetensors",
414
+ "model.layers.7.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
415
+ "model.layers.7.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
416
+ "model.layers.7.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
417
+ "model.layers.7.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
418
+ "model.layers.7.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
419
+ "model.layers.7.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
420
+ "model.layers.7.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
421
+ "model.layers.7.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
422
+ "model.layers.8.input_layernorm.weight": "model-00001-of-00004.safetensors",
423
+ "model.layers.8.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
424
+ "model.layers.8.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
425
+ "model.layers.8.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
426
+ "model.layers.8.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
427
+ "model.layers.8.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
428
+ "model.layers.8.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
429
+ "model.layers.8.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
430
+ "model.layers.8.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
431
+ "model.layers.9.input_layernorm.weight": "model-00001-of-00004.safetensors",
432
+ "model.layers.9.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
433
+ "model.layers.9.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
434
+ "model.layers.9.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
435
+ "model.layers.9.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
436
+ "model.layers.9.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
437
+ "model.layers.9.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
438
+ "model.layers.9.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
439
+ "model.layers.9.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
440
+ "model.norm.weight": "model-00004-of-00004.safetensors"
441
+ }
442
+ }
pipeline.py ADDED
@@ -0,0 +1,102 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Custom Quizbowl pipelines for QANTA 2026 Arena.
2
+ Registers `quizbowl-tossup` and `quizbowl-bonus`. The build script rewrites the
3
+ two flags below per model (LLM vs VLM). Every name passed to register_pipeline
4
+ is imported from transformers, per the submission requirements.
5
+ """
6
+ import json, re
7
+ from transformers.pipelines import PIPELINE_REGISTRY
8
+ from transformers import (
9
+ Pipeline,
10
+ AutoModelForCausalLM, AutoModelForImageTextToText, AutoProcessor,
11
+ )
12
+
13
+ PT_MODEL = AutoModelForCausalLM # build script -> AutoModelForImageTextToText for VLMs
14
+ IS_VLM = False # build script -> True for VLMs
15
+
16
+
17
+ def _to_pil(images):
18
+ from PIL import Image
19
+ out = []
20
+ for im in images or []:
21
+ out.append(Image.open(im).convert("RGB") if isinstance(im, str) else im)
22
+ return out
23
+
24
+
25
+ def _extract(text):
26
+ text = re.sub(r"<think>.*?</think>", "", text, flags=re.S) # strip reasoning traces
27
+ m = re.search(r"\{.*\}", text, re.S)
28
+ if m:
29
+ try:
30
+ return json.loads(m.group())
31
+ except Exception:
32
+ pass
33
+ return {}
34
+
35
+
36
+ class _Base(Pipeline):
37
+ def _sanitize_parameters(self, **kw):
38
+ return {}, {}, {}
39
+
40
+ def preprocess(self, inputs):
41
+ return inputs
42
+
43
+ def _forward(self, inputs):
44
+ return {"text": self._gen(self._prompt(inputs), inputs.get("images"))}
45
+
46
+ def _proc(self):
47
+ if not hasattr(self, "_p"):
48
+ self._p = AutoProcessor.from_pretrained(self.model.name_or_path, trust_remote_code=True)
49
+ return self._p
50
+
51
+ def _gen(self, prompt, images=None):
52
+ if IS_VLM and images:
53
+ proc = self._proc()
54
+ msgs = [{"role": "user", "content": [{"type": "image"} for _ in images] +
55
+ [{"type": "text", "text": prompt}]}]
56
+ chat = proc.apply_chat_template(msgs, add_generation_prompt=True)
57
+ inp = proc(text=chat, images=_to_pil(images), return_tensors="pt").to(self.model.device)
58
+ ids = self.model.generate(**inp, max_new_tokens=200, do_sample=False)
59
+ return proc.batch_decode(ids[:, inp["input_ids"].shape[1]:], skip_special_tokens=True)[0]
60
+ tok = self.tokenizer
61
+ if getattr(tok, "chat_template", None):
62
+ text = tok.apply_chat_template([{"role": "user", "content": prompt}],
63
+ tokenize=False, add_generation_prompt=True)
64
+ else:
65
+ text = prompt
66
+ inp = tok(text, return_tensors="pt").to(self.model.device)
67
+ ids = self.model.generate(**inp, max_new_tokens=200, do_sample=False,
68
+ pad_token_id=tok.eos_token_id)
69
+ return tok.decode(ids[0, inp["input_ids"].shape[1]:], skip_special_tokens=True)
70
+
71
+
72
+ class QuizbowlTossupPipeline(_Base):
73
+ def _prompt(self, inputs):
74
+ return ("You are a quizbowl expert. From the (possibly partial) question, give your best guess.\n"
75
+ 'Respond ONLY as JSON: {"answer": "<concise answer>", "confidence": <0-1 float>, '
76
+ '"buzz": <true|false>}. Set buzz=true only if confident enough to interrupt.\n'
77
+ "QUESTION: " + inputs["question_text"])
78
+
79
+ def postprocess(self, mo):
80
+ d = _extract(mo["text"])
81
+ c = min(max(float(d.get("confidence", 0.5) or 0.5), 0.0), 1.0)
82
+ return {"answer": str(d.get("answer", "")).strip(),
83
+ "confidence": c,
84
+ "buzz": bool(d.get("buzz", c >= 0.7))}
85
+
86
+
87
+ class QuizbowlBonusPipeline(_Base):
88
+ def _prompt(self, inputs):
89
+ return ("You are a quizbowl expert answering one bonus part.\n"
90
+ 'Respond ONLY as JSON: {"answer": "<concise>", "confidence": <0-1 float>, '
91
+ '"explanation": "<= 30 words"}.\n'
92
+ "LEADIN: " + inputs.get("leadin", "") + "\nPART: " + inputs["part"])
93
+
94
+ def postprocess(self, mo):
95
+ d = _extract(mo["text"])
96
+ c = min(max(float(d.get("confidence", 0.5) or 0.5), 0.0), 1.0)
97
+ exp = " ".join(str(d.get("explanation", "")).split()[:30])
98
+ return {"answer": str(d.get("answer", "")).strip(), "confidence": c, "explanation": exp}
99
+
100
+
101
+ PIPELINE_REGISTRY.register_pipeline("quizbowl-tossup", pipeline_class=QuizbowlTossupPipeline, pt_model=PT_MODEL)
102
+ PIPELINE_REGISTRY.register_pipeline("quizbowl-bonus", pipeline_class=QuizbowlBonusPipeline, pt_model=PT_MODEL)
requirements.txt ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ transformers>=4.49.0
2
+ torch
3
+ accelerate
4
+ pillow
5
+ sentencepiece
6
+ einops
7
+ timm
8
+ qwen-vl-utils
special_tokens_map.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<|startoftext|>",
4
+ "lstrip": false,
5
+ "normalized": true,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "<|im_end|>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "<unk>",
18
+ "lstrip": false,
19
+ "normalized": true,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "unk_token": {
24
+ "content": "<unk>",
25
+ "lstrip": false,
26
+ "normalized": true,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ }
30
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:386c49cf943d71aa110361135338c50e38beeff0a66593480421f37b319e1a39
3
+ size 1033105
tokenizer_config.json ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": false,
3
+ "add_eos_token": false,
4
+ "add_prefix_space": true,
5
+ "added_tokens_decoder": {
6
+ "0": {
7
+ "content": "<unk>",
8
+ "lstrip": false,
9
+ "normalized": true,
10
+ "rstrip": false,
11
+ "single_word": false,
12
+ "special": true
13
+ },
14
+ "1": {
15
+ "content": "<|startoftext|>",
16
+ "lstrip": false,
17
+ "normalized": true,
18
+ "rstrip": false,
19
+ "single_word": false,
20
+ "special": true
21
+ },
22
+ "2": {
23
+ "content": "<|endoftext|>",
24
+ "lstrip": false,
25
+ "normalized": true,
26
+ "rstrip": false,
27
+ "single_word": false,
28
+ "special": true
29
+ },
30
+ "7": {
31
+ "content": "<|im_end|>",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false,
36
+ "special": true
37
+ }
38
+ },
39
+ "bos_token": "<|startoftext|>",
40
+ "chat_template": "{% if messages[0]['role'] == 'system' %}{% set system_message = messages[0]['content'] %}{% endif %}{% if system_message is defined %}{{ system_message }}{% endif %}{% for message in messages %}{% set content = message['content'] %}{% if message['role'] == 'user' %}{{ '<|im_start|>user\\n' + content + '<|im_end|>\\n<|im_start|>assistant\\n' }}{% elif message['role'] == 'assistant' %}{{ content + '<|im_end|>' + '\\n' }}{% endif %}{% endfor %}",
41
+ "clean_up_tokenization_spaces": false,
42
+ "eos_token": "<|im_end|>",
43
+ "legacy": true,
44
+ "model_max_length": 4096,
45
+ "pad_token": "<unk>",
46
+ "padding_side": "right",
47
+ "sp_model_kwargs": {},
48
+ "spaces_between_special_tokens": false,
49
+ "split_special_tokens": false,
50
+ "tokenizer_class": "LlamaTokenizer",
51
+ "unk_token": "<unk>",
52
+ "use_default_system_prompt": false
53
+ }