Text Generation
Transformers
Safetensors
kambo
dynquant
quantized
4-bit precision
text-to-sql
code
mixture-of-experts
Mixture of Experts
hybrid-architecture
conversational
custom_code
Instructions to use VikramPal/kambo-v1-sql-code-DynQuant-4bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use VikramPal/kambo-v1-sql-code-DynQuant-4bit with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="VikramPal/kambo-v1-sql-code-DynQuant-4bit", trust_remote_code=True) messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("VikramPal/kambo-v1-sql-code-DynQuant-4bit", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use VikramPal/kambo-v1-sql-code-DynQuant-4bit with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "VikramPal/kambo-v1-sql-code-DynQuant-4bit" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "VikramPal/kambo-v1-sql-code-DynQuant-4bit", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/VikramPal/kambo-v1-sql-code-DynQuant-4bit
- SGLang
How to use VikramPal/kambo-v1-sql-code-DynQuant-4bit with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "VikramPal/kambo-v1-sql-code-DynQuant-4bit" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "VikramPal/kambo-v1-sql-code-DynQuant-4bit", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "VikramPal/kambo-v1-sql-code-DynQuant-4bit" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "VikramPal/kambo-v1-sql-code-DynQuant-4bit", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use VikramPal/kambo-v1-sql-code-DynQuant-4bit with Docker Model Runner:
docker model run hf.co/VikramPal/kambo-v1-sql-code-DynQuant-4bit
Commit ·
6de8522
0
Parent(s):
Kambo-v1 SQL + Code, DynQuant 4-bit (4.25 bits per weight, packed)
Browse files- .gitattributes +36 -0
- LICENSE +202 -0
- NOTICE +15 -0
- README.md +288 -0
- chat_template.jinja +4 -0
- config.json +874 -0
- configuration_kambo.py +76 -0
- dynquant_allocation.json +237 -0
- dynquant_manifest.json +0 -0
- evals/dq4p-humaneval.json +0 -0
- evals/dq4p-mbpp.json +0 -0
- evals/dq4p-text2sql.json +0 -0
- evals/prompt_trunc.json +1423 -0
- evals/results.json +3031 -0
- evals/u4-humaneval.json +0 -0
- evals/u4-mbpp.json +0 -0
- evals/u4-text2sql.json +0 -0
- generation_config.json +14 -0
- model.safetensors +3 -0
- modeling_kambo.py +604 -0
- tokenizer.json +3 -0
- tokenizer_config.json +30 -0
.gitattributes
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
| 3 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
| 4 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
| 5 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
| 6 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
| 7 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 8 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 9 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 10 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 11 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 12 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
| 13 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 14 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
| 15 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 16 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 17 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 18 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 19 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 20 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
| 21 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 22 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 23 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 24 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 25 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 26 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
| 27 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 28 |
+
*.tar filter=lfs diff=lfs merge=lfs -text
|
| 29 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 30 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 31 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 32 |
+
*.xz filter=lfs diff=lfs merge=lfs -text
|
| 33 |
+
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
+
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
+
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
LICENSE
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
Apache License
|
| 3 |
+
Version 2.0, January 2004
|
| 4 |
+
http://www.apache.org/licenses/
|
| 5 |
+
|
| 6 |
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
| 7 |
+
|
| 8 |
+
1. Definitions.
|
| 9 |
+
|
| 10 |
+
"License" shall mean the terms and conditions for use, reproduction,
|
| 11 |
+
and distribution as defined by Sections 1 through 9 of this document.
|
| 12 |
+
|
| 13 |
+
"Licensor" shall mean the copyright owner or entity authorized by
|
| 14 |
+
the copyright owner that is granting the License.
|
| 15 |
+
|
| 16 |
+
"Legal Entity" shall mean the union of the acting entity and all
|
| 17 |
+
other entities that control, are controlled by, or are under common
|
| 18 |
+
control with that entity. For the purposes of this definition,
|
| 19 |
+
"control" means (i) the power, direct or indirect, to cause the
|
| 20 |
+
direction or management of such entity, whether by contract or
|
| 21 |
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
| 22 |
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
| 23 |
+
|
| 24 |
+
"You" (or "Your") shall mean an individual or Legal Entity
|
| 25 |
+
exercising permissions granted by this License.
|
| 26 |
+
|
| 27 |
+
"Source" form shall mean the preferred form for making modifications,
|
| 28 |
+
including but not limited to software source code, documentation
|
| 29 |
+
source, and configuration files.
|
| 30 |
+
|
| 31 |
+
"Object" form shall mean any form resulting from mechanical
|
| 32 |
+
transformation or translation of a Source form, including but
|
| 33 |
+
not limited to compiled object code, generated documentation,
|
| 34 |
+
and conversions to other media types.
|
| 35 |
+
|
| 36 |
+
"Work" shall mean the work of authorship, whether in Source or
|
| 37 |
+
Object form, made available under the License, as indicated by a
|
| 38 |
+
copyright notice that is included in or attached to the work
|
| 39 |
+
(an example is provided in the Appendix below).
|
| 40 |
+
|
| 41 |
+
"Derivative Works" shall mean any work, whether in Source or Object
|
| 42 |
+
form, that is based on (or derived from) the Work and for which the
|
| 43 |
+
editorial revisions, annotations, elaborations, or other modifications
|
| 44 |
+
represent, as a whole, an original work of authorship. For the purposes
|
| 45 |
+
of this License, Derivative Works shall not include works that remain
|
| 46 |
+
separable from, or merely link (or bind by name) to the interfaces of,
|
| 47 |
+
the Work and Derivative Works thereof.
|
| 48 |
+
|
| 49 |
+
"Contribution" shall mean any work of authorship, including
|
| 50 |
+
the original version of the Work and any modifications or additions
|
| 51 |
+
to that Work or Derivative Works thereof, that is intentionally
|
| 52 |
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
| 53 |
+
or by an individual or Legal Entity authorized to submit on behalf of
|
| 54 |
+
the copyright owner. For the purposes of this definition, "submitted"
|
| 55 |
+
means any form of electronic, verbal, or written communication sent
|
| 56 |
+
to the Licensor or its representatives, including but not limited to
|
| 57 |
+
communication on electronic mailing lists, source code control systems,
|
| 58 |
+
and issue tracking systems that are managed by, or on behalf of, the
|
| 59 |
+
Licensor for the purpose of discussing and improving the Work, but
|
| 60 |
+
excluding communication that is conspicuously marked or otherwise
|
| 61 |
+
designated in writing by the copyright owner as "Not a Contribution."
|
| 62 |
+
|
| 63 |
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
| 64 |
+
on behalf of whom a Contribution has been received by Licensor and
|
| 65 |
+
subsequently incorporated within the Work.
|
| 66 |
+
|
| 67 |
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
| 68 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 69 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 70 |
+
copyright license to reproduce, prepare Derivative Works of,
|
| 71 |
+
publicly display, publicly perform, sublicense, and distribute the
|
| 72 |
+
Work and such Derivative Works in Source or Object form.
|
| 73 |
+
|
| 74 |
+
3. Grant of Patent License. Subject to the terms and conditions of
|
| 75 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 76 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 77 |
+
(except as stated in this section) patent license to make, have made,
|
| 78 |
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
| 79 |
+
where such license applies only to those patent claims licensable
|
| 80 |
+
by such Contributor that are necessarily infringed by their
|
| 81 |
+
Contribution(s) alone or by combination of their Contribution(s)
|
| 82 |
+
with the Work to which such Contribution(s) was submitted. If You
|
| 83 |
+
institute patent litigation against any entity (including a
|
| 84 |
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
| 85 |
+
or a Contribution incorporated within the Work constitutes direct
|
| 86 |
+
or contributory patent infringement, then any patent licenses
|
| 87 |
+
granted to You under this License for that Work shall terminate
|
| 88 |
+
as of the date such litigation is filed.
|
| 89 |
+
|
| 90 |
+
4. Redistribution. You may reproduce and distribute copies of the
|
| 91 |
+
Work or Derivative Works thereof in any medium, with or without
|
| 92 |
+
modifications, and in Source or Object form, provided that You
|
| 93 |
+
meet the following conditions:
|
| 94 |
+
|
| 95 |
+
(a) You must give any other recipients of the Work or
|
| 96 |
+
Derivative Works a copy of this License; and
|
| 97 |
+
|
| 98 |
+
(b) You must cause any modified files to carry prominent notices
|
| 99 |
+
stating that You changed the files; and
|
| 100 |
+
|
| 101 |
+
(c) You must retain, in the Source form of any Derivative Works
|
| 102 |
+
that You distribute, all copyright, patent, trademark, and
|
| 103 |
+
attribution notices from the Source form of the Work,
|
| 104 |
+
excluding those notices that do not pertain to any part of
|
| 105 |
+
the Derivative Works; and
|
| 106 |
+
|
| 107 |
+
(d) If the Work includes a "NOTICE" text file as part of its
|
| 108 |
+
distribution, then any Derivative Works that You distribute must
|
| 109 |
+
include a readable copy of the attribution notices contained
|
| 110 |
+
within such NOTICE file, excluding those notices that do not
|
| 111 |
+
pertain to any part of the Derivative Works, in at least one
|
| 112 |
+
of the following places: within a NOTICE text file distributed
|
| 113 |
+
as part of the Derivative Works; within the Source form or
|
| 114 |
+
documentation, if provided along with the Derivative Works; or,
|
| 115 |
+
within a display generated by the Derivative Works, if and
|
| 116 |
+
wherever such third-party notices normally appear. The contents
|
| 117 |
+
of the NOTICE file are for informational purposes only and
|
| 118 |
+
do not modify the License. You may add Your own attribution
|
| 119 |
+
notices within Derivative Works that You distribute, alongside
|
| 120 |
+
or as an addendum to the NOTICE text from the Work, provided
|
| 121 |
+
that such additional attribution notices cannot be construed
|
| 122 |
+
as modifying the License.
|
| 123 |
+
|
| 124 |
+
You may add Your own copyright statement to Your modifications and
|
| 125 |
+
may provide additional or different license terms and conditions
|
| 126 |
+
for use, reproduction, or distribution of Your modifications, or
|
| 127 |
+
for any such Derivative Works as a whole, provided Your use,
|
| 128 |
+
reproduction, and distribution of the Work otherwise complies with
|
| 129 |
+
the conditions stated in this License.
|
| 130 |
+
|
| 131 |
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
| 132 |
+
any Contribution intentionally submitted for inclusion in the Work
|
| 133 |
+
by You to the Licensor shall be under the terms and conditions of
|
| 134 |
+
this License, without any additional terms or conditions.
|
| 135 |
+
Notwithstanding the above, nothing herein shall supersede or modify
|
| 136 |
+
the terms of any separate license agreement you may have executed
|
| 137 |
+
with Licensor regarding such Contributions.
|
| 138 |
+
|
| 139 |
+
6. Trademarks. This License does not grant permission to use the trade
|
| 140 |
+
names, trademarks, service marks, or product names of the Licensor,
|
| 141 |
+
except as required for reasonable and customary use in describing the
|
| 142 |
+
origin of the Work and reproducing the content of the NOTICE file.
|
| 143 |
+
|
| 144 |
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
| 145 |
+
agreed to in writing, Licensor provides the Work (and each
|
| 146 |
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
| 147 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
| 148 |
+
implied, including, without limitation, any warranties or conditions
|
| 149 |
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
| 150 |
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
| 151 |
+
appropriateness of using or redistributing the Work and assume any
|
| 152 |
+
risks associated with Your exercise of permissions under this License.
|
| 153 |
+
|
| 154 |
+
8. Limitation of Liability. In no event and under no legal theory,
|
| 155 |
+
whether in tort (including negligence), contract, or otherwise,
|
| 156 |
+
unless required by applicable law (such as deliberate and grossly
|
| 157 |
+
negligent acts) or agreed to in writing, shall any Contributor be
|
| 158 |
+
liable to You for damages, including any direct, indirect, special,
|
| 159 |
+
incidental, or consequential damages of any character arising as a
|
| 160 |
+
result of this License or out of the use or inability to use the
|
| 161 |
+
Work (including but not limited to damages for loss of goodwill,
|
| 162 |
+
work stoppage, computer failure or malfunction, or any and all
|
| 163 |
+
other commercial damages or losses), even if such Contributor
|
| 164 |
+
has been advised of the possibility of such damages.
|
| 165 |
+
|
| 166 |
+
9. Accepting Warranty or Additional Liability. While redistributing
|
| 167 |
+
the Work or Derivative Works thereof, You may choose to offer,
|
| 168 |
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
| 169 |
+
or other liability obligations and/or rights consistent with this
|
| 170 |
+
License. However, in accepting such obligations, You may act only
|
| 171 |
+
on Your own behalf and on Your sole responsibility, not on behalf
|
| 172 |
+
of any other Contributor, and only if You agree to indemnify,
|
| 173 |
+
defend, and hold each Contributor harmless for any liability
|
| 174 |
+
incurred by, or claims asserted against, such Contributor by reason
|
| 175 |
+
of your accepting any such warranty or additional liability.
|
| 176 |
+
|
| 177 |
+
END OF TERMS AND CONDITIONS
|
| 178 |
+
|
| 179 |
+
APPENDIX: How to apply the Apache License to your work.
|
| 180 |
+
|
| 181 |
+
To apply the Apache License to your work, attach the following
|
| 182 |
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
| 183 |
+
replaced with your own identifying information. (Don't include
|
| 184 |
+
the brackets!) The text should be enclosed in the appropriate
|
| 185 |
+
comment syntax for the file format. We also recommend that a
|
| 186 |
+
file or class name and description of purpose be included on the
|
| 187 |
+
same "printed page" as the copyright notice for easier
|
| 188 |
+
identification within third-party archives.
|
| 189 |
+
|
| 190 |
+
Copyright [yyyy] [name of copyright owner]
|
| 191 |
+
|
| 192 |
+
Licensed under the Apache License, Version 2.0 (the "License");
|
| 193 |
+
you may not use this file except in compliance with the License.
|
| 194 |
+
You may obtain a copy of the License at
|
| 195 |
+
|
| 196 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 197 |
+
|
| 198 |
+
Unless required by applicable law or agreed to in writing, software
|
| 199 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 200 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 201 |
+
See the License for the specific language governing permissions and
|
| 202 |
+
limitations under the License.
|
NOTICE
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Kambo-v1
|
| 2 |
+
Copyright 2026 Vikrampal Kamboj
|
| 3 |
+
|
| 4 |
+
This product is licensed under the Apache License, Version 2.0 (see LICENSE).
|
| 5 |
+
|
| 6 |
+
The following files are third-party material, also distributed under the
|
| 7 |
+
Apache License, Version 2.0:
|
| 8 |
+
|
| 9 |
+
tokenizer.json
|
| 10 |
+
tokenizer_config.json
|
| 11 |
+
|
| 12 |
+
MODIFICATIONS. These files have been modified from their original form. The
|
| 13 |
+
vocabulary and merge tables are unchanged; the accompanying configuration was
|
| 14 |
+
modified to set the chat template, the end-of-turn and padding tokens, and the
|
| 15 |
+
maximum sequence length used by this model.
|
README.md
ADDED
|
@@ -0,0 +1,288 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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1-sql-code
|
| 6 |
+
base_model_relation: quantized
|
| 7 |
+
datasets:
|
| 8 |
+
- gretelai/synthetic_text_to_sql
|
| 9 |
+
- Salesforce/wikisql
|
| 10 |
+
- b-mc2/sql-create-context
|
| 11 |
+
- nvidia/OpenCodeInstruct
|
| 12 |
+
tags:
|
| 13 |
+
- dynquant
|
| 14 |
+
- quantized
|
| 15 |
+
- 4-bit
|
| 16 |
+
- text-to-sql
|
| 17 |
+
- code
|
| 18 |
+
- mixture-of-experts
|
| 19 |
+
- moe
|
| 20 |
+
- hybrid-architecture
|
| 21 |
+
---
|
| 22 |
+
|
| 23 |
+
# Kambo-v1 SQL + Code, DynQuant 4-bit
|
| 24 |
+
|
| 25 |
+
[VikramPal/kambo-v1-sql-code](https://huggingface.co/VikramPal/kambo-v1-sql-code) quantized with [DynQuant](https://github.com/kambojvikram/dynquant) to 4.25 bits per parameter, scales included: the same byte budget as uniform 4-bit, spent unevenly. 0.836 GiB of weights instead of 3.150 GiB. The other width: [3-bit](https://huggingface.co/VikramPal/kambo-v1-sql-code-DynQuant-3bit).
|
| 26 |
+
|
| 27 |
+
Against the bf16 fine-tune this checkpoint loses 4.85 points on text-to-SQL (49.06% against 53.91%, separated after Holm correction; by source (exploratory rows) Gretel -3.06, WikiSQL -10.76 and Spider dev -0.73, so WikiSQL accounts for 74% of the net loss in items) and is not separated from the fine-tune on HumanEval (+0.61) and MBPP (-0.60). Beside the unquantized base model it scores higher on text-to-SQL (49.06% against 42.87%) and MBPP (28.20% against 25.40%), and the same on HumanEval (31.10%); these are descriptions, not planned tests. At 0.13% fewer bytes than uniform 4-bit, it beats that control on text-to-SQL (+5.30), and is not separated from it on HumanEval (+6.71) and MBPP (+4.40, uncorrected p = 0.0115). On held-out loss (KL to the fine-tune, paired by conversation) it is closer to the fine-tune than uniform 4-bit (|z| = 23.0) and one draw of the permuted-signal null (|z| = 13.0).
|
| 28 |
+
|
| 29 |
+
## What this is
|
| 30 |
+
|
| 31 |
+
| | |
|
| 32 |
+
|---|---|
|
| 33 |
+
| quantized from | [VikramPal/kambo-v1-sql-code](https://huggingface.co/VikramPal/kambo-v1-sql-code), the bf16 fine-tune of [VikramPal/kambo-v1](https://huggingface.co/VikramPal/kambo-v1) |
|
| 34 |
+
| method | DynQuant 0.5.3, per-matrix widths of 2, 3, 4 or 8 bits from the fine-tune's own training signal, asymmetric, groups of 128 |
|
| 35 |
+
| size | 0.836 GiB of weights (4.2479 bits per parameter, scales and the bf16 remainder included); 898,079,352 bytes of safetensors |
|
| 36 |
+
| memory | 0.836 GiB resident on the GPU after loading (weights and buffers, before any KV cache), 100.0% of the map's prediction; 0.836 GiB on disk |
|
| 37 |
+
| loads with | `transformers` + `dynquant`, `trust_remote_code=True`, **bfloat16 only**. The usage snippet below ran against this repo's files with dynquant 0.5.3 under transformers 5.14.1 (torch 2.13.0+cu130) and 5.18.0 (torch 2.14.1+cu130) |
|
| 38 |
+
|
| 39 |
+
## Results
|
| 40 |
+
|
| 41 |
+
| arm | text-to-SQL (2,454) | HumanEval (164) | MBPP (500) | weights | bits/param |
|
| 42 |
+
|---|---:|---:|---:|---:|---:|
|
| 43 |
+
| Kambo-v1 (base) | 42.87% (1052/2454) | 31.10% (51/164) | 25.40% (127/500) | 3.150 GiB | 16.0000 |
|
| 44 |
+
| fine-tune, bf16 | 53.91% (1323/2454) | 30.49% (50/164) | 28.80% (144/500) | 3.150 GiB | 16.0000 |
|
| 45 |
+
| **DynQuant 4-bit** (this repo) | 49.06% (1204/2454) | 31.10% (51/164) | 28.20% (141/500) | 0.836 GiB | 4.2479 |
|
| 46 |
+
| uniform 4-bit | 43.77% (1074/2454) | 24.39% (40/164) | 23.80% (119/500) | 0.837 GiB | 4.2535 |
|
| 47 |
+
| DynQuant 3-bit | 38.75% (951/2454) | 19.51% (32/164) | 20.00% (100/500) | 0.640 GiB | 3.2495 |
|
| 48 |
+
| uniform 3-bit | 24.33% (597/2454) | 2.44% (4/164) | 6.40% (32/500) | 0.641 GiB | 3.2538 |
|
| 49 |
+
|
| 50 |
+
Accuracy with the correct count. This arm was scored from this repo's packed checkpoint. The uniform arms put every quantized matrix at one width with the same quantizer and byte accounting. Each DynQuant arm's bytes are within 0.13% of its uniform control's.
|
| 51 |
+
|
| 52 |
+
Text-to-SQL by source:
|
| 53 |
+
|
| 54 |
+
| arm | Gretel test (a training source) | WikiSQL test (a training source) | Spider dev (not a training source; see below) |
|
| 55 |
+
|---|---:|---:|---:|
|
| 56 |
+
| Kambo-v1 (base) | 52.93% (433/818) | 51.71% (423/818) | 23.96% (196/818) |
|
| 57 |
+
| fine-tune, bf16 | 60.15% (492/818) | 75.92% (621/818) | 25.67% (210/818) |
|
| 58 |
+
| **DynQuant 4-bit** | 57.09% (467/818) | 65.16% (533/818) | 24.94% (204/818) |
|
| 59 |
+
| uniform 4-bit | 50.73% (415/818) | 61.37% (502/818) | 19.19% (157/818) |
|
| 60 |
+
| DynQuant 3-bit | 45.48% (372/818) | 56.72% (464/818) | 14.06% (115/818) |
|
| 61 |
+
| uniform 3-bit | 28.24% (231/818) | 41.20% (337/818) | 3.55% (29/818) |
|
| 62 |
+
|
| 63 |
+
Spider is not one of the three training sources, but sql-create-context, which is, was built partly from Spider. Training rows asking a Spider dev question (after folding case, punctuation and whitespace) were removed; other Spider-derived rows (Spider train questions, for instance) can be in the training mix.
|
| 64 |
+
|
| 65 |
+
## How this arm compares
|
| 66 |
+
|
| 67 |
+
McNemar exact over the per-item hits: every row pairs two arms on the same problems in the same order, so only the items the two arms disagree on (`+` won by the first arm, `−` by the second) carry information. Delta is the first arm minus the second, in points. The 95% interval is exact and conditional on the number of disagreements (Clopper–Pearson on the first arm's share of them, scaled by their share of the items), so it excludes zero exactly when the unadjusted p is below 0.05. `p (Holm)` is step-down corrected across the 18 planned tests that could be computed (18 were declared before any fine-tuned arm was scored: 6 comparisons × 3 tasks). `separated` means Holm p < 0.05; `not separated` means this test cannot tell the two arms apart, not that they are equal: the interval shows how large a difference remains possible.
|
| 68 |
+
|
| 69 |
+
| comparison | task | first | second | delta (pts) | 95% CI | disagreements | p | p (Holm) | verdict |
|
| 70 |
+
|---|---|---:|---:|---:|---|---:|---:|---:|---|
|
| 71 |
+
| DynQuant 4-bit vs the bf16 fine-tune | text-to-SQL | 1204/2454 | 1323/2454 | -4.85 | [-6.22, -3.39] | +110 / −229 | 9.48e-11 | 1.33e-09 | separated |
|
| 72 |
+
| DynQuant 4-bit vs the bf16 fine-tune | HumanEval | 51/164 | 50/164 | +0.61 | [-5.70, +6.77] | +13 / −12 | 1.00 | 1.00 | not separated |
|
| 73 |
+
| DynQuant 4-bit vs the bf16 fine-tune | MBPP | 141/500 | 144/500 | -0.60 | [-3.30, +2.18] | +21 / −24 | 0.766 | 1.00 | not separated |
|
| 74 |
+
| DynQuant 4-bit vs uniform 4-bit | text-to-SQL | 1204/2454 | 1074/2454 | +5.30 | [+3.68, +6.84] | +273 / −143 | 1.82e-10 | 2.36e-09 | separated |
|
| 75 |
+
| DynQuant 4-bit vs uniform 4-bit | HumanEval | 51/164 | 40/164 | +6.71 | [-0.29, +12.28] | +20 / −9 | 0.0614 | 0.249 | not separated |
|
| 76 |
+
| DynQuant 4-bit vs uniform 4-bit | MBPP | 141/500 | 119/500 | +4.40 | [+0.95, +7.46] | +46 / −24 | 0.0115 | 0.0744 | not separated |
|
| 77 |
+
|
| 78 |
+
Secondary and exploratory rows, not corrected for multiplicity (the per-source rows are cuts of the text-to-SQL row with the same label, and the pooled-code row is the union of the two code rows with that label; neither is further evidence):
|
| 79 |
+
|
| 80 |
+
| comparison | task | first | second | delta (pts) | 95% CI | disagreements | p |
|
| 81 |
+
|---|---|---:|---:|---:|---|---:|---:|
|
| 82 |
+
| DynQuant 4-bit vs the bf16 fine-tune | text-to-SQL / gretel | 467/818 | 492/818 | -3.06 | [-5.05, -0.83] | +27 / −52 | 0.00655 |
|
| 83 |
+
| DynQuant 4-bit vs the bf16 fine-tune | text-to-SQL / wikisql | 533/818 | 621/818 | -10.76 | [-13.06, -8.03] | +32 / −120 | 3.53e-13 |
|
| 84 |
+
| DynQuant 4-bit vs the bf16 fine-tune | text-to-SQL / spider | 204/818 | 210/818 | -0.73 | [-3.29, +1.86] | +51 / −57 | 0.631 |
|
| 85 |
+
| DynQuant 4-bit vs the bf16 fine-tune | code (humaneval+mbpp) | 192/664 | 194/664 | -0.30 | [-2.86, +2.28] | +34 / −36 | 0.905 |
|
| 86 |
+
| DynQuant 4-bit vs uniform 4-bit | text-to-SQL / gretel | 467/818 | 415/818 | +6.36 | [+3.44, +9.00] | +98 / −46 | 1.75e-05 |
|
| 87 |
+
| DynQuant 4-bit vs uniform 4-bit | text-to-SQL / wikisql | 533/818 | 502/818 | +3.79 | [+0.75, +6.67] | +90 / −59 | 0.0137 |
|
| 88 |
+
| DynQuant 4-bit vs uniform 4-bit | text-to-SQL / spider | 204/818 | 157/818 | +5.75 | [+3.05, +8.16] | +85 / −38 | 2.72e-05 |
|
| 89 |
+
| DynQuant 4-bit vs uniform 4-bit | code (humaneval+mbpp) | 192/664 | 159/664 | +4.97 | [+1.93, +7.70] | +66 / −33 | 0.00119 |
|
| 90 |
+
| 4-bit vs 3-bit | text-to-SQL | 1204/2454 | 951/2454 | +10.31 | [+8.77, +11.71] | +357 / −104 | 1.64e-33 |
|
| 91 |
+
| 4-bit vs 3-bit | text-to-SQL / gretel | 467/818 | 372/818 | +11.61 | [+8.80, +13.99] | +129 / −34 | 3.15e-14 |
|
| 92 |
+
| 4-bit vs 3-bit | text-to-SQL / wikisql | 533/818 | 464/818 | +8.44 | [+5.54, +10.99] | +110 / −41 | 1.79e-08 |
|
| 93 |
+
| 4-bit vs 3-bit | text-to-SQL / spider | 204/818 | 115/818 | +10.88 | [+8.23, +13.07] | +118 / −29 | 6.16e-14 |
|
| 94 |
+
| 4-bit vs 3-bit | HumanEval | 51/164 | 32/164 | +11.59 | [+4.46, +16.51] | +26 / −7 | 0.00132 |
|
| 95 |
+
| 4-bit vs 3-bit | MBPP | 141/500 | 100/500 | +8.20 | [+4.69, +11.09] | +61 / −20 | 5.66e-06 |
|
| 96 |
+
| 4-bit vs 3-bit | code (humaneval+mbpp) | 192/664 | 132/664 | +9.04 | [+5.99, +11.60] | +87 / −27 | 1.53e-08 |
|
| 97 |
+
|
| 98 |
+
## Held-out loss
|
| 99 |
+
|
| 100 |
+
Teacher-forced over the 999 conversations held out of the training mixture (2% of every stratum, never trained on): 90,517 assistant tokens. KL and argmax agreement compare each arm with the bf16 fine-tune token by token; NLL and token accuracy score each arm against the held-out reference text. This is the fine-tune's own training distribution, so it measures distance from the fine-tune there (for the quantized rows, what quantization did; for the base row, what fine-tuning did), not general ability.
|
| 101 |
+
|
| 102 |
+
| arm | NLL (nats/token) | KL(fine-tune ‖ arm) | argmax agrees with fine-tune | token accuracy |
|
| 103 |
+
|---|---:|---:|---:|---:|
|
| 104 |
+
| fine-tune, bf16 (the reference) | 0.1324 | 0.0000 | 100.00% | 95.84% |
|
| 105 |
+
| Kambo-v1 (base) | 0.1851 | 0.0602 | 97.24% | 94.74% |
|
| 106 |
+
| DynQuant 4.25 map, encoded | 0.1485 | 0.0166 | 98.15% | 95.38% |
|
| 107 |
+
| **DynQuant 4-bit, packed** | 0.1485 | 0.0166 | 98.15% | 95.38% |
|
| 108 |
+
| uniform 4-bit | 0.1648 | 0.0332 | 97.25% | 94.88% |
|
| 109 |
+
| permuted-signal null, 4.25 (one draw) | 0.1536 | 0.0211 | 97.81% | 95.22% |
|
| 110 |
+
| DynQuant 3.25 map, encoded | 0.1912 | 0.0594 | 96.19% | 94.11% |
|
| 111 |
+
| DynQuant 3-bit, packed | 0.1912 | 0.0594 | 96.19% | 94.11% |
|
| 112 |
+
| uniform 3-bit | 0.3476 | 0.2118 | 91.64% | 90.24% |
|
| 113 |
+
| permuted-signal null, 3.25 (one draw) | 0.2048 | 0.0718 | 95.69% | 93.75% |
|
| 114 |
+
|
| 115 |
+
Paired against the controls at 4.25 bits: each row is this arm minus the control on the same tokens, summed within each conversation, with the standard error clustered by conversation, since the tokens of one conversation are not independent. A negative KL difference means this arm is closer to the fine-tune; a negative NLL difference means it puts more probability on the held-out reference text. Each pair is read on its KL z at |z| > 1.96, uncorrected (every KL result on these cards also clears a Bonferroni bar across all 4 pairs, |z| > 2.50); the NLL z is shown, not read.
|
| 116 |
+
|
| 117 |
+
| against | KL difference (this arm − it) | z | conversations where this arm is closer | NLL difference | z |
|
| 118 |
+
|---|---:|---:|---:|---:|---:|
|
| 119 |
+
| uniform 4-bit | -0.01659 | -23.0 | 866 of 999 | -0.01626 | -15.6 |
|
| 120 |
+
| permuted-signal null, 4.25 (one draw) | -0.00450 | -13.0 | 696 of 999 | -0.00509 | -7.2 |
|
| 121 |
+
|
| 122 |
+
The permuted-signal null is one seeded within-role permutation (`--score-null shuffle --null-seed 0`): it moved each module's recorded score, and its measured sensitivity where it has one, to another module of the same role (190 of 205 modules moved; the other 15 drew their own place or, like the embedding, are alone in their role). No module gained or lost a measured sensitivity in the move. Its z is conditional on that draw and does not include the spread across shuffles.
|
| 123 |
+
|
| 124 |
+
**Packed and encoded agree exactly on the held-out loss.** The same map scored through this repo's packed checkpoint and through bf16 encoding gives identical per-token losses and predictions, so on this loss the uniform arms (scored encoded, here and on the tasks), the null arms (scored encoded) and this arm (scored packed) differ in their bit widths and in nothing else. Task scores were not cross-checked between the two storage paths.
|
| 125 |
+
|
| 126 |
+
## How the bits were allocated
|
| 127 |
+
|
| 128 |
+
DynQuant gives every quantized module its own width from {2, 3, 4, 8} bits (each layer's 16 routed experts share one width per batched bank), with groups of 128 weights sharing one scale and one zero point (asymmetric). Those cost 0.25 bits per weight, so a uniform 4-bit recipe costs 4.2535 bits per parameter here, counting scales, zero points and the bf16 remainder below, and this map was asked for 4.25. It achieved **4.2479 bits** (898,002,432 bytes) against uniform 4-bit's 4.2535 (899,182,080 bytes): -0.13% bytes. The uniform figures are re-priced: DynQuant 0.5.3 charges a uniform map for 448,512 of the 499,456 bf16 remainder parameters (it leaves out the 50,944 norm weights), and here it pays for the whole remainder, as this map does.
|
| 129 |
+
|
| 130 |
+
Widths come from the fine-tune itself. During training DynQuant's tracker recorded each trained module's gradient-norm variance across optimizer steps and its activation RMS and, for the 133 single-matmul modules, the channel moments from which the loss's sensitivity to quantization is computed; the allocator spends the byte budget where each byte buys the largest drop in priced damage, subject to per-role floors.
|
| 131 |
+
|
| 132 |
+
| width | parameters | share |
|
| 133 |
+
|---:|---:|---:|
|
| 134 |
+
| 2-bit | 169,869,312 | 10.1% |
|
| 135 |
+
| 3-bit | 509,607,936 | 30.1% |
|
| 136 |
+
| 4-bit | 801,243,136 | 47.4% |
|
| 137 |
+
| 8-bit | 209,977,344 | 12.4% |
|
| 138 |
+
|
| 139 |
+
By module family (one row per projection, summed over the layers that have it; the model has 24):
|
| 140 |
+
|
| 141 |
+
| family | modules | parameters | widths (share of the family's parameters) |
|
| 142 |
+
|---|---:|---:|---|
|
| 143 |
+
| `moe.w1` | 24 | 452,984,832 | 4b 100% |
|
| 144 |
+
| `moe.w2` | 24 | 452,984,832 | 2b 21%, 3b 54%, 4b 25% |
|
| 145 |
+
| `moe.w3` | 24 | 452,984,832 | 2b 17%, 3b 58%, 4b 25% |
|
| 146 |
+
| `model.embed_tokens` | 1 | 155,582,464 | 8b 100% |
|
| 147 |
+
| `conv.in_proj` | 18 | 56,623,104 | 4b 72%, 8b 28% |
|
| 148 |
+
| `moe.sw1` | 24 | 28,311,552 | 4b 96%, 8b 4% |
|
| 149 |
+
| `moe.sw2` | 24 | 28,311,552 | 4b 63%, 8b 37% |
|
| 150 |
+
| `moe.sw3` | 24 | 28,311,552 | 4b 79%, 8b 21% |
|
| 151 |
+
| `conv.out_proj` | 18 | 18,874,368 | 4b 67%, 8b 33% |
|
| 152 |
+
| `self_attn.o_proj` | 6 | 6,291,456 | 4b 17%, 8b 83% |
|
| 153 |
+
| `self_attn.q_proj` | 6 | 6,291,456 | 8b 100% |
|
| 154 |
+
| `self_attn.k_proj` | 6 | 1,572,864 | 8b 100% |
|
| 155 |
+
| `self_attn.v_proj` | 6 | 1,572,864 | 8b 100% |
|
| 156 |
+
|
| 157 |
+
Kept in bf16 and not quantized: 499,456 parameters (0.030% of the model): `moe.router` (24 tensors, 393,216), `conv.conv` (18 tensors, 55,296), `input_layernorm` (24 tensors, 24,576), `post_attention_layernorm` (24 tensors, 24,576), `model.norm` (1 tensor, 1,024), `self_attn.k_norm` (6 tensors, 384), `self_attn.q_norm` (6 tensors, 384). These are the 24 routers, which pick each token's experts, the short-convolution kernels and the norms, all left in the compute dtype by DynQuant's classification.
|
| 158 |
+
|
| 159 |
+
**72 modules holding 1,358,954,496 parameters (80.4%) were priced by a proxy, not by measurement.** DynQuant prices a module from the channel moments its hooks collect, and it collects them only for modules that are a single matmul (the tied embedding is measured through `lm_head`). Kambo stores each layer's 16 routed experts as three batched tensors (`moe.w1`, `moe.w2`, `moe.w3`) whose forward spans two matmuls and a nonlinearity, so the tracker followed those banks (`measure_expert_banks=True`; 72 recorded) and recorded their gradient statistics and activation RMS, but no moments. Those banks were priced from the tracker's plasticity score (each bank's within-role rank of log1p of its gradient-norm variance across optimizer steps; DynQuant 0.5.3's default score does not use saliency) times their size times an error curve, scaled to the measured modules' units: the allocator's fallback. The other 133 modules (331,743,232 parameters) were priced from measured moments.
|
| 160 |
+
|
| 161 |
+
Every module is at or above its role's floor.
|
| 162 |
+
|
| 163 |
+
**Expert banks are grouped along their output axis.** A Linear's weight is `[out, in]` and DynQuant groups along the stored last axis, the input. Kambo stores its expert banks input-major (`[experts, in, out]`), so the same rule groups each of their 128-weight blocks across 128 output channels of one input. Measured on the base model's layers 0, 12 and 23 at 4 bits, the reconstruction error of the shipped grouping relative to grouping along the input is 0.995 for `w1`, 1.017 for `w2` and 0.999 for `w3` (1.000 = no difference, above 1 = the shipped grouping is worse); the banks were not transposed.
|
| 164 |
+
|
| 165 |
+
## Evaluation
|
| 166 |
+
|
| 167 |
+
All scores come from `dynquant eval` (dynquant 0.5.3) with the transformers backend, bf16, the chat template, greedy decoding and every decode setting pinned identically across arms:
|
| 168 |
+
|
| 169 |
+
| task | items | prompt | max new tokens | scored by |
|
| 170 |
+
|---|---:|---|---:|---|
|
| 171 |
+
| text-to-SQL | 2,454 | 2 solved examples as prior chat turns, then the question | 320 | execution match: the query runs against the item's database and its result set must equal the reference query's |
|
| 172 |
+
| HumanEval | 164 | one user turn: complete the function, in a single code block | 1024 | the item's unit tests, pass@1 |
|
| 173 |
+
| MBPP | 500 (test split) | one user turn: the task and its tests | 1024 | the item's unit tests, pass@1 |
|
| 174 |
+
|
| 175 |
+
Text-to-SQL deals 818 items from each of Gretel's test split, WikiSQL's test split and Spider's 1,034-item dev set (its `validation` split), in rotation. An item is admitted only if its database holds rows and its reference query returns some, and not a single row of NULLs and zeros, so a wrong query cannot match by also returning nothing; items whose schema and rows exceed 6,000 characters are skipped. Gretel's schemas carry their own INSERTs, WikiSQL's databases are built from its real Wikipedia tables, and Spider's databases, rows included, are inlined from a mirror. MBPP's records say `shots: 3`, but the chat framing ignores exemplars (DynQuant logs that it does), so every MBPP prompt is the single turn above. Generated code runs in a sandbox (`exec/linux/py3.12/rlimits/t=8s/m=4096MB`).
|
| 176 |
+
|
| 177 |
+
**Decoding is deterministic.** Kambo's experts are summed with a bf16 `index_add` whose CUDA atomics round in arrival order, and a top-2 router can turn that last bit into a different expert, so two plain runs of one checkpoint disagree on a few items. Every arm was therefore run under `torch.use_deterministic_algorithms(True)`; a repeat of 96 text-to-SQL items reproduced every prediction (EXACT). Launchers recorded across the arms above: dq_det. The base model's first, plain-launcher run is kept as a secondary row on the [bf16 card](https://huggingface.co/VikramPal/kambo-v1-sql-code), so the size of the launcher effect is on record.
|
| 178 |
+
|
| 179 |
+
**Greedy is checked, not assumed.** The checkpoints were evaluated with the generation defaults inherited from the base model, which sample (below; this repo's own are greedy); the evaluation overrides them, and a check on the fine-tune confirmed that its generations are greedy: 8 of 8 generations were identical under seeds 1 and 2, and 583 of 584 generated tokens are the argmax of a teacher-forced pass over the same text; the one that is not trails it by 0.125 logits, a near-tie inside the check's 0.25-logit tolerance.
|
| 180 |
+
|
| 181 |
+
Training, data and decontamination are described on the [bf16 fine-tune's card](https://huggingface.co/VikramPal/kambo-v1-sql-code).
|
| 182 |
+
|
| 183 |
+
## What is not claimed
|
| 184 |
+
|
| 185 |
+
- **Storage and resident memory are measured; speed is not.** This card makes no claim about decode throughput or latency against bf16.
|
| 186 |
+
- **One runtime.** Loaded and scored through `transformers` with DynQuant's quantizer. Not tested with vLLM, llama.cpp, TGI or any other runtime; Kambo's architecture is custom code, so most will not load it at all.
|
| 187 |
+
- **bfloat16 only.** Loading with `dtype=torch.float32` fails at the first layer (`expected scalar type Half but found Float`): the packed embedding emits its scales' dtype, which the format pins to fp16 under an fp32 model. bf16 loads and runs on GPU and CPU.
|
| 188 |
+
- **The allocation is mostly proxy-priced** (see above): DynQuant's measured sensitivities cover 19.6% of the quantized parameters.
|
| 189 |
+
- **Two skills.** Text-to-SQL and Python function writing, plus held-out loss on the training mixture. A quantization that holds these can lose something else.
|
| 190 |
+
|
| 191 |
+
## Usage
|
| 192 |
+
|
| 193 |
+
```bash
|
| 194 |
+
pip install dynquant torch transformers accelerate
|
| 195 |
+
```
|
| 196 |
+
|
| 197 |
+
```python
|
| 198 |
+
import torch
|
| 199 |
+
from transformers import AutoModelForCausalLM, AutoTokenizer
|
| 200 |
+
|
| 201 |
+
import dynquant
|
| 202 |
+
|
| 203 |
+
# Before from_pretrained. Without it transformers does not recognise the packed
|
| 204 |
+
# format, warns, and returns a model with randomly initialised weights.
|
| 205 |
+
dynquant.register_hf_quantizer()
|
| 206 |
+
|
| 207 |
+
model_id = "VikramPal/kambo-v1-sql-code-DynQuant-4bit"
|
| 208 |
+
tokenizer = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
|
| 209 |
+
model = AutoModelForCausalLM.from_pretrained(
|
| 210 |
+
model_id, trust_remote_code=True, dtype=torch.bfloat16, device_map="cuda"
|
| 211 |
+
)
|
| 212 |
+
|
| 213 |
+
schema = "CREATE TABLE employees (id INTEGER, name TEXT, dept TEXT, salary INTEGER);"
|
| 214 |
+
question = "Which employees in Sales earn more than 50000?"
|
| 215 |
+
prompt = (
|
| 216 |
+
"Write a single SQL query that answers the question, using only the tables in the "
|
| 217 |
+
"schema. Return just the query, with no explanation.\n\n"
|
| 218 |
+
f"Schema:\n{schema}\n\nQuestion: {question}"
|
| 219 |
+
)
|
| 220 |
+
messages = [{"role": "user", "content": prompt}]
|
| 221 |
+
inputs = tokenizer.apply_chat_template(
|
| 222 |
+
messages, add_generation_prompt=True, return_tensors="pt", return_dict=True
|
| 223 |
+
).to(model.device)
|
| 224 |
+
out = model.generate(**inputs, max_new_tokens=320) # greedy: see generation_config.json
|
| 225 |
+
print(tokenizer.decode(out[0, inputs["input_ids"].shape[1]:], skip_special_tokens=True))
|
| 226 |
+
```
|
| 227 |
+
|
| 228 |
+
**This repo's `generation_config.json` is greedy, which is a change from the base model's.** Kambo-v1 ships `do_sample: true`, temperature 0.7, top_p 0.9 and top_k 2; the top_k is the MoE routing width (`top_k: 2` in config.json) carried into the generation defaults, and it restricts every sampled token to the two most likely. Every number on this card was measured greedy, so a plain `generate()` call here decodes greedily too. To sample, pass `do_sample=True` with your own `temperature`, `top_p` and `top_k`. transformers 5 still fills the unset `top_k` from config.json and warns that it "may be ignored"; greedy decoding does ignore it.
|
| 229 |
+
|
| 230 |
+
### Prompt format
|
| 231 |
+
|
| 232 |
+
The model was trained and evaluated on these wordings, and answers best when asked in them.
|
| 233 |
+
ChatML, no system message (none is inserted when you supply none, which is how it was trained).
|
| 234 |
+
|
| 235 |
+
<details><summary>Text-to-SQL</summary>
|
| 236 |
+
|
| 237 |
+
```text
|
| 238 |
+
Write a single SQL query that answers the question, using only the tables in the schema. Return just the query, with no explanation.
|
| 239 |
+
|
| 240 |
+
Schema:
|
| 241 |
+
{CREATE TABLE ... statements}
|
| 242 |
+
|
| 243 |
+
Question: {question}
|
| 244 |
+
```
|
| 245 |
+
</details>
|
| 246 |
+
|
| 247 |
+
<details><summary>Python function from a signature and docstring (HumanEval style)</summary>
|
| 248 |
+
|
| 249 |
+
````text
|
| 250 |
+
Complete the following Python function. Write the entire function, including the signature, inside a single ```python code block. Do not write tests, examples, or an explanation.
|
| 251 |
+
|
| 252 |
+
```python
|
| 253 |
+
{signature and docstring}```
|
| 254 |
+
````
|
| 255 |
+
</details>
|
| 256 |
+
|
| 257 |
+
<details><summary>Python function from a description and tests (MBPP style)</summary>
|
| 258 |
+
|
| 259 |
+
````text
|
| 260 |
+
You are an expert Python programmer. Write a Python function for this task:
|
| 261 |
+
|
| 262 |
+
{description}
|
| 263 |
+
|
| 264 |
+
Your code must pass these tests:
|
| 265 |
+
|
| 266 |
+
```python
|
| 267 |
+
{assert statements}
|
| 268 |
+
```
|
| 269 |
+
|
| 270 |
+
Return only the function, in a single ```python code block, with no explanation.
|
| 271 |
+
````
|
| 272 |
+
</details>
|
| 273 |
+
|
| 274 |
+
## License
|
| 275 |
+
|
| 276 |
+
Released under the [Apache License 2.0](LICENSE), as the base model is; see [NOTICE](NOTICE). Training data, each under its own license: [gretelai/synthetic_text_to_sql](https://huggingface.co/datasets/gretelai/synthetic_text_to_sql) (apache-2.0), [Salesforce/wikisql](https://huggingface.co/datasets/Salesforce/wikisql) (`unknown`, as the dataset card states it), [b-mc2/sql-create-context](https://huggingface.co/datasets/b-mc2/sql-create-context) (cc-by-4.0), [nvidia/OpenCodeInstruct](https://huggingface.co/datasets/nvidia/OpenCodeInstruct) (cc-by-4.0). Evaluated on: [gretelai/synthetic_text_to_sql](https://huggingface.co/datasets/gretelai/synthetic_text_to_sql) (apache-2.0), [Salesforce/wikisql](https://huggingface.co/datasets/Salesforce/wikisql) (`unknown`, as the dataset card states it), [xlangai/spider](https://huggingface.co/datasets/xlangai/spider) (cc-by-sa-4.0), [premai-io/spider](https://huggingface.co/datasets/premai-io/spider) (no license stated on the dataset card), [openai/openai_humaneval](https://huggingface.co/datasets/openai/openai_humaneval) (mit), [google-research-datasets/mbpp](https://huggingface.co/datasets/google-research-datasets/mbpp) (cc-by-4.0).
|
| 277 |
+
|
| 278 |
+
## Citation
|
| 279 |
+
|
| 280 |
+
```bibtex
|
| 281 |
+
@misc{kambo_v1_2026,
|
| 282 |
+
title = {Kambo-v1: A 1.7B Hybrid Convolution-Attention Mixture-of-Experts Language Model},
|
| 283 |
+
author = {Kamboj, Vikrampal},
|
| 284 |
+
year = {2026},
|
| 285 |
+
note = {Apache-2.0},
|
| 286 |
+
url = {https://huggingface.co/VikramPal/kambo-v1}
|
| 287 |
+
}
|
| 288 |
+
```
|
chat_template.jinja
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{% for message in messages %}{{ '<|im_start|>' + message['role'] + '
|
| 2 |
+
' + message['content'] + '<|im_end|>' + '
|
| 3 |
+
' }}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant
|
| 4 |
+
' }}{% endif %}
|
config.json
ADDED
|
@@ -0,0 +1,874 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"KamboForCausalLM"
|
| 4 |
+
],
|
| 5 |
+
"auto_map": {
|
| 6 |
+
"AutoConfig": "configuration_kambo.KamboConfig",
|
| 7 |
+
"AutoModel": "modeling_kambo.KamboModel",
|
| 8 |
+
"AutoModelForCausalLM": "modeling_kambo.KamboForCausalLM"
|
| 9 |
+
},
|
| 10 |
+
"bos_token_id": 151643,
|
| 11 |
+
"conv_kernel": 3,
|
| 12 |
+
"d_ff": 1152,
|
| 13 |
+
"dtype": "bfloat16",
|
| 14 |
+
"eos_token_id": 151645,
|
| 15 |
+
"gqa_layers": [
|
| 16 |
+
3,
|
| 17 |
+
7,
|
| 18 |
+
11,
|
| 19 |
+
15,
|
| 20 |
+
19,
|
| 21 |
+
23
|
| 22 |
+
],
|
| 23 |
+
"head_dim": 64,
|
| 24 |
+
"hidden_size": 1024,
|
| 25 |
+
"intermediate_size": 1152,
|
| 26 |
+
"max_position_embeddings": 16384,
|
| 27 |
+
"model_type": "kambo",
|
| 28 |
+
"n_experts": 16,
|
| 29 |
+
"num_attention_heads": 16,
|
| 30 |
+
"num_experts": 16,
|
| 31 |
+
"num_experts_per_tok": 2,
|
| 32 |
+
"num_hidden_layers": 24,
|
| 33 |
+
"num_key_value_heads": 4,
|
| 34 |
+
"pad_token_id": 151643,
|
| 35 |
+
"quantization_config": {
|
| 36 |
+
"checkpoint_format": "dynquant-packed",
|
| 37 |
+
"group_size": 128,
|
| 38 |
+
"lm_head_quantized": false,
|
| 39 |
+
"modules": {
|
| 40 |
+
"model.embed_tokens": {
|
| 41 |
+
"bits": 8,
|
| 42 |
+
"out_features": 151936
|
| 43 |
+
},
|
| 44 |
+
"model.layers.0.conv.in_proj": {
|
| 45 |
+
"bits": 8,
|
| 46 |
+
"out_features": 3072
|
| 47 |
+
},
|
| 48 |
+
"model.layers.0.conv.out_proj": {
|
| 49 |
+
"bits": 8,
|
| 50 |
+
"out_features": 1024
|
| 51 |
+
},
|
| 52 |
+
"model.layers.0.moe.sw1": {
|
| 53 |
+
"bits": 4,
|
| 54 |
+
"out_features": 1152
|
| 55 |
+
},
|
| 56 |
+
"model.layers.0.moe.sw2": {
|
| 57 |
+
"bits": 8,
|
| 58 |
+
"out_features": 1024
|
| 59 |
+
},
|
| 60 |
+
"model.layers.0.moe.sw3": {
|
| 61 |
+
"bits": 8,
|
| 62 |
+
"out_features": 1152
|
| 63 |
+
},
|
| 64 |
+
"model.layers.0.moe.w1": {
|
| 65 |
+
"bits": 4,
|
| 66 |
+
"out_features": 16384
|
| 67 |
+
},
|
| 68 |
+
"model.layers.0.moe.w2": {
|
| 69 |
+
"bits": 2,
|
| 70 |
+
"out_features": 18432
|
| 71 |
+
},
|
| 72 |
+
"model.layers.0.moe.w3": {
|
| 73 |
+
"bits": 4,
|
| 74 |
+
"out_features": 16384
|
| 75 |
+
},
|
| 76 |
+
"model.layers.1.conv.in_proj": {
|
| 77 |
+
"bits": 4,
|
| 78 |
+
"out_features": 3072
|
| 79 |
+
},
|
| 80 |
+
"model.layers.1.conv.out_proj": {
|
| 81 |
+
"bits": 4,
|
| 82 |
+
"out_features": 1024
|
| 83 |
+
},
|
| 84 |
+
"model.layers.1.moe.sw1": {
|
| 85 |
+
"bits": 4,
|
| 86 |
+
"out_features": 1152
|
| 87 |
+
},
|
| 88 |
+
"model.layers.1.moe.sw2": {
|
| 89 |
+
"bits": 4,
|
| 90 |
+
"out_features": 1024
|
| 91 |
+
},
|
| 92 |
+
"model.layers.1.moe.sw3": {
|
| 93 |
+
"bits": 4,
|
| 94 |
+
"out_features": 1152
|
| 95 |
+
},
|
| 96 |
+
"model.layers.1.moe.w1": {
|
| 97 |
+
"bits": 4,
|
| 98 |
+
"out_features": 16384
|
| 99 |
+
},
|
| 100 |
+
"model.layers.1.moe.w2": {
|
| 101 |
+
"bits": 2,
|
| 102 |
+
"out_features": 18432
|
| 103 |
+
},
|
| 104 |
+
"model.layers.1.moe.w3": {
|
| 105 |
+
"bits": 2,
|
| 106 |
+
"out_features": 16384
|
| 107 |
+
},
|
| 108 |
+
"model.layers.10.conv.in_proj": {
|
| 109 |
+
"bits": 4,
|
| 110 |
+
"out_features": 3072
|
| 111 |
+
},
|
| 112 |
+
"model.layers.10.conv.out_proj": {
|
| 113 |
+
"bits": 4,
|
| 114 |
+
"out_features": 1024
|
| 115 |
+
},
|
| 116 |
+
"model.layers.10.moe.sw1": {
|
| 117 |
+
"bits": 4,
|
| 118 |
+
"out_features": 1152
|
| 119 |
+
},
|
| 120 |
+
"model.layers.10.moe.sw2": {
|
| 121 |
+
"bits": 8,
|
| 122 |
+
"out_features": 1024
|
| 123 |
+
},
|
| 124 |
+
"model.layers.10.moe.sw3": {
|
| 125 |
+
"bits": 8,
|
| 126 |
+
"out_features": 1152
|
| 127 |
+
},
|
| 128 |
+
"model.layers.10.moe.w1": {
|
| 129 |
+
"bits": 4,
|
| 130 |
+
"out_features": 16384
|
| 131 |
+
},
|
| 132 |
+
"model.layers.10.moe.w2": {
|
| 133 |
+
"bits": 4,
|
| 134 |
+
"out_features": 18432
|
| 135 |
+
},
|
| 136 |
+
"model.layers.10.moe.w3": {
|
| 137 |
+
"bits": 3,
|
| 138 |
+
"out_features": 16384
|
| 139 |
+
},
|
| 140 |
+
"model.layers.11.moe.sw1": {
|
| 141 |
+
"bits": 4,
|
| 142 |
+
"out_features": 1152
|
| 143 |
+
},
|
| 144 |
+
"model.layers.11.moe.sw2": {
|
| 145 |
+
"bits": 4,
|
| 146 |
+
"out_features": 1024
|
| 147 |
+
},
|
| 148 |
+
"model.layers.11.moe.sw3": {
|
| 149 |
+
"bits": 4,
|
| 150 |
+
"out_features": 1152
|
| 151 |
+
},
|
| 152 |
+
"model.layers.11.moe.w1": {
|
| 153 |
+
"bits": 4,
|
| 154 |
+
"out_features": 16384
|
| 155 |
+
},
|
| 156 |
+
"model.layers.11.moe.w2": {
|
| 157 |
+
"bits": 4,
|
| 158 |
+
"out_features": 18432
|
| 159 |
+
},
|
| 160 |
+
"model.layers.11.moe.w3": {
|
| 161 |
+
"bits": 4,
|
| 162 |
+
"out_features": 16384
|
| 163 |
+
},
|
| 164 |
+
"model.layers.11.self_attn.k_proj": {
|
| 165 |
+
"bits": 8,
|
| 166 |
+
"out_features": 256
|
| 167 |
+
},
|
| 168 |
+
"model.layers.11.self_attn.o_proj": {
|
| 169 |
+
"bits": 8,
|
| 170 |
+
"out_features": 1024
|
| 171 |
+
},
|
| 172 |
+
"model.layers.11.self_attn.q_proj": {
|
| 173 |
+
"bits": 8,
|
| 174 |
+
"out_features": 1024
|
| 175 |
+
},
|
| 176 |
+
"model.layers.11.self_attn.v_proj": {
|
| 177 |
+
"bits": 8,
|
| 178 |
+
"out_features": 256
|
| 179 |
+
},
|
| 180 |
+
"model.layers.12.conv.in_proj": {
|
| 181 |
+
"bits": 4,
|
| 182 |
+
"out_features": 3072
|
| 183 |
+
},
|
| 184 |
+
"model.layers.12.conv.out_proj": {
|
| 185 |
+
"bits": 4,
|
| 186 |
+
"out_features": 1024
|
| 187 |
+
},
|
| 188 |
+
"model.layers.12.moe.sw1": {
|
| 189 |
+
"bits": 4,
|
| 190 |
+
"out_features": 1152
|
| 191 |
+
},
|
| 192 |
+
"model.layers.12.moe.sw2": {
|
| 193 |
+
"bits": 4,
|
| 194 |
+
"out_features": 1024
|
| 195 |
+
},
|
| 196 |
+
"model.layers.12.moe.sw3": {
|
| 197 |
+
"bits": 4,
|
| 198 |
+
"out_features": 1152
|
| 199 |
+
},
|
| 200 |
+
"model.layers.12.moe.w1": {
|
| 201 |
+
"bits": 4,
|
| 202 |
+
"out_features": 16384
|
| 203 |
+
},
|
| 204 |
+
"model.layers.12.moe.w2": {
|
| 205 |
+
"bits": 3,
|
| 206 |
+
"out_features": 18432
|
| 207 |
+
},
|
| 208 |
+
"model.layers.12.moe.w3": {
|
| 209 |
+
"bits": 3,
|
| 210 |
+
"out_features": 16384
|
| 211 |
+
},
|
| 212 |
+
"model.layers.13.conv.in_proj": {
|
| 213 |
+
"bits": 4,
|
| 214 |
+
"out_features": 3072
|
| 215 |
+
},
|
| 216 |
+
"model.layers.13.conv.out_proj": {
|
| 217 |
+
"bits": 8,
|
| 218 |
+
"out_features": 1024
|
| 219 |
+
},
|
| 220 |
+
"model.layers.13.moe.sw1": {
|
| 221 |
+
"bits": 4,
|
| 222 |
+
"out_features": 1152
|
| 223 |
+
},
|
| 224 |
+
"model.layers.13.moe.sw2": {
|
| 225 |
+
"bits": 4,
|
| 226 |
+
"out_features": 1024
|
| 227 |
+
},
|
| 228 |
+
"model.layers.13.moe.sw3": {
|
| 229 |
+
"bits": 4,
|
| 230 |
+
"out_features": 1152
|
| 231 |
+
},
|
| 232 |
+
"model.layers.13.moe.w1": {
|
| 233 |
+
"bits": 4,
|
| 234 |
+
"out_features": 16384
|
| 235 |
+
},
|
| 236 |
+
"model.layers.13.moe.w2": {
|
| 237 |
+
"bits": 4,
|
| 238 |
+
"out_features": 18432
|
| 239 |
+
},
|
| 240 |
+
"model.layers.13.moe.w3": {
|
| 241 |
+
"bits": 4,
|
| 242 |
+
"out_features": 16384
|
| 243 |
+
},
|
| 244 |
+
"model.layers.14.conv.in_proj": {
|
| 245 |
+
"bits": 8,
|
| 246 |
+
"out_features": 3072
|
| 247 |
+
},
|
| 248 |
+
"model.layers.14.conv.out_proj": {
|
| 249 |
+
"bits": 8,
|
| 250 |
+
"out_features": 1024
|
| 251 |
+
},
|
| 252 |
+
"model.layers.14.moe.sw1": {
|
| 253 |
+
"bits": 4,
|
| 254 |
+
"out_features": 1152
|
| 255 |
+
},
|
| 256 |
+
"model.layers.14.moe.sw2": {
|
| 257 |
+
"bits": 8,
|
| 258 |
+
"out_features": 1024
|
| 259 |
+
},
|
| 260 |
+
"model.layers.14.moe.sw3": {
|
| 261 |
+
"bits": 8,
|
| 262 |
+
"out_features": 1152
|
| 263 |
+
},
|
| 264 |
+
"model.layers.14.moe.w1": {
|
| 265 |
+
"bits": 4,
|
| 266 |
+
"out_features": 16384
|
| 267 |
+
},
|
| 268 |
+
"model.layers.14.moe.w2": {
|
| 269 |
+
"bits": 3,
|
| 270 |
+
"out_features": 18432
|
| 271 |
+
},
|
| 272 |
+
"model.layers.14.moe.w3": {
|
| 273 |
+
"bits": 4,
|
| 274 |
+
"out_features": 16384
|
| 275 |
+
},
|
| 276 |
+
"model.layers.15.moe.sw1": {
|
| 277 |
+
"bits": 4,
|
| 278 |
+
"out_features": 1152
|
| 279 |
+
},
|
| 280 |
+
"model.layers.15.moe.sw2": {
|
| 281 |
+
"bits": 4,
|
| 282 |
+
"out_features": 1024
|
| 283 |
+
},
|
| 284 |
+
"model.layers.15.moe.sw3": {
|
| 285 |
+
"bits": 4,
|
| 286 |
+
"out_features": 1152
|
| 287 |
+
},
|
| 288 |
+
"model.layers.15.moe.w1": {
|
| 289 |
+
"bits": 4,
|
| 290 |
+
"out_features": 16384
|
| 291 |
+
},
|
| 292 |
+
"model.layers.15.moe.w2": {
|
| 293 |
+
"bits": 4,
|
| 294 |
+
"out_features": 18432
|
| 295 |
+
},
|
| 296 |
+
"model.layers.15.moe.w3": {
|
| 297 |
+
"bits": 3,
|
| 298 |
+
"out_features": 16384
|
| 299 |
+
},
|
| 300 |
+
"model.layers.15.self_attn.k_proj": {
|
| 301 |
+
"bits": 8,
|
| 302 |
+
"out_features": 256
|
| 303 |
+
},
|
| 304 |
+
"model.layers.15.self_attn.o_proj": {
|
| 305 |
+
"bits": 8,
|
| 306 |
+
"out_features": 1024
|
| 307 |
+
},
|
| 308 |
+
"model.layers.15.self_attn.q_proj": {
|
| 309 |
+
"bits": 8,
|
| 310 |
+
"out_features": 1024
|
| 311 |
+
},
|
| 312 |
+
"model.layers.15.self_attn.v_proj": {
|
| 313 |
+
"bits": 8,
|
| 314 |
+
"out_features": 256
|
| 315 |
+
},
|
| 316 |
+
"model.layers.16.conv.in_proj": {
|
| 317 |
+
"bits": 8,
|
| 318 |
+
"out_features": 3072
|
| 319 |
+
},
|
| 320 |
+
"model.layers.16.conv.out_proj": {
|
| 321 |
+
"bits": 8,
|
| 322 |
+
"out_features": 1024
|
| 323 |
+
},
|
| 324 |
+
"model.layers.16.moe.sw1": {
|
| 325 |
+
"bits": 4,
|
| 326 |
+
"out_features": 1152
|
| 327 |
+
},
|
| 328 |
+
"model.layers.16.moe.sw2": {
|
| 329 |
+
"bits": 4,
|
| 330 |
+
"out_features": 1024
|
| 331 |
+
},
|
| 332 |
+
"model.layers.16.moe.sw3": {
|
| 333 |
+
"bits": 4,
|
| 334 |
+
"out_features": 1152
|
| 335 |
+
},
|
| 336 |
+
"model.layers.16.moe.w1": {
|
| 337 |
+
"bits": 4,
|
| 338 |
+
"out_features": 16384
|
| 339 |
+
},
|
| 340 |
+
"model.layers.16.moe.w2": {
|
| 341 |
+
"bits": 3,
|
| 342 |
+
"out_features": 18432
|
| 343 |
+
},
|
| 344 |
+
"model.layers.16.moe.w3": {
|
| 345 |
+
"bits": 3,
|
| 346 |
+
"out_features": 16384
|
| 347 |
+
},
|
| 348 |
+
"model.layers.17.conv.in_proj": {
|
| 349 |
+
"bits": 4,
|
| 350 |
+
"out_features": 3072
|
| 351 |
+
},
|
| 352 |
+
"model.layers.17.conv.out_proj": {
|
| 353 |
+
"bits": 4,
|
| 354 |
+
"out_features": 1024
|
| 355 |
+
},
|
| 356 |
+
"model.layers.17.moe.sw1": {
|
| 357 |
+
"bits": 4,
|
| 358 |
+
"out_features": 1152
|
| 359 |
+
},
|
| 360 |
+
"model.layers.17.moe.sw2": {
|
| 361 |
+
"bits": 4,
|
| 362 |
+
"out_features": 1024
|
| 363 |
+
},
|
| 364 |
+
"model.layers.17.moe.sw3": {
|
| 365 |
+
"bits": 4,
|
| 366 |
+
"out_features": 1152
|
| 367 |
+
},
|
| 368 |
+
"model.layers.17.moe.w1": {
|
| 369 |
+
"bits": 4,
|
| 370 |
+
"out_features": 16384
|
| 371 |
+
},
|
| 372 |
+
"model.layers.17.moe.w2": {
|
| 373 |
+
"bits": 3,
|
| 374 |
+
"out_features": 18432
|
| 375 |
+
},
|
| 376 |
+
"model.layers.17.moe.w3": {
|
| 377 |
+
"bits": 3,
|
| 378 |
+
"out_features": 16384
|
| 379 |
+
},
|
| 380 |
+
"model.layers.18.conv.in_proj": {
|
| 381 |
+
"bits": 8,
|
| 382 |
+
"out_features": 3072
|
| 383 |
+
},
|
| 384 |
+
"model.layers.18.conv.out_proj": {
|
| 385 |
+
"bits": 8,
|
| 386 |
+
"out_features": 1024
|
| 387 |
+
},
|
| 388 |
+
"model.layers.18.moe.sw1": {
|
| 389 |
+
"bits": 4,
|
| 390 |
+
"out_features": 1152
|
| 391 |
+
},
|
| 392 |
+
"model.layers.18.moe.sw2": {
|
| 393 |
+
"bits": 8,
|
| 394 |
+
"out_features": 1024
|
| 395 |
+
},
|
| 396 |
+
"model.layers.18.moe.sw3": {
|
| 397 |
+
"bits": 8,
|
| 398 |
+
"out_features": 1152
|
| 399 |
+
},
|
| 400 |
+
"model.layers.18.moe.w1": {
|
| 401 |
+
"bits": 4,
|
| 402 |
+
"out_features": 16384
|
| 403 |
+
},
|
| 404 |
+
"model.layers.18.moe.w2": {
|
| 405 |
+
"bits": 3,
|
| 406 |
+
"out_features": 18432
|
| 407 |
+
},
|
| 408 |
+
"model.layers.18.moe.w3": {
|
| 409 |
+
"bits": 3,
|
| 410 |
+
"out_features": 16384
|
| 411 |
+
},
|
| 412 |
+
"model.layers.19.moe.sw1": {
|
| 413 |
+
"bits": 4,
|
| 414 |
+
"out_features": 1152
|
| 415 |
+
},
|
| 416 |
+
"model.layers.19.moe.sw2": {
|
| 417 |
+
"bits": 8,
|
| 418 |
+
"out_features": 1024
|
| 419 |
+
},
|
| 420 |
+
"model.layers.19.moe.sw3": {
|
| 421 |
+
"bits": 4,
|
| 422 |
+
"out_features": 1152
|
| 423 |
+
},
|
| 424 |
+
"model.layers.19.moe.w1": {
|
| 425 |
+
"bits": 4,
|
| 426 |
+
"out_features": 16384
|
| 427 |
+
},
|
| 428 |
+
"model.layers.19.moe.w2": {
|
| 429 |
+
"bits": 3,
|
| 430 |
+
"out_features": 18432
|
| 431 |
+
},
|
| 432 |
+
"model.layers.19.moe.w3": {
|
| 433 |
+
"bits": 3,
|
| 434 |
+
"out_features": 16384
|
| 435 |
+
},
|
| 436 |
+
"model.layers.19.self_attn.k_proj": {
|
| 437 |
+
"bits": 8,
|
| 438 |
+
"out_features": 256
|
| 439 |
+
},
|
| 440 |
+
"model.layers.19.self_attn.o_proj": {
|
| 441 |
+
"bits": 8,
|
| 442 |
+
"out_features": 1024
|
| 443 |
+
},
|
| 444 |
+
"model.layers.19.self_attn.q_proj": {
|
| 445 |
+
"bits": 8,
|
| 446 |
+
"out_features": 1024
|
| 447 |
+
},
|
| 448 |
+
"model.layers.19.self_attn.v_proj": {
|
| 449 |
+
"bits": 8,
|
| 450 |
+
"out_features": 256
|
| 451 |
+
},
|
| 452 |
+
"model.layers.2.conv.in_proj": {
|
| 453 |
+
"bits": 4,
|
| 454 |
+
"out_features": 3072
|
| 455 |
+
},
|
| 456 |
+
"model.layers.2.conv.out_proj": {
|
| 457 |
+
"bits": 4,
|
| 458 |
+
"out_features": 1024
|
| 459 |
+
},
|
| 460 |
+
"model.layers.2.moe.sw1": {
|
| 461 |
+
"bits": 4,
|
| 462 |
+
"out_features": 1152
|
| 463 |
+
},
|
| 464 |
+
"model.layers.2.moe.sw2": {
|
| 465 |
+
"bits": 4,
|
| 466 |
+
"out_features": 1024
|
| 467 |
+
},
|
| 468 |
+
"model.layers.2.moe.sw3": {
|
| 469 |
+
"bits": 4,
|
| 470 |
+
"out_features": 1152
|
| 471 |
+
},
|
| 472 |
+
"model.layers.2.moe.w1": {
|
| 473 |
+
"bits": 4,
|
| 474 |
+
"out_features": 16384
|
| 475 |
+
},
|
| 476 |
+
"model.layers.2.moe.w2": {
|
| 477 |
+
"bits": 2,
|
| 478 |
+
"out_features": 18432
|
| 479 |
+
},
|
| 480 |
+
"model.layers.2.moe.w3": {
|
| 481 |
+
"bits": 2,
|
| 482 |
+
"out_features": 16384
|
| 483 |
+
},
|
| 484 |
+
"model.layers.20.conv.in_proj": {
|
| 485 |
+
"bits": 4,
|
| 486 |
+
"out_features": 3072
|
| 487 |
+
},
|
| 488 |
+
"model.layers.20.conv.out_proj": {
|
| 489 |
+
"bits": 4,
|
| 490 |
+
"out_features": 1024
|
| 491 |
+
},
|
| 492 |
+
"model.layers.20.moe.sw1": {
|
| 493 |
+
"bits": 4,
|
| 494 |
+
"out_features": 1152
|
| 495 |
+
},
|
| 496 |
+
"model.layers.20.moe.sw2": {
|
| 497 |
+
"bits": 4,
|
| 498 |
+
"out_features": 1024
|
| 499 |
+
},
|
| 500 |
+
"model.layers.20.moe.sw3": {
|
| 501 |
+
"bits": 4,
|
| 502 |
+
"out_features": 1152
|
| 503 |
+
},
|
| 504 |
+
"model.layers.20.moe.w1": {
|
| 505 |
+
"bits": 4,
|
| 506 |
+
"out_features": 16384
|
| 507 |
+
},
|
| 508 |
+
"model.layers.20.moe.w2": {
|
| 509 |
+
"bits": 2,
|
| 510 |
+
"out_features": 18432
|
| 511 |
+
},
|
| 512 |
+
"model.layers.20.moe.w3": {
|
| 513 |
+
"bits": 2,
|
| 514 |
+
"out_features": 16384
|
| 515 |
+
},
|
| 516 |
+
"model.layers.21.conv.in_proj": {
|
| 517 |
+
"bits": 4,
|
| 518 |
+
"out_features": 3072
|
| 519 |
+
},
|
| 520 |
+
"model.layers.21.conv.out_proj": {
|
| 521 |
+
"bits": 4,
|
| 522 |
+
"out_features": 1024
|
| 523 |
+
},
|
| 524 |
+
"model.layers.21.moe.sw1": {
|
| 525 |
+
"bits": 4,
|
| 526 |
+
"out_features": 1152
|
| 527 |
+
},
|
| 528 |
+
"model.layers.21.moe.sw2": {
|
| 529 |
+
"bits": 4,
|
| 530 |
+
"out_features": 1024
|
| 531 |
+
},
|
| 532 |
+
"model.layers.21.moe.sw3": {
|
| 533 |
+
"bits": 4,
|
| 534 |
+
"out_features": 1152
|
| 535 |
+
},
|
| 536 |
+
"model.layers.21.moe.w1": {
|
| 537 |
+
"bits": 4,
|
| 538 |
+
"out_features": 16384
|
| 539 |
+
},
|
| 540 |
+
"model.layers.21.moe.w2": {
|
| 541 |
+
"bits": 3,
|
| 542 |
+
"out_features": 18432
|
| 543 |
+
},
|
| 544 |
+
"model.layers.21.moe.w3": {
|
| 545 |
+
"bits": 3,
|
| 546 |
+
"out_features": 16384
|
| 547 |
+
},
|
| 548 |
+
"model.layers.22.conv.in_proj": {
|
| 549 |
+
"bits": 4,
|
| 550 |
+
"out_features": 3072
|
| 551 |
+
},
|
| 552 |
+
"model.layers.22.conv.out_proj": {
|
| 553 |
+
"bits": 4,
|
| 554 |
+
"out_features": 1024
|
| 555 |
+
},
|
| 556 |
+
"model.layers.22.moe.sw1": {
|
| 557 |
+
"bits": 4,
|
| 558 |
+
"out_features": 1152
|
| 559 |
+
},
|
| 560 |
+
"model.layers.22.moe.sw2": {
|
| 561 |
+
"bits": 8,
|
| 562 |
+
"out_features": 1024
|
| 563 |
+
},
|
| 564 |
+
"model.layers.22.moe.sw3": {
|
| 565 |
+
"bits": 4,
|
| 566 |
+
"out_features": 1152
|
| 567 |
+
},
|
| 568 |
+
"model.layers.22.moe.w1": {
|
| 569 |
+
"bits": 4,
|
| 570 |
+
"out_features": 16384
|
| 571 |
+
},
|
| 572 |
+
"model.layers.22.moe.w2": {
|
| 573 |
+
"bits": 3,
|
| 574 |
+
"out_features": 18432
|
| 575 |
+
},
|
| 576 |
+
"model.layers.22.moe.w3": {
|
| 577 |
+
"bits": 3,
|
| 578 |
+
"out_features": 16384
|
| 579 |
+
},
|
| 580 |
+
"model.layers.23.moe.sw1": {
|
| 581 |
+
"bits": 8,
|
| 582 |
+
"out_features": 1152
|
| 583 |
+
},
|
| 584 |
+
"model.layers.23.moe.sw2": {
|
| 585 |
+
"bits": 8,
|
| 586 |
+
"out_features": 1024
|
| 587 |
+
},
|
| 588 |
+
"model.layers.23.moe.sw3": {
|
| 589 |
+
"bits": 8,
|
| 590 |
+
"out_features": 1152
|
| 591 |
+
},
|
| 592 |
+
"model.layers.23.moe.w1": {
|
| 593 |
+
"bits": 4,
|
| 594 |
+
"out_features": 16384
|
| 595 |
+
},
|
| 596 |
+
"model.layers.23.moe.w2": {
|
| 597 |
+
"bits": 3,
|
| 598 |
+
"out_features": 18432
|
| 599 |
+
},
|
| 600 |
+
"model.layers.23.moe.w3": {
|
| 601 |
+
"bits": 3,
|
| 602 |
+
"out_features": 16384
|
| 603 |
+
},
|
| 604 |
+
"model.layers.23.self_attn.k_proj": {
|
| 605 |
+
"bits": 8,
|
| 606 |
+
"out_features": 256
|
| 607 |
+
},
|
| 608 |
+
"model.layers.23.self_attn.o_proj": {
|
| 609 |
+
"bits": 4,
|
| 610 |
+
"out_features": 1024
|
| 611 |
+
},
|
| 612 |
+
"model.layers.23.self_attn.q_proj": {
|
| 613 |
+
"bits": 8,
|
| 614 |
+
"out_features": 1024
|
| 615 |
+
},
|
| 616 |
+
"model.layers.23.self_attn.v_proj": {
|
| 617 |
+
"bits": 8,
|
| 618 |
+
"out_features": 256
|
| 619 |
+
},
|
| 620 |
+
"model.layers.3.moe.sw1": {
|
| 621 |
+
"bits": 4,
|
| 622 |
+
"out_features": 1152
|
| 623 |
+
},
|
| 624 |
+
"model.layers.3.moe.sw2": {
|
| 625 |
+
"bits": 4,
|
| 626 |
+
"out_features": 1024
|
| 627 |
+
},
|
| 628 |
+
"model.layers.3.moe.sw3": {
|
| 629 |
+
"bits": 4,
|
| 630 |
+
"out_features": 1152
|
| 631 |
+
},
|
| 632 |
+
"model.layers.3.moe.w1": {
|
| 633 |
+
"bits": 4,
|
| 634 |
+
"out_features": 16384
|
| 635 |
+
},
|
| 636 |
+
"model.layers.3.moe.w2": {
|
| 637 |
+
"bits": 3,
|
| 638 |
+
"out_features": 18432
|
| 639 |
+
},
|
| 640 |
+
"model.layers.3.moe.w3": {
|
| 641 |
+
"bits": 2,
|
| 642 |
+
"out_features": 16384
|
| 643 |
+
},
|
| 644 |
+
"model.layers.3.self_attn.k_proj": {
|
| 645 |
+
"bits": 8,
|
| 646 |
+
"out_features": 256
|
| 647 |
+
},
|
| 648 |
+
"model.layers.3.self_attn.o_proj": {
|
| 649 |
+
"bits": 8,
|
| 650 |
+
"out_features": 1024
|
| 651 |
+
},
|
| 652 |
+
"model.layers.3.self_attn.q_proj": {
|
| 653 |
+
"bits": 8,
|
| 654 |
+
"out_features": 1024
|
| 655 |
+
},
|
| 656 |
+
"model.layers.3.self_attn.v_proj": {
|
| 657 |
+
"bits": 8,
|
| 658 |
+
"out_features": 256
|
| 659 |
+
},
|
| 660 |
+
"model.layers.4.conv.in_proj": {
|
| 661 |
+
"bits": 4,
|
| 662 |
+
"out_features": 3072
|
| 663 |
+
},
|
| 664 |
+
"model.layers.4.conv.out_proj": {
|
| 665 |
+
"bits": 4,
|
| 666 |
+
"out_features": 1024
|
| 667 |
+
},
|
| 668 |
+
"model.layers.4.moe.sw1": {
|
| 669 |
+
"bits": 4,
|
| 670 |
+
"out_features": 1152
|
| 671 |
+
},
|
| 672 |
+
"model.layers.4.moe.sw2": {
|
| 673 |
+
"bits": 4,
|
| 674 |
+
"out_features": 1024
|
| 675 |
+
},
|
| 676 |
+
"model.layers.4.moe.sw3": {
|
| 677 |
+
"bits": 4,
|
| 678 |
+
"out_features": 1152
|
| 679 |
+
},
|
| 680 |
+
"model.layers.4.moe.w1": {
|
| 681 |
+
"bits": 4,
|
| 682 |
+
"out_features": 16384
|
| 683 |
+
},
|
| 684 |
+
"model.layers.4.moe.w2": {
|
| 685 |
+
"bits": 3,
|
| 686 |
+
"out_features": 18432
|
| 687 |
+
},
|
| 688 |
+
"model.layers.4.moe.w3": {
|
| 689 |
+
"bits": 3,
|
| 690 |
+
"out_features": 16384
|
| 691 |
+
},
|
| 692 |
+
"model.layers.5.conv.in_proj": {
|
| 693 |
+
"bits": 4,
|
| 694 |
+
"out_features": 3072
|
| 695 |
+
},
|
| 696 |
+
"model.layers.5.conv.out_proj": {
|
| 697 |
+
"bits": 4,
|
| 698 |
+
"out_features": 1024
|
| 699 |
+
},
|
| 700 |
+
"model.layers.5.moe.sw1": {
|
| 701 |
+
"bits": 4,
|
| 702 |
+
"out_features": 1152
|
| 703 |
+
},
|
| 704 |
+
"model.layers.5.moe.sw2": {
|
| 705 |
+
"bits": 4,
|
| 706 |
+
"out_features": 1024
|
| 707 |
+
},
|
| 708 |
+
"model.layers.5.moe.sw3": {
|
| 709 |
+
"bits": 4,
|
| 710 |
+
"out_features": 1152
|
| 711 |
+
},
|
| 712 |
+
"model.layers.5.moe.w1": {
|
| 713 |
+
"bits": 4,
|
| 714 |
+
"out_features": 16384
|
| 715 |
+
},
|
| 716 |
+
"model.layers.5.moe.w2": {
|
| 717 |
+
"bits": 3,
|
| 718 |
+
"out_features": 18432
|
| 719 |
+
},
|
| 720 |
+
"model.layers.5.moe.w3": {
|
| 721 |
+
"bits": 3,
|
| 722 |
+
"out_features": 16384
|
| 723 |
+
},
|
| 724 |
+
"model.layers.6.conv.in_proj": {
|
| 725 |
+
"bits": 8,
|
| 726 |
+
"out_features": 3072
|
| 727 |
+
},
|
| 728 |
+
"model.layers.6.conv.out_proj": {
|
| 729 |
+
"bits": 8,
|
| 730 |
+
"out_features": 1024
|
| 731 |
+
},
|
| 732 |
+
"model.layers.6.moe.sw1": {
|
| 733 |
+
"bits": 4,
|
| 734 |
+
"out_features": 1152
|
| 735 |
+
},
|
| 736 |
+
"model.layers.6.moe.sw2": {
|
| 737 |
+
"bits": 8,
|
| 738 |
+
"out_features": 1024
|
| 739 |
+
},
|
| 740 |
+
"model.layers.6.moe.sw3": {
|
| 741 |
+
"bits": 4,
|
| 742 |
+
"out_features": 1152
|
| 743 |
+
},
|
| 744 |
+
"model.layers.6.moe.w1": {
|
| 745 |
+
"bits": 4,
|
| 746 |
+
"out_features": 16384
|
| 747 |
+
},
|
| 748 |
+
"model.layers.6.moe.w2": {
|
| 749 |
+
"bits": 2,
|
| 750 |
+
"out_features": 18432
|
| 751 |
+
},
|
| 752 |
+
"model.layers.6.moe.w3": {
|
| 753 |
+
"bits": 3,
|
| 754 |
+
"out_features": 16384
|
| 755 |
+
},
|
| 756 |
+
"model.layers.7.moe.sw1": {
|
| 757 |
+
"bits": 4,
|
| 758 |
+
"out_features": 1152
|
| 759 |
+
},
|
| 760 |
+
"model.layers.7.moe.sw2": {
|
| 761 |
+
"bits": 8,
|
| 762 |
+
"out_features": 1024
|
| 763 |
+
},
|
| 764 |
+
"model.layers.7.moe.sw3": {
|
| 765 |
+
"bits": 4,
|
| 766 |
+
"out_features": 1152
|
| 767 |
+
},
|
| 768 |
+
"model.layers.7.moe.w1": {
|
| 769 |
+
"bits": 4,
|
| 770 |
+
"out_features": 16384
|
| 771 |
+
},
|
| 772 |
+
"model.layers.7.moe.w2": {
|
| 773 |
+
"bits": 3,
|
| 774 |
+
"out_features": 18432
|
| 775 |
+
},
|
| 776 |
+
"model.layers.7.moe.w3": {
|
| 777 |
+
"bits": 3,
|
| 778 |
+
"out_features": 16384
|
| 779 |
+
},
|
| 780 |
+
"model.layers.7.self_attn.k_proj": {
|
| 781 |
+
"bits": 8,
|
| 782 |
+
"out_features": 256
|
| 783 |
+
},
|
| 784 |
+
"model.layers.7.self_attn.o_proj": {
|
| 785 |
+
"bits": 8,
|
| 786 |
+
"out_features": 1024
|
| 787 |
+
},
|
| 788 |
+
"model.layers.7.self_attn.q_proj": {
|
| 789 |
+
"bits": 8,
|
| 790 |
+
"out_features": 1024
|
| 791 |
+
},
|
| 792 |
+
"model.layers.7.self_attn.v_proj": {
|
| 793 |
+
"bits": 8,
|
| 794 |
+
"out_features": 256
|
| 795 |
+
},
|
| 796 |
+
"model.layers.8.conv.in_proj": {
|
| 797 |
+
"bits": 4,
|
| 798 |
+
"out_features": 3072
|
| 799 |
+
},
|
| 800 |
+
"model.layers.8.conv.out_proj": {
|
| 801 |
+
"bits": 4,
|
| 802 |
+
"out_features": 1024
|
| 803 |
+
},
|
| 804 |
+
"model.layers.8.moe.sw1": {
|
| 805 |
+
"bits": 4,
|
| 806 |
+
"out_features": 1152
|
| 807 |
+
},
|
| 808 |
+
"model.layers.8.moe.sw2": {
|
| 809 |
+
"bits": 4,
|
| 810 |
+
"out_features": 1024
|
| 811 |
+
},
|
| 812 |
+
"model.layers.8.moe.sw3": {
|
| 813 |
+
"bits": 4,
|
| 814 |
+
"out_features": 1152
|
| 815 |
+
},
|
| 816 |
+
"model.layers.8.moe.w1": {
|
| 817 |
+
"bits": 4,
|
| 818 |
+
"out_features": 16384
|
| 819 |
+
},
|
| 820 |
+
"model.layers.8.moe.w2": {
|
| 821 |
+
"bits": 4,
|
| 822 |
+
"out_features": 18432
|
| 823 |
+
},
|
| 824 |
+
"model.layers.8.moe.w3": {
|
| 825 |
+
"bits": 4,
|
| 826 |
+
"out_features": 16384
|
| 827 |
+
},
|
| 828 |
+
"model.layers.9.conv.in_proj": {
|
| 829 |
+
"bits": 4,
|
| 830 |
+
"out_features": 3072
|
| 831 |
+
},
|
| 832 |
+
"model.layers.9.conv.out_proj": {
|
| 833 |
+
"bits": 4,
|
| 834 |
+
"out_features": 1024
|
| 835 |
+
},
|
| 836 |
+
"model.layers.9.moe.sw1": {
|
| 837 |
+
"bits": 4,
|
| 838 |
+
"out_features": 1152
|
| 839 |
+
},
|
| 840 |
+
"model.layers.9.moe.sw2": {
|
| 841 |
+
"bits": 4,
|
| 842 |
+
"out_features": 1024
|
| 843 |
+
},
|
| 844 |
+
"model.layers.9.moe.sw3": {
|
| 845 |
+
"bits": 4,
|
| 846 |
+
"out_features": 1152
|
| 847 |
+
},
|
| 848 |
+
"model.layers.9.moe.w1": {
|
| 849 |
+
"bits": 4,
|
| 850 |
+
"out_features": 16384
|
| 851 |
+
},
|
| 852 |
+
"model.layers.9.moe.w2": {
|
| 853 |
+
"bits": 4,
|
| 854 |
+
"out_features": 18432
|
| 855 |
+
},
|
| 856 |
+
"model.layers.9.moe.w3": {
|
| 857 |
+
"bits": 4,
|
| 858 |
+
"out_features": 16384
|
| 859 |
+
}
|
| 860 |
+
},
|
| 861 |
+
"modules_to_not_convert": [],
|
| 862 |
+
"quant_method": "dynquant",
|
| 863 |
+
"schema_version": 1,
|
| 864 |
+
"symmetric": false,
|
| 865 |
+
"version": "0.5.3"
|
| 866 |
+
},
|
| 867 |
+
"rms_norm_eps": 1e-06,
|
| 868 |
+
"rope_theta": 40000.0,
|
| 869 |
+
"tie_word_embeddings": true,
|
| 870 |
+
"top_k": 2,
|
| 871 |
+
"transformers_version": "5.14.1",
|
| 872 |
+
"use_cache": true,
|
| 873 |
+
"vocab_size": 151936
|
| 874 |
+
}
|
configuration_kambo.py
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# coding=utf-8
|
| 2 |
+
"""Kambo-v1 configuration."""
|
| 3 |
+
|
| 4 |
+
from transformers.configuration_utils import PretrainedConfig
|
| 5 |
+
|
| 6 |
+
|
| 7 |
+
class KamboConfig(PretrainedConfig):
|
| 8 |
+
"""Configuration for the Kambo hybrid conv/attention MoE.
|
| 9 |
+
|
| 10 |
+
The backbone alternates two mixer types. Layers listed in ``gqa_layers``
|
| 11 |
+
(0-indexed) use grouped-query attention with RoPE and QK-norm; every other
|
| 12 |
+
layer uses a double-gated causal short convolution, which carries no
|
| 13 |
+
positional encoding and needs only a ``conv_kernel - 1`` state to decode
|
| 14 |
+
incrementally. Every layer's feed-forward is a mixture of experts:
|
| 15 |
+
``n_experts`` routed experts at ``top_k`` plus one shared expert that runs
|
| 16 |
+
on every token.
|
| 17 |
+
"""
|
| 18 |
+
|
| 19 |
+
model_type = "kambo"
|
| 20 |
+
keys_to_ignore_at_inference = ["past_key_values"]
|
| 21 |
+
|
| 22 |
+
def __init__(
|
| 23 |
+
self,
|
| 24 |
+
vocab_size=151936,
|
| 25 |
+
hidden_size=1024,
|
| 26 |
+
num_hidden_layers=24,
|
| 27 |
+
gqa_layers=(3, 7, 11, 15, 19, 23),
|
| 28 |
+
num_attention_heads=16,
|
| 29 |
+
num_key_value_heads=4,
|
| 30 |
+
head_dim=64,
|
| 31 |
+
conv_kernel=3,
|
| 32 |
+
n_experts=16,
|
| 33 |
+
top_k=2,
|
| 34 |
+
d_ff=1152,
|
| 35 |
+
max_position_embeddings=16384,
|
| 36 |
+
rope_theta=40000.0,
|
| 37 |
+
rms_norm_eps=1e-6,
|
| 38 |
+
tie_word_embeddings=True,
|
| 39 |
+
bos_token_id=151643,
|
| 40 |
+
eos_token_id=151645,
|
| 41 |
+
pad_token_id=151643,
|
| 42 |
+
use_cache=True,
|
| 43 |
+
**kwargs,
|
| 44 |
+
):
|
| 45 |
+
self.vocab_size = vocab_size
|
| 46 |
+
self.hidden_size = hidden_size
|
| 47 |
+
self.num_hidden_layers = num_hidden_layers
|
| 48 |
+
# JSON round-trips tuples to lists; normalise so `in` checks are stable.
|
| 49 |
+
self.gqa_layers = list(gqa_layers)
|
| 50 |
+
self.num_attention_heads = num_attention_heads
|
| 51 |
+
self.num_key_value_heads = num_key_value_heads
|
| 52 |
+
self.head_dim = head_dim
|
| 53 |
+
self.conv_kernel = conv_kernel
|
| 54 |
+
self.n_experts = n_experts
|
| 55 |
+
self.top_k = top_k
|
| 56 |
+
self.d_ff = d_ff
|
| 57 |
+
self.max_position_embeddings = max_position_embeddings
|
| 58 |
+
self.rope_theta = rope_theta
|
| 59 |
+
self.rms_norm_eps = rms_norm_eps
|
| 60 |
+
self.use_cache = use_cache
|
| 61 |
+
|
| 62 |
+
# Aliases used by generic HF utilities and by third-party runners.
|
| 63 |
+
self.intermediate_size = d_ff
|
| 64 |
+
self.num_experts = n_experts
|
| 65 |
+
self.num_experts_per_tok = top_k
|
| 66 |
+
|
| 67 |
+
super().__init__(
|
| 68 |
+
bos_token_id=bos_token_id,
|
| 69 |
+
eos_token_id=eos_token_id,
|
| 70 |
+
pad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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema": "dynquant_allocation_v1",
|
| 3 |
+
"dynquant_core": "0.5.3",
|
| 4 |
+
"model": "runs/ft/model",
|
| 5 |
+
"stats": "runs/ft/stats",
|
| 6 |
+
"allocator": "sensitivity",
|
| 7 |
+
"group_size": 128,
|
| 8 |
+
"map_key": "4.25",
|
| 9 |
+
"map": {
|
| 10 |
+
"target_label": "4.25 avg bits",
|
| 11 |
+
"average_bits": 4.247889911339871,
|
| 12 |
+
"nbytes": 898002432,
|
| 13 |
+
"group_size": 128,
|
| 14 |
+
"pricing": {
|
| 15 |
+
"measured_modules": 133,
|
| 16 |
+
"proxied_modules": 72,
|
| 17 |
+
"measured_params": 331743232,
|
| 18 |
+
"proxied_params": 1358954496,
|
| 19 |
+
"proxied_share": 0.803783239010776,
|
| 20 |
+
"scale": 1.1908850493541702e-17
|
| 21 |
+
},
|
| 22 |
+
"histogram": {
|
| 23 |
+
"2": 9,
|
| 24 |
+
"3": 27,
|
| 25 |
+
"4": 119,
|
| 26 |
+
"8": 50
|
| 27 |
+
},
|
| 28 |
+
"violations": [],
|
| 29 |
+
"bits": {
|
| 30 |
+
"model.embed_tokens": 8,
|
| 31 |
+
"model.layers.0.conv.in_proj": 8,
|
| 32 |
+
"model.layers.0.conv.out_proj": 8,
|
| 33 |
+
"model.layers.0.moe.sw1": 4,
|
| 34 |
+
"model.layers.0.moe.sw2": 8,
|
| 35 |
+
"model.layers.0.moe.sw3": 8,
|
| 36 |
+
"model.layers.0.moe.w1": 4,
|
| 37 |
+
"model.layers.0.moe.w2": 2,
|
| 38 |
+
"model.layers.0.moe.w3": 4,
|
| 39 |
+
"model.layers.1.conv.in_proj": 4,
|
| 40 |
+
"model.layers.1.conv.out_proj": 4,
|
| 41 |
+
"model.layers.1.moe.sw1": 4,
|
| 42 |
+
"model.layers.1.moe.sw2": 4,
|
| 43 |
+
"model.layers.1.moe.sw3": 4,
|
| 44 |
+
"model.layers.1.moe.w1": 4,
|
| 45 |
+
"model.layers.1.moe.w2": 2,
|
| 46 |
+
"model.layers.1.moe.w3": 2,
|
| 47 |
+
"model.layers.10.conv.in_proj": 4,
|
| 48 |
+
"model.layers.10.conv.out_proj": 4,
|
| 49 |
+
"model.layers.10.moe.sw1": 4,
|
| 50 |
+
"model.layers.10.moe.sw2": 8,
|
| 51 |
+
"model.layers.10.moe.sw3": 8,
|
| 52 |
+
"model.layers.10.moe.w1": 4,
|
| 53 |
+
"model.layers.10.moe.w2": 4,
|
| 54 |
+
"model.layers.10.moe.w3": 3,
|
| 55 |
+
"model.layers.11.moe.sw1": 4,
|
| 56 |
+
"model.layers.11.moe.sw2": 4,
|
| 57 |
+
"model.layers.11.moe.sw3": 4,
|
| 58 |
+
"model.layers.11.moe.w1": 4,
|
| 59 |
+
"model.layers.11.moe.w2": 4,
|
| 60 |
+
"model.layers.11.moe.w3": 4,
|
| 61 |
+
"model.layers.11.self_attn.k_proj": 8,
|
| 62 |
+
"model.layers.11.self_attn.o_proj": 8,
|
| 63 |
+
"model.layers.11.self_attn.q_proj": 8,
|
| 64 |
+
"model.layers.11.self_attn.v_proj": 8,
|
| 65 |
+
"model.layers.12.conv.in_proj": 4,
|
| 66 |
+
"model.layers.12.conv.out_proj": 4,
|
| 67 |
+
"model.layers.12.moe.sw1": 4,
|
| 68 |
+
"model.layers.12.moe.sw2": 4,
|
| 69 |
+
"model.layers.12.moe.sw3": 4,
|
| 70 |
+
"model.layers.12.moe.w1": 4,
|
| 71 |
+
"model.layers.12.moe.w2": 3,
|
| 72 |
+
"model.layers.12.moe.w3": 3,
|
| 73 |
+
"model.layers.13.conv.in_proj": 4,
|
| 74 |
+
"model.layers.13.conv.out_proj": 8,
|
| 75 |
+
"model.layers.13.moe.sw1": 4,
|
| 76 |
+
"model.layers.13.moe.sw2": 4,
|
| 77 |
+
"model.layers.13.moe.sw3": 4,
|
| 78 |
+
"model.layers.13.moe.w1": 4,
|
| 79 |
+
"model.layers.13.moe.w2": 4,
|
| 80 |
+
"model.layers.13.moe.w3": 4,
|
| 81 |
+
"model.layers.14.conv.in_proj": 8,
|
| 82 |
+
"model.layers.14.conv.out_proj": 8,
|
| 83 |
+
"model.layers.14.moe.sw1": 4,
|
| 84 |
+
"model.layers.14.moe.sw2": 8,
|
| 85 |
+
"model.layers.14.moe.sw3": 8,
|
| 86 |
+
"model.layers.14.moe.w1": 4,
|
| 87 |
+
"model.layers.14.moe.w2": 3,
|
| 88 |
+
"model.layers.14.moe.w3": 4,
|
| 89 |
+
"model.layers.15.moe.sw1": 4,
|
| 90 |
+
"model.layers.15.moe.sw2": 4,
|
| 91 |
+
"model.layers.15.moe.sw3": 4,
|
| 92 |
+
"model.layers.15.moe.w1": 4,
|
| 93 |
+
"model.layers.15.moe.w2": 4,
|
| 94 |
+
"model.layers.15.moe.w3": 3,
|
| 95 |
+
"model.layers.15.self_attn.k_proj": 8,
|
| 96 |
+
"model.layers.15.self_attn.o_proj": 8,
|
| 97 |
+
"model.layers.15.self_attn.q_proj": 8,
|
| 98 |
+
"model.layers.15.self_attn.v_proj": 8,
|
| 99 |
+
"model.layers.16.conv.in_proj": 8,
|
| 100 |
+
"model.layers.16.conv.out_proj": 8,
|
| 101 |
+
"model.layers.16.moe.sw1": 4,
|
| 102 |
+
"model.layers.16.moe.sw2": 4,
|
| 103 |
+
"model.layers.16.moe.sw3": 4,
|
| 104 |
+
"model.layers.16.moe.w1": 4,
|
| 105 |
+
"model.layers.16.moe.w2": 3,
|
| 106 |
+
"model.layers.16.moe.w3": 3,
|
| 107 |
+
"model.layers.17.conv.in_proj": 4,
|
| 108 |
+
"model.layers.17.conv.out_proj": 4,
|
| 109 |
+
"model.layers.17.moe.sw1": 4,
|
| 110 |
+
"model.layers.17.moe.sw2": 4,
|
| 111 |
+
"model.layers.17.moe.sw3": 4,
|
| 112 |
+
"model.layers.17.moe.w1": 4,
|
| 113 |
+
"model.layers.17.moe.w2": 3,
|
| 114 |
+
"model.layers.17.moe.w3": 3,
|
| 115 |
+
"model.layers.18.conv.in_proj": 8,
|
| 116 |
+
"model.layers.18.conv.out_proj": 8,
|
| 117 |
+
"model.layers.18.moe.sw1": 4,
|
| 118 |
+
"model.layers.18.moe.sw2": 8,
|
| 119 |
+
"model.layers.18.moe.sw3": 8,
|
| 120 |
+
"model.layers.18.moe.w1": 4,
|
| 121 |
+
"model.layers.18.moe.w2": 3,
|
| 122 |
+
"model.layers.18.moe.w3": 3,
|
| 123 |
+
"model.layers.19.moe.sw1": 4,
|
| 124 |
+
"model.layers.19.moe.sw2": 8,
|
| 125 |
+
"model.layers.19.moe.sw3": 4,
|
| 126 |
+
"model.layers.19.moe.w1": 4,
|
| 127 |
+
"model.layers.19.moe.w2": 3,
|
| 128 |
+
"model.layers.19.moe.w3": 3,
|
| 129 |
+
"model.layers.19.self_attn.k_proj": 8,
|
| 130 |
+
"model.layers.19.self_attn.o_proj": 8,
|
| 131 |
+
"model.layers.19.self_attn.q_proj": 8,
|
| 132 |
+
"model.layers.19.self_attn.v_proj": 8,
|
| 133 |
+
"model.layers.2.conv.in_proj": 4,
|
| 134 |
+
"model.layers.2.conv.out_proj": 4,
|
| 135 |
+
"model.layers.2.moe.sw1": 4,
|
| 136 |
+
"model.layers.2.moe.sw2": 4,
|
| 137 |
+
"model.layers.2.moe.sw3": 4,
|
| 138 |
+
"model.layers.2.moe.w1": 4,
|
| 139 |
+
"model.layers.2.moe.w2": 2,
|
| 140 |
+
"model.layers.2.moe.w3": 2,
|
| 141 |
+
"model.layers.20.conv.in_proj": 4,
|
| 142 |
+
"model.layers.20.conv.out_proj": 4,
|
| 143 |
+
"model.layers.20.moe.sw1": 4,
|
| 144 |
+
"model.layers.20.moe.sw2": 4,
|
| 145 |
+
"model.layers.20.moe.sw3": 4,
|
| 146 |
+
"model.layers.20.moe.w1": 4,
|
| 147 |
+
"model.layers.20.moe.w2": 2,
|
| 148 |
+
"model.layers.20.moe.w3": 2,
|
| 149 |
+
"model.layers.21.conv.in_proj": 4,
|
| 150 |
+
"model.layers.21.conv.out_proj": 4,
|
| 151 |
+
"model.layers.21.moe.sw1": 4,
|
| 152 |
+
"model.layers.21.moe.sw2": 4,
|
| 153 |
+
"model.layers.21.moe.sw3": 4,
|
| 154 |
+
"model.layers.21.moe.w1": 4,
|
| 155 |
+
"model.layers.21.moe.w2": 3,
|
| 156 |
+
"model.layers.21.moe.w3": 3,
|
| 157 |
+
"model.layers.22.conv.in_proj": 4,
|
| 158 |
+
"model.layers.22.conv.out_proj": 4,
|
| 159 |
+
"model.layers.22.moe.sw1": 4,
|
| 160 |
+
"model.layers.22.moe.sw2": 8,
|
| 161 |
+
"model.layers.22.moe.sw3": 4,
|
| 162 |
+
"model.layers.22.moe.w1": 4,
|
| 163 |
+
"model.layers.22.moe.w2": 3,
|
| 164 |
+
"model.layers.22.moe.w3": 3,
|
| 165 |
+
"model.layers.23.moe.sw1": 8,
|
| 166 |
+
"model.layers.23.moe.sw2": 8,
|
| 167 |
+
"model.layers.23.moe.sw3": 8,
|
| 168 |
+
"model.layers.23.moe.w1": 4,
|
| 169 |
+
"model.layers.23.moe.w2": 3,
|
| 170 |
+
"model.layers.23.moe.w3": 3,
|
| 171 |
+
"model.layers.23.self_attn.k_proj": 8,
|
| 172 |
+
"model.layers.23.self_attn.o_proj": 4,
|
| 173 |
+
"model.layers.23.self_attn.q_proj": 8,
|
| 174 |
+
"model.layers.23.self_attn.v_proj": 8,
|
| 175 |
+
"model.layers.3.moe.sw1": 4,
|
| 176 |
+
"model.layers.3.moe.sw2": 4,
|
| 177 |
+
"model.layers.3.moe.sw3": 4,
|
| 178 |
+
"model.layers.3.moe.w1": 4,
|
| 179 |
+
"model.layers.3.moe.w2": 3,
|
| 180 |
+
"model.layers.3.moe.w3": 2,
|
| 181 |
+
"model.layers.3.self_attn.k_proj": 8,
|
| 182 |
+
"model.layers.3.self_attn.o_proj": 8,
|
| 183 |
+
"model.layers.3.self_attn.q_proj": 8,
|
| 184 |
+
"model.layers.3.self_attn.v_proj": 8,
|
| 185 |
+
"model.layers.4.conv.in_proj": 4,
|
| 186 |
+
"model.layers.4.conv.out_proj": 4,
|
| 187 |
+
"model.layers.4.moe.sw1": 4,
|
| 188 |
+
"model.layers.4.moe.sw2": 4,
|
| 189 |
+
"model.layers.4.moe.sw3": 4,
|
| 190 |
+
"model.layers.4.moe.w1": 4,
|
| 191 |
+
"model.layers.4.moe.w2": 3,
|
| 192 |
+
"model.layers.4.moe.w3": 3,
|
| 193 |
+
"model.layers.5.conv.in_proj": 4,
|
| 194 |
+
"model.layers.5.conv.out_proj": 4,
|
| 195 |
+
"model.layers.5.moe.sw1": 4,
|
| 196 |
+
"model.layers.5.moe.sw2": 4,
|
| 197 |
+
"model.layers.5.moe.sw3": 4,
|
| 198 |
+
"model.layers.5.moe.w1": 4,
|
| 199 |
+
"model.layers.5.moe.w2": 3,
|
| 200 |
+
"model.layers.5.moe.w3": 3,
|
| 201 |
+
"model.layers.6.conv.in_proj": 8,
|
| 202 |
+
"model.layers.6.conv.out_proj": 8,
|
| 203 |
+
"model.layers.6.moe.sw1": 4,
|
| 204 |
+
"model.layers.6.moe.sw2": 8,
|
| 205 |
+
"model.layers.6.moe.sw3": 4,
|
| 206 |
+
"model.layers.6.moe.w1": 4,
|
| 207 |
+
"model.layers.6.moe.w2": 2,
|
| 208 |
+
"model.layers.6.moe.w3": 3,
|
| 209 |
+
"model.layers.7.moe.sw1": 4,
|
| 210 |
+
"model.layers.7.moe.sw2": 8,
|
| 211 |
+
"model.layers.7.moe.sw3": 4,
|
| 212 |
+
"model.layers.7.moe.w1": 4,
|
| 213 |
+
"model.layers.7.moe.w2": 3,
|
| 214 |
+
"model.layers.7.moe.w3": 3,
|
| 215 |
+
"model.layers.7.self_attn.k_proj": 8,
|
| 216 |
+
"model.layers.7.self_attn.o_proj": 8,
|
| 217 |
+
"model.layers.7.self_attn.q_proj": 8,
|
| 218 |
+
"model.layers.7.self_attn.v_proj": 8,
|
| 219 |
+
"model.layers.8.conv.in_proj": 4,
|
| 220 |
+
"model.layers.8.conv.out_proj": 4,
|
| 221 |
+
"model.layers.8.moe.sw1": 4,
|
| 222 |
+
"model.layers.8.moe.sw2": 4,
|
| 223 |
+
"model.layers.8.moe.sw3": 4,
|
| 224 |
+
"model.layers.8.moe.w1": 4,
|
| 225 |
+
"model.layers.8.moe.w2": 4,
|
| 226 |
+
"model.layers.8.moe.w3": 4,
|
| 227 |
+
"model.layers.9.conv.in_proj": 4,
|
| 228 |
+
"model.layers.9.conv.out_proj": 4,
|
| 229 |
+
"model.layers.9.moe.sw1": 4,
|
| 230 |
+
"model.layers.9.moe.sw2": 4,
|
| 231 |
+
"model.layers.9.moe.sw3": 4,
|
| 232 |
+
"model.layers.9.moe.w1": 4,
|
| 233 |
+
"model.layers.9.moe.w2": 4,
|
| 234 |
+
"model.layers.9.moe.w3": 4
|
| 235 |
+
}
|
| 236 |
+
}
|
| 237 |
+
}
|
dynquant_manifest.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
evals/dq4p-humaneval.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
evals/dq4p-mbpp.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
evals/dq4p-text2sql.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
evals/prompt_trunc.json
ADDED
|
@@ -0,0 +1,1423 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"dynquant": "0.5.3",
|
| 3 |
+
"transformers": "5.14.1",
|
| 4 |
+
"method": "prompts rebuilt through dynquant's CLI path from each record's settings and encoded with dynquant.eval.harness.encode_prompts; a prompt is cut when its length exceeds the record's max_prompt_tokens",
|
| 5 |
+
"arms": {
|
| 6 |
+
"base": {
|
| 7 |
+
"text2sql": {
|
| 8 |
+
"items": 2454,
|
| 9 |
+
"max_prompt_tokens": 3072,
|
| 10 |
+
"truncated": 0,
|
| 11 |
+
"longest": 2878,
|
| 12 |
+
"ids_sha256": "4031706bdc463db0a2c43e89a7c0fc28e563788d514a75779fb69973a05954ae",
|
| 13 |
+
"shots": 2,
|
| 14 |
+
"shot_split": "shots",
|
| 15 |
+
"prompt_style": "chat",
|
| 16 |
+
"cut_items": [],
|
| 17 |
+
"cut_lengths": [],
|
| 18 |
+
"shot_pool": {
|
| 19 |
+
"items": 43,
|
| 20 |
+
"by_source": {
|
| 21 |
+
"gretel": 22,
|
| 22 |
+
"wikisql": 21
|
| 23 |
+
},
|
| 24 |
+
"tallies": {
|
| 25 |
+
"create-context": {
|
| 26 |
+
"seen": 74577,
|
| 27 |
+
"kept": 0,
|
| 28 |
+
"not_a_query": 0,
|
| 29 |
+
"empty_result": 0,
|
| 30 |
+
"no_data": 58912,
|
| 31 |
+
"degenerate": 0,
|
| 32 |
+
"too_long": 0,
|
| 33 |
+
"failed": 1264,
|
| 34 |
+
"contaminated": 14401,
|
| 35 |
+
"errors": {
|
| 36 |
+
"OperationalError": 1037,
|
| 37 |
+
"schema": 227
|
| 38 |
+
}
|
| 39 |
+
},
|
| 40 |
+
"gretel": {
|
| 41 |
+
"seen": 40,
|
| 42 |
+
"kept": 22,
|
| 43 |
+
"not_a_query": 4,
|
| 44 |
+
"empty_result": 1,
|
| 45 |
+
"no_data": 6,
|
| 46 |
+
"degenerate": 1,
|
| 47 |
+
"too_long": 0,
|
| 48 |
+
"failed": 6,
|
| 49 |
+
"contaminated": 0,
|
| 50 |
+
"errors": {
|
| 51 |
+
"OperationalError": 6
|
| 52 |
+
}
|
| 53 |
+
},
|
| 54 |
+
"wikisql": {
|
| 55 |
+
"seen": 23,
|
| 56 |
+
"kept": 21,
|
| 57 |
+
"not_a_query": 0,
|
| 58 |
+
"empty_result": 0,
|
| 59 |
+
"no_data": 0,
|
| 60 |
+
"degenerate": 2,
|
| 61 |
+
"too_long": 0,
|
| 62 |
+
"failed": 0,
|
| 63 |
+
"contaminated": 0,
|
| 64 |
+
"errors": {}
|
| 65 |
+
}
|
| 66 |
+
},
|
| 67 |
+
"drawn": [
|
| 68 |
+
{
|
| 69 |
+
"task_id": "gretel/30621",
|
| 70 |
+
"source": "gretel"
|
| 71 |
+
},
|
| 72 |
+
{
|
| 73 |
+
"task_id": "gretel/62187",
|
| 74 |
+
"source": "gretel"
|
| 75 |
+
}
|
| 76 |
+
]
|
| 77 |
+
},
|
| 78 |
+
"admitted_by_source": {
|
| 79 |
+
"gretel": 3055,
|
| 80 |
+
"spider": 818,
|
| 81 |
+
"wikisql": 13080
|
| 82 |
+
},
|
| 83 |
+
"tallies": {
|
| 84 |
+
"gretel": {
|
| 85 |
+
"seen": 5851,
|
| 86 |
+
"kept": 3055,
|
| 87 |
+
"not_a_query": 613,
|
| 88 |
+
"empty_result": 110,
|
| 89 |
+
"no_data": 767,
|
| 90 |
+
"degenerate": 80,
|
| 91 |
+
"too_long": 0,
|
| 92 |
+
"failed": 1226,
|
| 93 |
+
"contaminated": 0,
|
| 94 |
+
"errors": {
|
| 95 |
+
"OperationalError": 1051,
|
| 96 |
+
"schema": 167,
|
| 97 |
+
"ProgrammingError": 8
|
| 98 |
+
}
|
| 99 |
+
},
|
| 100 |
+
"spider": {
|
| 101 |
+
"seen": 1034,
|
| 102 |
+
"kept": 818,
|
| 103 |
+
"not_a_query": 0,
|
| 104 |
+
"empty_result": 168,
|
| 105 |
+
"no_data": 0,
|
| 106 |
+
"degenerate": 48,
|
| 107 |
+
"too_long": 0,
|
| 108 |
+
"failed": 0,
|
| 109 |
+
"contaminated": 0,
|
| 110 |
+
"errors": {}
|
| 111 |
+
},
|
| 112 |
+
"wikisql": {
|
| 113 |
+
"seen": 14788,
|
| 114 |
+
"kept": 13080,
|
| 115 |
+
"not_a_query": 0,
|
| 116 |
+
"empty_result": 19,
|
| 117 |
+
"no_data": 0,
|
| 118 |
+
"degenerate": 1611,
|
| 119 |
+
"too_long": 78,
|
| 120 |
+
"failed": 0,
|
| 121 |
+
"contaminated": 0,
|
| 122 |
+
"errors": {}
|
| 123 |
+
}
|
| 124 |
+
},
|
| 125 |
+
"by_source": {
|
| 126 |
+
"gretel": [
|
| 127 |
+
0,
|
| 128 |
+
818
|
| 129 |
+
],
|
| 130 |
+
"spider": [
|
| 131 |
+
0,
|
| 132 |
+
818
|
| 133 |
+
],
|
| 134 |
+
"wikisql": [
|
| 135 |
+
0,
|
| 136 |
+
818
|
| 137 |
+
]
|
| 138 |
+
},
|
| 139 |
+
"longest_by_source": {
|
| 140 |
+
"gretel": 752,
|
| 141 |
+
"spider": 2542,
|
| 142 |
+
"wikisql": 2878
|
| 143 |
+
},
|
| 144 |
+
"check": {
|
| 145 |
+
"hits_reproduced": 2454,
|
| 146 |
+
"of": 2454,
|
| 147 |
+
"by_source_totals_match": true
|
| 148 |
+
},
|
| 149 |
+
"unfinished_reasoning": 0
|
| 150 |
+
},
|
| 151 |
+
"humaneval": {
|
| 152 |
+
"items": 164,
|
| 153 |
+
"max_prompt_tokens": 2048,
|
| 154 |
+
"truncated": 0,
|
| 155 |
+
"longest": 436,
|
| 156 |
+
"ids_sha256": "f615cdbdd3850559a4b9cb1926ca75c5c76b46fc18c0b3a278826b3aa4c21ad0",
|
| 157 |
+
"shots": 0,
|
| 158 |
+
"shot_split": null,
|
| 159 |
+
"prompt_style": "chat",
|
| 160 |
+
"cut_items": [],
|
| 161 |
+
"cut_lengths": [],
|
| 162 |
+
"shot_pool": null,
|
| 163 |
+
"check": {
|
| 164 |
+
"keys_match": true
|
| 165 |
+
}
|
| 166 |
+
},
|
| 167 |
+
"mbpp": {
|
| 168 |
+
"items": 500,
|
| 169 |
+
"max_prompt_tokens": 2048,
|
| 170 |
+
"truncated": 1,
|
| 171 |
+
"longest": 3745,
|
| 172 |
+
"ids_sha256": "c51d83a357256dde9927c532fe032bd0bc9b80d1ed49c0e0f0215bcfbbacf1f2",
|
| 173 |
+
"shots": 3,
|
| 174 |
+
"shot_split": "prompt",
|
| 175 |
+
"prompt_style": "chat",
|
| 176 |
+
"cut_items": [
|
| 177 |
+
"493"
|
| 178 |
+
],
|
| 179 |
+
"cut_lengths": [
|
| 180 |
+
3745
|
| 181 |
+
],
|
| 182 |
+
"shot_pool": {
|
| 183 |
+
"items": 10,
|
| 184 |
+
"by_source": {
|
| 185 |
+
"": 10
|
| 186 |
+
},
|
| 187 |
+
"tallies": {},
|
| 188 |
+
"drawn": [
|
| 189 |
+
{
|
| 190 |
+
"task_id": "1",
|
| 191 |
+
"source": ""
|
| 192 |
+
},
|
| 193 |
+
{
|
| 194 |
+
"task_id": "7",
|
| 195 |
+
"source": ""
|
| 196 |
+
},
|
| 197 |
+
{
|
| 198 |
+
"task_id": "10",
|
| 199 |
+
"source": ""
|
| 200 |
+
}
|
| 201 |
+
]
|
| 202 |
+
},
|
| 203 |
+
"check": {
|
| 204 |
+
"keys_match": true
|
| 205 |
+
}
|
| 206 |
+
}
|
| 207 |
+
},
|
| 208 |
+
"base-det": {
|
| 209 |
+
"text2sql": {
|
| 210 |
+
"items": 2454,
|
| 211 |
+
"max_prompt_tokens": 3072,
|
| 212 |
+
"truncated": 0,
|
| 213 |
+
"longest": 2878,
|
| 214 |
+
"ids_sha256": "4031706bdc463db0a2c43e89a7c0fc28e563788d514a75779fb69973a05954ae",
|
| 215 |
+
"shots": 2,
|
| 216 |
+
"shot_split": "shots",
|
| 217 |
+
"prompt_style": "chat",
|
| 218 |
+
"cut_items": [],
|
| 219 |
+
"cut_lengths": [],
|
| 220 |
+
"shot_pool": {
|
| 221 |
+
"items": 43,
|
| 222 |
+
"by_source": {
|
| 223 |
+
"gretel": 22,
|
| 224 |
+
"wikisql": 21
|
| 225 |
+
},
|
| 226 |
+
"tallies": {
|
| 227 |
+
"create-context": {
|
| 228 |
+
"seen": 74577,
|
| 229 |
+
"kept": 0,
|
| 230 |
+
"not_a_query": 0,
|
| 231 |
+
"empty_result": 0,
|
| 232 |
+
"no_data": 58912,
|
| 233 |
+
"degenerate": 0,
|
| 234 |
+
"too_long": 0,
|
| 235 |
+
"failed": 1264,
|
| 236 |
+
"contaminated": 14401,
|
| 237 |
+
"errors": {
|
| 238 |
+
"OperationalError": 1037,
|
| 239 |
+
"schema": 227
|
| 240 |
+
}
|
| 241 |
+
},
|
| 242 |
+
"gretel": {
|
| 243 |
+
"seen": 40,
|
| 244 |
+
"kept": 22,
|
| 245 |
+
"not_a_query": 4,
|
| 246 |
+
"empty_result": 1,
|
| 247 |
+
"no_data": 6,
|
| 248 |
+
"degenerate": 1,
|
| 249 |
+
"too_long": 0,
|
| 250 |
+
"failed": 6,
|
| 251 |
+
"contaminated": 0,
|
| 252 |
+
"errors": {
|
| 253 |
+
"OperationalError": 6
|
| 254 |
+
}
|
| 255 |
+
},
|
| 256 |
+
"wikisql": {
|
| 257 |
+
"seen": 23,
|
| 258 |
+
"kept": 21,
|
| 259 |
+
"not_a_query": 0,
|
| 260 |
+
"empty_result": 0,
|
| 261 |
+
"no_data": 0,
|
| 262 |
+
"degenerate": 2,
|
| 263 |
+
"too_long": 0,
|
| 264 |
+
"failed": 0,
|
| 265 |
+
"contaminated": 0,
|
| 266 |
+
"errors": {}
|
| 267 |
+
}
|
| 268 |
+
},
|
| 269 |
+
"drawn": [
|
| 270 |
+
{
|
| 271 |
+
"task_id": "gretel/30621",
|
| 272 |
+
"source": "gretel"
|
| 273 |
+
},
|
| 274 |
+
{
|
| 275 |
+
"task_id": "gretel/62187",
|
| 276 |
+
"source": "gretel"
|
| 277 |
+
}
|
| 278 |
+
]
|
| 279 |
+
},
|
| 280 |
+
"admitted_by_source": {
|
| 281 |
+
"gretel": 3055,
|
| 282 |
+
"spider": 818,
|
| 283 |
+
"wikisql": 13080
|
| 284 |
+
},
|
| 285 |
+
"tallies": {
|
| 286 |
+
"gretel": {
|
| 287 |
+
"seen": 5851,
|
| 288 |
+
"kept": 3055,
|
| 289 |
+
"not_a_query": 613,
|
| 290 |
+
"empty_result": 110,
|
| 291 |
+
"no_data": 767,
|
| 292 |
+
"degenerate": 80,
|
| 293 |
+
"too_long": 0,
|
| 294 |
+
"failed": 1226,
|
| 295 |
+
"contaminated": 0,
|
| 296 |
+
"errors": {
|
| 297 |
+
"OperationalError": 1051,
|
| 298 |
+
"schema": 167,
|
| 299 |
+
"ProgrammingError": 8
|
| 300 |
+
}
|
| 301 |
+
},
|
| 302 |
+
"spider": {
|
| 303 |
+
"seen": 1034,
|
| 304 |
+
"kept": 818,
|
| 305 |
+
"not_a_query": 0,
|
| 306 |
+
"empty_result": 168,
|
| 307 |
+
"no_data": 0,
|
| 308 |
+
"degenerate": 48,
|
| 309 |
+
"too_long": 0,
|
| 310 |
+
"failed": 0,
|
| 311 |
+
"contaminated": 0,
|
| 312 |
+
"errors": {}
|
| 313 |
+
},
|
| 314 |
+
"wikisql": {
|
| 315 |
+
"seen": 14788,
|
| 316 |
+
"kept": 13080,
|
| 317 |
+
"not_a_query": 0,
|
| 318 |
+
"empty_result": 19,
|
| 319 |
+
"no_data": 0,
|
| 320 |
+
"degenerate": 1611,
|
| 321 |
+
"too_long": 78,
|
| 322 |
+
"failed": 0,
|
| 323 |
+
"contaminated": 0,
|
| 324 |
+
"errors": {}
|
| 325 |
+
}
|
| 326 |
+
},
|
| 327 |
+
"by_source": {
|
| 328 |
+
"gretel": [
|
| 329 |
+
0,
|
| 330 |
+
818
|
| 331 |
+
],
|
| 332 |
+
"spider": [
|
| 333 |
+
0,
|
| 334 |
+
818
|
| 335 |
+
],
|
| 336 |
+
"wikisql": [
|
| 337 |
+
0,
|
| 338 |
+
818
|
| 339 |
+
]
|
| 340 |
+
},
|
| 341 |
+
"longest_by_source": {
|
| 342 |
+
"gretel": 752,
|
| 343 |
+
"spider": 2542,
|
| 344 |
+
"wikisql": 2878
|
| 345 |
+
},
|
| 346 |
+
"check": {
|
| 347 |
+
"hits_reproduced": 2454,
|
| 348 |
+
"of": 2454,
|
| 349 |
+
"by_source_totals_match": true
|
| 350 |
+
},
|
| 351 |
+
"unfinished_reasoning": 0
|
| 352 |
+
},
|
| 353 |
+
"humaneval": {
|
| 354 |
+
"items": 164,
|
| 355 |
+
"max_prompt_tokens": 2048,
|
| 356 |
+
"truncated": 0,
|
| 357 |
+
"longest": 436,
|
| 358 |
+
"ids_sha256": "f615cdbdd3850559a4b9cb1926ca75c5c76b46fc18c0b3a278826b3aa4c21ad0",
|
| 359 |
+
"shots": 0,
|
| 360 |
+
"shot_split": null,
|
| 361 |
+
"prompt_style": "chat",
|
| 362 |
+
"cut_items": [],
|
| 363 |
+
"cut_lengths": [],
|
| 364 |
+
"shot_pool": null,
|
| 365 |
+
"check": {
|
| 366 |
+
"keys_match": true
|
| 367 |
+
}
|
| 368 |
+
},
|
| 369 |
+
"mbpp": {
|
| 370 |
+
"items": 500,
|
| 371 |
+
"max_prompt_tokens": 2048,
|
| 372 |
+
"truncated": 1,
|
| 373 |
+
"longest": 3745,
|
| 374 |
+
"ids_sha256": "c51d83a357256dde9927c532fe032bd0bc9b80d1ed49c0e0f0215bcfbbacf1f2",
|
| 375 |
+
"shots": 3,
|
| 376 |
+
"shot_split": "prompt",
|
| 377 |
+
"prompt_style": "chat",
|
| 378 |
+
"cut_items": [
|
| 379 |
+
"493"
|
| 380 |
+
],
|
| 381 |
+
"cut_lengths": [
|
| 382 |
+
3745
|
| 383 |
+
],
|
| 384 |
+
"shot_pool": {
|
| 385 |
+
"items": 10,
|
| 386 |
+
"by_source": {
|
| 387 |
+
"": 10
|
| 388 |
+
},
|
| 389 |
+
"tallies": {},
|
| 390 |
+
"drawn": [
|
| 391 |
+
{
|
| 392 |
+
"task_id": "1",
|
| 393 |
+
"source": ""
|
| 394 |
+
},
|
| 395 |
+
{
|
| 396 |
+
"task_id": "7",
|
| 397 |
+
"source": ""
|
| 398 |
+
},
|
| 399 |
+
{
|
| 400 |
+
"task_id": "10",
|
| 401 |
+
"source": ""
|
| 402 |
+
}
|
| 403 |
+
]
|
| 404 |
+
},
|
| 405 |
+
"check": {
|
| 406 |
+
"keys_match": true
|
| 407 |
+
}
|
| 408 |
+
}
|
| 409 |
+
},
|
| 410 |
+
"ft": {
|
| 411 |
+
"text2sql": {
|
| 412 |
+
"items": 2454,
|
| 413 |
+
"max_prompt_tokens": 3072,
|
| 414 |
+
"truncated": 0,
|
| 415 |
+
"longest": 2878,
|
| 416 |
+
"ids_sha256": "4031706bdc463db0a2c43e89a7c0fc28e563788d514a75779fb69973a05954ae",
|
| 417 |
+
"shots": 2,
|
| 418 |
+
"shot_split": "shots",
|
| 419 |
+
"prompt_style": "chat",
|
| 420 |
+
"cut_items": [],
|
| 421 |
+
"cut_lengths": [],
|
| 422 |
+
"shot_pool": {
|
| 423 |
+
"items": 43,
|
| 424 |
+
"by_source": {
|
| 425 |
+
"gretel": 22,
|
| 426 |
+
"wikisql": 21
|
| 427 |
+
},
|
| 428 |
+
"tallies": {
|
| 429 |
+
"create-context": {
|
| 430 |
+
"seen": 74577,
|
| 431 |
+
"kept": 0,
|
| 432 |
+
"not_a_query": 0,
|
| 433 |
+
"empty_result": 0,
|
| 434 |
+
"no_data": 58912,
|
| 435 |
+
"degenerate": 0,
|
| 436 |
+
"too_long": 0,
|
| 437 |
+
"failed": 1264,
|
| 438 |
+
"contaminated": 14401,
|
| 439 |
+
"errors": {
|
| 440 |
+
"OperationalError": 1037,
|
| 441 |
+
"schema": 227
|
| 442 |
+
}
|
| 443 |
+
},
|
| 444 |
+
"gretel": {
|
| 445 |
+
"seen": 40,
|
| 446 |
+
"kept": 22,
|
| 447 |
+
"not_a_query": 4,
|
| 448 |
+
"empty_result": 1,
|
| 449 |
+
"no_data": 6,
|
| 450 |
+
"degenerate": 1,
|
| 451 |
+
"too_long": 0,
|
| 452 |
+
"failed": 6,
|
| 453 |
+
"contaminated": 0,
|
| 454 |
+
"errors": {
|
| 455 |
+
"OperationalError": 6
|
| 456 |
+
}
|
| 457 |
+
},
|
| 458 |
+
"wikisql": {
|
| 459 |
+
"seen": 23,
|
| 460 |
+
"kept": 21,
|
| 461 |
+
"not_a_query": 0,
|
| 462 |
+
"empty_result": 0,
|
| 463 |
+
"no_data": 0,
|
| 464 |
+
"degenerate": 2,
|
| 465 |
+
"too_long": 0,
|
| 466 |
+
"failed": 0,
|
| 467 |
+
"contaminated": 0,
|
| 468 |
+
"errors": {}
|
| 469 |
+
}
|
| 470 |
+
},
|
| 471 |
+
"drawn": [
|
| 472 |
+
{
|
| 473 |
+
"task_id": "gretel/30621",
|
| 474 |
+
"source": "gretel"
|
| 475 |
+
},
|
| 476 |
+
{
|
| 477 |
+
"task_id": "gretel/62187",
|
| 478 |
+
"source": "gretel"
|
| 479 |
+
}
|
| 480 |
+
]
|
| 481 |
+
},
|
| 482 |
+
"admitted_by_source": {
|
| 483 |
+
"gretel": 3055,
|
| 484 |
+
"spider": 818,
|
| 485 |
+
"wikisql": 13080
|
| 486 |
+
},
|
| 487 |
+
"tallies": {
|
| 488 |
+
"gretel": {
|
| 489 |
+
"seen": 5851,
|
| 490 |
+
"kept": 3055,
|
| 491 |
+
"not_a_query": 613,
|
| 492 |
+
"empty_result": 110,
|
| 493 |
+
"no_data": 767,
|
| 494 |
+
"degenerate": 80,
|
| 495 |
+
"too_long": 0,
|
| 496 |
+
"failed": 1226,
|
| 497 |
+
"contaminated": 0,
|
| 498 |
+
"errors": {
|
| 499 |
+
"OperationalError": 1051,
|
| 500 |
+
"schema": 167,
|
| 501 |
+
"ProgrammingError": 8
|
| 502 |
+
}
|
| 503 |
+
},
|
| 504 |
+
"spider": {
|
| 505 |
+
"seen": 1034,
|
| 506 |
+
"kept": 818,
|
| 507 |
+
"not_a_query": 0,
|
| 508 |
+
"empty_result": 168,
|
| 509 |
+
"no_data": 0,
|
| 510 |
+
"degenerate": 48,
|
| 511 |
+
"too_long": 0,
|
| 512 |
+
"failed": 0,
|
| 513 |
+
"contaminated": 0,
|
| 514 |
+
"errors": {}
|
| 515 |
+
},
|
| 516 |
+
"wikisql": {
|
| 517 |
+
"seen": 14788,
|
| 518 |
+
"kept": 13080,
|
| 519 |
+
"not_a_query": 0,
|
| 520 |
+
"empty_result": 19,
|
| 521 |
+
"no_data": 0,
|
| 522 |
+
"degenerate": 1611,
|
| 523 |
+
"too_long": 78,
|
| 524 |
+
"failed": 0,
|
| 525 |
+
"contaminated": 0,
|
| 526 |
+
"errors": {}
|
| 527 |
+
}
|
| 528 |
+
},
|
| 529 |
+
"by_source": {
|
| 530 |
+
"gretel": [
|
| 531 |
+
0,
|
| 532 |
+
818
|
| 533 |
+
],
|
| 534 |
+
"spider": [
|
| 535 |
+
0,
|
| 536 |
+
818
|
| 537 |
+
],
|
| 538 |
+
"wikisql": [
|
| 539 |
+
0,
|
| 540 |
+
818
|
| 541 |
+
]
|
| 542 |
+
},
|
| 543 |
+
"longest_by_source": {
|
| 544 |
+
"gretel": 752,
|
| 545 |
+
"spider": 2542,
|
| 546 |
+
"wikisql": 2878
|
| 547 |
+
},
|
| 548 |
+
"check": {
|
| 549 |
+
"hits_reproduced": 2454,
|
| 550 |
+
"of": 2454,
|
| 551 |
+
"by_source_totals_match": true
|
| 552 |
+
},
|
| 553 |
+
"unfinished_reasoning": 0
|
| 554 |
+
},
|
| 555 |
+
"humaneval": {
|
| 556 |
+
"items": 164,
|
| 557 |
+
"max_prompt_tokens": 2048,
|
| 558 |
+
"truncated": 0,
|
| 559 |
+
"longest": 436,
|
| 560 |
+
"ids_sha256": "f615cdbdd3850559a4b9cb1926ca75c5c76b46fc18c0b3a278826b3aa4c21ad0",
|
| 561 |
+
"shots": 0,
|
| 562 |
+
"shot_split": null,
|
| 563 |
+
"prompt_style": "chat",
|
| 564 |
+
"cut_items": [],
|
| 565 |
+
"cut_lengths": [],
|
| 566 |
+
"shot_pool": null,
|
| 567 |
+
"check": {
|
| 568 |
+
"keys_match": true
|
| 569 |
+
}
|
| 570 |
+
},
|
| 571 |
+
"mbpp": {
|
| 572 |
+
"items": 500,
|
| 573 |
+
"max_prompt_tokens": 2048,
|
| 574 |
+
"truncated": 1,
|
| 575 |
+
"longest": 3745,
|
| 576 |
+
"ids_sha256": "c51d83a357256dde9927c532fe032bd0bc9b80d1ed49c0e0f0215bcfbbacf1f2",
|
| 577 |
+
"shots": 3,
|
| 578 |
+
"shot_split": "prompt",
|
| 579 |
+
"prompt_style": "chat",
|
| 580 |
+
"cut_items": [
|
| 581 |
+
"493"
|
| 582 |
+
],
|
| 583 |
+
"cut_lengths": [
|
| 584 |
+
3745
|
| 585 |
+
],
|
| 586 |
+
"shot_pool": {
|
| 587 |
+
"items": 10,
|
| 588 |
+
"by_source": {
|
| 589 |
+
"": 10
|
| 590 |
+
},
|
| 591 |
+
"tallies": {},
|
| 592 |
+
"drawn": [
|
| 593 |
+
{
|
| 594 |
+
"task_id": "1",
|
| 595 |
+
"source": ""
|
| 596 |
+
},
|
| 597 |
+
{
|
| 598 |
+
"task_id": "7",
|
| 599 |
+
"source": ""
|
| 600 |
+
},
|
| 601 |
+
{
|
| 602 |
+
"task_id": "10",
|
| 603 |
+
"source": ""
|
| 604 |
+
}
|
| 605 |
+
]
|
| 606 |
+
},
|
| 607 |
+
"check": {
|
| 608 |
+
"keys_match": true
|
| 609 |
+
}
|
| 610 |
+
}
|
| 611 |
+
},
|
| 612 |
+
"dq4p": {
|
| 613 |
+
"text2sql": {
|
| 614 |
+
"items": 2454,
|
| 615 |
+
"max_prompt_tokens": 3072,
|
| 616 |
+
"truncated": 0,
|
| 617 |
+
"longest": 2878,
|
| 618 |
+
"ids_sha256": "4031706bdc463db0a2c43e89a7c0fc28e563788d514a75779fb69973a05954ae",
|
| 619 |
+
"shots": 2,
|
| 620 |
+
"shot_split": "shots",
|
| 621 |
+
"prompt_style": "chat",
|
| 622 |
+
"cut_items": [],
|
| 623 |
+
"cut_lengths": [],
|
| 624 |
+
"shot_pool": {
|
| 625 |
+
"items": 43,
|
| 626 |
+
"by_source": {
|
| 627 |
+
"gretel": 22,
|
| 628 |
+
"wikisql": 21
|
| 629 |
+
},
|
| 630 |
+
"tallies": {
|
| 631 |
+
"create-context": {
|
| 632 |
+
"seen": 74577,
|
| 633 |
+
"kept": 0,
|
| 634 |
+
"not_a_query": 0,
|
| 635 |
+
"empty_result": 0,
|
| 636 |
+
"no_data": 58912,
|
| 637 |
+
"degenerate": 0,
|
| 638 |
+
"too_long": 0,
|
| 639 |
+
"failed": 1264,
|
| 640 |
+
"contaminated": 14401,
|
| 641 |
+
"errors": {
|
| 642 |
+
"OperationalError": 1037,
|
| 643 |
+
"schema": 227
|
| 644 |
+
}
|
| 645 |
+
},
|
| 646 |
+
"gretel": {
|
| 647 |
+
"seen": 40,
|
| 648 |
+
"kept": 22,
|
| 649 |
+
"not_a_query": 4,
|
| 650 |
+
"empty_result": 1,
|
| 651 |
+
"no_data": 6,
|
| 652 |
+
"degenerate": 1,
|
| 653 |
+
"too_long": 0,
|
| 654 |
+
"failed": 6,
|
| 655 |
+
"contaminated": 0,
|
| 656 |
+
"errors": {
|
| 657 |
+
"OperationalError": 6
|
| 658 |
+
}
|
| 659 |
+
},
|
| 660 |
+
"wikisql": {
|
| 661 |
+
"seen": 23,
|
| 662 |
+
"kept": 21,
|
| 663 |
+
"not_a_query": 0,
|
| 664 |
+
"empty_result": 0,
|
| 665 |
+
"no_data": 0,
|
| 666 |
+
"degenerate": 2,
|
| 667 |
+
"too_long": 0,
|
| 668 |
+
"failed": 0,
|
| 669 |
+
"contaminated": 0,
|
| 670 |
+
"errors": {}
|
| 671 |
+
}
|
| 672 |
+
},
|
| 673 |
+
"drawn": [
|
| 674 |
+
{
|
| 675 |
+
"task_id": "gretel/30621",
|
| 676 |
+
"source": "gretel"
|
| 677 |
+
},
|
| 678 |
+
{
|
| 679 |
+
"task_id": "gretel/62187",
|
| 680 |
+
"source": "gretel"
|
| 681 |
+
}
|
| 682 |
+
]
|
| 683 |
+
},
|
| 684 |
+
"admitted_by_source": {
|
| 685 |
+
"gretel": 3055,
|
| 686 |
+
"spider": 818,
|
| 687 |
+
"wikisql": 13080
|
| 688 |
+
},
|
| 689 |
+
"tallies": {
|
| 690 |
+
"gretel": {
|
| 691 |
+
"seen": 5851,
|
| 692 |
+
"kept": 3055,
|
| 693 |
+
"not_a_query": 613,
|
| 694 |
+
"empty_result": 110,
|
| 695 |
+
"no_data": 767,
|
| 696 |
+
"degenerate": 80,
|
| 697 |
+
"too_long": 0,
|
| 698 |
+
"failed": 1226,
|
| 699 |
+
"contaminated": 0,
|
| 700 |
+
"errors": {
|
| 701 |
+
"OperationalError": 1051,
|
| 702 |
+
"schema": 167,
|
| 703 |
+
"ProgrammingError": 8
|
| 704 |
+
}
|
| 705 |
+
},
|
| 706 |
+
"spider": {
|
| 707 |
+
"seen": 1034,
|
| 708 |
+
"kept": 818,
|
| 709 |
+
"not_a_query": 0,
|
| 710 |
+
"empty_result": 168,
|
| 711 |
+
"no_data": 0,
|
| 712 |
+
"degenerate": 48,
|
| 713 |
+
"too_long": 0,
|
| 714 |
+
"failed": 0,
|
| 715 |
+
"contaminated": 0,
|
| 716 |
+
"errors": {}
|
| 717 |
+
},
|
| 718 |
+
"wikisql": {
|
| 719 |
+
"seen": 14788,
|
| 720 |
+
"kept": 13080,
|
| 721 |
+
"not_a_query": 0,
|
| 722 |
+
"empty_result": 19,
|
| 723 |
+
"no_data": 0,
|
| 724 |
+
"degenerate": 1611,
|
| 725 |
+
"too_long": 78,
|
| 726 |
+
"failed": 0,
|
| 727 |
+
"contaminated": 0,
|
| 728 |
+
"errors": {}
|
| 729 |
+
}
|
| 730 |
+
},
|
| 731 |
+
"by_source": {
|
| 732 |
+
"gretel": [
|
| 733 |
+
0,
|
| 734 |
+
818
|
| 735 |
+
],
|
| 736 |
+
"spider": [
|
| 737 |
+
0,
|
| 738 |
+
818
|
| 739 |
+
],
|
| 740 |
+
"wikisql": [
|
| 741 |
+
0,
|
| 742 |
+
818
|
| 743 |
+
]
|
| 744 |
+
},
|
| 745 |
+
"longest_by_source": {
|
| 746 |
+
"gretel": 752,
|
| 747 |
+
"spider": 2542,
|
| 748 |
+
"wikisql": 2878
|
| 749 |
+
},
|
| 750 |
+
"check": {
|
| 751 |
+
"hits_reproduced": 2454,
|
| 752 |
+
"of": 2454,
|
| 753 |
+
"by_source_totals_match": true
|
| 754 |
+
},
|
| 755 |
+
"unfinished_reasoning": 0
|
| 756 |
+
},
|
| 757 |
+
"humaneval": {
|
| 758 |
+
"items": 164,
|
| 759 |
+
"max_prompt_tokens": 2048,
|
| 760 |
+
"truncated": 0,
|
| 761 |
+
"longest": 436,
|
| 762 |
+
"ids_sha256": "f615cdbdd3850559a4b9cb1926ca75c5c76b46fc18c0b3a278826b3aa4c21ad0",
|
| 763 |
+
"shots": 0,
|
| 764 |
+
"shot_split": null,
|
| 765 |
+
"prompt_style": "chat",
|
| 766 |
+
"cut_items": [],
|
| 767 |
+
"cut_lengths": [],
|
| 768 |
+
"shot_pool": null,
|
| 769 |
+
"check": {
|
| 770 |
+
"keys_match": true
|
| 771 |
+
}
|
| 772 |
+
},
|
| 773 |
+
"mbpp": {
|
| 774 |
+
"items": 500,
|
| 775 |
+
"max_prompt_tokens": 2048,
|
| 776 |
+
"truncated": 1,
|
| 777 |
+
"longest": 3745,
|
| 778 |
+
"ids_sha256": "c51d83a357256dde9927c532fe032bd0bc9b80d1ed49c0e0f0215bcfbbacf1f2",
|
| 779 |
+
"shots": 3,
|
| 780 |
+
"shot_split": "prompt",
|
| 781 |
+
"prompt_style": "chat",
|
| 782 |
+
"cut_items": [
|
| 783 |
+
"493"
|
| 784 |
+
],
|
| 785 |
+
"cut_lengths": [
|
| 786 |
+
3745
|
| 787 |
+
],
|
| 788 |
+
"shot_pool": {
|
| 789 |
+
"items": 10,
|
| 790 |
+
"by_source": {
|
| 791 |
+
"": 10
|
| 792 |
+
},
|
| 793 |
+
"tallies": {},
|
| 794 |
+
"drawn": [
|
| 795 |
+
{
|
| 796 |
+
"task_id": "1",
|
| 797 |
+
"source": ""
|
| 798 |
+
},
|
| 799 |
+
{
|
| 800 |
+
"task_id": "7",
|
| 801 |
+
"source": ""
|
| 802 |
+
},
|
| 803 |
+
{
|
| 804 |
+
"task_id": "10",
|
| 805 |
+
"source": ""
|
| 806 |
+
}
|
| 807 |
+
]
|
| 808 |
+
},
|
| 809 |
+
"check": {
|
| 810 |
+
"keys_match": true
|
| 811 |
+
}
|
| 812 |
+
}
|
| 813 |
+
},
|
| 814 |
+
"u4": {
|
| 815 |
+
"text2sql": {
|
| 816 |
+
"items": 2454,
|
| 817 |
+
"max_prompt_tokens": 3072,
|
| 818 |
+
"truncated": 0,
|
| 819 |
+
"longest": 2878,
|
| 820 |
+
"ids_sha256": "4031706bdc463db0a2c43e89a7c0fc28e563788d514a75779fb69973a05954ae",
|
| 821 |
+
"shots": 2,
|
| 822 |
+
"shot_split": "shots",
|
| 823 |
+
"prompt_style": "chat",
|
| 824 |
+
"cut_items": [],
|
| 825 |
+
"cut_lengths": [],
|
| 826 |
+
"shot_pool": {
|
| 827 |
+
"items": 43,
|
| 828 |
+
"by_source": {
|
| 829 |
+
"gretel": 22,
|
| 830 |
+
"wikisql": 21
|
| 831 |
+
},
|
| 832 |
+
"tallies": {
|
| 833 |
+
"create-context": {
|
| 834 |
+
"seen": 74577,
|
| 835 |
+
"kept": 0,
|
| 836 |
+
"not_a_query": 0,
|
| 837 |
+
"empty_result": 0,
|
| 838 |
+
"no_data": 58912,
|
| 839 |
+
"degenerate": 0,
|
| 840 |
+
"too_long": 0,
|
| 841 |
+
"failed": 1264,
|
| 842 |
+
"contaminated": 14401,
|
| 843 |
+
"errors": {
|
| 844 |
+
"OperationalError": 1037,
|
| 845 |
+
"schema": 227
|
| 846 |
+
}
|
| 847 |
+
},
|
| 848 |
+
"gretel": {
|
| 849 |
+
"seen": 40,
|
| 850 |
+
"kept": 22,
|
| 851 |
+
"not_a_query": 4,
|
| 852 |
+
"empty_result": 1,
|
| 853 |
+
"no_data": 6,
|
| 854 |
+
"degenerate": 1,
|
| 855 |
+
"too_long": 0,
|
| 856 |
+
"failed": 6,
|
| 857 |
+
"contaminated": 0,
|
| 858 |
+
"errors": {
|
| 859 |
+
"OperationalError": 6
|
| 860 |
+
}
|
| 861 |
+
},
|
| 862 |
+
"wikisql": {
|
| 863 |
+
"seen": 23,
|
| 864 |
+
"kept": 21,
|
| 865 |
+
"not_a_query": 0,
|
| 866 |
+
"empty_result": 0,
|
| 867 |
+
"no_data": 0,
|
| 868 |
+
"degenerate": 2,
|
| 869 |
+
"too_long": 0,
|
| 870 |
+
"failed": 0,
|
| 871 |
+
"contaminated": 0,
|
| 872 |
+
"errors": {}
|
| 873 |
+
}
|
| 874 |
+
},
|
| 875 |
+
"drawn": [
|
| 876 |
+
{
|
| 877 |
+
"task_id": "gretel/30621",
|
| 878 |
+
"source": "gretel"
|
| 879 |
+
},
|
| 880 |
+
{
|
| 881 |
+
"task_id": "gretel/62187",
|
| 882 |
+
"source": "gretel"
|
| 883 |
+
}
|
| 884 |
+
]
|
| 885 |
+
},
|
| 886 |
+
"admitted_by_source": {
|
| 887 |
+
"gretel": 3055,
|
| 888 |
+
"spider": 818,
|
| 889 |
+
"wikisql": 13080
|
| 890 |
+
},
|
| 891 |
+
"tallies": {
|
| 892 |
+
"gretel": {
|
| 893 |
+
"seen": 5851,
|
| 894 |
+
"kept": 3055,
|
| 895 |
+
"not_a_query": 613,
|
| 896 |
+
"empty_result": 110,
|
| 897 |
+
"no_data": 767,
|
| 898 |
+
"degenerate": 80,
|
| 899 |
+
"too_long": 0,
|
| 900 |
+
"failed": 1226,
|
| 901 |
+
"contaminated": 0,
|
| 902 |
+
"errors": {
|
| 903 |
+
"OperationalError": 1051,
|
| 904 |
+
"schema": 167,
|
| 905 |
+
"ProgrammingError": 8
|
| 906 |
+
}
|
| 907 |
+
},
|
| 908 |
+
"spider": {
|
| 909 |
+
"seen": 1034,
|
| 910 |
+
"kept": 818,
|
| 911 |
+
"not_a_query": 0,
|
| 912 |
+
"empty_result": 168,
|
| 913 |
+
"no_data": 0,
|
| 914 |
+
"degenerate": 48,
|
| 915 |
+
"too_long": 0,
|
| 916 |
+
"failed": 0,
|
| 917 |
+
"contaminated": 0,
|
| 918 |
+
"errors": {}
|
| 919 |
+
},
|
| 920 |
+
"wikisql": {
|
| 921 |
+
"seen": 14788,
|
| 922 |
+
"kept": 13080,
|
| 923 |
+
"not_a_query": 0,
|
| 924 |
+
"empty_result": 19,
|
| 925 |
+
"no_data": 0,
|
| 926 |
+
"degenerate": 1611,
|
| 927 |
+
"too_long": 78,
|
| 928 |
+
"failed": 0,
|
| 929 |
+
"contaminated": 0,
|
| 930 |
+
"errors": {}
|
| 931 |
+
}
|
| 932 |
+
},
|
| 933 |
+
"by_source": {
|
| 934 |
+
"gretel": [
|
| 935 |
+
0,
|
| 936 |
+
818
|
| 937 |
+
],
|
| 938 |
+
"spider": [
|
| 939 |
+
0,
|
| 940 |
+
818
|
| 941 |
+
],
|
| 942 |
+
"wikisql": [
|
| 943 |
+
0,
|
| 944 |
+
818
|
| 945 |
+
]
|
| 946 |
+
},
|
| 947 |
+
"longest_by_source": {
|
| 948 |
+
"gretel": 752,
|
| 949 |
+
"spider": 2542,
|
| 950 |
+
"wikisql": 2878
|
| 951 |
+
},
|
| 952 |
+
"check": {
|
| 953 |
+
"hits_reproduced": 2454,
|
| 954 |
+
"of": 2454,
|
| 955 |
+
"by_source_totals_match": true
|
| 956 |
+
},
|
| 957 |
+
"unfinished_reasoning": 0
|
| 958 |
+
},
|
| 959 |
+
"humaneval": {
|
| 960 |
+
"items": 164,
|
| 961 |
+
"max_prompt_tokens": 2048,
|
| 962 |
+
"truncated": 0,
|
| 963 |
+
"longest": 436,
|
| 964 |
+
"ids_sha256": "f615cdbdd3850559a4b9cb1926ca75c5c76b46fc18c0b3a278826b3aa4c21ad0",
|
| 965 |
+
"shots": 0,
|
| 966 |
+
"shot_split": null,
|
| 967 |
+
"prompt_style": "chat",
|
| 968 |
+
"cut_items": [],
|
| 969 |
+
"cut_lengths": [],
|
| 970 |
+
"shot_pool": null,
|
| 971 |
+
"check": {
|
| 972 |
+
"keys_match": true
|
| 973 |
+
}
|
| 974 |
+
},
|
| 975 |
+
"mbpp": {
|
| 976 |
+
"items": 500,
|
| 977 |
+
"max_prompt_tokens": 2048,
|
| 978 |
+
"truncated": 1,
|
| 979 |
+
"longest": 3745,
|
| 980 |
+
"ids_sha256": "c51d83a357256dde9927c532fe032bd0bc9b80d1ed49c0e0f0215bcfbbacf1f2",
|
| 981 |
+
"shots": 3,
|
| 982 |
+
"shot_split": "prompt",
|
| 983 |
+
"prompt_style": "chat",
|
| 984 |
+
"cut_items": [
|
| 985 |
+
"493"
|
| 986 |
+
],
|
| 987 |
+
"cut_lengths": [
|
| 988 |
+
3745
|
| 989 |
+
],
|
| 990 |
+
"shot_pool": {
|
| 991 |
+
"items": 10,
|
| 992 |
+
"by_source": {
|
| 993 |
+
"": 10
|
| 994 |
+
},
|
| 995 |
+
"tallies": {},
|
| 996 |
+
"drawn": [
|
| 997 |
+
{
|
| 998 |
+
"task_id": "1",
|
| 999 |
+
"source": ""
|
| 1000 |
+
},
|
| 1001 |
+
{
|
| 1002 |
+
"task_id": "7",
|
| 1003 |
+
"source": ""
|
| 1004 |
+
},
|
| 1005 |
+
{
|
| 1006 |
+
"task_id": "10",
|
| 1007 |
+
"source": ""
|
| 1008 |
+
}
|
| 1009 |
+
]
|
| 1010 |
+
},
|
| 1011 |
+
"check": {
|
| 1012 |
+
"keys_match": true
|
| 1013 |
+
}
|
| 1014 |
+
}
|
| 1015 |
+
},
|
| 1016 |
+
"dq3p": {
|
| 1017 |
+
"text2sql": {
|
| 1018 |
+
"items": 2454,
|
| 1019 |
+
"max_prompt_tokens": 3072,
|
| 1020 |
+
"truncated": 0,
|
| 1021 |
+
"longest": 2878,
|
| 1022 |
+
"ids_sha256": "4031706bdc463db0a2c43e89a7c0fc28e563788d514a75779fb69973a05954ae",
|
| 1023 |
+
"shots": 2,
|
| 1024 |
+
"shot_split": "shots",
|
| 1025 |
+
"prompt_style": "chat",
|
| 1026 |
+
"cut_items": [],
|
| 1027 |
+
"cut_lengths": [],
|
| 1028 |
+
"shot_pool": {
|
| 1029 |
+
"items": 43,
|
| 1030 |
+
"by_source": {
|
| 1031 |
+
"gretel": 22,
|
| 1032 |
+
"wikisql": 21
|
| 1033 |
+
},
|
| 1034 |
+
"tallies": {
|
| 1035 |
+
"create-context": {
|
| 1036 |
+
"seen": 74577,
|
| 1037 |
+
"kept": 0,
|
| 1038 |
+
"not_a_query": 0,
|
| 1039 |
+
"empty_result": 0,
|
| 1040 |
+
"no_data": 58912,
|
| 1041 |
+
"degenerate": 0,
|
| 1042 |
+
"too_long": 0,
|
| 1043 |
+
"failed": 1264,
|
| 1044 |
+
"contaminated": 14401,
|
| 1045 |
+
"errors": {
|
| 1046 |
+
"OperationalError": 1037,
|
| 1047 |
+
"schema": 227
|
| 1048 |
+
}
|
| 1049 |
+
},
|
| 1050 |
+
"gretel": {
|
| 1051 |
+
"seen": 40,
|
| 1052 |
+
"kept": 22,
|
| 1053 |
+
"not_a_query": 4,
|
| 1054 |
+
"empty_result": 1,
|
| 1055 |
+
"no_data": 6,
|
| 1056 |
+
"degenerate": 1,
|
| 1057 |
+
"too_long": 0,
|
| 1058 |
+
"failed": 6,
|
| 1059 |
+
"contaminated": 0,
|
| 1060 |
+
"errors": {
|
| 1061 |
+
"OperationalError": 6
|
| 1062 |
+
}
|
| 1063 |
+
},
|
| 1064 |
+
"wikisql": {
|
| 1065 |
+
"seen": 23,
|
| 1066 |
+
"kept": 21,
|
| 1067 |
+
"not_a_query": 0,
|
| 1068 |
+
"empty_result": 0,
|
| 1069 |
+
"no_data": 0,
|
| 1070 |
+
"degenerate": 2,
|
| 1071 |
+
"too_long": 0,
|
| 1072 |
+
"failed": 0,
|
| 1073 |
+
"contaminated": 0,
|
| 1074 |
+
"errors": {}
|
| 1075 |
+
}
|
| 1076 |
+
},
|
| 1077 |
+
"drawn": [
|
| 1078 |
+
{
|
| 1079 |
+
"task_id": "gretel/30621",
|
| 1080 |
+
"source": "gretel"
|
| 1081 |
+
},
|
| 1082 |
+
{
|
| 1083 |
+
"task_id": "gretel/62187",
|
| 1084 |
+
"source": "gretel"
|
| 1085 |
+
}
|
| 1086 |
+
]
|
| 1087 |
+
},
|
| 1088 |
+
"admitted_by_source": {
|
| 1089 |
+
"gretel": 3055,
|
| 1090 |
+
"spider": 818,
|
| 1091 |
+
"wikisql": 13080
|
| 1092 |
+
},
|
| 1093 |
+
"tallies": {
|
| 1094 |
+
"gretel": {
|
| 1095 |
+
"seen": 5851,
|
| 1096 |
+
"kept": 3055,
|
| 1097 |
+
"not_a_query": 613,
|
| 1098 |
+
"empty_result": 110,
|
| 1099 |
+
"no_data": 767,
|
| 1100 |
+
"degenerate": 80,
|
| 1101 |
+
"too_long": 0,
|
| 1102 |
+
"failed": 1226,
|
| 1103 |
+
"contaminated": 0,
|
| 1104 |
+
"errors": {
|
| 1105 |
+
"OperationalError": 1051,
|
| 1106 |
+
"schema": 167,
|
| 1107 |
+
"ProgrammingError": 8
|
| 1108 |
+
}
|
| 1109 |
+
},
|
| 1110 |
+
"spider": {
|
| 1111 |
+
"seen": 1034,
|
| 1112 |
+
"kept": 818,
|
| 1113 |
+
"not_a_query": 0,
|
| 1114 |
+
"empty_result": 168,
|
| 1115 |
+
"no_data": 0,
|
| 1116 |
+
"degenerate": 48,
|
| 1117 |
+
"too_long": 0,
|
| 1118 |
+
"failed": 0,
|
| 1119 |
+
"contaminated": 0,
|
| 1120 |
+
"errors": {}
|
| 1121 |
+
},
|
| 1122 |
+
"wikisql": {
|
| 1123 |
+
"seen": 14788,
|
| 1124 |
+
"kept": 13080,
|
| 1125 |
+
"not_a_query": 0,
|
| 1126 |
+
"empty_result": 19,
|
| 1127 |
+
"no_data": 0,
|
| 1128 |
+
"degenerate": 1611,
|
| 1129 |
+
"too_long": 78,
|
| 1130 |
+
"failed": 0,
|
| 1131 |
+
"contaminated": 0,
|
| 1132 |
+
"errors": {}
|
| 1133 |
+
}
|
| 1134 |
+
},
|
| 1135 |
+
"by_source": {
|
| 1136 |
+
"gretel": [
|
| 1137 |
+
0,
|
| 1138 |
+
818
|
| 1139 |
+
],
|
| 1140 |
+
"spider": [
|
| 1141 |
+
0,
|
| 1142 |
+
818
|
| 1143 |
+
],
|
| 1144 |
+
"wikisql": [
|
| 1145 |
+
0,
|
| 1146 |
+
818
|
| 1147 |
+
]
|
| 1148 |
+
},
|
| 1149 |
+
"longest_by_source": {
|
| 1150 |
+
"gretel": 752,
|
| 1151 |
+
"spider": 2542,
|
| 1152 |
+
"wikisql": 2878
|
| 1153 |
+
},
|
| 1154 |
+
"check": {
|
| 1155 |
+
"hits_reproduced": 2454,
|
| 1156 |
+
"of": 2454,
|
| 1157 |
+
"by_source_totals_match": true
|
| 1158 |
+
},
|
| 1159 |
+
"unfinished_reasoning": 0
|
| 1160 |
+
},
|
| 1161 |
+
"humaneval": {
|
| 1162 |
+
"items": 164,
|
| 1163 |
+
"max_prompt_tokens": 2048,
|
| 1164 |
+
"truncated": 0,
|
| 1165 |
+
"longest": 436,
|
| 1166 |
+
"ids_sha256": "f615cdbdd3850559a4b9cb1926ca75c5c76b46fc18c0b3a278826b3aa4c21ad0",
|
| 1167 |
+
"shots": 0,
|
| 1168 |
+
"shot_split": null,
|
| 1169 |
+
"prompt_style": "chat",
|
| 1170 |
+
"cut_items": [],
|
| 1171 |
+
"cut_lengths": [],
|
| 1172 |
+
"shot_pool": null,
|
| 1173 |
+
"check": {
|
| 1174 |
+
"keys_match": true
|
| 1175 |
+
}
|
| 1176 |
+
},
|
| 1177 |
+
"mbpp": {
|
| 1178 |
+
"items": 500,
|
| 1179 |
+
"max_prompt_tokens": 2048,
|
| 1180 |
+
"truncated": 1,
|
| 1181 |
+
"longest": 3745,
|
| 1182 |
+
"ids_sha256": "c51d83a357256dde9927c532fe032bd0bc9b80d1ed49c0e0f0215bcfbbacf1f2",
|
| 1183 |
+
"shots": 3,
|
| 1184 |
+
"shot_split": "prompt",
|
| 1185 |
+
"prompt_style": "chat",
|
| 1186 |
+
"cut_items": [
|
| 1187 |
+
"493"
|
| 1188 |
+
],
|
| 1189 |
+
"cut_lengths": [
|
| 1190 |
+
3745
|
| 1191 |
+
],
|
| 1192 |
+
"shot_pool": {
|
| 1193 |
+
"items": 10,
|
| 1194 |
+
"by_source": {
|
| 1195 |
+
"": 10
|
| 1196 |
+
},
|
| 1197 |
+
"tallies": {},
|
| 1198 |
+
"drawn": [
|
| 1199 |
+
{
|
| 1200 |
+
"task_id": "1",
|
| 1201 |
+
"source": ""
|
| 1202 |
+
},
|
| 1203 |
+
{
|
| 1204 |
+
"task_id": "7",
|
| 1205 |
+
"source": ""
|
| 1206 |
+
},
|
| 1207 |
+
{
|
| 1208 |
+
"task_id": "10",
|
| 1209 |
+
"source": ""
|
| 1210 |
+
}
|
| 1211 |
+
]
|
| 1212 |
+
},
|
| 1213 |
+
"check": {
|
| 1214 |
+
"keys_match": true
|
| 1215 |
+
}
|
| 1216 |
+
}
|
| 1217 |
+
},
|
| 1218 |
+
"u3": {
|
| 1219 |
+
"text2sql": {
|
| 1220 |
+
"items": 2454,
|
| 1221 |
+
"max_prompt_tokens": 3072,
|
| 1222 |
+
"truncated": 0,
|
| 1223 |
+
"longest": 2878,
|
| 1224 |
+
"ids_sha256": "4031706bdc463db0a2c43e89a7c0fc28e563788d514a75779fb69973a05954ae",
|
| 1225 |
+
"shots": 2,
|
| 1226 |
+
"shot_split": "shots",
|
| 1227 |
+
"prompt_style": "chat",
|
| 1228 |
+
"cut_items": [],
|
| 1229 |
+
"cut_lengths": [],
|
| 1230 |
+
"shot_pool": {
|
| 1231 |
+
"items": 43,
|
| 1232 |
+
"by_source": {
|
| 1233 |
+
"gretel": 22,
|
| 1234 |
+
"wikisql": 21
|
| 1235 |
+
},
|
| 1236 |
+
"tallies": {
|
| 1237 |
+
"create-context": {
|
| 1238 |
+
"seen": 74577,
|
| 1239 |
+
"kept": 0,
|
| 1240 |
+
"not_a_query": 0,
|
| 1241 |
+
"empty_result": 0,
|
| 1242 |
+
"no_data": 58912,
|
| 1243 |
+
"degenerate": 0,
|
| 1244 |
+
"too_long": 0,
|
| 1245 |
+
"failed": 1264,
|
| 1246 |
+
"contaminated": 14401,
|
| 1247 |
+
"errors": {
|
| 1248 |
+
"OperationalError": 1037,
|
| 1249 |
+
"schema": 227
|
| 1250 |
+
}
|
| 1251 |
+
},
|
| 1252 |
+
"gretel": {
|
| 1253 |
+
"seen": 40,
|
| 1254 |
+
"kept": 22,
|
| 1255 |
+
"not_a_query": 4,
|
| 1256 |
+
"empty_result": 1,
|
| 1257 |
+
"no_data": 6,
|
| 1258 |
+
"degenerate": 1,
|
| 1259 |
+
"too_long": 0,
|
| 1260 |
+
"failed": 6,
|
| 1261 |
+
"contaminated": 0,
|
| 1262 |
+
"errors": {
|
| 1263 |
+
"OperationalError": 6
|
| 1264 |
+
}
|
| 1265 |
+
},
|
| 1266 |
+
"wikisql": {
|
| 1267 |
+
"seen": 23,
|
| 1268 |
+
"kept": 21,
|
| 1269 |
+
"not_a_query": 0,
|
| 1270 |
+
"empty_result": 0,
|
| 1271 |
+
"no_data": 0,
|
| 1272 |
+
"degenerate": 2,
|
| 1273 |
+
"too_long": 0,
|
| 1274 |
+
"failed": 0,
|
| 1275 |
+
"contaminated": 0,
|
| 1276 |
+
"errors": {}
|
| 1277 |
+
}
|
| 1278 |
+
},
|
| 1279 |
+
"drawn": [
|
| 1280 |
+
{
|
| 1281 |
+
"task_id": "gretel/30621",
|
| 1282 |
+
"source": "gretel"
|
| 1283 |
+
},
|
| 1284 |
+
{
|
| 1285 |
+
"task_id": "gretel/62187",
|
| 1286 |
+
"source": "gretel"
|
| 1287 |
+
}
|
| 1288 |
+
]
|
| 1289 |
+
},
|
| 1290 |
+
"admitted_by_source": {
|
| 1291 |
+
"gretel": 3055,
|
| 1292 |
+
"spider": 818,
|
| 1293 |
+
"wikisql": 13080
|
| 1294 |
+
},
|
| 1295 |
+
"tallies": {
|
| 1296 |
+
"gretel": {
|
| 1297 |
+
"seen": 5851,
|
| 1298 |
+
"kept": 3055,
|
| 1299 |
+
"not_a_query": 613,
|
| 1300 |
+
"empty_result": 110,
|
| 1301 |
+
"no_data": 767,
|
| 1302 |
+
"degenerate": 80,
|
| 1303 |
+
"too_long": 0,
|
| 1304 |
+
"failed": 1226,
|
| 1305 |
+
"contaminated": 0,
|
| 1306 |
+
"errors": {
|
| 1307 |
+
"OperationalError": 1051,
|
| 1308 |
+
"schema": 167,
|
| 1309 |
+
"ProgrammingError": 8
|
| 1310 |
+
}
|
| 1311 |
+
},
|
| 1312 |
+
"spider": {
|
| 1313 |
+
"seen": 1034,
|
| 1314 |
+
"kept": 818,
|
| 1315 |
+
"not_a_query": 0,
|
| 1316 |
+
"empty_result": 168,
|
| 1317 |
+
"no_data": 0,
|
| 1318 |
+
"degenerate": 48,
|
| 1319 |
+
"too_long": 0,
|
| 1320 |
+
"failed": 0,
|
| 1321 |
+
"contaminated": 0,
|
| 1322 |
+
"errors": {}
|
| 1323 |
+
},
|
| 1324 |
+
"wikisql": {
|
| 1325 |
+
"seen": 14788,
|
| 1326 |
+
"kept": 13080,
|
| 1327 |
+
"not_a_query": 0,
|
| 1328 |
+
"empty_result": 19,
|
| 1329 |
+
"no_data": 0,
|
| 1330 |
+
"degenerate": 1611,
|
| 1331 |
+
"too_long": 78,
|
| 1332 |
+
"failed": 0,
|
| 1333 |
+
"contaminated": 0,
|
| 1334 |
+
"errors": {}
|
| 1335 |
+
}
|
| 1336 |
+
},
|
| 1337 |
+
"by_source": {
|
| 1338 |
+
"gretel": [
|
| 1339 |
+
0,
|
| 1340 |
+
818
|
| 1341 |
+
],
|
| 1342 |
+
"spider": [
|
| 1343 |
+
0,
|
| 1344 |
+
818
|
| 1345 |
+
],
|
| 1346 |
+
"wikisql": [
|
| 1347 |
+
0,
|
| 1348 |
+
818
|
| 1349 |
+
]
|
| 1350 |
+
},
|
| 1351 |
+
"longest_by_source": {
|
| 1352 |
+
"gretel": 752,
|
| 1353 |
+
"spider": 2542,
|
| 1354 |
+
"wikisql": 2878
|
| 1355 |
+
},
|
| 1356 |
+
"check": {
|
| 1357 |
+
"hits_reproduced": 2454,
|
| 1358 |
+
"of": 2454,
|
| 1359 |
+
"by_source_totals_match": true
|
| 1360 |
+
},
|
| 1361 |
+
"unfinished_reasoning": 0
|
| 1362 |
+
},
|
| 1363 |
+
"humaneval": {
|
| 1364 |
+
"items": 164,
|
| 1365 |
+
"max_prompt_tokens": 2048,
|
| 1366 |
+
"truncated": 0,
|
| 1367 |
+
"longest": 436,
|
| 1368 |
+
"ids_sha256": "f615cdbdd3850559a4b9cb1926ca75c5c76b46fc18c0b3a278826b3aa4c21ad0",
|
| 1369 |
+
"shots": 0,
|
| 1370 |
+
"shot_split": null,
|
| 1371 |
+
"prompt_style": "chat",
|
| 1372 |
+
"cut_items": [],
|
| 1373 |
+
"cut_lengths": [],
|
| 1374 |
+
"shot_pool": null,
|
| 1375 |
+
"check": {
|
| 1376 |
+
"keys_match": true
|
| 1377 |
+
}
|
| 1378 |
+
},
|
| 1379 |
+
"mbpp": {
|
| 1380 |
+
"items": 500,
|
| 1381 |
+
"max_prompt_tokens": 2048,
|
| 1382 |
+
"truncated": 1,
|
| 1383 |
+
"longest": 3745,
|
| 1384 |
+
"ids_sha256": "c51d83a357256dde9927c532fe032bd0bc9b80d1ed49c0e0f0215bcfbbacf1f2",
|
| 1385 |
+
"shots": 3,
|
| 1386 |
+
"shot_split": "prompt",
|
| 1387 |
+
"prompt_style": "chat",
|
| 1388 |
+
"cut_items": [
|
| 1389 |
+
"493"
|
| 1390 |
+
],
|
| 1391 |
+
"cut_lengths": [
|
| 1392 |
+
3745
|
| 1393 |
+
],
|
| 1394 |
+
"shot_pool": {
|
| 1395 |
+
"items": 10,
|
| 1396 |
+
"by_source": {
|
| 1397 |
+
"": 10
|
| 1398 |
+
},
|
| 1399 |
+
"tallies": {},
|
| 1400 |
+
"drawn": [
|
| 1401 |
+
{
|
| 1402 |
+
"task_id": "1",
|
| 1403 |
+
"source": ""
|
| 1404 |
+
},
|
| 1405 |
+
{
|
| 1406 |
+
"task_id": "7",
|
| 1407 |
+
"source": ""
|
| 1408 |
+
},
|
| 1409 |
+
{
|
| 1410 |
+
"task_id": "10",
|
| 1411 |
+
"source": ""
|
| 1412 |
+
}
|
| 1413 |
+
]
|
| 1414 |
+
},
|
| 1415 |
+
"check": {
|
| 1416 |
+
"keys_match": true
|
| 1417 |
+
}
|
| 1418 |
+
}
|
| 1419 |
+
}
|
| 1420 |
+
},
|
| 1421 |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
| 10 |
+
"model": "/workspace/jev/kambo-v1",
|
| 11 |
+
"packed": null,
|
| 12 |
+
"experts": {
|
| 13 |
+
"found": "eager",
|
| 14 |
+
"ran": "eager"
|
| 15 |
+
},
|
| 16 |
+
"decode": {
|
| 17 |
+
"max_new_tokens": 320,
|
| 18 |
+
"batch_size": 32,
|
| 19 |
+
"max_prompt_tokens": 3072,
|
| 20 |
+
"greedy": true
|
| 21 |
+
},
|
| 22 |
+
"by_source": {
|
| 23 |
+
"gretel": [
|
| 24 |
+
423,
|
| 25 |
+
818
|
| 26 |
+
],
|
| 27 |
+
"wikisql": [
|
| 28 |
+
424,
|
| 29 |
+
818
|
| 30 |
+
],
|
| 31 |
+
"spider": [
|
| 32 |
+
193,
|
| 33 |
+
818
|
| 34 |
+
]
|
| 35 |
+
},
|
| 36 |
+
"errored": 681,
|
| 37 |
+
"exact": 506,
|
| 38 |
+
"unparseable": 5
|
| 39 |
+
},
|
| 40 |
+
"humaneval": {
|
| 41 |
+
"correct": 48,
|
| 42 |
+
"total": 164,
|
| 43 |
+
"accuracy": 0.2926829268292683,
|
| 44 |
+
"seconds": 258.4,
|
| 45 |
+
"launcher": "plain",
|
| 46 |
+
"model": "/workspace/jev/kambo-v1",
|
| 47 |
+
"packed": null,
|
| 48 |
+
"experts": {
|
| 49 |
+
"found": "eager",
|
| 50 |
+
"ran": "eager"
|
| 51 |
+
},
|
| 52 |
+
"decode": {
|
| 53 |
+
"max_new_tokens": 1024,
|
| 54 |
+
"batch_size": 16,
|
| 55 |
+
"max_prompt_tokens": 2048,
|
| 56 |
+
"greedy": true
|
| 57 |
+
},
|
| 58 |
+
"timeouts": 0,
|
| 59 |
+
"empty": 0,
|
| 60 |
+
"sandbox": "exec/linux/py3.12/rlimits/t=8s/m=4096MB"
|
| 61 |
+
},
|
| 62 |
+
"mbpp": {
|
| 63 |
+
"correct": 126,
|
| 64 |
+
"total": 500,
|
| 65 |
+
"accuracy": 0.252,
|
| 66 |
+
"seconds": 850.0,
|
| 67 |
+
"launcher": "plain",
|
| 68 |
+
"model": "/workspace/jev/kambo-v1",
|
| 69 |
+
"packed": null,
|
| 70 |
+
"experts": {
|
| 71 |
+
"found": "eager",
|
| 72 |
+
"ran": "eager"
|
| 73 |
+
},
|
| 74 |
+
"decode": {
|
| 75 |
+
"max_new_tokens": 1024,
|
| 76 |
+
"batch_size": 16,
|
| 77 |
+
"max_prompt_tokens": 2048,
|
| 78 |
+
"greedy": true
|
| 79 |
+
},
|
| 80 |
+
"timeouts": 2,
|
| 81 |
+
"empty": 0,
|
| 82 |
+
"sandbox": "exec/linux/py3.12/rlimits/t=8s/m=4096MB"
|
| 83 |
+
}
|
| 84 |
+
},
|
| 85 |
+
"base-det": {
|
| 86 |
+
"text2sql": {
|
| 87 |
+
"correct": 1052,
|
| 88 |
+
"total": 2454,
|
| 89 |
+
"accuracy": 0.4286878565607172,
|
| 90 |
+
"seconds": 799.6,
|
| 91 |
+
"launcher": "dq_det",
|
| 92 |
+
"model": "/workspace/jev/kambo-v1",
|
| 93 |
+
"packed": null,
|
| 94 |
+
"experts": {
|
| 95 |
+
"found": "eager",
|
| 96 |
+
"ran": "eager"
|
| 97 |
+
},
|
| 98 |
+
"decode": {
|
| 99 |
+
"max_new_tokens": 320,
|
| 100 |
+
"batch_size": 32,
|
| 101 |
+
"max_prompt_tokens": 3072,
|
| 102 |
+
"greedy": true
|
| 103 |
+
},
|
| 104 |
+
"by_source": {
|
| 105 |
+
"gretel": [
|
| 106 |
+
433,
|
| 107 |
+
818
|
| 108 |
+
],
|
| 109 |
+
"wikisql": [
|
| 110 |
+
423,
|
| 111 |
+
818
|
| 112 |
+
],
|
| 113 |
+
"spider": [
|
| 114 |
+
196,
|
| 115 |
+
818
|
| 116 |
+
]
|
| 117 |
+
},
|
| 118 |
+
"errored": 682,
|
| 119 |
+
"exact": 511,
|
| 120 |
+
"unparseable": 5
|
| 121 |
+
},
|
| 122 |
+
"humaneval": {
|
| 123 |
+
"correct": 51,
|
| 124 |
+
"total": 164,
|
| 125 |
+
"accuracy": 0.31097560975609756,
|
| 126 |
+
"seconds": 283.9,
|
| 127 |
+
"launcher": "dq_det",
|
| 128 |
+
"model": "/workspace/jev/kambo-v1",
|
| 129 |
+
"packed": null,
|
| 130 |
+
"experts": {
|
| 131 |
+
"found": "eager",
|
| 132 |
+
"ran": "eager"
|
| 133 |
+
},
|
| 134 |
+
"decode": {
|
| 135 |
+
"max_new_tokens": 1024,
|
| 136 |
+
"batch_size": 16,
|
| 137 |
+
"max_prompt_tokens": 2048,
|
| 138 |
+
"greedy": true
|
| 139 |
+
},
|
| 140 |
+
"timeouts": 0,
|
| 141 |
+
"empty": 0,
|
| 142 |
+
"sandbox": "exec/linux/py3.12/rlimits/t=8s/m=4096MB"
|
| 143 |
+
},
|
| 144 |
+
"mbpp": {
|
| 145 |
+
"correct": 127,
|
| 146 |
+
"total": 500,
|
| 147 |
+
"accuracy": 0.254,
|
| 148 |
+
"seconds": 882.7,
|
| 149 |
+
"launcher": "dq_det",
|
| 150 |
+
"model": "/workspace/jev/kambo-v1",
|
| 151 |
+
"packed": null,
|
| 152 |
+
"experts": {
|
| 153 |
+
"found": "eager",
|
| 154 |
+
"ran": "eager"
|
| 155 |
+
},
|
| 156 |
+
"decode": {
|
| 157 |
+
"max_new_tokens": 1024,
|
| 158 |
+
"batch_size": 16,
|
| 159 |
+
"max_prompt_tokens": 2048,
|
| 160 |
+
"greedy": true
|
| 161 |
+
},
|
| 162 |
+
"timeouts": 2,
|
| 163 |
+
"empty": 0,
|
| 164 |
+
"sandbox": "exec/linux/py3.12/rlimits/t=8s/m=4096MB"
|
| 165 |
+
}
|
| 166 |
+
},
|
| 167 |
+
"ft": {
|
| 168 |
+
"text2sql": {
|
| 169 |
+
"correct": 1323,
|
| 170 |
+
"total": 2454,
|
| 171 |
+
"accuracy": 0.539119804400978,
|
| 172 |
+
"seconds": 1349.7,
|
| 173 |
+
"launcher": "dq_det",
|
| 174 |
+
"model": "runs/ft/model",
|
| 175 |
+
"packed": null,
|
| 176 |
+
"experts": {
|
| 177 |
+
"found": "eager",
|
| 178 |
+
"ran": "eager"
|
| 179 |
+
},
|
| 180 |
+
"decode": {
|
| 181 |
+
"max_new_tokens": 320,
|
| 182 |
+
"batch_size": 32,
|
| 183 |
+
"max_prompt_tokens": 3072,
|
| 184 |
+
"greedy": true
|
| 185 |
+
},
|
| 186 |
+
"by_source": {
|
| 187 |
+
"gretel": [
|
| 188 |
+
492,
|
| 189 |
+
818
|
| 190 |
+
],
|
| 191 |
+
"wikisql": [
|
| 192 |
+
621,
|
| 193 |
+
818
|
| 194 |
+
],
|
| 195 |
+
"spider": [
|
| 196 |
+
210,
|
| 197 |
+
818
|
| 198 |
+
]
|
| 199 |
+
},
|
| 200 |
+
"errored": 556,
|
| 201 |
+
"exact": 870,
|
| 202 |
+
"unparseable": 0
|
| 203 |
+
},
|
| 204 |
+
"humaneval": {
|
| 205 |
+
"correct": 50,
|
| 206 |
+
"total": 164,
|
| 207 |
+
"accuracy": 0.3048780487804878,
|
| 208 |
+
"seconds": 640.5,
|
| 209 |
+
"launcher": "dq_det",
|
| 210 |
+
"model": "runs/ft/model",
|
| 211 |
+
"packed": null,
|
| 212 |
+
"experts": {
|
| 213 |
+
"found": "eager",
|
| 214 |
+
"ran": "eager"
|
| 215 |
+
},
|
| 216 |
+
"decode": {
|
| 217 |
+
"max_new_tokens": 1024,
|
| 218 |
+
"batch_size": 16,
|
| 219 |
+
"max_prompt_tokens": 2048,
|
| 220 |
+
"greedy": true
|
| 221 |
+
},
|
| 222 |
+
"timeouts": 1,
|
| 223 |
+
"empty": 0,
|
| 224 |
+
"sandbox": "exec/linux/py3.12/rlimits/t=8s/m=4096MB"
|
| 225 |
+
},
|
| 226 |
+
"mbpp": {
|
| 227 |
+
"correct": 144,
|
| 228 |
+
"total": 500,
|
| 229 |
+
"accuracy": 0.288,
|
| 230 |
+
"seconds": 1299.0,
|
| 231 |
+
"launcher": "dq_det",
|
| 232 |
+
"model": "runs/ft/model",
|
| 233 |
+
"packed": null,
|
| 234 |
+
"experts": {
|
| 235 |
+
"found": "eager",
|
| 236 |
+
"ran": "eager"
|
| 237 |
+
},
|
| 238 |
+
"decode": {
|
| 239 |
+
"max_new_tokens": 1024,
|
| 240 |
+
"batch_size": 16,
|
| 241 |
+
"max_prompt_tokens": 2048,
|
| 242 |
+
"greedy": true
|
| 243 |
+
},
|
| 244 |
+
"timeouts": 1,
|
| 245 |
+
"empty": 0,
|
| 246 |
+
"sandbox": "exec/linux/py3.12/rlimits/t=8s/m=4096MB"
|
| 247 |
+
}
|
| 248 |
+
},
|
| 249 |
+
"dq4p": {
|
| 250 |
+
"text2sql": {
|
| 251 |
+
"correct": 1204,
|
| 252 |
+
"total": 2454,
|
| 253 |
+
"accuracy": 0.4906275468622657,
|
| 254 |
+
"seconds": 1950.1,
|
| 255 |
+
"launcher": "dq_det",
|
| 256 |
+
"model": "runs/export/dq4",
|
| 257 |
+
"packed": null,
|
| 258 |
+
"experts": {
|
| 259 |
+
"found": "eager",
|
| 260 |
+
"ran": "eager"
|
| 261 |
+
},
|
| 262 |
+
"decode": {
|
| 263 |
+
"max_new_tokens": 320,
|
| 264 |
+
"batch_size": 32,
|
| 265 |
+
"max_prompt_tokens": 3072,
|
| 266 |
+
"greedy": true
|
| 267 |
+
},
|
| 268 |
+
"by_source": {
|
| 269 |
+
"gretel": [
|
| 270 |
+
467,
|
| 271 |
+
818
|
| 272 |
+
],
|
| 273 |
+
"wikisql": [
|
| 274 |
+
533,
|
| 275 |
+
818
|
| 276 |
+
],
|
| 277 |
+
"spider": [
|
| 278 |
+
204,
|
| 279 |
+
818
|
| 280 |
+
]
|
| 281 |
+
},
|
| 282 |
+
"errored": 624,
|
| 283 |
+
"exact": 778,
|
| 284 |
+
"unparseable": 0
|
| 285 |
+
},
|
| 286 |
+
"humaneval": {
|
| 287 |
+
"correct": 51,
|
| 288 |
+
"total": 164,
|
| 289 |
+
"accuracy": 0.31097560975609756,
|
| 290 |
+
"seconds": 693.5,
|
| 291 |
+
"launcher": "dq_det",
|
| 292 |
+
"model": "runs/export/dq4",
|
| 293 |
+
"packed": null,
|
| 294 |
+
"experts": {
|
| 295 |
+
"found": "eager",
|
| 296 |
+
"ran": "eager"
|
| 297 |
+
},
|
| 298 |
+
"decode": {
|
| 299 |
+
"max_new_tokens": 1024,
|
| 300 |
+
"batch_size": 16,
|
| 301 |
+
"max_prompt_tokens": 2048,
|
| 302 |
+
"greedy": true
|
| 303 |
+
},
|
| 304 |
+
"timeouts": 0,
|
| 305 |
+
"empty": 0,
|
| 306 |
+
"sandbox": "exec/linux/py3.12/rlimits/t=8s/m=4096MB"
|
| 307 |
+
},
|
| 308 |
+
"mbpp": {
|
| 309 |
+
"correct": 141,
|
| 310 |
+
"total": 500,
|
| 311 |
+
"accuracy": 0.282,
|
| 312 |
+
"seconds": 1383.8,
|
| 313 |
+
"launcher": "dq_det",
|
| 314 |
+
"model": "runs/export/dq4",
|
| 315 |
+
"packed": null,
|
| 316 |
+
"experts": {
|
| 317 |
+
"found": "eager",
|
| 318 |
+
"ran": "eager"
|
| 319 |
+
},
|
| 320 |
+
"decode": {
|
| 321 |
+
"max_new_tokens": 1024,
|
| 322 |
+
"batch_size": 16,
|
| 323 |
+
"max_prompt_tokens": 2048,
|
| 324 |
+
"greedy": true
|
| 325 |
+
},
|
| 326 |
+
"timeouts": 2,
|
| 327 |
+
"empty": 0,
|
| 328 |
+
"sandbox": "exec/linux/py3.12/rlimits/t=8s/m=4096MB"
|
| 329 |
+
}
|
| 330 |
+
},
|
| 331 |
+
"dq3p": {
|
| 332 |
+
"text2sql": {
|
| 333 |
+
"correct": 951,
|
| 334 |
+
"total": 2454,
|
| 335 |
+
"accuracy": 0.38753056234718825,
|
| 336 |
+
"seconds": 2415.7,
|
| 337 |
+
"launcher": "dq_det",
|
| 338 |
+
"model": "runs/export/dq3",
|
| 339 |
+
"packed": null,
|
| 340 |
+
"experts": {
|
| 341 |
+
"found": "eager",
|
| 342 |
+
"ran": "eager"
|
| 343 |
+
},
|
| 344 |
+
"decode": {
|
| 345 |
+
"max_new_tokens": 320,
|
| 346 |
+
"batch_size": 32,
|
| 347 |
+
"max_prompt_tokens": 3072,
|
| 348 |
+
"greedy": true
|
| 349 |
+
},
|
| 350 |
+
"by_source": {
|
| 351 |
+
"gretel": [
|
| 352 |
+
372,
|
| 353 |
+
818
|
| 354 |
+
],
|
| 355 |
+
"wikisql": [
|
| 356 |
+
464,
|
| 357 |
+
818
|
| 358 |
+
],
|
| 359 |
+
"spider": [
|
| 360 |
+
115,
|
| 361 |
+
818
|
| 362 |
+
]
|
| 363 |
+
},
|
| 364 |
+
"errored": 817,
|
| 365 |
+
"exact": 576,
|
| 366 |
+
"unparseable": 0
|
| 367 |
+
},
|
| 368 |
+
"humaneval": {
|
| 369 |
+
"correct": 32,
|
| 370 |
+
"total": 164,
|
| 371 |
+
"accuracy": 0.1951219512195122,
|
| 372 |
+
"seconds": 978.3,
|
| 373 |
+
"launcher": "dq_det",
|
| 374 |
+
"model": "runs/export/dq3",
|
| 375 |
+
"packed": null,
|
| 376 |
+
"experts": {
|
| 377 |
+
"found": "eager",
|
| 378 |
+
"ran": "eager"
|
| 379 |
+
},
|
| 380 |
+
"decode": {
|
| 381 |
+
"max_new_tokens": 1024,
|
| 382 |
+
"batch_size": 16,
|
| 383 |
+
"max_prompt_tokens": 2048,
|
| 384 |
+
"greedy": true
|
| 385 |
+
},
|
| 386 |
+
"timeouts": 1,
|
| 387 |
+
"empty": 0,
|
| 388 |
+
"sandbox": "exec/linux/py3.12/rlimits/t=8s/m=4096MB"
|
| 389 |
+
},
|
| 390 |
+
"mbpp": {
|
| 391 |
+
"correct": 100,
|
| 392 |
+
"total": 500,
|
| 393 |
+
"accuracy": 0.2,
|
| 394 |
+
"seconds": 1718.7,
|
| 395 |
+
"launcher": "dq_det",
|
| 396 |
+
"model": "runs/export/dq3",
|
| 397 |
+
"packed": null,
|
| 398 |
+
"experts": {
|
| 399 |
+
"found": "eager",
|
| 400 |
+
"ran": "eager"
|
| 401 |
+
},
|
| 402 |
+
"decode": {
|
| 403 |
+
"max_new_tokens": 1024,
|
| 404 |
+
"batch_size": 16,
|
| 405 |
+
"max_prompt_tokens": 2048,
|
| 406 |
+
"greedy": true
|
| 407 |
+
},
|
| 408 |
+
"timeouts": 0,
|
| 409 |
+
"empty": 0,
|
| 410 |
+
"sandbox": "exec/linux/py3.12/rlimits/t=8s/m=4096MB"
|
| 411 |
+
}
|
| 412 |
+
},
|
| 413 |
+
"u4": {
|
| 414 |
+
"text2sql": {
|
| 415 |
+
"correct": 1074,
|
| 416 |
+
"total": 2454,
|
| 417 |
+
"accuracy": 0.43765281173594134,
|
| 418 |
+
"seconds": 1481.4,
|
| 419 |
+
"launcher": "dq_det",
|
| 420 |
+
"model": "runs/ft/model",
|
| 421 |
+
"packed": {
|
| 422 |
+
"map": "runs/ft/maps.json",
|
| 423 |
+
"apply": "encode",
|
| 424 |
+
"group_size": 128,
|
| 425 |
+
"modules": 205,
|
| 426 |
+
"holds": "compute-dtype values; the size claim is the map's, not this model's",
|
| 427 |
+
"relative_error_median": 0.09587589744336615,
|
| 428 |
+
"relative_error_max": 0.12479219383677037
|
| 429 |
+
},
|
| 430 |
+
"experts": {
|
| 431 |
+
"found": "eager",
|
| 432 |
+
"ran": "eager"
|
| 433 |
+
},
|
| 434 |
+
"decode": {
|
| 435 |
+
"max_new_tokens": 320,
|
| 436 |
+
"batch_size": 32,
|
| 437 |
+
"max_prompt_tokens": 3072,
|
| 438 |
+
"greedy": true
|
| 439 |
+
},
|
| 440 |
+
"by_source": {
|
| 441 |
+
"gretel": [
|
| 442 |
+
415,
|
| 443 |
+
818
|
| 444 |
+
],
|
| 445 |
+
"wikisql": [
|
| 446 |
+
502,
|
| 447 |
+
818
|
| 448 |
+
],
|
| 449 |
+
"spider": [
|
| 450 |
+
157,
|
| 451 |
+
818
|
| 452 |
+
]
|
| 453 |
+
},
|
| 454 |
+
"errored": 710,
|
| 455 |
+
"exact": 707,
|
| 456 |
+
"unparseable": 0
|
| 457 |
+
},
|
| 458 |
+
"humaneval": {
|
| 459 |
+
"correct": 40,
|
| 460 |
+
"total": 164,
|
| 461 |
+
"accuracy": 0.24390243902439024,
|
| 462 |
+
"seconds": 653.5,
|
| 463 |
+
"launcher": "dq_det",
|
| 464 |
+
"model": "runs/ft/model",
|
| 465 |
+
"packed": {
|
| 466 |
+
"map": "runs/ft/maps.json",
|
| 467 |
+
"apply": "encode",
|
| 468 |
+
"group_size": 128,
|
| 469 |
+
"modules": 205,
|
| 470 |
+
"holds": "compute-dtype values; the size claim is the map's, not this model's",
|
| 471 |
+
"relative_error_median": 0.09587589744336615,
|
| 472 |
+
"relative_error_max": 0.12479219383677037
|
| 473 |
+
},
|
| 474 |
+
"experts": {
|
| 475 |
+
"found": "eager",
|
| 476 |
+
"ran": "eager"
|
| 477 |
+
},
|
| 478 |
+
"decode": {
|
| 479 |
+
"max_new_tokens": 1024,
|
| 480 |
+
"batch_size": 16,
|
| 481 |
+
"max_prompt_tokens": 2048,
|
| 482 |
+
"greedy": true
|
| 483 |
+
},
|
| 484 |
+
"timeouts": 0,
|
| 485 |
+
"empty": 0,
|
| 486 |
+
"sandbox": "exec/linux/py3.12/rlimits/t=8s/m=4096MB"
|
| 487 |
+
},
|
| 488 |
+
"mbpp": {
|
| 489 |
+
"correct": 119,
|
| 490 |
+
"total": 500,
|
| 491 |
+
"accuracy": 0.238,
|
| 492 |
+
"seconds": 1191.6,
|
| 493 |
+
"launcher": "dq_det",
|
| 494 |
+
"model": "runs/ft/model",
|
| 495 |
+
"packed": {
|
| 496 |
+
"map": "runs/ft/maps.json",
|
| 497 |
+
"apply": "encode",
|
| 498 |
+
"group_size": 128,
|
| 499 |
+
"modules": 205,
|
| 500 |
+
"holds": "compute-dtype values; the size claim is the map's, not this model's",
|
| 501 |
+
"relative_error_median": 0.09587589744336615,
|
| 502 |
+
"relative_error_max": 0.12479219383677037
|
| 503 |
+
},
|
| 504 |
+
"experts": {
|
| 505 |
+
"found": "eager",
|
| 506 |
+
"ran": "eager"
|
| 507 |
+
},
|
| 508 |
+
"decode": {
|
| 509 |
+
"max_new_tokens": 1024,
|
| 510 |
+
"batch_size": 16,
|
| 511 |
+
"max_prompt_tokens": 2048,
|
| 512 |
+
"greedy": true
|
| 513 |
+
},
|
| 514 |
+
"timeouts": 4,
|
| 515 |
+
"empty": 0,
|
| 516 |
+
"sandbox": "exec/linux/py3.12/rlimits/t=8s/m=4096MB"
|
| 517 |
+
}
|
| 518 |
+
},
|
| 519 |
+
"u3": {
|
| 520 |
+
"text2sql": {
|
| 521 |
+
"correct": 597,
|
| 522 |
+
"total": 2454,
|
| 523 |
+
"accuracy": 0.24327628361858192,
|
| 524 |
+
"seconds": 2217.3,
|
| 525 |
+
"launcher": "dq_det",
|
| 526 |
+
"model": "runs/ft/model",
|
| 527 |
+
"packed": {
|
| 528 |
+
"map": "runs/ft/maps.json",
|
| 529 |
+
"apply": "encode",
|
| 530 |
+
"group_size": 128,
|
| 531 |
+
"modules": 205,
|
| 532 |
+
"holds": "compute-dtype values; the size claim is the map's, not this model's",
|
| 533 |
+
"relative_error_median": 0.188907566424998,
|
| 534 |
+
"relative_error_max": 0.23925855463685822
|
| 535 |
+
},
|
| 536 |
+
"experts": {
|
| 537 |
+
"found": "eager",
|
| 538 |
+
"ran": "eager"
|
| 539 |
+
},
|
| 540 |
+
"decode": {
|
| 541 |
+
"max_new_tokens": 320,
|
| 542 |
+
"batch_size": 32,
|
| 543 |
+
"max_prompt_tokens": 3072,
|
| 544 |
+
"greedy": true
|
| 545 |
+
},
|
| 546 |
+
"by_source": {
|
| 547 |
+
"gretel": [
|
| 548 |
+
231,
|
| 549 |
+
818
|
| 550 |
+
],
|
| 551 |
+
"wikisql": [
|
| 552 |
+
337,
|
| 553 |
+
818
|
| 554 |
+
],
|
| 555 |
+
"spider": [
|
| 556 |
+
29,
|
| 557 |
+
818
|
| 558 |
+
]
|
| 559 |
+
},
|
| 560 |
+
"errored": 777,
|
| 561 |
+
"exact": 406,
|
| 562 |
+
"unparseable": 0
|
| 563 |
+
},
|
| 564 |
+
"humaneval": {
|
| 565 |
+
"correct": 4,
|
| 566 |
+
"total": 164,
|
| 567 |
+
"accuracy": 0.024390243902439025,
|
| 568 |
+
"seconds": 826.3,
|
| 569 |
+
"launcher": "dq_det",
|
| 570 |
+
"model": "runs/ft/model",
|
| 571 |
+
"packed": {
|
| 572 |
+
"map": "runs/ft/maps.json",
|
| 573 |
+
"apply": "encode",
|
| 574 |
+
"group_size": 128,
|
| 575 |
+
"modules": 205,
|
| 576 |
+
"holds": "compute-dtype values; the size claim is the map's, not this model's",
|
| 577 |
+
"relative_error_median": 0.188907566424998,
|
| 578 |
+
"relative_error_max": 0.23925855463685822
|
| 579 |
+
},
|
| 580 |
+
"experts": {
|
| 581 |
+
"found": "eager",
|
| 582 |
+
"ran": "eager"
|
| 583 |
+
},
|
| 584 |
+
"decode": {
|
| 585 |
+
"max_new_tokens": 1024,
|
| 586 |
+
"batch_size": 16,
|
| 587 |
+
"max_prompt_tokens": 2048,
|
| 588 |
+
"greedy": true
|
| 589 |
+
},
|
| 590 |
+
"timeouts": 0,
|
| 591 |
+
"empty": 0,
|
| 592 |
+
"sandbox": "exec/linux/py3.12/rlimits/t=8s/m=4096MB"
|
| 593 |
+
},
|
| 594 |
+
"mbpp": {
|
| 595 |
+
"correct": 32,
|
| 596 |
+
"total": 500,
|
| 597 |
+
"accuracy": 0.064,
|
| 598 |
+
"seconds": 2829.1,
|
| 599 |
+
"launcher": "dq_det",
|
| 600 |
+
"model": "runs/ft/model",
|
| 601 |
+
"packed": {
|
| 602 |
+
"map": "runs/ft/maps.json",
|
| 603 |
+
"apply": "encode",
|
| 604 |
+
"group_size": 128,
|
| 605 |
+
"modules": 205,
|
| 606 |
+
"holds": "compute-dtype values; the size claim is the map's, not this model's",
|
| 607 |
+
"relative_error_median": 0.188907566424998,
|
| 608 |
+
"relative_error_max": 0.23925855463685822
|
| 609 |
+
},
|
| 610 |
+
"experts": {
|
| 611 |
+
"found": "eager",
|
| 612 |
+
"ran": "eager"
|
| 613 |
+
},
|
| 614 |
+
"decode": {
|
| 615 |
+
"max_new_tokens": 1024,
|
| 616 |
+
"batch_size": 16,
|
| 617 |
+
"max_prompt_tokens": 2048,
|
| 618 |
+
"greedy": true
|
| 619 |
+
},
|
| 620 |
+
"timeouts": 2,
|
| 621 |
+
"empty": 0,
|
| 622 |
+
"sandbox": "exec/linux/py3.12/rlimits/t=8s/m=4096MB"
|
| 623 |
+
}
|
| 624 |
+
}
|
| 625 |
+
},
|
| 626 |
+
"comparisons": [
|
| 627 |
+
{
|
| 628 |
+
"arm": "ft",
|
| 629 |
+
"ref": "base-det",
|
| 630 |
+
"label": "fine-tune vs base",
|
| 631 |
+
"task": "text2sql",
|
| 632 |
+
"family": "primary",
|
| 633 |
+
"notes": [],
|
| 634 |
+
"n": 2454,
|
| 635 |
+
"ref_correct": 1052,
|
| 636 |
+
"arm_correct": 1323,
|
| 637 |
+
"arm_only": 387,
|
| 638 |
+
"ref_only": 116,
|
| 639 |
+
"delta_pts": 11.04319478402608,
|
| 640 |
+
"ci95_pts": [
|
| 641 |
+
9.43086582285593,
|
| 642 |
+
12.524333803864641
|
| 643 |
+
],
|
| 644 |
+
"p": 4.256370490188364e-35,
|
| 645 |
+
"p_holm": 6.810192784301383e-34,
|
| 646 |
+
"verdict": "separated"
|
| 647 |
+
},
|
| 648 |
+
{
|
| 649 |
+
"arm": "ft",
|
| 650 |
+
"ref": "base-det",
|
| 651 |
+
"label": "fine-tune vs base",
|
| 652 |
+
"task": "text2sql/gretel",
|
| 653 |
+
"family": "exploratory",
|
| 654 |
+
"n": 818,
|
| 655 |
+
"ref_correct": 433,
|
| 656 |
+
"arm_correct": 492,
|
| 657 |
+
"arm_only": 97,
|
| 658 |
+
"ref_only": 38,
|
| 659 |
+
"delta_pts": 7.212713936430318,
|
| 660 |
+
"ci95_pts": [
|
| 661 |
+
4.446005293617086,
|
| 662 |
+
9.654277767645324
|
| 663 |
+
],
|
| 664 |
+
"p": 3.957630638799941e-07
|
| 665 |
+
},
|
| 666 |
+
{
|
| 667 |
+
"arm": "ft",
|
| 668 |
+
"ref": "base-det",
|
| 669 |
+
"label": "fine-tune vs base",
|
| 670 |
+
"task": "text2sql/wikisql",
|
| 671 |
+
"family": "exploratory",
|
| 672 |
+
"n": 818,
|
| 673 |
+
"ref_correct": 423,
|
| 674 |
+
"arm_correct": 621,
|
| 675 |
+
"arm_only": 233,
|
| 676 |
+
"ref_only": 35,
|
| 677 |
+
"delta_pts": 24.205378973105134,
|
| 678 |
+
"ci95_pts": [
|
| 679 |
+
21.169826961277405,
|
| 680 |
+
26.689991206073728
|
| 681 |
+
],
|
| 682 |
+
"p": 4.538852113773027e-37
|
| 683 |
+
},
|
| 684 |
+
{
|
| 685 |
+
"arm": "ft",
|
| 686 |
+
"ref": "base-det",
|
| 687 |
+
"label": "fine-tune vs base",
|
| 688 |
+
"task": "text2sql/spider",
|
| 689 |
+
"family": "exploratory",
|
| 690 |
+
"n": 818,
|
| 691 |
+
"ref_correct": 196,
|
| 692 |
+
"arm_correct": 210,
|
| 693 |
+
"arm_only": 57,
|
| 694 |
+
"ref_only": 43,
|
| 695 |
+
"delta_pts": 1.7114914425427872,
|
| 696 |
+
"ci95_pts": [
|
| 697 |
+
-0.8035760800774148,
|
| 698 |
+
4.122469031017516
|
| 699 |
+
],
|
| 700 |
+
"p": 0.19334790449564246
|
| 701 |
+
},
|
| 702 |
+
{
|
| 703 |
+
"arm": "ft",
|
| 704 |
+
"ref": "base-det",
|
| 705 |
+
"label": "fine-tune vs base",
|
| 706 |
+
"task": "humaneval",
|
| 707 |
+
"family": "primary",
|
| 708 |
+
"notes": [],
|
| 709 |
+
"n": 164,
|
| 710 |
+
"ref_correct": 51,
|
| 711 |
+
"arm_correct": 50,
|
| 712 |
+
"arm_only": 16,
|
| 713 |
+
"ref_only": 17,
|
| 714 |
+
"delta_pts": -0.6097560975609756,
|
| 715 |
+
"ci95_pts": [
|
| 716 |
+
-7.7283004402974536,
|
| 717 |
+
6.622356357533728
|
| 718 |
+
],
|
| 719 |
+
"p": 1.0,
|
| 720 |
+
"p_holm": 1.0,
|
| 721 |
+
"verdict": "not separated"
|
| 722 |
+
},
|
| 723 |
+
{
|
| 724 |
+
"arm": "ft",
|
| 725 |
+
"ref": "base-det",
|
| 726 |
+
"label": "fine-tune vs base",
|
| 727 |
+
"task": "mbpp",
|
| 728 |
+
"family": "primary",
|
| 729 |
+
"notes": [],
|
| 730 |
+
"n": 500,
|
| 731 |
+
"ref_correct": 127,
|
| 732 |
+
"arm_correct": 144,
|
| 733 |
+
"arm_only": 42,
|
| 734 |
+
"ref_only": 25,
|
| 735 |
+
"delta_pts": 3.4000000000000004,
|
| 736 |
+
"ci95_pts": [
|
| 737 |
+
0.0028071397301724587,
|
| 738 |
+
6.486292439541078
|
| 739 |
+
],
|
| 740 |
+
"p": 0.049800114294728665,
|
| 741 |
+
"p_holm": 0.24900057147364332,
|
| 742 |
+
"verdict": "not separated"
|
| 743 |
+
},
|
| 744 |
+
{
|
| 745 |
+
"arm": "ft",
|
| 746 |
+
"ref": "base-det",
|
| 747 |
+
"label": "fine-tune vs base",
|
| 748 |
+
"task": "code (humaneval+mbpp)",
|
| 749 |
+
"family": "exploratory",
|
| 750 |
+
"n": 664,
|
| 751 |
+
"ref_correct": 178,
|
| 752 |
+
"arm_correct": 194,
|
| 753 |
+
"arm_only": 58,
|
| 754 |
+
"ref_only": 42,
|
| 755 |
+
"delta_pts": 2.4096385542168677,
|
| 756 |
+
"ci95_pts": [
|
| 757 |
+
-0.6891808516897325,
|
| 758 |
+
5.361881344735023
|
| 759 |
+
],
|
| 760 |
+
"p": 0.13321061920721333
|
| 761 |
+
},
|
| 762 |
+
{
|
| 763 |
+
"arm": "dq4p",
|
| 764 |
+
"ref": "ft",
|
| 765 |
+
"label": "DynQuant 4-bit vs the bf16 fine-tune",
|
| 766 |
+
"task": "text2sql",
|
| 767 |
+
"family": "primary",
|
| 768 |
+
"notes": [],
|
| 769 |
+
"n": 2454,
|
| 770 |
+
"ref_correct": 1323,
|
| 771 |
+
"arm_correct": 1204,
|
| 772 |
+
"arm_only": 110,
|
| 773 |
+
"ref_only": 229,
|
| 774 |
+
"delta_pts": -4.849225753871231,
|
| 775 |
+
"ci95_pts": [
|
| 776 |
+
-6.219225399922738,
|
| 777 |
+
-3.393595321015852
|
| 778 |
+
],
|
| 779 |
+
"p": 9.483842661366671e-11,
|
| 780 |
+
"p_holm": 1.327737972591334e-09,
|
| 781 |
+
"verdict": "separated"
|
| 782 |
+
},
|
| 783 |
+
{
|
| 784 |
+
"arm": "dq4p",
|
| 785 |
+
"ref": "ft",
|
| 786 |
+
"label": "DynQuant 4-bit vs the bf16 fine-tune",
|
| 787 |
+
"task": "text2sql/gretel",
|
| 788 |
+
"family": "exploratory",
|
| 789 |
+
"n": 818,
|
| 790 |
+
"ref_correct": 492,
|
| 791 |
+
"arm_correct": 467,
|
| 792 |
+
"arm_only": 27,
|
| 793 |
+
"ref_only": 52,
|
| 794 |
+
"delta_pts": -3.056234718826406,
|
| 795 |
+
"ci95_pts": [
|
| 796 |
+
-5.047058383073155,
|
| 797 |
+
-0.8286429356631332
|
| 798 |
+
],
|
| 799 |
+
"p": 0.006553297670283774
|
| 800 |
+
},
|
| 801 |
+
{
|
| 802 |
+
"arm": "dq4p",
|
| 803 |
+
"ref": "ft",
|
| 804 |
+
"label": "DynQuant 4-bit vs the bf16 fine-tune",
|
| 805 |
+
"task": "text2sql/wikisql",
|
| 806 |
+
"family": "exploratory",
|
| 807 |
+
"n": 818,
|
| 808 |
+
"ref_correct": 621,
|
| 809 |
+
"arm_correct": 533,
|
| 810 |
+
"arm_only": 32,
|
| 811 |
+
"ref_only": 120,
|
| 812 |
+
"delta_pts": -10.757946210268948,
|
| 813 |
+
"ci95_pts": [
|
| 814 |
+
-13.056428050951233,
|
| 815 |
+
-8.027261194482165
|
| 816 |
+
],
|
| 817 |
+
"p": 3.531089931549762e-13
|
| 818 |
+
},
|
| 819 |
+
{
|
| 820 |
+
"arm": "dq4p",
|
| 821 |
+
"ref": "ft",
|
| 822 |
+
"label": "DynQuant 4-bit vs the bf16 fine-tune",
|
| 823 |
+
"task": "text2sql/spider",
|
| 824 |
+
"family": "exploratory",
|
| 825 |
+
"n": 818,
|
| 826 |
+
"ref_correct": 210,
|
| 827 |
+
"arm_correct": 204,
|
| 828 |
+
"arm_only": 51,
|
| 829 |
+
"ref_only": 57,
|
| 830 |
+
"delta_pts": -0.7334963325183375,
|
| 831 |
+
"ci95_pts": [
|
| 832 |
+
-3.2904780054010936,
|
| 833 |
+
1.8647232504177085
|
| 834 |
+
],
|
| 835 |
+
"p": 0.6306338345308315
|
| 836 |
+
},
|
| 837 |
+
{
|
| 838 |
+
"arm": "dq4p",
|
| 839 |
+
"ref": "ft",
|
| 840 |
+
"label": "DynQuant 4-bit vs the bf16 fine-tune",
|
| 841 |
+
"task": "humaneval",
|
| 842 |
+
"family": "primary",
|
| 843 |
+
"notes": [],
|
| 844 |
+
"n": 164,
|
| 845 |
+
"ref_correct": 50,
|
| 846 |
+
"arm_correct": 51,
|
| 847 |
+
"arm_only": 13,
|
| 848 |
+
"ref_only": 12,
|
| 849 |
+
"delta_pts": 0.6097560975609756,
|
| 850 |
+
"ci95_pts": [
|
| 851 |
+
-5.699480351919742,
|
| 852 |
+
6.769267997867488
|
| 853 |
+
],
|
| 854 |
+
"p": 1.0,
|
| 855 |
+
"p_holm": 1.0,
|
| 856 |
+
"verdict": "not separated"
|
| 857 |
+
},
|
| 858 |
+
{
|
| 859 |
+
"arm": "dq4p",
|
| 860 |
+
"ref": "ft",
|
| 861 |
+
"label": "DynQuant 4-bit vs the bf16 fine-tune",
|
| 862 |
+
"task": "mbpp",
|
| 863 |
+
"family": "primary",
|
| 864 |
+
"notes": [],
|
| 865 |
+
"n": 500,
|
| 866 |
+
"ref_correct": 144,
|
| 867 |
+
"arm_correct": 141,
|
| 868 |
+
"arm_only": 21,
|
| 869 |
+
"ref_only": 24,
|
| 870 |
+
"delta_pts": -0.6,
|
| 871 |
+
"ci95_pts": [
|
| 872 |
+
-3.3011851860463253,
|
| 873 |
+
2.1830397104256463
|
| 874 |
+
],
|
| 875 |
+
"p": 0.765991824244793,
|
| 876 |
+
"p_holm": 1.0,
|
| 877 |
+
"verdict": "not separated"
|
| 878 |
+
},
|
| 879 |
+
{
|
| 880 |
+
"arm": "dq4p",
|
| 881 |
+
"ref": "ft",
|
| 882 |
+
"label": "DynQuant 4-bit vs the bf16 fine-tune",
|
| 883 |
+
"task": "code (humaneval+mbpp)",
|
| 884 |
+
"family": "exploratory",
|
| 885 |
+
"n": 664,
|
| 886 |
+
"ref_correct": 194,
|
| 887 |
+
"arm_correct": 192,
|
| 888 |
+
"arm_only": 34,
|
| 889 |
+
"ref_only": 36,
|
| 890 |
+
"delta_pts": -0.30120481927710846,
|
| 891 |
+
"ci95_pts": [
|
| 892 |
+
-2.8589907835760946,
|
| 893 |
+
2.2828680906024372
|
| 894 |
+
],
|
| 895 |
+
"p": 0.9049745264594623
|
| 896 |
+
},
|
| 897 |
+
{
|
| 898 |
+
"arm": "dq3p",
|
| 899 |
+
"ref": "ft",
|
| 900 |
+
"label": "DynQuant 3-bit vs the bf16 fine-tune",
|
| 901 |
+
"task": "text2sql",
|
| 902 |
+
"family": "primary",
|
| 903 |
+
"notes": [],
|
| 904 |
+
"n": 2454,
|
| 905 |
+
"ref_correct": 1323,
|
| 906 |
+
"arm_correct": 951,
|
| 907 |
+
"arm_only": 91,
|
| 908 |
+
"ref_only": 463,
|
| 909 |
+
"delta_pts": -15.158924205378973,
|
| 910 |
+
"ci95_pts": [
|
| 911 |
+
-16.508782375561275,
|
| 912 |
+
-13.645063363940654
|
| 913 |
+
],
|
| 914 |
+
"p": 5.655525565890677e-61,
|
| 915 |
+
"p_holm": 1.0179946018603218e-59,
|
| 916 |
+
"verdict": "separated"
|
| 917 |
+
},
|
| 918 |
+
{
|
| 919 |
+
"arm": "dq3p",
|
| 920 |
+
"ref": "ft",
|
| 921 |
+
"label": "DynQuant 3-bit vs the bf16 fine-tune",
|
| 922 |
+
"task": "text2sql/gretel",
|
| 923 |
+
"family": "exploratory",
|
| 924 |
+
"n": 818,
|
| 925 |
+
"ref_correct": 492,
|
| 926 |
+
"arm_correct": 372,
|
| 927 |
+
"arm_only": 29,
|
| 928 |
+
"ref_only": 149,
|
| 929 |
+
"delta_pts": -14.66992665036675,
|
| 930 |
+
"ci95_pts": [
|
| 931 |
+
-16.89005566856141,
|
| 932 |
+
-11.945222254392958
|
| 933 |
+
],
|
| 934 |
+
"p": 1.1953898175766883e-20
|
| 935 |
+
},
|
| 936 |
+
{
|
| 937 |
+
"arm": "dq3p",
|
| 938 |
+
"ref": "ft",
|
| 939 |
+
"label": "DynQuant 3-bit vs the bf16 fine-tune",
|
| 940 |
+
"task": "text2sql/wikisql",
|
| 941 |
+
"family": "exploratory",
|
| 942 |
+
"n": 818,
|
| 943 |
+
"ref_correct": 621,
|
| 944 |
+
"arm_correct": 464,
|
| 945 |
+
"arm_only": 31,
|
| 946 |
+
"ref_only": 188,
|
| 947 |
+
"delta_pts": -19.193154034229828,
|
| 948 |
+
"ci95_pts": [
|
| 949 |
+
-21.511938091533587,
|
| 950 |
+
-16.3384243002621
|
| 951 |
+
],
|
| 952 |
+
"p": 1.3280183862899444e-28
|
| 953 |
+
},
|
| 954 |
+
{
|
| 955 |
+
"arm": "dq3p",
|
| 956 |
+
"ref": "ft",
|
| 957 |
+
"label": "DynQuant 3-bit vs the bf16 fine-tune",
|
| 958 |
+
"task": "text2sql/spider",
|
| 959 |
+
"family": "exploratory",
|
| 960 |
+
"n": 818,
|
| 961 |
+
"ref_correct": 210,
|
| 962 |
+
"arm_correct": 115,
|
| 963 |
+
"arm_only": 31,
|
| 964 |
+
"ref_only": 126,
|
| 965 |
+
"delta_pts": -11.613691931540341,
|
| 966 |
+
"ci95_pts": [
|
| 967 |
+
-13.88519314216671,
|
| 968 |
+
-8.890126874773438
|
| 969 |
+
],
|
| 970 |
+
"p": 8.674266576878856e-15
|
| 971 |
+
},
|
| 972 |
+
{
|
| 973 |
+
"arm": "dq3p",
|
| 974 |
+
"ref": "ft",
|
| 975 |
+
"label": "DynQuant 3-bit vs the bf16 fine-tune",
|
| 976 |
+
"task": "humaneval",
|
| 977 |
+
"family": "primary",
|
| 978 |
+
"notes": [],
|
| 979 |
+
"n": 164,
|
| 980 |
+
"ref_correct": 50,
|
| 981 |
+
"arm_correct": 32,
|
| 982 |
+
"arm_only": 8,
|
| 983 |
+
"ref_only": 26,
|
| 984 |
+
"delta_pts": -10.975609756097562,
|
| 985 |
+
"ci95_pts": [
|
| 986 |
+
-16.275973492255645,
|
| 987 |
+
-3.6608943599467514
|
| 988 |
+
],
|
| 989 |
+
"p": 0.0029350556433200836,
|
| 990 |
+
"p_holm": 0.026415500789880753,
|
| 991 |
+
"verdict": "separated"
|
| 992 |
+
},
|
| 993 |
+
{
|
| 994 |
+
"arm": "dq3p",
|
| 995 |
+
"ref": "ft",
|
| 996 |
+
"label": "DynQuant 3-bit vs the bf16 fine-tune",
|
| 997 |
+
"task": "mbpp",
|
| 998 |
+
"family": "primary",
|
| 999 |
+
"notes": [],
|
| 1000 |
+
"n": 500,
|
| 1001 |
+
"ref_correct": 144,
|
| 1002 |
+
"arm_correct": 100,
|
| 1003 |
+
"arm_only": 19,
|
| 1004 |
+
"ref_only": 63,
|
| 1005 |
+
"delta_pts": -8.799999999999999,
|
| 1006 |
+
"ci95_pts": [
|
| 1007 |
+
-11.623047821742047,
|
| 1008 |
+
-5.3151717180651925
|
| 1009 |
+
],
|
| 1010 |
+
"p": 1.1467543245820193e-06,
|
| 1011 |
+
"p_holm": 1.1467543245820192e-05,
|
| 1012 |
+
"verdict": "separated"
|
| 1013 |
+
},
|
| 1014 |
+
{
|
| 1015 |
+
"arm": "dq3p",
|
| 1016 |
+
"ref": "ft",
|
| 1017 |
+
"label": "DynQuant 3-bit vs the bf16 fine-tune",
|
| 1018 |
+
"task": "code (humaneval+mbpp)",
|
| 1019 |
+
"family": "exploratory",
|
| 1020 |
+
"n": 664,
|
| 1021 |
+
"ref_correct": 194,
|
| 1022 |
+
"arm_correct": 132,
|
| 1023 |
+
"arm_only": 27,
|
| 1024 |
+
"ref_only": 89,
|
| 1025 |
+
"delta_pts": -9.33734939759036,
|
| 1026 |
+
"ci95_pts": [
|
| 1027 |
+
-11.902688310148866,
|
| 1028 |
+
-6.2789475972142235
|
| 1029 |
+
],
|
| 1030 |
+
"p": 6.4389951042590304e-09
|
| 1031 |
+
},
|
| 1032 |
+
{
|
| 1033 |
+
"arm": "dq4p",
|
| 1034 |
+
"ref": "u4",
|
| 1035 |
+
"label": "DynQuant 4-bit vs uniform 4-bit",
|
| 1036 |
+
"task": "text2sql",
|
| 1037 |
+
"family": "primary",
|
| 1038 |
+
"notes": [],
|
| 1039 |
+
"n": 2454,
|
| 1040 |
+
"ref_correct": 1074,
|
| 1041 |
+
"arm_correct": 1204,
|
| 1042 |
+
"arm_only": 273,
|
| 1043 |
+
"ref_only": 143,
|
| 1044 |
+
"delta_pts": 5.297473512632437,
|
| 1045 |
+
"ci95_pts": [
|
| 1046 |
+
3.6758347527898425,
|
| 1047 |
+
6.843127024781686
|
| 1048 |
+
],
|
| 1049 |
+
"p": 1.8181554605381482e-10,
|
| 1050 |
+
"p_holm": 2.3636020986995925e-09,
|
| 1051 |
+
"verdict": "separated"
|
| 1052 |
+
},
|
| 1053 |
+
{
|
| 1054 |
+
"arm": "dq4p",
|
| 1055 |
+
"ref": "u4",
|
| 1056 |
+
"label": "DynQuant 4-bit vs uniform 4-bit",
|
| 1057 |
+
"task": "text2sql/gretel",
|
| 1058 |
+
"family": "exploratory",
|
| 1059 |
+
"n": 818,
|
| 1060 |
+
"ref_correct": 415,
|
| 1061 |
+
"arm_correct": 467,
|
| 1062 |
+
"arm_only": 98,
|
| 1063 |
+
"ref_only": 46,
|
| 1064 |
+
"delta_pts": 6.356968215158925,
|
| 1065 |
+
"ci95_pts": [
|
| 1066 |
+
3.4426276899764408,
|
| 1067 |
+
9.003477473123624
|
| 1068 |
+
],
|
| 1069 |
+
"p": 1.7548498975411193e-05
|
| 1070 |
+
},
|
| 1071 |
+
{
|
| 1072 |
+
"arm": "dq4p",
|
| 1073 |
+
"ref": "u4",
|
| 1074 |
+
"label": "DynQuant 4-bit vs uniform 4-bit",
|
| 1075 |
+
"task": "text2sql/wikisql",
|
| 1076 |
+
"family": "exploratory",
|
| 1077 |
+
"n": 818,
|
| 1078 |
+
"ref_correct": 502,
|
| 1079 |
+
"arm_correct": 533,
|
| 1080 |
+
"arm_only": 90,
|
| 1081 |
+
"ref_only": 59,
|
| 1082 |
+
"delta_pts": 3.7897310513447433,
|
| 1083 |
+
"ci95_pts": [
|
| 1084 |
+
0.7547273919700828,
|
| 1085 |
+
6.670889462397156
|
| 1086 |
+
],
|
| 1087 |
+
"p": 0.013712033079849216
|
| 1088 |
+
},
|
| 1089 |
+
{
|
| 1090 |
+
"arm": "dq4p",
|
| 1091 |
+
"ref": "u4",
|
| 1092 |
+
"label": "DynQuant 4-bit vs uniform 4-bit",
|
| 1093 |
+
"task": "text2sql/spider",
|
| 1094 |
+
"family": "exploratory",
|
| 1095 |
+
"n": 818,
|
| 1096 |
+
"ref_correct": 157,
|
| 1097 |
+
"arm_correct": 204,
|
| 1098 |
+
"arm_only": 85,
|
| 1099 |
+
"ref_only": 38,
|
| 1100 |
+
"delta_pts": 5.745721271393643,
|
| 1101 |
+
"ci95_pts": [
|
| 1102 |
+
3.050311369914509,
|
| 1103 |
+
8.156830261319138
|
| 1104 |
+
],
|
| 1105 |
+
"p": 2.720422673945318e-05
|
| 1106 |
+
},
|
| 1107 |
+
{
|
| 1108 |
+
"arm": "dq4p",
|
| 1109 |
+
"ref": "u4",
|
| 1110 |
+
"label": "DynQuant 4-bit vs uniform 4-bit",
|
| 1111 |
+
"task": "humaneval",
|
| 1112 |
+
"family": "primary",
|
| 1113 |
+
"notes": [],
|
| 1114 |
+
"n": 164,
|
| 1115 |
+
"ref_correct": 40,
|
| 1116 |
+
"arm_correct": 51,
|
| 1117 |
+
"arm_only": 20,
|
| 1118 |
+
"ref_only": 9,
|
| 1119 |
+
"delta_pts": 6.707317073170732,
|
| 1120 |
+
"ci95_pts": [
|
| 1121 |
+
-0.2943625127927925,
|
| 1122 |
+
12.277399696767908
|
| 1123 |
+
],
|
| 1124 |
+
"p": 0.06142834573984146,
|
| 1125 |
+
"p_holm": 0.24900057147364332,
|
| 1126 |
+
"verdict": "not separated"
|
| 1127 |
+
},
|
| 1128 |
+
{
|
| 1129 |
+
"arm": "dq4p",
|
| 1130 |
+
"ref": "u4",
|
| 1131 |
+
"label": "DynQuant 4-bit vs uniform 4-bit",
|
| 1132 |
+
"task": "mbpp",
|
| 1133 |
+
"family": "primary",
|
| 1134 |
+
"notes": [],
|
| 1135 |
+
"n": 500,
|
| 1136 |
+
"ref_correct": 119,
|
| 1137 |
+
"arm_correct": 141,
|
| 1138 |
+
"arm_only": 46,
|
| 1139 |
+
"ref_only": 24,
|
| 1140 |
+
"delta_pts": 4.3999999999999995,
|
| 1141 |
+
"ci95_pts": [
|
| 1142 |
+
0.9521129789566412,
|
| 1143 |
+
7.462517028168896
|
| 1144 |
+
],
|
| 1145 |
+
"p": 0.011526409654363481,
|
| 1146 |
+
"p_holm": 0.07435417175292969,
|
| 1147 |
+
"verdict": "not separated"
|
| 1148 |
+
},
|
| 1149 |
+
{
|
| 1150 |
+
"arm": "dq4p",
|
| 1151 |
+
"ref": "u4",
|
| 1152 |
+
"label": "DynQuant 4-bit vs uniform 4-bit",
|
| 1153 |
+
"task": "code (humaneval+mbpp)",
|
| 1154 |
+
"family": "exploratory",
|
| 1155 |
+
"n": 664,
|
| 1156 |
+
"ref_correct": 159,
|
| 1157 |
+
"arm_correct": 192,
|
| 1158 |
+
"arm_only": 66,
|
| 1159 |
+
"ref_only": 33,
|
| 1160 |
+
"delta_pts": 4.969879518072289,
|
| 1161 |
+
"ci95_pts": [
|
| 1162 |
+
1.9328599136565345,
|
| 1163 |
+
7.700634016925539
|
| 1164 |
+
],
|
| 1165 |
+
"p": 0.0011852314254676957
|
| 1166 |
+
},
|
| 1167 |
+
{
|
| 1168 |
+
"arm": "dq3p",
|
| 1169 |
+
"ref": "u3",
|
| 1170 |
+
"label": "DynQuant 3-bit vs uniform 3-bit",
|
| 1171 |
+
"task": "text2sql",
|
| 1172 |
+
"family": "primary",
|
| 1173 |
+
"notes": [],
|
| 1174 |
+
"n": 2454,
|
| 1175 |
+
"ref_correct": 597,
|
| 1176 |
+
"arm_correct": 951,
|
| 1177 |
+
"arm_only": 519,
|
| 1178 |
+
"ref_only": 165,
|
| 1179 |
+
"delta_pts": 14.425427872860636,
|
| 1180 |
+
"ci95_pts": [
|
| 1181 |
+
12.537346114538186,
|
| 1182 |
+
16.18804977376616
|
| 1183 |
+
],
|
| 1184 |
+
"p": 1.718266659366394e-43,
|
| 1185 |
+
"p_holm": 2.9210533209228696e-42,
|
| 1186 |
+
"verdict": "separated"
|
| 1187 |
+
},
|
| 1188 |
+
{
|
| 1189 |
+
"arm": "dq3p",
|
| 1190 |
+
"ref": "u3",
|
| 1191 |
+
"label": "DynQuant 3-bit vs uniform 3-bit",
|
| 1192 |
+
"task": "text2sql/gretel",
|
| 1193 |
+
"family": "exploratory",
|
| 1194 |
+
"n": 818,
|
| 1195 |
+
"ref_correct": 231,
|
| 1196 |
+
"arm_correct": 372,
|
| 1197 |
+
"arm_only": 197,
|
| 1198 |
+
"ref_only": 56,
|
| 1199 |
+
"delta_pts": 17.237163814180928,
|
| 1200 |
+
"ci95_pts": [
|
| 1201 |
+
13.757502938607624,
|
| 1202 |
+
20.305081268180952
|
| 1203 |
+
],
|
| 1204 |
+
"p": 1.396032018692709e-19
|
| 1205 |
+
},
|
| 1206 |
+
{
|
| 1207 |
+
"arm": "dq3p",
|
| 1208 |
+
"ref": "u3",
|
| 1209 |
+
"label": "DynQuant 3-bit vs uniform 3-bit",
|
| 1210 |
+
"task": "text2sql/wikisql",
|
| 1211 |
+
"family": "exploratory",
|
| 1212 |
+
"n": 818,
|
| 1213 |
+
"ref_correct": 337,
|
| 1214 |
+
"arm_correct": 464,
|
| 1215 |
+
"arm_only": 225,
|
| 1216 |
+
"ref_only": 98,
|
| 1217 |
+
"delta_pts": 15.52567237163814,
|
| 1218 |
+
"ci95_pts": [
|
| 1219 |
+
11.314417513071891,
|
| 1220 |
+
19.44879278752957
|
| 1221 |
+
],
|
| 1222 |
+
"p": 1.2197898902055296e-12
|
| 1223 |
+
},
|
| 1224 |
+
{
|
| 1225 |
+
"arm": "dq3p",
|
| 1226 |
+
"ref": "u3",
|
| 1227 |
+
"label": "DynQuant 3-bit vs uniform 3-bit",
|
| 1228 |
+
"task": "text2sql/spider",
|
| 1229 |
+
"family": "exploratory",
|
| 1230 |
+
"n": 818,
|
| 1231 |
+
"ref_correct": 29,
|
| 1232 |
+
"arm_correct": 115,
|
| 1233 |
+
"arm_only": 97,
|
| 1234 |
+
"ref_only": 11,
|
| 1235 |
+
"delta_pts": 10.513447432762836,
|
| 1236 |
+
"ci95_pts": [
|
| 1237 |
+
8.583597422714222,
|
| 1238 |
+
11.831127279049262
|
| 1239 |
+
],
|
| 1240 |
+
"p": 2.3912424541662617e-18
|
| 1241 |
+
},
|
| 1242 |
+
{
|
| 1243 |
+
"arm": "dq3p",
|
| 1244 |
+
"ref": "u3",
|
| 1245 |
+
"label": "DynQuant 3-bit vs uniform 3-bit",
|
| 1246 |
+
"task": "humaneval",
|
| 1247 |
+
"family": "primary",
|
| 1248 |
+
"notes": [],
|
| 1249 |
+
"n": 164,
|
| 1250 |
+
"ref_correct": 4,
|
| 1251 |
+
"arm_correct": 32,
|
| 1252 |
+
"arm_only": 29,
|
| 1253 |
+
"ref_only": 1,
|
| 1254 |
+
"delta_pts": 17.073170731707318,
|
| 1255 |
+
"ci95_pts": [
|
| 1256 |
+
11.993800403655968,
|
| 1257 |
+
18.261820575854983
|
| 1258 |
+
],
|
| 1259 |
+
"p": 5.774199962615967e-08,
|
| 1260 |
+
"p_holm": 6.92903995513916e-07,
|
| 1261 |
+
"verdict": "separated"
|
| 1262 |
+
},
|
| 1263 |
+
{
|
| 1264 |
+
"arm": "dq3p",
|
| 1265 |
+
"ref": "u3",
|
| 1266 |
+
"label": "DynQuant 3-bit vs uniform 3-bit",
|
| 1267 |
+
"task": "mbpp",
|
| 1268 |
+
"family": "primary",
|
| 1269 |
+
"notes": [],
|
| 1270 |
+
"n": 500,
|
| 1271 |
+
"ref_correct": 32,
|
| 1272 |
+
"arm_correct": 100,
|
| 1273 |
+
"arm_only": 80,
|
| 1274 |
+
"ref_only": 12,
|
| 1275 |
+
"delta_pts": 13.600000000000001,
|
| 1276 |
+
"ci95_pts": [
|
| 1277 |
+
10.423186041453063,
|
| 1278 |
+
15.851501175375839
|
| 1279 |
+
],
|
| 1280 |
+
"p": 1.715599535972955e-13,
|
| 1281 |
+
"p_holm": 2.5733993039594324e-12,
|
| 1282 |
+
"verdict": "separated"
|
| 1283 |
+
},
|
| 1284 |
+
{
|
| 1285 |
+
"arm": "dq3p",
|
| 1286 |
+
"ref": "u3",
|
| 1287 |
+
"label": "DynQuant 3-bit vs uniform 3-bit",
|
| 1288 |
+
"task": "code (humaneval+mbpp)",
|
| 1289 |
+
"family": "exploratory",
|
| 1290 |
+
"n": 664,
|
| 1291 |
+
"ref_correct": 36,
|
| 1292 |
+
"arm_correct": 132,
|
| 1293 |
+
"arm_only": 109,
|
| 1294 |
+
"ref_only": 13,
|
| 1295 |
+
"delta_pts": 14.457831325301203,
|
| 1296 |
+
"ci95_pts": [
|
| 1297 |
+
11.930927061593852,
|
| 1298 |
+
16.243260478439197
|
| 1299 |
+
],
|
| 1300 |
+
"p": 4.678198660220995e-20
|
| 1301 |
+
},
|
| 1302 |
+
{
|
| 1303 |
+
"arm": "base",
|
| 1304 |
+
"ref": "base-det",
|
| 1305 |
+
"label": "plain vs deterministic launcher, base model",
|
| 1306 |
+
"task": "text2sql",
|
| 1307 |
+
"family": "secondary",
|
| 1308 |
+
"notes": [
|
| 1309 |
+
"launcher: dq_det vs plain"
|
| 1310 |
+
],
|
| 1311 |
+
"n": 2454,
|
| 1312 |
+
"ref_correct": 1052,
|
| 1313 |
+
"arm_correct": 1040,
|
| 1314 |
+
"arm_only": 20,
|
| 1315 |
+
"ref_only": 32,
|
| 1316 |
+
"delta_pts": -0.4889975550122249,
|
| 1317 |
+
"ci95_pts": [
|
| 1318 |
+
-1.0465835772352825,
|
| 1319 |
+
0.1263560932520671
|
| 1320 |
+
],
|
| 1321 |
+
"p": 0.12634707581392135
|
| 1322 |
+
},
|
| 1323 |
+
{
|
| 1324 |
+
"arm": "base",
|
| 1325 |
+
"ref": "base-det",
|
| 1326 |
+
"label": "plain vs deterministic launcher, base model",
|
| 1327 |
+
"task": "text2sql/gretel",
|
| 1328 |
+
"family": "exploratory",
|
| 1329 |
+
"n": 818,
|
| 1330 |
+
"ref_correct": 433,
|
| 1331 |
+
"arm_correct": 423,
|
| 1332 |
+
"arm_only": 3,
|
| 1333 |
+
"ref_only": 13,
|
| 1334 |
+
"delta_pts": -1.2224938875305624,
|
| 1335 |
+
"ci95_pts": [
|
| 1336 |
+
-1.7976577646711165,
|
| 1337 |
+
-0.17034113943623744
|
| 1338 |
+
],
|
| 1339 |
+
"p": 0.021270751953125
|
| 1340 |
+
},
|
| 1341 |
+
{
|
| 1342 |
+
"arm": "base",
|
| 1343 |
+
"ref": "base-det",
|
| 1344 |
+
"label": "plain vs deterministic launcher, base model",
|
| 1345 |
+
"task": "text2sql/wikisql",
|
| 1346 |
+
"family": "exploratory",
|
| 1347 |
+
"n": 818,
|
| 1348 |
+
"ref_correct": 423,
|
| 1349 |
+
"arm_correct": 424,
|
| 1350 |
+
"arm_only": 12,
|
| 1351 |
+
"ref_only": 11,
|
| 1352 |
+
"delta_pts": 0.12224938875305623,
|
| 1353 |
+
"ci95_pts": [
|
| 1354 |
+
-1.0916396004152165,
|
| 1355 |
+
1.3035422293306311
|
| 1356 |
+
],
|
| 1357 |
+
"p": 1.0
|
| 1358 |
+
},
|
| 1359 |
+
{
|
| 1360 |
+
"arm": "base",
|
| 1361 |
+
"ref": "base-det",
|
| 1362 |
+
"label": "plain vs deterministic launcher, base model",
|
| 1363 |
+
"task": "text2sql/spider",
|
| 1364 |
+
"family": "exploratory",
|
| 1365 |
+
"n": 818,
|
| 1366 |
+
"ref_correct": 196,
|
| 1367 |
+
"arm_correct": 193,
|
| 1368 |
+
"arm_only": 5,
|
| 1369 |
+
"ref_only": 8,
|
| 1370 |
+
"delta_pts": -0.36674816625916873,
|
| 1371 |
+
"ci95_pts": [
|
| 1372 |
+
-1.1487698274884883,
|
| 1373 |
+
0.5855479613978435
|
| 1374 |
+
],
|
| 1375 |
+
"p": 0.5810546875
|
| 1376 |
+
},
|
| 1377 |
+
{
|
| 1378 |
+
"arm": "base",
|
| 1379 |
+
"ref": "base-det",
|
| 1380 |
+
"label": "plain vs deterministic launcher, base model",
|
| 1381 |
+
"task": "humaneval",
|
| 1382 |
+
"family": "secondary",
|
| 1383 |
+
"notes": [
|
| 1384 |
+
"launcher: dq_det vs plain"
|
| 1385 |
+
],
|
| 1386 |
+
"n": 164,
|
| 1387 |
+
"ref_correct": 51,
|
| 1388 |
+
"arm_correct": 48,
|
| 1389 |
+
"arm_only": 2,
|
| 1390 |
+
"ref_only": 5,
|
| 1391 |
+
"delta_pts": -1.8292682926829267,
|
| 1392 |
+
"ci95_pts": [
|
| 1393 |
+
-3.9550634594724423,
|
| 1394 |
+
1.7890901876080505
|
| 1395 |
+
],
|
| 1396 |
+
"p": 0.453125
|
| 1397 |
+
},
|
| 1398 |
+
{
|
| 1399 |
+
"arm": "base",
|
| 1400 |
+
"ref": "base-det",
|
| 1401 |
+
"label": "plain vs deterministic launcher, base model",
|
| 1402 |
+
"task": "mbpp",
|
| 1403 |
+
"family": "secondary",
|
| 1404 |
+
"notes": [
|
| 1405 |
+
"launcher: dq_det vs plain"
|
| 1406 |
+
],
|
| 1407 |
+
"n": 500,
|
| 1408 |
+
"ref_correct": 127,
|
| 1409 |
+
"arm_correct": 126,
|
| 1410 |
+
"arm_only": 7,
|
| 1411 |
+
"ref_only": 8,
|
| 1412 |
+
"delta_pts": -0.2,
|
| 1413 |
+
"ci95_pts": [
|
| 1414 |
+
-1.7239996228841514,
|
| 1415 |
+
1.4048319163356209
|
| 1416 |
+
],
|
| 1417 |
+
"p": 1.0
|
| 1418 |
+
},
|
| 1419 |
+
{
|
| 1420 |
+
"arm": "base",
|
| 1421 |
+
"ref": "base-det",
|
| 1422 |
+
"label": "plain vs deterministic launcher, base model",
|
| 1423 |
+
"task": "code (humaneval+mbpp)",
|
| 1424 |
+
"family": "exploratory",
|
| 1425 |
+
"n": 664,
|
| 1426 |
+
"ref_correct": 178,
|
| 1427 |
+
"arm_correct": 174,
|
| 1428 |
+
"arm_only": 9,
|
| 1429 |
+
"ref_only": 13,
|
| 1430 |
+
"delta_pts": -0.6024096385542169,
|
| 1431 |
+
"ci95_pts": [
|
| 1432 |
+
-1.9409491849586729,
|
| 1433 |
+
0.9042068801041914
|
| 1434 |
+
],
|
| 1435 |
+
"p": 0.5234670639038086
|
| 1436 |
+
},
|
| 1437 |
+
{
|
| 1438 |
+
"arm": "ft",
|
| 1439 |
+
"ref": "base",
|
| 1440 |
+
"label": "fine-tune vs base, plain-launcher base",
|
| 1441 |
+
"task": "text2sql",
|
| 1442 |
+
"family": "secondary",
|
| 1443 |
+
"notes": [
|
| 1444 |
+
"launcher: plain vs dq_det"
|
| 1445 |
+
],
|
| 1446 |
+
"n": 2454,
|
| 1447 |
+
"ref_correct": 1040,
|
| 1448 |
+
"arm_correct": 1323,
|
| 1449 |
+
"arm_only": 398,
|
| 1450 |
+
"ref_only": 115,
|
| 1451 |
+
"delta_pts": 11.532192339038305,
|
| 1452 |
+
"ci95_pts": [
|
| 1453 |
+
9.918414479279221,
|
| 1454 |
+
13.011633442127323
|
| 1455 |
+
],
|
| 1456 |
+
"p": 1.5898287929612967e-37
|
| 1457 |
+
},
|
| 1458 |
+
{
|
| 1459 |
+
"arm": "ft",
|
| 1460 |
+
"ref": "base",
|
| 1461 |
+
"label": "fine-tune vs base, plain-launcher base",
|
| 1462 |
+
"task": "text2sql/gretel",
|
| 1463 |
+
"family": "exploratory",
|
| 1464 |
+
"n": 818,
|
| 1465 |
+
"ref_correct": 423,
|
| 1466 |
+
"arm_correct": 492,
|
| 1467 |
+
"arm_only": 105,
|
| 1468 |
+
"ref_only": 36,
|
| 1469 |
+
"delta_pts": 8.43520782396088,
|
| 1470 |
+
"ci95_pts": [
|
| 1471 |
+
5.669677726018732,
|
| 1472 |
+
10.83630943172779
|
| 1473 |
+
],
|
| 1474 |
+
"p": 5.07987007185982e-09
|
| 1475 |
+
},
|
| 1476 |
+
{
|
| 1477 |
+
"arm": "ft",
|
| 1478 |
+
"ref": "base",
|
| 1479 |
+
"label": "fine-tune vs base, plain-launcher base",
|
| 1480 |
+
"task": "text2sql/wikisql",
|
| 1481 |
+
"family": "exploratory",
|
| 1482 |
+
"n": 818,
|
| 1483 |
+
"ref_correct": 424,
|
| 1484 |
+
"arm_correct": 621,
|
| 1485 |
+
"arm_only": 232,
|
| 1486 |
+
"ref_only": 35,
|
| 1487 |
+
"delta_pts": 24.08312958435208,
|
| 1488 |
+
"ci95_pts": [
|
| 1489 |
+
21.048751622039585,
|
| 1490 |
+
26.567300062048183
|
| 1491 |
+
],
|
| 1492 |
+
"p": 7.898061860122764e-37
|
| 1493 |
+
},
|
| 1494 |
+
{
|
| 1495 |
+
"arm": "ft",
|
| 1496 |
+
"ref": "base",
|
| 1497 |
+
"label": "fine-tune vs base, plain-launcher base",
|
| 1498 |
+
"task": "text2sql/spider",
|
| 1499 |
+
"family": "exploratory",
|
| 1500 |
+
"n": 818,
|
| 1501 |
+
"ref_correct": 193,
|
| 1502 |
+
"arm_correct": 210,
|
| 1503 |
+
"arm_only": 61,
|
| 1504 |
+
"ref_only": 44,
|
| 1505 |
+
"delta_pts": 2.078239608801956,
|
| 1506 |
+
"ci95_pts": [
|
| 1507 |
+
-0.4963403300572413,
|
| 1508 |
+
4.5325083909439865
|
| 1509 |
+
],
|
| 1510 |
+
"p": 0.11799998150585828
|
| 1511 |
+
},
|
| 1512 |
+
{
|
| 1513 |
+
"arm": "ft",
|
| 1514 |
+
"ref": "base",
|
| 1515 |
+
"label": "fine-tune vs base, plain-launcher base",
|
| 1516 |
+
"task": "humaneval",
|
| 1517 |
+
"family": "secondary",
|
| 1518 |
+
"notes": [
|
| 1519 |
+
"launcher: plain vs dq_det"
|
| 1520 |
+
],
|
| 1521 |
+
"n": 164,
|
| 1522 |
+
"ref_correct": 48,
|
| 1523 |
+
"arm_correct": 50,
|
| 1524 |
+
"arm_only": 16,
|
| 1525 |
+
"ref_only": 14,
|
| 1526 |
+
"delta_pts": 1.2195121951219512,
|
| 1527 |
+
"ci95_pts": [
|
| 1528 |
+
-5.734564457533761,
|
| 1529 |
+
7.92372881035841
|
| 1530 |
+
],
|
| 1531 |
+
"p": 0.855535551905632
|
| 1532 |
+
},
|
| 1533 |
+
{
|
| 1534 |
+
"arm": "ft",
|
| 1535 |
+
"ref": "base",
|
| 1536 |
+
"label": "fine-tune vs base, plain-launcher base",
|
| 1537 |
+
"task": "mbpp",
|
| 1538 |
+
"family": "secondary",
|
| 1539 |
+
"notes": [
|
| 1540 |
+
"launcher: plain vs dq_det"
|
| 1541 |
+
],
|
| 1542 |
+
"n": 500,
|
| 1543 |
+
"ref_correct": 126,
|
| 1544 |
+
"arm_correct": 144,
|
| 1545 |
+
"arm_only": 40,
|
| 1546 |
+
"ref_only": 22,
|
| 1547 |
+
"delta_pts": 3.5999999999999996,
|
| 1548 |
+
"ci95_pts": [
|
| 1549 |
+
0.3314909273197259,
|
| 1550 |
+
6.512125847805463
|
| 1551 |
+
],
|
| 1552 |
+
"p": 0.030015864349067292
|
| 1553 |
+
},
|
| 1554 |
+
{
|
| 1555 |
+
"arm": "ft",
|
| 1556 |
+
"ref": "base",
|
| 1557 |
+
"label": "fine-tune vs base, plain-launcher base",
|
| 1558 |
+
"task": "code (humaneval+mbpp)",
|
| 1559 |
+
"family": "exploratory",
|
| 1560 |
+
"n": 664,
|
| 1561 |
+
"ref_correct": 174,
|
| 1562 |
+
"arm_correct": 194,
|
| 1563 |
+
"arm_only": 56,
|
| 1564 |
+
"ref_only": 36,
|
| 1565 |
+
"delta_pts": 3.0120481927710845,
|
| 1566 |
+
"ci95_pts": [
|
| 1567 |
+
0.03792728408059196,
|
| 1568 |
+
5.7866289999547815
|
| 1569 |
+
],
|
| 1570 |
+
"p": 0.047011561644854
|
| 1571 |
+
},
|
| 1572 |
+
{
|
| 1573 |
+
"arm": "dq4p",
|
| 1574 |
+
"ref": "dq3p",
|
| 1575 |
+
"label": "4-bit vs 3-bit",
|
| 1576 |
+
"task": "text2sql",
|
| 1577 |
+
"family": "secondary",
|
| 1578 |
+
"notes": [],
|
| 1579 |
+
"n": 2454,
|
| 1580 |
+
"ref_correct": 951,
|
| 1581 |
+
"arm_correct": 1204,
|
| 1582 |
+
"arm_only": 357,
|
| 1583 |
+
"ref_only": 104,
|
| 1584 |
+
"delta_pts": 10.309698451507742,
|
| 1585 |
+
"ci95_pts": [
|
| 1586 |
+
8.771658619176653,
|
| 1587 |
+
11.713903867913626
|
| 1588 |
+
],
|
| 1589 |
+
"p": 1.6368571089894648e-33
|
| 1590 |
+
},
|
| 1591 |
+
{
|
| 1592 |
+
"arm": "dq4p",
|
| 1593 |
+
"ref": "dq3p",
|
| 1594 |
+
"label": "4-bit vs 3-bit",
|
| 1595 |
+
"task": "text2sql/gretel",
|
| 1596 |
+
"family": "exploratory",
|
| 1597 |
+
"n": 818,
|
| 1598 |
+
"ref_correct": 372,
|
| 1599 |
+
"arm_correct": 467,
|
| 1600 |
+
"arm_only": 129,
|
| 1601 |
+
"ref_only": 34,
|
| 1602 |
+
"delta_pts": 11.613691931540341,
|
| 1603 |
+
"ci95_pts": [
|
| 1604 |
+
8.803863819612706,
|
| 1605 |
+
13.988934323021963
|
| 1606 |
+
],
|
| 1607 |
+
"p": 3.147438944773236e-14
|
| 1608 |
+
},
|
| 1609 |
+
{
|
| 1610 |
+
"arm": "dq4p",
|
| 1611 |
+
"ref": "dq3p",
|
| 1612 |
+
"label": "4-bit vs 3-bit",
|
| 1613 |
+
"task": "text2sql/wikisql",
|
| 1614 |
+
"family": "exploratory",
|
| 1615 |
+
"n": 818,
|
| 1616 |
+
"ref_correct": 464,
|
| 1617 |
+
"arm_correct": 533,
|
| 1618 |
+
"arm_only": 110,
|
| 1619 |
+
"ref_only": 41,
|
| 1620 |
+
"delta_pts": 8.43520782396088,
|
| 1621 |
+
"ci95_pts": [
|
| 1622 |
+
5.544553231117803,
|
| 1623 |
+
10.986358630051567
|
| 1624 |
+
],
|
| 1625 |
+
"p": 1.7850646530350223e-08
|
| 1626 |
+
},
|
| 1627 |
+
{
|
| 1628 |
+
"arm": "dq4p",
|
| 1629 |
+
"ref": "dq3p",
|
| 1630 |
+
"label": "4-bit vs 3-bit",
|
| 1631 |
+
"task": "text2sql/spider",
|
| 1632 |
+
"family": "exploratory",
|
| 1633 |
+
"n": 818,
|
| 1634 |
+
"ref_correct": 115,
|
| 1635 |
+
"arm_correct": 204,
|
| 1636 |
+
"arm_only": 118,
|
| 1637 |
+
"ref_only": 29,
|
| 1638 |
+
"delta_pts": 10.880195599022006,
|
| 1639 |
+
"ci95_pts": [
|
| 1640 |
+
8.234896309960797,
|
| 1641 |
+
13.072560410224549
|
| 1642 |
+
],
|
| 1643 |
+
"p": 6.155096365873754e-14
|
| 1644 |
+
},
|
| 1645 |
+
{
|
| 1646 |
+
"arm": "dq4p",
|
| 1647 |
+
"ref": "dq3p",
|
| 1648 |
+
"label": "4-bit vs 3-bit",
|
| 1649 |
+
"task": "humaneval",
|
| 1650 |
+
"family": "secondary",
|
| 1651 |
+
"notes": [],
|
| 1652 |
+
"n": 164,
|
| 1653 |
+
"ref_correct": 32,
|
| 1654 |
+
"arm_correct": 51,
|
| 1655 |
+
"arm_only": 26,
|
| 1656 |
+
"ref_only": 7,
|
| 1657 |
+
"delta_pts": 11.585365853658537,
|
| 1658 |
+
"ci95_pts": [
|
| 1659 |
+
4.4638166472612095,
|
| 1660 |
+
16.50787796352543
|
| 1661 |
+
],
|
| 1662 |
+
"p": 0.0013187271542847157
|
| 1663 |
+
},
|
| 1664 |
+
{
|
| 1665 |
+
"arm": "dq4p",
|
| 1666 |
+
"ref": "dq3p",
|
| 1667 |
+
"label": "4-bit vs 3-bit",
|
| 1668 |
+
"task": "mbpp",
|
| 1669 |
+
"family": "secondary",
|
| 1670 |
+
"notes": [],
|
| 1671 |
+
"n": 500,
|
| 1672 |
+
"ref_correct": 100,
|
| 1673 |
+
"arm_correct": 141,
|
| 1674 |
+
"arm_only": 61,
|
| 1675 |
+
"ref_only": 20,
|
| 1676 |
+
"delta_pts": 8.200000000000001,
|
| 1677 |
+
"ci95_pts": [
|
| 1678 |
+
4.689569181684579,
|
| 1679 |
+
11.08700081478538
|
| 1680 |
+
],
|
| 1681 |
+
"p": 5.656214894965938e-06
|
| 1682 |
+
},
|
| 1683 |
+
{
|
| 1684 |
+
"arm": "dq4p",
|
| 1685 |
+
"ref": "dq3p",
|
| 1686 |
+
"label": "4-bit vs 3-bit",
|
| 1687 |
+
"task": "code (humaneval+mbpp)",
|
| 1688 |
+
"family": "exploratory",
|
| 1689 |
+
"n": 664,
|
| 1690 |
+
"ref_correct": 132,
|
| 1691 |
+
"arm_correct": 192,
|
| 1692 |
+
"arm_only": 87,
|
| 1693 |
+
"ref_only": 27,
|
| 1694 |
+
"delta_pts": 9.036144578313253,
|
| 1695 |
+
"ci95_pts": [
|
| 1696 |
+
5.989320681055679,
|
| 1697 |
+
11.59746415825791
|
| 1698 |
+
],
|
| 1699 |
+
"p": 1.5261651463770278e-08
|
| 1700 |
+
}
|
| 1701 |
+
],
|
| 1702 |
+
"holm_family": {
|
| 1703 |
+
"declared": 18,
|
| 1704 |
+
"computed": 18
|
| 1705 |
+
},
|
| 1706 |
+
"nll": {
|
| 1707 |
+
"base": {
|
| 1708 |
+
"overall": {
|
| 1709 |
+
"rows": 999,
|
| 1710 |
+
"tokens": 90517,
|
| 1711 |
+
"nll": 0.18506243732605415,
|
| 1712 |
+
"token_acc": 0.9474242407503563,
|
| 1713 |
+
"ppl": 1.20329356821513,
|
| 1714 |
+
"kl": 0.06023247401703867,
|
| 1715 |
+
"ref_agree": 0.9723698310814544,
|
| 1716 |
+
"ref_nll": 0.13242465121139435
|
| 1717 |
+
},
|
| 1718 |
+
"problems": [],
|
| 1719 |
+
"map": null,
|
| 1720 |
+
"map_key": null,
|
| 1721 |
+
"map_apply": null,
|
| 1722 |
+
"model": "/workspace/jev/kambo-v1",
|
| 1723 |
+
"repeat": {
|
| 1724 |
+
"n": 1
|
| 1725 |
+
},
|
| 1726 |
+
"deterministic": true,
|
| 1727 |
+
"dtype": "bfloat16",
|
| 1728 |
+
"per_stratum": {
|
| 1729 |
+
"code/opencodeinstruct/humaneval": {
|
| 1730 |
+
"rows": 77,
|
| 1731 |
+
"tokens": 11706,
|
| 1732 |
+
"nll": 0.17099178833328474,
|
| 1733 |
+
"token_acc": 0.951563300871348,
|
| 1734 |
+
"ppl": 1.1864810059951234,
|
| 1735 |
+
"kl": 0.02389490271036131,
|
| 1736 |
+
"ref_agree": 0.9791559883820263,
|
| 1737 |
+
"ref_nll": 0.1508189712490523
|
| 1738 |
+
},
|
| 1739 |
+
"code/opencodeinstruct/mbpp": {
|
| 1740 |
+
"rows": 102,
|
| 1741 |
+
"tokens": 14920,
|
| 1742 |
+
"nll": 0.17163155500754596,
|
| 1743 |
+
"token_acc": 0.9462466487935657,
|
| 1744 |
+
"ppl": 1.1872403198683597,
|
| 1745 |
+
"kl": 0.01978520762472862,
|
| 1746 |
+
"ref_agree": 0.9762064343163539,
|
| 1747 |
+
"ref_nll": 0.16033798740632413
|
| 1748 |
+
},
|
| 1749 |
+
"code/opencodeinstruct/raw": {
|
| 1750 |
+
"rows": 221,
|
| 1751 |
+
"tokens": 44232,
|
| 1752 |
+
"nll": 0.1655428069779273,
|
| 1753 |
+
"token_acc": 0.9527717489600289,
|
| 1754 |
+
"ppl": 1.1800334753052375,
|
| 1755 |
+
"kl": 0.0434062843029191,
|
| 1756 |
+
"ref_agree": 0.9809640079580394,
|
| 1757 |
+
"ref_nll": 0.13211396292894997
|
| 1758 |
+
},
|
| 1759 |
+
"text2sql/create-context": {
|
| 1760 |
+
"rows": 200,
|
| 1761 |
+
"tokens": 5299,
|
| 1762 |
+
"nll": 0.1874859986788463,
|
| 1763 |
+
"token_acc": 0.9486695602943952,
|
| 1764 |
+
"ppl": 1.2062133607221055,
|
| 1765 |
+
"kl": 0.1617937739690919,
|
| 1766 |
+
"ref_agree": 0.9496131345536893,
|
| 1767 |
+
"ref_nll": 0.02731125776352444
|
| 1768 |
+
},
|
| 1769 |
+
"text2sql/gretel": {
|
| 1770 |
+
"rows": 200,
|
| 1771 |
+
"tokens": 6500,
|
| 1772 |
+
"nll": 0.3505372640169584,
|
| 1773 |
+
"token_acc": 0.9058461538461539,
|
| 1774 |
+
"ppl": 1.4198301673702192,
|
| 1775 |
+
"kl": 0.11692690633900259,
|
| 1776 |
+
"ref_agree": 0.9364615384615385,
|
| 1777 |
+
"ref_nll": 0.24304480596689076
|
| 1778 |
+
},
|
| 1779 |
+
"text2sql/wikisql": {
|
| 1780 |
+
"rows": 199,
|
| 1781 |
+
"tokens": 7860,
|
| 1782 |
+
"nll": 0.20288218869507768,
|
| 1783 |
+
"token_acc": 0.9469465648854962,
|
| 1784 |
+
"ppl": 1.2249281493627555,
|
| 1785 |
+
"kl": 0.17046271691595374,
|
| 1786 |
+
"ref_agree": 0.9516539440203562,
|
| 1787 |
+
"ref_nll": 0.03317736669351126
|
| 1788 |
+
}
|
| 1789 |
+
},
|
| 1790 |
+
"applied": null
|
| 1791 |
+
},
|
| 1792 |
+
"dq3": {
|
| 1793 |
+
"overall": {
|
| 1794 |
+
"rows": 999,
|
| 1795 |
+
"tokens": 90517,
|
| 1796 |
+
"nll": 0.191234920355092,
|
| 1797 |
+
"token_acc": 0.9411049858037717,
|
| 1798 |
+
"ppl": 1.2107438470493825,
|
| 1799 |
+
"kl": 0.05942317319546635,
|
| 1800 |
+
"ref_agree": 0.9619077079443641,
|
| 1801 |
+
"ref_nll": 0.13242465121139435
|
| 1802 |
+
},
|
| 1803 |
+
"problems": [],
|
| 1804 |
+
"map": "runs/ft/maps.json",
|
| 1805 |
+
"map_key": "3.25",
|
| 1806 |
+
"map_apply": "encode",
|
| 1807 |
+
"model": "runs/ft/model",
|
| 1808 |
+
"repeat": {
|
| 1809 |
+
"n": 1
|
| 1810 |
+
},
|
| 1811 |
+
"deterministic": true,
|
| 1812 |
+
"dtype": "bfloat16",
|
| 1813 |
+
"per_stratum": {
|
| 1814 |
+
"code/opencodeinstruct/humaneval": {
|
| 1815 |
+
"rows": 77,
|
| 1816 |
+
"tokens": 11706,
|
| 1817 |
+
"nll": 0.19619124440398966,
|
| 1818 |
+
"token_acc": 0.9441312147616607,
|
| 1819 |
+
"ppl": 1.2167595815455667,
|
| 1820 |
+
"kl": 0.04913371599524043,
|
| 1821 |
+
"ref_agree": 0.9683922774645481,
|
| 1822 |
+
"ref_nll": 0.1508189712490523
|
| 1823 |
+
},
|
| 1824 |
+
"code/opencodeinstruct/mbpp": {
|
| 1825 |
+
"rows": 102,
|
| 1826 |
+
"tokens": 14920,
|
| 1827 |
+
"nll": 0.22650612979408244,
|
| 1828 |
+
"token_acc": 0.9287533512064343,
|
| 1829 |
+
"ppl": 1.2542102978612026,
|
| 1830 |
+
"kl": 0.06827019875144048,
|
| 1831 |
+
"ref_agree": 0.953083109919571,
|
| 1832 |
+
"ref_nll": 0.16033798740632413
|
| 1833 |
+
},
|
| 1834 |
+
"code/opencodeinstruct/raw": {
|
| 1835 |
+
"rows": 221,
|
| 1836 |
+
"tokens": 44232,
|
| 1837 |
+
"nll": 0.19539240769655197,
|
| 1838 |
+
"token_acc": 0.9374660879001627,
|
| 1839 |
+
"ppl": 1.215787977455876,
|
| 1840 |
+
"kl": 0.061530518396693885,
|
| 1841 |
+
"ref_agree": 0.9591472237294266,
|
| 1842 |
+
"ref_nll": 0.13211396292894997
|
| 1843 |
+
},
|
| 1844 |
+
"text2sql/create-context": {
|
| 1845 |
+
"rows": 200,
|
| 1846 |
+
"tokens": 5299,
|
| 1847 |
+
"nll": 0.0661412836763404,
|
| 1848 |
+
"token_acc": 0.9813172296659747,
|
| 1849 |
+
"ppl": 1.0683776508257397,
|
| 1850 |
+
"kl": 0.03712873031590197,
|
| 1851 |
+
"ref_agree": 0.9835818078882808,
|
| 1852 |
+
"ref_nll": 0.02731125776352444
|
| 1853 |
+
},
|
| 1854 |
+
"text2sql/gretel": {
|
| 1855 |
+
"rows": 200,
|
| 1856 |
+
"tokens": 6500,
|
| 1857 |
+
"nll": 0.33599687224168046,
|
| 1858 |
+
"token_acc": 0.904,
|
| 1859 |
+
"ppl": 1.3993346480234985,
|
| 1860 |
+
"kl": 0.10449129318650645,
|
| 1861 |
+
"ref_agree": 0.9375384615384615,
|
| 1862 |
+
"ref_nll": 0.24304480596689076
|
| 1863 |
+
},
|
| 1864 |
+
"text2sql/wikisql": {
|
| 1865 |
+
"rows": 199,
|
| 1866 |
+
"tokens": 7860,
|
| 1867 |
+
"nll": 0.05812542153375446,
|
| 1868 |
+
"token_acc": 0.9840966921119593,
|
| 1869 |
+
"ppl": 1.0598479151256963,
|
| 1870 |
+
"kl": 0.023854998211632335,
|
| 1871 |
+
"ref_agree": 0.9900763358778626,
|
| 1872 |
+
"ref_nll": 0.03317736669351126
|
| 1873 |
+
}
|
| 1874 |
+
},
|
| 1875 |
+
"applied": {
|
| 1876 |
+
"map": "runs/ft/maps.json",
|
| 1877 |
+
"apply": "encode",
|
| 1878 |
+
"group_size": 128,
|
| 1879 |
+
"modules": 205,
|
| 1880 |
+
"holds": "compute-dtype values; the size claim is the map's, not this model's",
|
| 1881 |
+
"relative_error_median": 0.09766169726264294,
|
| 1882 |
+
"relative_error_max": 0.41175080913308587
|
| 1883 |
+
}
|
| 1884 |
+
},
|
| 1885 |
+
"dq3p": {
|
| 1886 |
+
"overall": {
|
| 1887 |
+
"rows": 999,
|
| 1888 |
+
"tokens": 90517,
|
| 1889 |
+
"nll": 0.191234920355092,
|
| 1890 |
+
"token_acc": 0.9411049858037717,
|
| 1891 |
+
"ppl": 1.2107438470493825,
|
| 1892 |
+
"kl": 0.05942317319546635,
|
| 1893 |
+
"ref_agree": 0.9619077079443641,
|
| 1894 |
+
"ref_nll": 0.13242465121139435
|
| 1895 |
+
},
|
| 1896 |
+
"problems": [],
|
| 1897 |
+
"map": null,
|
| 1898 |
+
"map_key": null,
|
| 1899 |
+
"map_apply": null,
|
| 1900 |
+
"model": "runs/export/dq3",
|
| 1901 |
+
"repeat": {
|
| 1902 |
+
"n": 1
|
| 1903 |
+
},
|
| 1904 |
+
"deterministic": true,
|
| 1905 |
+
"dtype": "bfloat16",
|
| 1906 |
+
"per_stratum": {
|
| 1907 |
+
"code/opencodeinstruct/humaneval": {
|
| 1908 |
+
"rows": 77,
|
| 1909 |
+
"tokens": 11706,
|
| 1910 |
+
"nll": 0.19619124440398966,
|
| 1911 |
+
"token_acc": 0.9441312147616607,
|
| 1912 |
+
"ppl": 1.2167595815455667,
|
| 1913 |
+
"kl": 0.04913371599524043,
|
| 1914 |
+
"ref_agree": 0.9683922774645481,
|
| 1915 |
+
"ref_nll": 0.1508189712490523
|
| 1916 |
+
},
|
| 1917 |
+
"code/opencodeinstruct/mbpp": {
|
| 1918 |
+
"rows": 102,
|
| 1919 |
+
"tokens": 14920,
|
| 1920 |
+
"nll": 0.22650612979408244,
|
| 1921 |
+
"token_acc": 0.9287533512064343,
|
| 1922 |
+
"ppl": 1.2542102978612026,
|
| 1923 |
+
"kl": 0.06827019875144048,
|
| 1924 |
+
"ref_agree": 0.953083109919571,
|
| 1925 |
+
"ref_nll": 0.16033798740632413
|
| 1926 |
+
},
|
| 1927 |
+
"code/opencodeinstruct/raw": {
|
| 1928 |
+
"rows": 221,
|
| 1929 |
+
"tokens": 44232,
|
| 1930 |
+
"nll": 0.19539240769655197,
|
| 1931 |
+
"token_acc": 0.9374660879001627,
|
| 1932 |
+
"ppl": 1.215787977455876,
|
| 1933 |
+
"kl": 0.061530518396693885,
|
| 1934 |
+
"ref_agree": 0.9591472237294266,
|
| 1935 |
+
"ref_nll": 0.13211396292894997
|
| 1936 |
+
},
|
| 1937 |
+
"text2sql/create-context": {
|
| 1938 |
+
"rows": 200,
|
| 1939 |
+
"tokens": 5299,
|
| 1940 |
+
"nll": 0.0661412836763404,
|
| 1941 |
+
"token_acc": 0.9813172296659747,
|
| 1942 |
+
"ppl": 1.0683776508257397,
|
| 1943 |
+
"kl": 0.03712873031590197,
|
| 1944 |
+
"ref_agree": 0.9835818078882808,
|
| 1945 |
+
"ref_nll": 0.02731125776352444
|
| 1946 |
+
},
|
| 1947 |
+
"text2sql/gretel": {
|
| 1948 |
+
"rows": 200,
|
| 1949 |
+
"tokens": 6500,
|
| 1950 |
+
"nll": 0.33599687224168046,
|
| 1951 |
+
"token_acc": 0.904,
|
| 1952 |
+
"ppl": 1.3993346480234985,
|
| 1953 |
+
"kl": 0.10449129318650645,
|
| 1954 |
+
"ref_agree": 0.9375384615384615,
|
| 1955 |
+
"ref_nll": 0.24304480596689076
|
| 1956 |
+
},
|
| 1957 |
+
"text2sql/wikisql": {
|
| 1958 |
+
"rows": 199,
|
| 1959 |
+
"tokens": 7860,
|
| 1960 |
+
"nll": 0.05812542153375446,
|
| 1961 |
+
"token_acc": 0.9840966921119593,
|
| 1962 |
+
"ppl": 1.0598479151256963,
|
| 1963 |
+
"kl": 0.023854998211632335,
|
| 1964 |
+
"ref_agree": 0.9900763358778626,
|
| 1965 |
+
"ref_nll": 0.03317736669351126
|
| 1966 |
+
}
|
| 1967 |
+
},
|
| 1968 |
+
"applied": null
|
| 1969 |
+
},
|
| 1970 |
+
"dq4": {
|
| 1971 |
+
"overall": {
|
| 1972 |
+
"rows": 999,
|
| 1973 |
+
"tokens": 90517,
|
| 1974 |
+
"nll": 0.14851619148530434,
|
| 1975 |
+
"token_acc": 0.953820829236497,
|
| 1976 |
+
"ppl": 1.160111581551982,
|
| 1977 |
+
"kl": 0.016623296549019555,
|
| 1978 |
+
"ref_agree": 0.9814620458035507,
|
| 1979 |
+
"ref_nll": 0.13242465121139435
|
| 1980 |
+
},
|
| 1981 |
+
"problems": [],
|
| 1982 |
+
"map": "runs/ft/maps.json",
|
| 1983 |
+
"map_key": "4.25",
|
| 1984 |
+
"map_apply": "encode",
|
| 1985 |
+
"model": "runs/ft/model",
|
| 1986 |
+
"repeat": {
|
| 1987 |
+
"n": 1
|
| 1988 |
+
},
|
| 1989 |
+
"deterministic": true,
|
| 1990 |
+
"dtype": "bfloat16",
|
| 1991 |
+
"per_stratum": {
|
| 1992 |
+
"code/opencodeinstruct/humaneval": {
|
| 1993 |
+
"rows": 77,
|
| 1994 |
+
"tokens": 11706,
|
| 1995 |
+
"nll": 0.16267120827981676,
|
| 1996 |
+
"token_acc": 0.9533572526909277,
|
| 1997 |
+
"ppl": 1.1766497533847577,
|
| 1998 |
+
"kl": 0.013919666712902031,
|
| 1999 |
+
"ref_agree": 0.985306680334871,
|
| 2000 |
+
"ref_nll": 0.1508189712490523
|
| 2001 |
+
},
|
| 2002 |
+
"code/opencodeinstruct/mbpp": {
|
| 2003 |
+
"rows": 102,
|
| 2004 |
+
"tokens": 14920,
|
| 2005 |
+
"nll": 0.18141919543851795,
|
| 2006 |
+
"token_acc": 0.9407506702412869,
|
| 2007 |
+
"ppl": 1.1989176547801679,
|
| 2008 |
+
"kl": 0.021047137877706127,
|
| 2009 |
+
"ref_agree": 0.975201072386059,
|
| 2010 |
+
"ref_nll": 0.16033798740632413
|
| 2011 |
+
},
|
| 2012 |
+
"code/opencodeinstruct/raw": {
|
| 2013 |
+
"rows": 221,
|
| 2014 |
+
"tokens": 44232,
|
| 2015 |
+
"nll": 0.14994969042845113,
|
| 2016 |
+
"token_acc": 0.9517996020980286,
|
| 2017 |
+
"ppl": 1.161775792815628,
|
| 2018 |
+
"kl": 0.017496946883756036,
|
| 2019 |
+
"ref_agree": 0.9799692530294809,
|
| 2020 |
+
"ref_nll": 0.13211396292894997
|
| 2021 |
+
},
|
| 2022 |
+
"text2sql/create-context": {
|
| 2023 |
+
"rows": 200,
|
| 2024 |
+
"tokens": 5299,
|
| 2025 |
+
"nll": 0.036208296749001966,
|
| 2026 |
+
"token_acc": 0.9903755425551991,
|
| 2027 |
+
"ppl": 1.0368718010241145,
|
| 2028 |
+
"kl": 0.009304864834739426,
|
| 2029 |
+
"ref_agree": 0.9928288356293641,
|
| 2030 |
+
"ref_nll": 0.02731125776352444
|
| 2031 |
+
},
|
| 2032 |
+
"text2sql/gretel": {
|
| 2033 |
+
"rows": 200,
|
| 2034 |
+
"tokens": 6500,
|
| 2035 |
+
"nll": 0.2619284591674805,
|
| 2036 |
+
"token_acc": 0.9247692307692308,
|
| 2037 |
+
"ppl": 1.2994335765441232,
|
| 2038 |
+
"kl": 0.024404897270780632,
|
| 2039 |
+
"ref_agree": 0.9723076923076923,
|
| 2040 |
+
"ref_nll": 0.24304480596689076
|
| 2041 |
+
},
|
| 2042 |
+
"text2sql/wikisql": {
|
| 2043 |
+
"rows": 199,
|
| 2044 |
+
"tokens": 7860,
|
| 2045 |
+
"nll": 0.03883703416237091,
|
| 2046 |
+
"token_acc": 0.9900763358778626,
|
| 2047 |
+
"ppl": 1.0396010503886395,
|
| 2048 |
+
"kl": 0.005834701331977239,
|
| 2049 |
+
"ref_agree": 0.9959287531806615,
|
| 2050 |
+
"ref_nll": 0.03317736669351126
|
| 2051 |
+
}
|
| 2052 |
+
},
|
| 2053 |
+
"applied": {
|
| 2054 |
+
"map": "runs/ft/maps.json",
|
| 2055 |
+
"apply": "encode",
|
| 2056 |
+
"group_size": 128,
|
| 2057 |
+
"modules": 205,
|
| 2058 |
+
"holds": "compute-dtype values; the size claim is the map's, not this model's",
|
| 2059 |
+
"relative_error_median": 0.0958669702797401,
|
| 2060 |
+
"relative_error_max": 0.40936123283670534
|
| 2061 |
+
}
|
| 2062 |
+
},
|
| 2063 |
+
"dq4p": {
|
| 2064 |
+
"overall": {
|
| 2065 |
+
"rows": 999,
|
| 2066 |
+
"tokens": 90517,
|
| 2067 |
+
"nll": 0.14851619148530434,
|
| 2068 |
+
"token_acc": 0.953820829236497,
|
| 2069 |
+
"ppl": 1.160111581551982,
|
| 2070 |
+
"kl": 0.016623296549019555,
|
| 2071 |
+
"ref_agree": 0.9814620458035507,
|
| 2072 |
+
"ref_nll": 0.13242465121139435
|
| 2073 |
+
},
|
| 2074 |
+
"problems": [],
|
| 2075 |
+
"map": null,
|
| 2076 |
+
"map_key": null,
|
| 2077 |
+
"map_apply": null,
|
| 2078 |
+
"model": "runs/export/dq4",
|
| 2079 |
+
"repeat": {
|
| 2080 |
+
"n": 1
|
| 2081 |
+
},
|
| 2082 |
+
"deterministic": true,
|
| 2083 |
+
"dtype": "bfloat16",
|
| 2084 |
+
"per_stratum": {
|
| 2085 |
+
"code/opencodeinstruct/humaneval": {
|
| 2086 |
+
"rows": 77,
|
| 2087 |
+
"tokens": 11706,
|
| 2088 |
+
"nll": 0.16267120827981676,
|
| 2089 |
+
"token_acc": 0.9533572526909277,
|
| 2090 |
+
"ppl": 1.1766497533847577,
|
| 2091 |
+
"kl": 0.013919666712902031,
|
| 2092 |
+
"ref_agree": 0.985306680334871,
|
| 2093 |
+
"ref_nll": 0.1508189712490523
|
| 2094 |
+
},
|
| 2095 |
+
"code/opencodeinstruct/mbpp": {
|
| 2096 |
+
"rows": 102,
|
| 2097 |
+
"tokens": 14920,
|
| 2098 |
+
"nll": 0.18141919543851795,
|
| 2099 |
+
"token_acc": 0.9407506702412869,
|
| 2100 |
+
"ppl": 1.1989176547801679,
|
| 2101 |
+
"kl": 0.021047137877706127,
|
| 2102 |
+
"ref_agree": 0.975201072386059,
|
| 2103 |
+
"ref_nll": 0.16033798740632413
|
| 2104 |
+
},
|
| 2105 |
+
"code/opencodeinstruct/raw": {
|
| 2106 |
+
"rows": 221,
|
| 2107 |
+
"tokens": 44232,
|
| 2108 |
+
"nll": 0.14994969042845113,
|
| 2109 |
+
"token_acc": 0.9517996020980286,
|
| 2110 |
+
"ppl": 1.161775792815628,
|
| 2111 |
+
"kl": 0.017496946883756036,
|
| 2112 |
+
"ref_agree": 0.9799692530294809,
|
| 2113 |
+
"ref_nll": 0.13211396292894997
|
| 2114 |
+
},
|
| 2115 |
+
"text2sql/create-context": {
|
| 2116 |
+
"rows": 200,
|
| 2117 |
+
"tokens": 5299,
|
| 2118 |
+
"nll": 0.036208296749001966,
|
| 2119 |
+
"token_acc": 0.9903755425551991,
|
| 2120 |
+
"ppl": 1.0368718010241145,
|
| 2121 |
+
"kl": 0.009304864834739426,
|
| 2122 |
+
"ref_agree": 0.9928288356293641,
|
| 2123 |
+
"ref_nll": 0.02731125776352444
|
| 2124 |
+
},
|
| 2125 |
+
"text2sql/gretel": {
|
| 2126 |
+
"rows": 200,
|
| 2127 |
+
"tokens": 6500,
|
| 2128 |
+
"nll": 0.2619284591674805,
|
| 2129 |
+
"token_acc": 0.9247692307692308,
|
| 2130 |
+
"ppl": 1.2994335765441232,
|
| 2131 |
+
"kl": 0.024404897270780632,
|
| 2132 |
+
"ref_agree": 0.9723076923076923,
|
| 2133 |
+
"ref_nll": 0.24304480596689076
|
| 2134 |
+
},
|
| 2135 |
+
"text2sql/wikisql": {
|
| 2136 |
+
"rows": 199,
|
| 2137 |
+
"tokens": 7860,
|
| 2138 |
+
"nll": 0.03883703416237091,
|
| 2139 |
+
"token_acc": 0.9900763358778626,
|
| 2140 |
+
"ppl": 1.0396010503886395,
|
| 2141 |
+
"kl": 0.005834701331977239,
|
| 2142 |
+
"ref_agree": 0.9959287531806615,
|
| 2143 |
+
"ref_nll": 0.03317736669351126
|
| 2144 |
+
}
|
| 2145 |
+
},
|
| 2146 |
+
"applied": null
|
| 2147 |
+
},
|
| 2148 |
+
"ft": {
|
| 2149 |
+
"overall": {
|
| 2150 |
+
"rows": 999,
|
| 2151 |
+
"tokens": 90517,
|
| 2152 |
+
"nll": 0.13242465121139435,
|
| 2153 |
+
"token_acc": 0.9583835080703073,
|
| 2154 |
+
"ppl": 1.1415929951991715,
|
| 2155 |
+
"kl": 0.0,
|
| 2156 |
+
"ref_agree": 1.0,
|
| 2157 |
+
"ref_nll": 0.13242465121139435
|
| 2158 |
+
},
|
| 2159 |
+
"problems": [],
|
| 2160 |
+
"map": null,
|
| 2161 |
+
"map_key": null,
|
| 2162 |
+
"map_apply": null,
|
| 2163 |
+
"model": "runs/ft/model",
|
| 2164 |
+
"repeat": {
|
| 2165 |
+
"n": 2,
|
| 2166 |
+
"exact": true,
|
| 2167 |
+
"max_abs_token_nll_diff": 0.0,
|
| 2168 |
+
"argmax_flips": 0
|
| 2169 |
+
},
|
| 2170 |
+
"deterministic": true,
|
| 2171 |
+
"dtype": "bfloat16",
|
| 2172 |
+
"per_stratum": {
|
| 2173 |
+
"code/opencodeinstruct/humaneval": {
|
| 2174 |
+
"rows": 77,
|
| 2175 |
+
"tokens": 11706,
|
| 2176 |
+
"nll": 0.1508189712490523,
|
| 2177 |
+
"token_acc": 0.9565180249444729,
|
| 2178 |
+
"ppl": 1.1627861413048208,
|
| 2179 |
+
"kl": 0.0,
|
| 2180 |
+
"ref_agree": 1.0,
|
| 2181 |
+
"ref_nll": 0.1508189712490523
|
| 2182 |
+
},
|
| 2183 |
+
"code/opencodeinstruct/mbpp": {
|
| 2184 |
+
"rows": 102,
|
| 2185 |
+
"tokens": 14920,
|
| 2186 |
+
"nll": 0.16033798740632413,
|
| 2187 |
+
"token_acc": 0.9481233243967828,
|
| 2188 |
+
"ppl": 1.1739075699232349,
|
| 2189 |
+
"kl": 0.0,
|
| 2190 |
+
"ref_agree": 1.0,
|
| 2191 |
+
"ref_nll": 0.16033798740632413
|
| 2192 |
+
},
|
| 2193 |
+
"code/opencodeinstruct/raw": {
|
| 2194 |
+
"rows": 221,
|
| 2195 |
+
"tokens": 44232,
|
| 2196 |
+
"nll": 0.13211396292894997,
|
| 2197 |
+
"token_acc": 0.9567733767408211,
|
| 2198 |
+
"ppl": 1.1412383707239298,
|
| 2199 |
+
"kl": 0.0,
|
| 2200 |
+
"ref_agree": 1.0,
|
| 2201 |
+
"ref_nll": 0.13211396292894997
|
| 2202 |
+
},
|
| 2203 |
+
"text2sql/create-context": {
|
| 2204 |
+
"rows": 200,
|
| 2205 |
+
"tokens": 5299,
|
| 2206 |
+
"nll": 0.02731125776352444,
|
| 2207 |
+
"token_acc": 0.9933949801849405,
|
| 2208 |
+
"ppl": 1.0276876287396715,
|
| 2209 |
+
"kl": 0.0,
|
| 2210 |
+
"ref_agree": 1.0,
|
| 2211 |
+
"ref_nll": 0.02731125776352444
|
| 2212 |
+
},
|
| 2213 |
+
"text2sql/gretel": {
|
| 2214 |
+
"rows": 200,
|
| 2215 |
+
"tokens": 6500,
|
| 2216 |
+
"nll": 0.24304480596689076,
|
| 2217 |
+
"token_acc": 0.929076923076923,
|
| 2218 |
+
"ppl": 1.2751257560809321,
|
| 2219 |
+
"kl": 0.0,
|
| 2220 |
+
"ref_agree": 1.0,
|
| 2221 |
+
"ref_nll": 0.24304480596689076
|
| 2222 |
+
},
|
| 2223 |
+
"text2sql/wikisql": {
|
| 2224 |
+
"rows": 199,
|
| 2225 |
+
"tokens": 7860,
|
| 2226 |
+
"nll": 0.03317736669351126,
|
| 2227 |
+
"token_acc": 0.9903307888040712,
|
| 2228 |
+
"ppl": 1.033733872941193,
|
| 2229 |
+
"kl": 0.0,
|
| 2230 |
+
"ref_agree": 1.0,
|
| 2231 |
+
"ref_nll": 0.03317736669351126
|
| 2232 |
+
}
|
| 2233 |
+
},
|
| 2234 |
+
"applied": null
|
| 2235 |
+
},
|
| 2236 |
+
"ns3": {
|
| 2237 |
+
"overall": {
|
| 2238 |
+
"rows": 999,
|
| 2239 |
+
"tokens": 90517,
|
| 2240 |
+
"nll": 0.20480967710607034,
|
| 2241 |
+
"token_acc": 0.9375365953356828,
|
| 2242 |
+
"ppl": 1.2272914610712322,
|
| 2243 |
+
"kl": 0.07177002001131658,
|
| 2244 |
+
"ref_agree": 0.9568589325762011,
|
| 2245 |
+
"ref_nll": 0.13242465121139435
|
| 2246 |
+
},
|
| 2247 |
+
"problems": [],
|
| 2248 |
+
"map": "runs/ft/maps.null-shuffle.json",
|
| 2249 |
+
"map_key": "3.25",
|
| 2250 |
+
"map_apply": "encode",
|
| 2251 |
+
"model": "runs/ft/model",
|
| 2252 |
+
"repeat": {
|
| 2253 |
+
"n": 1
|
| 2254 |
+
},
|
| 2255 |
+
"deterministic": true,
|
| 2256 |
+
"dtype": "bfloat16",
|
| 2257 |
+
"per_stratum": {
|
| 2258 |
+
"code/opencodeinstruct/humaneval": {
|
| 2259 |
+
"rows": 77,
|
| 2260 |
+
"tokens": 11706,
|
| 2261 |
+
"nll": 0.210966670572218,
|
| 2262 |
+
"token_acc": 0.9417392790022211,
|
| 2263 |
+
"ppl": 1.2348711968251334,
|
| 2264 |
+
"kl": 0.062317726284401034,
|
| 2265 |
+
"ref_agree": 0.964633521271143,
|
| 2266 |
+
"ref_nll": 0.1508189712490523
|
| 2267 |
+
},
|
| 2268 |
+
"code/opencodeinstruct/mbpp": {
|
| 2269 |
+
"rows": 102,
|
| 2270 |
+
"tokens": 14920,
|
| 2271 |
+
"nll": 0.2504052635811609,
|
| 2272 |
+
"token_acc": 0.9212466487935657,
|
| 2273 |
+
"ppl": 1.2845458908839047,
|
| 2274 |
+
"kl": 0.08612487142101956,
|
| 2275 |
+
"ref_agree": 0.9453083109919571,
|
| 2276 |
+
"ref_nll": 0.16033798740632413
|
| 2277 |
+
},
|
| 2278 |
+
"code/opencodeinstruct/raw": {
|
| 2279 |
+
"rows": 221,
|
| 2280 |
+
"tokens": 44232,
|
| 2281 |
+
"nll": 0.20834437824973018,
|
| 2282 |
+
"token_acc": 0.9339166214505336,
|
| 2283 |
+
"ppl": 1.231637245602335,
|
| 2284 |
+
"kl": 0.07454042817381983,
|
| 2285 |
+
"ref_agree": 0.9533369506239826,
|
| 2286 |
+
"ref_nll": 0.13211396292894997
|
| 2287 |
+
},
|
| 2288 |
+
"text2sql/create-context": {
|
| 2289 |
+
"rows": 200,
|
| 2290 |
+
"tokens": 5299,
|
| 2291 |
+
"nll": 0.07845906748774367,
|
| 2292 |
+
"token_acc": 0.9794300811473863,
|
| 2293 |
+
"ppl": 1.0816190808698696,
|
| 2294 |
+
"kl": 0.04964979209113991,
|
| 2295 |
+
"ref_agree": 0.9826382336289866,
|
| 2296 |
+
"ref_nll": 0.02731125776352444
|
| 2297 |
+
},
|
| 2298 |
+
"text2sql/gretel": {
|
| 2299 |
+
"rows": 200,
|
| 2300 |
+
"tokens": 6500,
|
| 2301 |
+
"nll": 0.34331846134479227,
|
| 2302 |
+
"token_acc": 0.9027692307692308,
|
| 2303 |
+
"ppl": 1.409617599170276,
|
| 2304 |
+
"kl": 0.11148773608860633,
|
| 2305 |
+
"ref_agree": 0.9323076923076923,
|
| 2306 |
+
"ref_nll": 0.24304480596689076
|
| 2307 |
+
},
|
| 2308 |
+
"text2sql/wikisql": {
|
| 2309 |
+
"rows": 199,
|
| 2310 |
+
"tokens": 7860,
|
| 2311 |
+
"nll": 0.05983740816286199,
|
| 2312 |
+
"token_acc": 0.9830788804071247,
|
| 2313 |
+
"ppl": 1.0616639146251674,
|
| 2314 |
+
"kl": 0.025075796949903646,
|
| 2315 |
+
"ref_agree": 0.9899491094147582,
|
| 2316 |
+
"ref_nll": 0.03317736669351126
|
| 2317 |
+
}
|
| 2318 |
+
},
|
| 2319 |
+
"applied": {
|
| 2320 |
+
"map": "runs/ft/maps.null-shuffle.json",
|
| 2321 |
+
"apply": "encode",
|
| 2322 |
+
"group_size": 128,
|
| 2323 |
+
"modules": 205,
|
| 2324 |
+
"holds": "compute-dtype values; the size claim is the map's, not this model's",
|
| 2325 |
+
"relative_error_median": 0.09766169726264294,
|
| 2326 |
+
"relative_error_max": 0.41175080913308587
|
| 2327 |
+
}
|
| 2328 |
+
},
|
| 2329 |
+
"ns4": {
|
| 2330 |
+
"overall": {
|
| 2331 |
+
"rows": 999,
|
| 2332 |
+
"tokens": 90517,
|
| 2333 |
+
"nll": 0.15360341466703104,
|
| 2334 |
+
"token_acc": 0.9521968249058188,
|
| 2335 |
+
"ppl": 1.1660283653223762,
|
| 2336 |
+
"kl": 0.021127189274388,
|
| 2337 |
+
"ref_agree": 0.9780814653600981,
|
| 2338 |
+
"ref_nll": 0.13242465121139435
|
| 2339 |
+
},
|
| 2340 |
+
"problems": [],
|
| 2341 |
+
"map": "runs/ft/maps.null-shuffle.json",
|
| 2342 |
+
"map_key": "4.25",
|
| 2343 |
+
"map_apply": "encode",
|
| 2344 |
+
"model": "runs/ft/model",
|
| 2345 |
+
"repeat": {
|
| 2346 |
+
"n": 1
|
| 2347 |
+
},
|
| 2348 |
+
"deterministic": true,
|
| 2349 |
+
"dtype": "bfloat16",
|
| 2350 |
+
"per_stratum": {
|
| 2351 |
+
"code/opencodeinstruct/humaneval": {
|
| 2352 |
+
"rows": 77,
|
| 2353 |
+
"tokens": 11706,
|
| 2354 |
+
"nll": 0.16820271793602065,
|
| 2355 |
+
"token_acc": 0.9525029899196993,
|
| 2356 |
+
"ppl": 1.183176437423738,
|
| 2357 |
+
"kl": 0.018502504555492193,
|
| 2358 |
+
"ref_agree": 0.9826584657440629,
|
| 2359 |
+
"ref_nll": 0.1508189712490523
|
| 2360 |
+
},
|
| 2361 |
+
"code/opencodeinstruct/mbpp": {
|
| 2362 |
+
"rows": 102,
|
| 2363 |
+
"tokens": 14920,
|
| 2364 |
+
"nll": 0.1878773156183974,
|
| 2365 |
+
"token_acc": 0.9400804289544236,
|
| 2366 |
+
"ppl": 1.2066854648080076,
|
| 2367 |
+
"kl": 0.026178602813810962,
|
| 2368 |
+
"ref_agree": 0.9735254691689008,
|
| 2369 |
+
"ref_nll": 0.16033798740632413
|
| 2370 |
+
},
|
| 2371 |
+
"code/opencodeinstruct/raw": {
|
| 2372 |
+
"rows": 221,
|
| 2373 |
+
"tokens": 44232,
|
| 2374 |
+
"nll": 0.1558918318193932,
|
| 2375 |
+
"token_acc": 0.9495840115753301,
|
| 2376 |
+
"ppl": 1.1686997801236296,
|
| 2377 |
+
"kl": 0.021988235157198877,
|
| 2378 |
+
"ref_agree": 0.9757189365165491,
|
| 2379 |
+
"ref_nll": 0.13211396292894997
|
| 2380 |
+
},
|
| 2381 |
+
"text2sql/create-context": {
|
| 2382 |
+
"rows": 200,
|
| 2383 |
+
"tokens": 5299,
|
| 2384 |
+
"nll": 0.035232734716170284,
|
| 2385 |
+
"token_acc": 0.9918852613700698,
|
| 2386 |
+
"ppl": 1.0358607615081898,
|
| 2387 |
+
"kl": 0.00930845156272496,
|
| 2388 |
+
"ref_agree": 0.9941498395923759,
|
| 2389 |
+
"ref_nll": 0.02731125776352444
|
| 2390 |
+
},
|
| 2391 |
+
"text2sql/gretel": {
|
| 2392 |
+
"rows": 200,
|
| 2393 |
+
"tokens": 6500,
|
| 2394 |
+
"nll": 0.2658346262711745,
|
| 2395 |
+
"token_acc": 0.922,
|
| 2396 |
+
"ppl": 1.304519307625414,
|
| 2397 |
+
"kl": 0.03253714658521377,
|
| 2398 |
+
"ref_agree": 0.9646153846153847,
|
| 2399 |
+
"ref_nll": 0.24304480596689076
|
| 2400 |
+
},
|
| 2401 |
+
"text2sql/wikisql": {
|
| 2402 |
+
"rows": 199,
|
| 2403 |
+
"tokens": 7860,
|
| 2404 |
+
"nll": 0.04091334391489587,
|
| 2405 |
+
"token_acc": 0.9876590330788804,
|
| 2406 |
+
"ppl": 1.0417618266324207,
|
| 2407 |
+
"kl": 0.009134117574190512,
|
| 2408 |
+
"ref_agree": 0.9935114503816794,
|
| 2409 |
+
"ref_nll": 0.03317736669351126
|
| 2410 |
+
}
|
| 2411 |
+
},
|
| 2412 |
+
"applied": {
|
| 2413 |
+
"map": "runs/ft/maps.null-shuffle.json",
|
| 2414 |
+
"apply": "encode",
|
| 2415 |
+
"group_size": 128,
|
| 2416 |
+
"modules": 205,
|
| 2417 |
+
"holds": "compute-dtype values; the size claim is the map's, not this model's",
|
| 2418 |
+
"relative_error_median": 0.09593937631930032,
|
| 2419 |
+
"relative_error_max": 0.40936123283670534
|
| 2420 |
+
}
|
| 2421 |
+
},
|
| 2422 |
+
"u3": {
|
| 2423 |
+
"overall": {
|
| 2424 |
+
"rows": 999,
|
| 2425 |
+
"tokens": 90517,
|
| 2426 |
+
"nll": 0.34758592029890434,
|
| 2427 |
+
"token_acc": 0.9023608824861629,
|
| 2428 |
+
"ppl": 1.4156459381116187,
|
| 2429 |
+
"kl": 0.21182433540005072,
|
| 2430 |
+
"ref_agree": 0.9163913960913419,
|
| 2431 |
+
"ref_nll": 0.13242465121139435
|
| 2432 |
+
},
|
| 2433 |
+
"problems": [],
|
| 2434 |
+
"map": "runs/ft/maps.json",
|
| 2435 |
+
"map_key": "uniform-3",
|
| 2436 |
+
"map_apply": "encode",
|
| 2437 |
+
"model": "runs/ft/model",
|
| 2438 |
+
"repeat": {
|
| 2439 |
+
"n": 1
|
| 2440 |
+
},
|
| 2441 |
+
"deterministic": true,
|
| 2442 |
+
"dtype": "bfloat16",
|
| 2443 |
+
"per_stratum": {
|
| 2444 |
+
"code/opencodeinstruct/humaneval": {
|
| 2445 |
+
"rows": 77,
|
| 2446 |
+
"tokens": 11706,
|
| 2447 |
+
"nll": 0.31432390628503815,
|
| 2448 |
+
"token_acc": 0.9151717068170169,
|
| 2449 |
+
"ppl": 1.3693332003530472,
|
| 2450 |
+
"kl": 0.16750224895761034,
|
| 2451 |
+
"ref_agree": 0.9301213053135144,
|
| 2452 |
+
"ref_nll": 0.1508189712490523
|
| 2453 |
+
},
|
| 2454 |
+
"code/opencodeinstruct/mbpp": {
|
| 2455 |
+
"rows": 102,
|
| 2456 |
+
"tokens": 14920,
|
| 2457 |
+
"nll": 0.4029874875782003,
|
| 2458 |
+
"token_acc": 0.882171581769437,
|
| 2459 |
+
"ppl": 1.4962881693577432,
|
| 2460 |
+
"kl": 0.23330893886296275,
|
| 2461 |
+
"ref_agree": 0.9025469168900804,
|
| 2462 |
+
"ref_nll": 0.16033798740632413
|
| 2463 |
+
},
|
| 2464 |
+
"code/opencodeinstruct/raw": {
|
| 2465 |
+
"rows": 221,
|
| 2466 |
+
"tokens": 44232,
|
| 2467 |
+
"nll": 0.33394813811418955,
|
| 2468 |
+
"token_acc": 0.9016323024054983,
|
| 2469 |
+
"ppl": 1.3964707180915412,
|
| 2470 |
+
"kl": 0.19864384188609605,
|
| 2471 |
+
"ref_agree": 0.9149936697413638,
|
| 2472 |
+
"ref_nll": 0.13211396292894997
|
| 2473 |
+
},
|
| 2474 |
+
"text2sql/create-context": {
|
| 2475 |
+
"rows": 200,
|
| 2476 |
+
"tokens": 5299,
|
| 2477 |
+
"nll": 0.2547157235045684,
|
| 2478 |
+
"token_acc": 0.9397999622570297,
|
| 2479 |
+
"ppl": 1.2900948251039972,
|
| 2480 |
+
"kl": 0.22134498058329602,
|
| 2481 |
+
"ref_agree": 0.9422532553311945,
|
| 2482 |
+
"ref_nll": 0.02731125776352444
|
| 2483 |
+
},
|
| 2484 |
+
"text2sql/gretel": {
|
| 2485 |
+
"rows": 200,
|
| 2486 |
+
"tokens": 6500,
|
| 2487 |
+
"nll": 0.6218057585496168,
|
| 2488 |
+
"token_acc": 0.844,
|
| 2489 |
+
"ppl": 1.8622878496388902,
|
| 2490 |
+
"kl": 0.3788637918002584,
|
| 2491 |
+
"ref_agree": 0.8666153846153846,
|
| 2492 |
+
"ref_nll": 0.24304480596689076
|
| 2493 |
+
},
|
| 2494 |
+
"text2sql/wikisql": {
|
| 2495 |
+
"rows": 199,
|
| 2496 |
+
"tokens": 7860,
|
| 2497 |
+
"nll": 0.20454398111532662,
|
| 2498 |
+
"token_acc": 0.9487277353689567,
|
| 2499 |
+
"ppl": 1.2269654179666425,
|
| 2500 |
+
"kl": 0.1666687735565944,
|
| 2501 |
+
"ref_agree": 0.9538167938931298,
|
| 2502 |
+
"ref_nll": 0.03317736669351126
|
| 2503 |
+
}
|
| 2504 |
+
},
|
| 2505 |
+
"applied": {
|
| 2506 |
+
"map": "runs/ft/maps.json",
|
| 2507 |
+
"apply": "encode",
|
| 2508 |
+
"group_size": 128,
|
| 2509 |
+
"modules": 205,
|
| 2510 |
+
"holds": "compute-dtype values; the size claim is the map's, not this model's",
|
| 2511 |
+
"relative_error_median": 0.188907566424998,
|
| 2512 |
+
"relative_error_max": 0.23925855463685822
|
| 2513 |
+
}
|
| 2514 |
+
},
|
| 2515 |
+
"u4": {
|
| 2516 |
+
"overall": {
|
| 2517 |
+
"rows": 999,
|
| 2518 |
+
"tokens": 90517,
|
| 2519 |
+
"nll": 0.16478117189464558,
|
| 2520 |
+
"token_acc": 0.9488272921108742,
|
| 2521 |
+
"ppl": 1.1791350625857513,
|
| 2522 |
+
"kl": 0.0332086044061975,
|
| 2523 |
+
"ref_agree": 0.9724803075665345,
|
| 2524 |
+
"ref_nll": 0.13242465121139435
|
| 2525 |
+
},
|
| 2526 |
+
"problems": [],
|
| 2527 |
+
"map": "runs/ft/maps.json",
|
| 2528 |
+
"map_key": "uniform-4",
|
| 2529 |
+
"map_apply": "encode",
|
| 2530 |
+
"model": "runs/ft/model",
|
| 2531 |
+
"repeat": {
|
| 2532 |
+
"n": 1
|
| 2533 |
+
},
|
| 2534 |
+
"deterministic": true,
|
| 2535 |
+
"dtype": "bfloat16",
|
| 2536 |
+
"per_stratum": {
|
| 2537 |
+
"code/opencodeinstruct/humaneval": {
|
| 2538 |
+
"rows": 77,
|
| 2539 |
+
"tokens": 11706,
|
| 2540 |
+
"nll": 0.17306392921579408,
|
| 2541 |
+
"token_acc": 0.951563300871348,
|
| 2542 |
+
"ppl": 1.1889421107912812,
|
| 2543 |
+
"kl": 0.02507681738564614,
|
| 2544 |
+
"ref_agree": 0.9781308730565522,
|
| 2545 |
+
"ref_nll": 0.1508189712490523
|
| 2546 |
+
},
|
| 2547 |
+
"code/opencodeinstruct/mbpp": {
|
| 2548 |
+
"rows": 102,
|
| 2549 |
+
"tokens": 14920,
|
| 2550 |
+
"nll": 0.1976340754741638,
|
| 2551 |
+
"token_acc": 0.9363941018766756,
|
| 2552 |
+
"ppl": 1.2185164271857125,
|
| 2553 |
+
"kl": 0.03693874788969137,
|
| 2554 |
+
"ref_agree": 0.9651474530831099,
|
| 2555 |
+
"ref_nll": 0.16033798740632413
|
| 2556 |
+
},
|
| 2557 |
+
"code/opencodeinstruct/raw": {
|
| 2558 |
+
"rows": 221,
|
| 2559 |
+
"tokens": 44232,
|
| 2560 |
+
"nll": 0.1630951359552724,
|
| 2561 |
+
"token_acc": 0.9472553807198408,
|
| 2562 |
+
"ppl": 1.1771486735250913,
|
| 2563 |
+
"kl": 0.03103937174116571,
|
| 2564 |
+
"ref_agree": 0.9711747151383614,
|
| 2565 |
+
"ref_nll": 0.13211396292894997
|
| 2566 |
+
},
|
| 2567 |
+
"text2sql/create-context": {
|
| 2568 |
+
"rows": 200,
|
| 2569 |
+
"tokens": 5299,
|
| 2570 |
+
"nll": 0.08770212089594726,
|
| 2571 |
+
"token_acc": 0.9786752217399509,
|
| 2572 |
+
"ppl": 1.0916628900270848,
|
| 2573 |
+
"kl": 0.05860063270615002,
|
| 2574 |
+
"ref_agree": 0.980939799962257,
|
| 2575 |
+
"ref_nll": 0.02731125776352444
|
| 2576 |
+
},
|
| 2577 |
+
"text2sql/gretel": {
|
| 2578 |
+
"rows": 200,
|
| 2579 |
+
"tokens": 6500,
|
| 2580 |
+
"nll": 0.2781067943572998,
|
| 2581 |
+
"token_acc": 0.9181538461538462,
|
| 2582 |
+
"ppl": 1.320627225214213,
|
| 2583 |
+
"kl": 0.04349825681624746,
|
| 2584 |
+
"ref_agree": 0.9613846153846154,
|
| 2585 |
+
"ref_nll": 0.24304480596689076
|
| 2586 |
+
},
|
| 2587 |
+
"text2sql/wikisql": {
|
| 2588 |
+
"rows": 199,
|
| 2589 |
+
"tokens": 7860,
|
| 2590 |
+
"nll": 0.0578191882174737,
|
| 2591 |
+
"token_acc": 0.982442748091603,
|
| 2592 |
+
"ppl": 1.0595234040744779,
|
| 2593 |
+
"kl": 0.024818192027286502,
|
| 2594 |
+
"ref_agree": 0.9888040712468193,
|
| 2595 |
+
"ref_nll": 0.03317736669351126
|
| 2596 |
+
}
|
| 2597 |
+
},
|
| 2598 |
+
"applied": {
|
| 2599 |
+
"map": "runs/ft/maps.json",
|
| 2600 |
+
"apply": "encode",
|
| 2601 |
+
"group_size": 128,
|
| 2602 |
+
"modules": 205,
|
| 2603 |
+
"holds": "compute-dtype values; the size claim is the map's, not this model's",
|
| 2604 |
+
"relative_error_median": 0.09587589744336615,
|
| 2605 |
+
"relative_error_max": 0.12479219383677037
|
| 2606 |
+
}
|
| 2607 |
+
}
|
| 2608 |
+
},
|
| 2609 |
+
"nll_pairs": [
|
| 2610 |
+
{
|
| 2611 |
+
"arm": "dq4p",
|
| 2612 |
+
"ref": "u4",
|
| 2613 |
+
"kl": {
|
| 2614 |
+
"diff": -0.01658530785717795,
|
| 2615 |
+
"se": 0.0007209748506822247,
|
| 2616 |
+
"z": -23.004003317846735,
|
| 2617 |
+
"p": 4.2504764811125194e-117,
|
| 2618 |
+
"convs_arm_lower": 866,
|
| 2619 |
+
"convs_arm_higher": 133,
|
| 2620 |
+
"convs": 999
|
| 2621 |
+
},
|
| 2622 |
+
"nll": {
|
| 2623 |
+
"diff": -0.016264980409341243,
|
| 2624 |
+
"se": 0.0010409436652414187,
|
| 2625 |
+
"z": -15.62522637146653,
|
| 2626 |
+
"p": 4.90177671705273e-55,
|
| 2627 |
+
"convs_arm_lower": 717,
|
| 2628 |
+
"convs_arm_higher": 282,
|
| 2629 |
+
"convs": 999
|
| 2630 |
+
}
|
| 2631 |
+
},
|
| 2632 |
+
{
|
| 2633 |
+
"arm": "dq4p",
|
| 2634 |
+
"ref": "ns4",
|
| 2635 |
+
"kl": {
|
| 2636 |
+
"diff": -0.004503892725368443,
|
| 2637 |
+
"se": 0.00034605056624119037,
|
| 2638 |
+
"z": -13.01512889948378,
|
| 2639 |
+
"p": 1.0037278133145185e-38,
|
| 2640 |
+
"convs_arm_lower": 696,
|
| 2641 |
+
"convs_arm_higher": 303,
|
| 2642 |
+
"convs": 999
|
| 2643 |
+
},
|
| 2644 |
+
"nll": {
|
| 2645 |
+
"diff": -0.005087223181726708,
|
| 2646 |
+
"se": 0.0007034936093170352,
|
| 2647 |
+
"z": -7.231370853056476,
|
| 2648 |
+
"p": 4.781426656720506e-13,
|
| 2649 |
+
"convs_arm_lower": 616,
|
| 2650 |
+
"convs_arm_higher": 383,
|
| 2651 |
+
"convs": 999
|
| 2652 |
+
}
|
| 2653 |
+
},
|
| 2654 |
+
{
|
| 2655 |
+
"arm": "dq3p",
|
| 2656 |
+
"ref": "u3",
|
| 2657 |
+
"kl": {
|
| 2658 |
+
"diff": -0.15240116220458436,
|
| 2659 |
+
"se": 0.0031803181947206768,
|
| 2660 |
+
"z": -47.920098830856,
|
| 2661 |
+
"p": 0.0,
|
| 2662 |
+
"convs_arm_lower": 990,
|
| 2663 |
+
"convs_arm_higher": 9,
|
| 2664 |
+
"convs": 999
|
| 2665 |
+
},
|
| 2666 |
+
"nll": {
|
| 2667 |
+
"diff": -0.15635099994381235,
|
| 2668 |
+
"se": 0.003512677237772325,
|
| 2669 |
+
"z": -44.51049423572069,
|
| 2670 |
+
"p": 0.0,
|
| 2671 |
+
"convs_arm_lower": 967,
|
| 2672 |
+
"convs_arm_higher": 32,
|
| 2673 |
+
"convs": 999
|
| 2674 |
+
}
|
| 2675 |
+
},
|
| 2676 |
+
{
|
| 2677 |
+
"arm": "dq3p",
|
| 2678 |
+
"ref": "ns3",
|
| 2679 |
+
"kl": {
|
| 2680 |
+
"diff": -0.012346846815850238,
|
| 2681 |
+
"se": 0.0008226269430530806,
|
| 2682 |
+
"z": -15.009047442606738,
|
| 2683 |
+
"p": 6.406107106180236e-51,
|
| 2684 |
+
"convs_arm_lower": 687,
|
| 2685 |
+
"convs_arm_higher": 312,
|
| 2686 |
+
"convs": 999
|
| 2687 |
+
},
|
| 2688 |
+
"nll": {
|
| 2689 |
+
"diff": -0.01357475675097836,
|
| 2690 |
+
"se": 0.0011687353357687277,
|
| 2691 |
+
"z": -11.614910866068456,
|
| 2692 |
+
"p": 3.4614918124621655e-31,
|
| 2693 |
+
"convs_arm_lower": 633,
|
| 2694 |
+
"convs_arm_higher": 366,
|
| 2695 |
+
"convs": 999
|
| 2696 |
+
}
|
| 2697 |
+
}
|
| 2698 |
+
],
|
| 2699 |
+
"maps": {
|
| 2700 |
+
"real": {
|
| 2701 |
+
"path": "runs/ft/maps.json",
|
| 2702 |
+
"group_size": 128,
|
| 2703 |
+
"allocator": "sensitivity",
|
| 2704 |
+
"keys": {
|
| 2705 |
+
"4.25": {
|
| 2706 |
+
"average_bits": 4.247889911339871,
|
| 2707 |
+
"nbytes": 898002432,
|
| 2708 |
+
"histogram": {
|
| 2709 |
+
"2": 9,
|
| 2710 |
+
"3": 27,
|
| 2711 |
+
"4": 119,
|
| 2712 |
+
"8": 50
|
| 2713 |
+
},
|
| 2714 |
+
"pricing": {
|
| 2715 |
+
"measured_modules": 133,
|
| 2716 |
+
"proxied_modules": 72,
|
| 2717 |
+
"measured_params": 331743232,
|
| 2718 |
+
"proxied_params": 1358954496,
|
| 2719 |
+
"proxied_share": 0.803783239010776,
|
| 2720 |
+
"scale": 1.1908850493541702e-17
|
| 2721 |
+
},
|
| 2722 |
+
"breaches": 0,
|
| 2723 |
+
"breach_roles": [],
|
| 2724 |
+
"modules": 205
|
| 2725 |
+
},
|
| 2726 |
+
"3.25": {
|
| 2727 |
+
"average_bits": 3.249502780629039,
|
| 2728 |
+
"nbytes": 686943744,
|
| 2729 |
+
"histogram": {
|
| 2730 |
+
"2": 35,
|
| 2731 |
+
"3": 26,
|
| 2732 |
+
"4": 117,
|
| 2733 |
+
"8": 27
|
| 2734 |
+
},
|
| 2735 |
+
"pricing": {
|
| 2736 |
+
"measured_modules": 133,
|
| 2737 |
+
"proxied_modules": 72,
|
| 2738 |
+
"measured_params": 331743232,
|
| 2739 |
+
"proxied_params": 1358954496,
|
| 2740 |
+
"proxied_share": 0.803783239010776,
|
| 2741 |
+
"scale": 1.1908850493541702e-17
|
| 2742 |
+
},
|
| 2743 |
+
"breaches": 12,
|
| 2744 |
+
"breach_roles": [
|
| 2745 |
+
{
|
| 2746 |
+
"role": "embedding",
|
| 2747 |
+
"bits": 4,
|
| 2748 |
+
"floor": 8,
|
| 2749 |
+
"count": 1
|
| 2750 |
+
},
|
| 2751 |
+
{
|
| 2752 |
+
"role": "moe.expert.gate",
|
| 2753 |
+
"bits": 2,
|
| 2754 |
+
"floor": 4,
|
| 2755 |
+
"count": 3
|
| 2756 |
+
},
|
| 2757 |
+
{
|
| 2758 |
+
"role": "moe.expert.gate",
|
| 2759 |
+
"bits": 3,
|
| 2760 |
+
"floor": 4,
|
| 2761 |
+
"count": 8
|
| 2762 |
+
}
|
| 2763 |
+
],
|
| 2764 |
+
"modules": 205
|
| 2765 |
+
},
|
| 2766 |
+
"uniform-4": {
|
| 2767 |
+
"average_bits": 4.2529881222886425,
|
| 2768 |
+
"nbytes": 899080192,
|
| 2769 |
+
"histogram": {
|
| 2770 |
+
"4": 205
|
| 2771 |
+
},
|
| 2772 |
+
"pricing": null,
|
| 2773 |
+
"breaches": 1,
|
| 2774 |
+
"breach_roles": [
|
| 2775 |
+
{
|
| 2776 |
+
"role": "embedding",
|
| 2777 |
+
"bits": 4,
|
| 2778 |
+
"floor": 8,
|
| 2779 |
+
"count": 1
|
| 2780 |
+
}
|
| 2781 |
+
],
|
| 2782 |
+
"modules": 205
|
| 2783 |
+
},
|
| 2784 |
+
"uniform-3": {
|
| 2785 |
+
"average_bits": 3.2532834491758473,
|
| 2786 |
+
"nbytes": 687742976,
|
| 2787 |
+
"histogram": {
|
| 2788 |
+
"3": 205
|
| 2789 |
+
},
|
| 2790 |
+
"pricing": null,
|
| 2791 |
+
"breaches": 109,
|
| 2792 |
+
"breach_roles": [
|
| 2793 |
+
{
|
| 2794 |
+
"role": "attn.k",
|
| 2795 |
+
"bits": 3,
|
| 2796 |
+
"floor": 4,
|
| 2797 |
+
"count": 6
|
| 2798 |
+
},
|
| 2799 |
+
{
|
| 2800 |
+
"role": "attn.o",
|
| 2801 |
+
"bits": 3,
|
| 2802 |
+
"floor": 4,
|
| 2803 |
+
"count": 24
|
| 2804 |
+
},
|
| 2805 |
+
{
|
| 2806 |
+
"role": "attn.q",
|
| 2807 |
+
"bits": 3,
|
| 2808 |
+
"floor": 4,
|
| 2809 |
+
"count": 6
|
| 2810 |
+
},
|
| 2811 |
+
{
|
| 2812 |
+
"role": "attn.v",
|
| 2813 |
+
"bits": 3,
|
| 2814 |
+
"floor": 4,
|
| 2815 |
+
"count": 6
|
| 2816 |
+
},
|
| 2817 |
+
{
|
| 2818 |
+
"role": "embedding",
|
| 2819 |
+
"bits": 3,
|
| 2820 |
+
"floor": 8,
|
| 2821 |
+
"count": 1
|
| 2822 |
+
},
|
| 2823 |
+
{
|
| 2824 |
+
"role": "moe.expert.gate",
|
| 2825 |
+
"bits": 3,
|
| 2826 |
+
"floor": 4,
|
| 2827 |
+
"count": 24
|
| 2828 |
+
},
|
| 2829 |
+
{
|
| 2830 |
+
"role": "moe.shared.gate",
|
| 2831 |
+
"bits": 3,
|
| 2832 |
+
"floor": 4,
|
| 2833 |
+
"count": 24
|
| 2834 |
+
},
|
| 2835 |
+
{
|
| 2836 |
+
"role": "ssm.in",
|
| 2837 |
+
"bits": 3,
|
| 2838 |
+
"floor": 4,
|
| 2839 |
+
"count": 18
|
| 2840 |
+
}
|
| 2841 |
+
],
|
| 2842 |
+
"modules": 205
|
| 2843 |
+
}
|
| 2844 |
+
},
|
| 2845 |
+
"params": {
|
| 2846 |
+
"total": 1691197184,
|
| 2847 |
+
"quantized": 1690697728,
|
| 2848 |
+
"bf16_remainder": 499456
|
| 2849 |
+
},
|
| 2850 |
+
"uniform_repriced": {
|
| 2851 |
+
"uniform-4": {
|
| 2852 |
+
"bits": 4,
|
| 2853 |
+
"nbytes": 899182080,
|
| 2854 |
+
"average_bits": 4.253470090924655,
|
| 2855 |
+
"recorded_nbytes": 899080192,
|
| 2856 |
+
"remainder_charged": 448512,
|
| 2857 |
+
"remainder": 499456
|
| 2858 |
+
},
|
| 2859 |
+
"uniform-3": {
|
| 2860 |
+
"bits": 3,
|
| 2861 |
+
"nbytes": 687844864,
|
| 2862 |
+
"average_bits": 3.2537654178118594,
|
| 2863 |
+
"recorded_nbytes": 687742976,
|
| 2864 |
+
"remainder_charged": 448512,
|
| 2865 |
+
"remainder": 499456
|
| 2866 |
+
}
|
| 2867 |
+
}
|
| 2868 |
+
},
|
| 2869 |
+
"null-shuffle": {
|
| 2870 |
+
"path": "runs/ft/maps.null-shuffle.json",
|
| 2871 |
+
"group_size": 128,
|
| 2872 |
+
"allocator": "sensitivity+null:shuffle(seed=0)",
|
| 2873 |
+
"keys": {
|
| 2874 |
+
"4.25": {
|
| 2875 |
+
"average_bits": 4.247889911339871,
|
| 2876 |
+
"nbytes": 898002432,
|
| 2877 |
+
"histogram": {
|
| 2878 |
+
"2": 9,
|
| 2879 |
+
"3": 27,
|
| 2880 |
+
"4": 119,
|
| 2881 |
+
"8": 50
|
| 2882 |
+
},
|
| 2883 |
+
"pricing": {
|
| 2884 |
+
"measured_modules": 133,
|
| 2885 |
+
"proxied_modules": 72,
|
| 2886 |
+
"measured_params": 331743232,
|
| 2887 |
+
"proxied_params": 1358954496,
|
| 2888 |
+
"proxied_share": 0.803783239010776,
|
| 2889 |
+
"scale": 1.1908850493541702e-17
|
| 2890 |
+
},
|
| 2891 |
+
"breaches": 0,
|
| 2892 |
+
"breach_roles": [],
|
| 2893 |
+
"modules": 205,
|
| 2894 |
+
"moved_vs_real": 63
|
| 2895 |
+
},
|
| 2896 |
+
"3.25": {
|
| 2897 |
+
"average_bits": 3.249502780629039,
|
| 2898 |
+
"nbytes": 686943744,
|
| 2899 |
+
"histogram": {
|
| 2900 |
+
"2": 35,
|
| 2901 |
+
"3": 26,
|
| 2902 |
+
"4": 117,
|
| 2903 |
+
"8": 27
|
| 2904 |
+
},
|
| 2905 |
+
"pricing": {
|
| 2906 |
+
"measured_modules": 133,
|
| 2907 |
+
"proxied_modules": 72,
|
| 2908 |
+
"measured_params": 331743232,
|
| 2909 |
+
"proxied_params": 1358954496,
|
| 2910 |
+
"proxied_share": 0.803783239010776,
|
| 2911 |
+
"scale": 1.1908850493541702e-17
|
| 2912 |
+
},
|
| 2913 |
+
"breaches": 12,
|
| 2914 |
+
"breach_roles": [
|
| 2915 |
+
{
|
| 2916 |
+
"role": "embedding",
|
| 2917 |
+
"bits": 4,
|
| 2918 |
+
"floor": 8,
|
| 2919 |
+
"count": 1
|
| 2920 |
+
},
|
| 2921 |
+
{
|
| 2922 |
+
"role": "moe.expert.gate",
|
| 2923 |
+
"bits": 2,
|
| 2924 |
+
"floor": 4,
|
| 2925 |
+
"count": 3
|
| 2926 |
+
},
|
| 2927 |
+
{
|
| 2928 |
+
"role": "moe.expert.gate",
|
| 2929 |
+
"bits": 3,
|
| 2930 |
+
"floor": 4,
|
| 2931 |
+
"count": 8
|
| 2932 |
+
}
|
| 2933 |
+
],
|
| 2934 |
+
"modules": 205,
|
| 2935 |
+
"moved_vs_real": 52
|
| 2936 |
+
}
|
| 2937 |
+
}
|
| 2938 |
+
}
|
| 2939 |
+
},
|
| 2940 |
+
"vram": [
|
| 2941 |
+
{
|
| 2942 |
+
"model": "runs/ft/model",
|
| 2943 |
+
"resident_bytes": 3382398976,
|
| 2944 |
+
"resident_gib": 3.1501,
|
| 2945 |
+
"safetensors_bytes": 3382428152,
|
| 2946 |
+
"safetensors_gib": 3.1501,
|
| 2947 |
+
"map_predicted_bytes": null,
|
| 2948 |
+
"resident_over_predicted": null,
|
| 2949 |
+
"parameters": {
|
| 2950 |
+
"total": 1691197184,
|
| 2951 |
+
"bytes": 3382394368,
|
| 2952 |
+
"buffers_bytes": 0
|
| 2953 |
+
}
|
| 2954 |
+
},
|
| 2955 |
+
{
|
| 2956 |
+
"model": "runs/export/dq4",
|
| 2957 |
+
"resident_bytes": 898007040,
|
| 2958 |
+
"resident_gib": 0.8363,
|
| 2959 |
+
"safetensors_bytes": 898079352,
|
| 2960 |
+
"safetensors_gib": 0.8364,
|
| 2961 |
+
"map_predicted_bytes": 898002432,
|
| 2962 |
+
"resident_over_predicted": 1.0,
|
| 2963 |
+
"parameters": {
|
| 2964 |
+
"total": 499456,
|
| 2965 |
+
"bytes": 998912,
|
| 2966 |
+
"buffers_bytes": 897003520
|
| 2967 |
+
}
|
| 2968 |
+
},
|
| 2969 |
+
{
|
| 2970 |
+
"model": "runs/export/dq3",
|
| 2971 |
+
"resident_bytes": 686948352,
|
| 2972 |
+
"resident_gib": 0.6398,
|
| 2973 |
+
"safetensors_bytes": 687020624,
|
| 2974 |
+
"safetensors_gib": 0.6398,
|
| 2975 |
+
"map_predicted_bytes": 686943744,
|
| 2976 |
+
"resident_over_predicted": 1.0,
|
| 2977 |
+
"parameters": {
|
| 2978 |
+
"total": 499456,
|
| 2979 |
+
"bytes": 998912,
|
| 2980 |
+
"buffers_bytes": 685944832
|
| 2981 |
+
}
|
| 2982 |
+
}
|
| 2983 |
+
],
|
| 2984 |
+
"parity": [
|
| 2985 |
+
{
|
| 2986 |
+
"verdict": "EXACT",
|
| 2987 |
+
"encode": "evals/nll-dq4",
|
| 2988 |
+
"packed": "evals/nll-dq4p",
|
| 2989 |
+
"report": {
|
| 2990 |
+
"agree": "equal",
|
| 2991 |
+
"kl": "equal",
|
| 2992 |
+
"nll": "equal",
|
| 2993 |
+
"pred": "equal",
|
| 2994 |
+
"ref_nll": "equal",
|
| 2995 |
+
"row": "equal",
|
| 2996 |
+
"target": "equal"
|
| 2997 |
+
},
|
| 2998 |
+
"runs": 2
|
| 2999 |
+
},
|
| 3000 |
+
{
|
| 3001 |
+
"verdict": "EXACT",
|
| 3002 |
+
"encode": "evals/nll-dq3",
|
| 3003 |
+
"packed": "evals/nll-dq3p",
|
| 3004 |
+
"report": {
|
| 3005 |
+
"agree": "equal",
|
| 3006 |
+
"kl": "equal",
|
| 3007 |
+
"nll": "equal",
|
| 3008 |
+
"pred": "equal",
|
| 3009 |
+
"ref_nll": "equal",
|
| 3010 |
+
"row": "equal",
|
| 3011 |
+
"target": "equal"
|
| 3012 |
+
},
|
| 3013 |
+
"runs": 2
|
| 3014 |
+
}
|
| 3015 |
+
],
|
| 3016 |
+
"greedy_check": [
|
| 3017 |
+
"deterministic=True",
|
| 3018 |
+
"MERGED {\"do_sample\": false, \"num_beams\": 1, \"temperature\": 0.7, \"top_k\": 2, \"top_p\": 0.9}",
|
| 3019 |
+
"SEEDS rows identical under seeds 1 and 2: 8/8",
|
| 3020 |
+
"ARGMAX 583/584 emitted tokens are the teacher-forced argmax; 1 not, 0 of them by more than 0.25 logits; gaps [0.125]",
|
| 3021 |
+
"GREEDY_OK"
|
| 3022 |
+
],
|
| 3023 |
+
"det_verdict": "EXACT",
|
| 3024 |
+
"method": {
|
| 3025 |
+
"test": "McNemar exact, two-sided, on discordant items",
|
| 3026 |
+
"ci": "exact conditional 95%: Clopper-Pearson on the arm's share of the discordant items, scaled by the discordant share",
|
| 3027 |
+
"delta": "arm minus reference, points",
|
| 3028 |
+
"holm": "step-down within the primary family",
|
| 3029 |
+
"alpha": 0.05
|
| 3030 |
+
}
|
| 3031 |
+
}
|
evals/u4-humaneval.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
evals/u4-mbpp.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
evals/u4-text2sql.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
generation_config.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token_id": 151643,
|
| 3 |
+
"do_sample": false,
|
| 4 |
+
"eos_token_id": [
|
| 5 |
+
151645,
|
| 6 |
+
151643
|
| 7 |
+
],
|
| 8 |
+
"max_new_tokens": 512,
|
| 9 |
+
"output_attentions": false,
|
| 10 |
+
"output_hidden_states": false,
|
| 11 |
+
"pad_token_id": 151643,
|
| 12 |
+
"transformers_version": "5.14.1",
|
| 13 |
+
"use_cache": true
|
| 14 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:78c31c455175e4845f88dabb61ea6060995b2dcee74e82c7b307b7c9bc819db9
|
| 3 |
+
size 898079352
|
modeling_kambo.py
ADDED
|
@@ -0,0 +1,604 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# coding=utf-8
|
| 2 |
+
"""Kambo-v1: a hybrid short-convolution / grouped-query-attention MoE.
|
| 3 |
+
|
| 4 |
+
The backbone is 24 layers. Six of them (3, 7, 11, 15, 19, 23) are grouped-query
|
| 5 |
+
attention with RoPE and QK-norm; the other eighteen are double-gated causal
|
| 6 |
+
short convolutions. Every layer's feed-forward is a mixture of experts: 16
|
| 7 |
+
routed experts at top-2 plus one shared expert that sees every token.
|
| 8 |
+
|
| 9 |
+
Two consequences shape this file:
|
| 10 |
+
|
| 11 |
+
* Incremental decoding needs two different caches. The attention layers need
|
| 12 |
+
the usual keys and values. The convolution layers need no keys or values at
|
| 13 |
+
all -- only the last ``conv_kernel - 1`` columns of their pre-convolution
|
| 14 |
+
signal, a few kilobytes that stay constant no matter how long the context
|
| 15 |
+
grows. ``KamboCache`` holds both, and the model tells `generate` to leave
|
| 16 |
+
cache construction alone (``_supports_default_dynamic_cache`` is False).
|
| 17 |
+
|
| 18 |
+
* The convolution carries no positional encoding, so it cannot tell a padding
|
| 19 |
+
token from a real one by position. Left-padded batches therefore zero the
|
| 20 |
+
pre-convolution signal at padded positions, which is exactly what the
|
| 21 |
+
causal left-pad does at the start of a sequence. Without that, the first
|
| 22 |
+
two real tokens of a padded row convolve against the padding and a batch of
|
| 23 |
+
two prompts does not reproduce the same two prompts run one at a time.
|
| 24 |
+
"""
|
| 25 |
+
|
| 26 |
+
from typing import List, Optional, Tuple, Union
|
| 27 |
+
|
| 28 |
+
import torch
|
| 29 |
+
import torch.nn as nn
|
| 30 |
+
import torch.nn.functional as F
|
| 31 |
+
import transformers
|
| 32 |
+
from transformers.modeling_outputs import BaseModelOutputWithPast, CausalLMOutputWithPast
|
| 33 |
+
from transformers.modeling_utils import PreTrainedModel
|
| 34 |
+
from transformers.generation import GenerationMixin
|
| 35 |
+
|
| 36 |
+
from .configuration_kambo import KamboConfig
|
| 37 |
+
|
| 38 |
+
|
| 39 |
+
# ---------------------------------------------------------------------------
|
| 40 |
+
# Cache
|
| 41 |
+
# ---------------------------------------------------------------------------
|
| 42 |
+
|
| 43 |
+
class KamboCache:
|
| 44 |
+
"""Per-layer state for incremental decoding.
|
| 45 |
+
|
| 46 |
+
Deliberately not a subclass of ``transformers.Cache``: that contract assumes
|
| 47 |
+
every layer stores keys and values, and eighteen of these layers store a
|
| 48 |
+
convolution window instead. The model opts out of the default cache
|
| 49 |
+
machinery and builds this itself in ``prepare_inputs_for_generation``.
|
| 50 |
+
"""
|
| 51 |
+
|
| 52 |
+
def __init__(self):
|
| 53 |
+
self.key_cache: dict = {}
|
| 54 |
+
self.value_cache: dict = {}
|
| 55 |
+
self.conv_states: dict = {}
|
| 56 |
+
self._seen = 0
|
| 57 |
+
|
| 58 |
+
def get_seq_length(self, layer_idx: int = 0) -> int:
|
| 59 |
+
return self._seen
|
| 60 |
+
|
| 61 |
+
# `generate` calls this on some paths to size a new cache.
|
| 62 |
+
def get_max_cache_shape(self):
|
| 63 |
+
return None
|
| 64 |
+
|
| 65 |
+
def get_mask_sizes(self, cache_position, layer_idx: int = 0):
|
| 66 |
+
return self._seen + cache_position.shape[0], self._seen
|
| 67 |
+
|
| 68 |
+
def update_attention(self, key, value, layer_idx: int):
|
| 69 |
+
if layer_idx in self.key_cache:
|
| 70 |
+
key = torch.cat([self.key_cache[layer_idx], key], dim=2)
|
| 71 |
+
value = torch.cat([self.value_cache[layer_idx], value], dim=2)
|
| 72 |
+
self.key_cache[layer_idx] = key
|
| 73 |
+
self.value_cache[layer_idx] = value
|
| 74 |
+
return key, value
|
| 75 |
+
|
| 76 |
+
def reorder(self, beam_idx: torch.LongTensor):
|
| 77 |
+
for d in (self.key_cache, self.value_cache, self.conv_states):
|
| 78 |
+
for i, t in d.items():
|
| 79 |
+
d[i] = t.index_select(0, beam_idx.to(t.device))
|
| 80 |
+
|
| 81 |
+
# Beam search calls this name on the cache object.
|
| 82 |
+
def reorder_cache(self, beam_idx):
|
| 83 |
+
self.reorder(beam_idx)
|
| 84 |
+
|
| 85 |
+
def batch_select_indices(self, indices):
|
| 86 |
+
self.reorder(indices)
|
| 87 |
+
|
| 88 |
+
def crop(self, max_length: int):
|
| 89 |
+
"""Assisted decoding rolls the cache back when a draft is rejected.
|
| 90 |
+
|
| 91 |
+
The attention layers can be sliced, but a convolution state is a sliding
|
| 92 |
+
window that cannot be reconstructed from a shorter prefix without
|
| 93 |
+
re-running the layer. Rather than return a silently wrong state, refuse:
|
| 94 |
+
the caller sees an error instead of degraded output.
|
| 95 |
+
"""
|
| 96 |
+
raise NotImplementedError(
|
| 97 |
+
"Kambo caches a convolution window that cannot be cropped. "
|
| 98 |
+
"Speculative/assisted decoding is not supported; use plain generate()."
|
| 99 |
+
)
|
| 100 |
+
|
| 101 |
+
def __len__(self):
|
| 102 |
+
return self._seen
|
| 103 |
+
|
| 104 |
+
|
| 105 |
+
# ---------------------------------------------------------------------------
|
| 106 |
+
# Primitives
|
| 107 |
+
# ---------------------------------------------------------------------------
|
| 108 |
+
|
| 109 |
+
class KamboRMSNorm(nn.Module):
|
| 110 |
+
def __init__(self, dim: int, eps: float = 1e-6):
|
| 111 |
+
super().__init__()
|
| 112 |
+
self.weight = nn.Parameter(torch.ones(dim))
|
| 113 |
+
self.eps = eps
|
| 114 |
+
|
| 115 |
+
def forward(self, x):
|
| 116 |
+
dt = x.dtype
|
| 117 |
+
x = x.float()
|
| 118 |
+
x = x * torch.rsqrt(x.pow(2).mean(-1, keepdim=True) + self.eps)
|
| 119 |
+
return (x * self.weight.float()).to(dt)
|
| 120 |
+
|
| 121 |
+
def extra_repr(self):
|
| 122 |
+
return f"{tuple(self.weight.shape)}, eps={self.eps}"
|
| 123 |
+
|
| 124 |
+
|
| 125 |
+
def _rope_cache(seq: int, head_dim: int, theta: float, device, dtype):
|
| 126 |
+
inv = 1.0 / (theta ** (torch.arange(0, head_dim, 2, device=device).float() / head_dim))
|
| 127 |
+
t = torch.arange(seq, device=device).float()
|
| 128 |
+
f = torch.outer(t, inv)
|
| 129 |
+
return torch.cos(f).to(dtype), torch.sin(f).to(dtype)
|
| 130 |
+
|
| 131 |
+
|
| 132 |
+
def _apply_rope(x, cos, sin):
|
| 133 |
+
"""Split-half rotary embedding.
|
| 134 |
+
|
| 135 |
+
``cos``/``sin`` are ``head_dim // 2`` wide and are NOT duplicated to the full
|
| 136 |
+
head width. The rotation pairs channel ``i`` with channel ``i + head_dim/2``.
|
| 137 |
+
This is not the interleaved convention used by most Llama-family code; the
|
| 138 |
+
weights were trained under this one, and swapping the two produces fluent
|
| 139 |
+
output that is subtly and permanently wrong.
|
| 140 |
+
"""
|
| 141 |
+
x1, x2 = x.chunk(2, dim=-1)
|
| 142 |
+
return torch.cat([x1 * cos - x2 * sin, x2 * cos + x1 * sin], dim=-1)
|
| 143 |
+
|
| 144 |
+
|
| 145 |
+
class KamboShortConv(nn.Module):
|
| 146 |
+
"""Double-gated causal depthwise convolution.
|
| 147 |
+
|
| 148 |
+
``in_proj`` produces three streams; the convolution runs on ``b * v`` and its
|
| 149 |
+
output is gated again by ``c``. No positional encoding of any kind.
|
| 150 |
+
"""
|
| 151 |
+
|
| 152 |
+
def __init__(self, config: KamboConfig):
|
| 153 |
+
super().__init__()
|
| 154 |
+
d, k = config.hidden_size, config.conv_kernel
|
| 155 |
+
self.k = k
|
| 156 |
+
self.in_proj = nn.Linear(d, 3 * d, bias=False)
|
| 157 |
+
self.conv = nn.Conv1d(d, d, k, groups=d, bias=False)
|
| 158 |
+
self.out_proj = nn.Linear(d, d, bias=False)
|
| 159 |
+
|
| 160 |
+
def forward(self, x, cache: Optional[KamboCache] = None, layer_idx: int = 0,
|
| 161 |
+
token_mask: Optional[torch.Tensor] = None):
|
| 162 |
+
b, c, v = self.in_proj(x).chunk(3, dim=-1)
|
| 163 |
+
g = (b * v).transpose(1, 2) # [B, D, T]
|
| 164 |
+
|
| 165 |
+
# Padding contributes zero, matching the zeros the causal left-pad
|
| 166 |
+
# supplies at the start of a sequence.
|
| 167 |
+
if token_mask is not None:
|
| 168 |
+
g = g * token_mask[:, None, :].to(g.dtype)
|
| 169 |
+
|
| 170 |
+
if cache is None or layer_idx not in cache.conv_states:
|
| 171 |
+
past = g.new_zeros(g.shape[0], g.shape[1], self.k - 1)
|
| 172 |
+
else:
|
| 173 |
+
past = cache.conv_states[layer_idx]
|
| 174 |
+
|
| 175 |
+
full = torch.cat([past, g], dim=-1) # [B, D, (k-1) + T]
|
| 176 |
+
if cache is not None:
|
| 177 |
+
# Keep exactly k-1 columns regardless of T (T may be 1, or shorter
|
| 178 |
+
# than k-1 on a very short prompt).
|
| 179 |
+
cache.conv_states[layer_idx] = full[..., -(self.k - 1):].detach().clone()
|
| 180 |
+
|
| 181 |
+
y = self.conv(full).transpose(1, 2) # [B, T, D]
|
| 182 |
+
return self.out_proj(c * y)
|
| 183 |
+
|
| 184 |
+
|
| 185 |
+
class KamboAttention(nn.Module):
|
| 186 |
+
def __init__(self, config: KamboConfig, layer_idx: int):
|
| 187 |
+
super().__init__()
|
| 188 |
+
d, hd = config.hidden_size, config.head_dim
|
| 189 |
+
self.layer_idx = layer_idx
|
| 190 |
+
self.nq = config.num_attention_heads
|
| 191 |
+
self.nkv = config.num_key_value_heads
|
| 192 |
+
self.hd = hd
|
| 193 |
+
self.rep = self.nq // self.nkv
|
| 194 |
+
self.q_proj = nn.Linear(d, self.nq * hd, bias=False)
|
| 195 |
+
self.k_proj = nn.Linear(d, self.nkv * hd, bias=False)
|
| 196 |
+
self.v_proj = nn.Linear(d, self.nkv * hd, bias=False)
|
| 197 |
+
self.o_proj = nn.Linear(self.nq * hd, d, bias=False)
|
| 198 |
+
self.q_norm = KamboRMSNorm(hd, config.rms_norm_eps)
|
| 199 |
+
self.k_norm = KamboRMSNorm(hd, config.rms_norm_eps)
|
| 200 |
+
|
| 201 |
+
def forward(self, x, cos, sin, attn_bias=None, cache=None, use_causal=False):
|
| 202 |
+
B, T, _ = x.shape
|
| 203 |
+
q = self.q_proj(x).view(B, T, self.nq, self.hd).transpose(1, 2)
|
| 204 |
+
k = self.k_proj(x).view(B, T, self.nkv, self.hd).transpose(1, 2)
|
| 205 |
+
v = self.v_proj(x).view(B, T, self.nkv, self.hd).transpose(1, 2)
|
| 206 |
+
|
| 207 |
+
# QK-norm first, rotary second. The reverse order also runs.
|
| 208 |
+
q, k = self.q_norm(q), self.k_norm(k)
|
| 209 |
+
q, k = _apply_rope(q, cos, sin), _apply_rope(k, cos, sin)
|
| 210 |
+
|
| 211 |
+
if cache is not None:
|
| 212 |
+
k, v = cache.update_attention(k, v, self.layer_idx)
|
| 213 |
+
|
| 214 |
+
k = k.repeat_interleave(self.rep, dim=1)
|
| 215 |
+
v = v.repeat_interleave(self.rep, dim=1)
|
| 216 |
+
|
| 217 |
+
o = F.scaled_dot_product_attention(
|
| 218 |
+
q, k, v, attn_mask=attn_bias, is_causal=use_causal
|
| 219 |
+
)
|
| 220 |
+
return self.o_proj(o.transpose(1, 2).reshape(B, T, -1))
|
| 221 |
+
|
| 222 |
+
|
| 223 |
+
class KamboMoE(nn.Module):
|
| 224 |
+
"""16 routed experts at top-2, plus one shared expert on every token.
|
| 225 |
+
|
| 226 |
+
Inference is exactly dropless: tokens are sorted by expert and each expert
|
| 227 |
+
runs one GEMM over its own rows. Training used a capacity-based batched
|
| 228 |
+
path for speed, which can drop an assignment when an expert is
|
| 229 |
+
oversubscribed; at inference there is no throughput reason to accept that
|
| 230 |
+
approximation, and the loop is the path the capacity version approximates.
|
| 231 |
+
"""
|
| 232 |
+
|
| 233 |
+
def __init__(self, config: KamboConfig):
|
| 234 |
+
super().__init__()
|
| 235 |
+
d, dff, E = config.hidden_size, config.d_ff, config.n_experts
|
| 236 |
+
self.E, self.k, self.d, self.dff = E, config.top_k, d, dff
|
| 237 |
+
self.router = nn.Linear(d, E, bias=False)
|
| 238 |
+
self.w1 = nn.Parameter(torch.empty(E, d, dff))
|
| 239 |
+
self.w3 = nn.Parameter(torch.empty(E, d, dff))
|
| 240 |
+
self.w2 = nn.Parameter(torch.empty(E, dff, d))
|
| 241 |
+
self.sw1 = nn.Linear(d, dff, bias=False)
|
| 242 |
+
self.sw3 = nn.Linear(d, dff, bias=False)
|
| 243 |
+
self.sw2 = nn.Linear(dff, d, bias=False)
|
| 244 |
+
|
| 245 |
+
def forward(self, x):
|
| 246 |
+
B, T, D = x.shape
|
| 247 |
+
xf = x.reshape(-1, D)
|
| 248 |
+
|
| 249 |
+
# The router runs in fp32 and must be written out explicitly: a plain
|
| 250 |
+
# module call would be demoted to bf16 under autocast, and this is the
|
| 251 |
+
# one place in the model where that changes which experts are selected.
|
| 252 |
+
dev_type = xf.device.type
|
| 253 |
+
with torch.autocast(device_type=dev_type, enabled=False):
|
| 254 |
+
logits = F.linear(xf.float(), self.router.weight.float())
|
| 255 |
+
probs = logits.softmax(-1)
|
| 256 |
+
topv, topi = probs.topk(self.k, dim=-1)
|
| 257 |
+
topv = topv / topv.sum(-1, keepdim=True)
|
| 258 |
+
|
| 259 |
+
out = self.sw2(F.silu(self.sw1(xf)) * self.sw3(xf))
|
| 260 |
+
|
| 261 |
+
flat_e = topi.reshape(-1)
|
| 262 |
+
flat_w = topv.reshape(-1).to(x.dtype)
|
| 263 |
+
order = torch.argsort(flat_e)
|
| 264 |
+
tok = torch.div(order, self.k, rounding_mode="floor")
|
| 265 |
+
counts = torch.bincount(flat_e, minlength=self.E).tolist()
|
| 266 |
+
|
| 267 |
+
xs = xf[tok]
|
| 268 |
+
ws = flat_w[order].unsqueeze(-1)
|
| 269 |
+
ys = torch.empty_like(xs)
|
| 270 |
+
s = 0
|
| 271 |
+
for e in range(self.E):
|
| 272 |
+
n = counts[e]
|
| 273 |
+
if n == 0:
|
| 274 |
+
continue
|
| 275 |
+
xe = xs[s:s + n]
|
| 276 |
+
h = F.silu(xe @ self.w1[e]) * (xe @ self.w3[e])
|
| 277 |
+
ys[s:s + n] = h @ self.w2[e]
|
| 278 |
+
s += n
|
| 279 |
+
|
| 280 |
+
out = out.index_add(0, tok, (ys * ws).to(out.dtype))
|
| 281 |
+
return out.view(B, T, D)
|
| 282 |
+
|
| 283 |
+
|
| 284 |
+
class KamboDecoderLayer(nn.Module):
|
| 285 |
+
def __init__(self, config: KamboConfig, layer_idx: int):
|
| 286 |
+
super().__init__()
|
| 287 |
+
self.layer_idx = layer_idx
|
| 288 |
+
self.is_attn = layer_idx in config.gqa_layers
|
| 289 |
+
self.input_layernorm = KamboRMSNorm(config.hidden_size, config.rms_norm_eps)
|
| 290 |
+
if self.is_attn:
|
| 291 |
+
self.self_attn = KamboAttention(config, layer_idx)
|
| 292 |
+
else:
|
| 293 |
+
self.conv = KamboShortConv(config)
|
| 294 |
+
self.post_attention_layernorm = KamboRMSNorm(config.hidden_size, config.rms_norm_eps)
|
| 295 |
+
self.moe = KamboMoE(config)
|
| 296 |
+
|
| 297 |
+
def forward(self, x, cos=None, sin=None, attn_bias=None, cache=None,
|
| 298 |
+
use_causal=False, token_mask=None):
|
| 299 |
+
h = self.input_layernorm(x)
|
| 300 |
+
if self.is_attn:
|
| 301 |
+
h = self.self_attn(h, cos, sin, attn_bias=attn_bias, cache=cache,
|
| 302 |
+
use_causal=use_causal)
|
| 303 |
+
else:
|
| 304 |
+
h = self.conv(h, cache=cache, layer_idx=self.layer_idx,
|
| 305 |
+
token_mask=token_mask)
|
| 306 |
+
x = x + h
|
| 307 |
+
x = x + self.moe(self.post_attention_layernorm(x))
|
| 308 |
+
return x
|
| 309 |
+
|
| 310 |
+
|
| 311 |
+
# ---------------------------------------------------------------------------
|
| 312 |
+
# Model
|
| 313 |
+
# ---------------------------------------------------------------------------
|
| 314 |
+
|
| 315 |
+
class KamboPreTrainedModel(PreTrainedModel):
|
| 316 |
+
config_class = KamboConfig
|
| 317 |
+
base_model_prefix = "model"
|
| 318 |
+
supports_gradient_checkpointing = True
|
| 319 |
+
_no_split_modules = ["KamboDecoderLayer"]
|
| 320 |
+
_skip_keys_device_placement = "past_key_values"
|
| 321 |
+
_supports_sdpa = True
|
| 322 |
+
|
| 323 |
+
def _init_weights(self, module):
|
| 324 |
+
std = 0.02
|
| 325 |
+
if isinstance(module, (nn.Linear, nn.Conv1d)):
|
| 326 |
+
module.weight.data.normal_(mean=0.0, std=std)
|
| 327 |
+
if getattr(module, "bias", None) is not None:
|
| 328 |
+
module.bias.data.zero_()
|
| 329 |
+
elif isinstance(module, nn.Embedding):
|
| 330 |
+
module.weight.data.normal_(mean=0.0, std=std)
|
| 331 |
+
elif isinstance(module, KamboRMSNorm):
|
| 332 |
+
module.weight.data.fill_(1.0)
|
| 333 |
+
elif isinstance(module, KamboMoE):
|
| 334 |
+
for p in (module.w1, module.w2, module.w3):
|
| 335 |
+
p.data.normal_(mean=0.0, std=std)
|
| 336 |
+
|
| 337 |
+
|
| 338 |
+
def _build_attn_bias(attention_mask, q_len, kv_len, past_len, device, dtype):
|
| 339 |
+
"""Additive [B, 1, q_len, kv_len] mask: causal AND not-padding."""
|
| 340 |
+
q_pos = torch.arange(q_len, device=device) + past_len
|
| 341 |
+
k_pos = torch.arange(kv_len, device=device)
|
| 342 |
+
allowed = (k_pos[None, :] <= q_pos[:, None])[None, None, :, :]
|
| 343 |
+
|
| 344 |
+
if attention_mask is not None:
|
| 345 |
+
pad = attention_mask[:, None, None, :].bool()
|
| 346 |
+
allowed = allowed & pad
|
| 347 |
+
|
| 348 |
+
# A row that is entirely masked would softmax over all -inf and produce
|
| 349 |
+
# NaN, which then propagates through the whole sequence. Fully padded rows
|
| 350 |
+
# exist in real batches; let such a row attend to itself and discard the
|
| 351 |
+
# result downstream rather than poisoning the batch.
|
| 352 |
+
allowed = allowed | (~allowed.any(dim=-1, keepdim=True))
|
| 353 |
+
|
| 354 |
+
bias = torch.zeros(allowed.shape, device=device, dtype=dtype)
|
| 355 |
+
return bias.masked_fill(~allowed, torch.finfo(dtype).min)
|
| 356 |
+
|
| 357 |
+
|
| 358 |
+
class KamboModel(KamboPreTrainedModel):
|
| 359 |
+
def __init__(self, config: KamboConfig):
|
| 360 |
+
super().__init__(config)
|
| 361 |
+
self.embed_tokens = nn.Embedding(config.vocab_size, config.hidden_size)
|
| 362 |
+
self.layers = nn.ModuleList(
|
| 363 |
+
[KamboDecoderLayer(config, i) for i in range(config.num_hidden_layers)]
|
| 364 |
+
)
|
| 365 |
+
self.norm = KamboRMSNorm(config.hidden_size, config.rms_norm_eps)
|
| 366 |
+
self.gradient_checkpointing = False
|
| 367 |
+
self._rope = None
|
| 368 |
+
self.post_init()
|
| 369 |
+
|
| 370 |
+
def get_input_embeddings(self):
|
| 371 |
+
return self.embed_tokens
|
| 372 |
+
|
| 373 |
+
def set_input_embeddings(self, value):
|
| 374 |
+
self.embed_tokens = value
|
| 375 |
+
|
| 376 |
+
def _rope_for(self, position_ids, dtype, device):
|
| 377 |
+
need = int(position_ids.max().item()) + 1
|
| 378 |
+
if self._rope is None or self._rope[0].shape[0] < need or self._rope[0].device != device:
|
| 379 |
+
size = max(need, self.config.max_position_embeddings)
|
| 380 |
+
self._rope = _rope_cache(size, self.config.head_dim,
|
| 381 |
+
self.config.rope_theta, device, torch.float32)
|
| 382 |
+
cos, sin = self._rope
|
| 383 |
+
# [B, T, hd/2] -> [B, 1, T, hd/2] so each row uses its own positions,
|
| 384 |
+
# which is what makes left-padded batches agree with unpadded singles.
|
| 385 |
+
return (cos[position_ids].unsqueeze(1).to(dtype),
|
| 386 |
+
sin[position_ids].unsqueeze(1).to(dtype))
|
| 387 |
+
|
| 388 |
+
def forward(
|
| 389 |
+
self,
|
| 390 |
+
input_ids: Optional[torch.LongTensor] = None,
|
| 391 |
+
attention_mask: Optional[torch.Tensor] = None,
|
| 392 |
+
position_ids: Optional[torch.LongTensor] = None,
|
| 393 |
+
past_key_values: Optional[KamboCache] = None,
|
| 394 |
+
inputs_embeds: Optional[torch.FloatTensor] = None,
|
| 395 |
+
use_cache: Optional[bool] = None,
|
| 396 |
+
output_hidden_states: Optional[bool] = None,
|
| 397 |
+
return_dict: Optional[bool] = None,
|
| 398 |
+
**kwargs,
|
| 399 |
+
):
|
| 400 |
+
use_cache = use_cache if use_cache is not None else self.config.use_cache
|
| 401 |
+
return_dict = return_dict if return_dict is not None else True
|
| 402 |
+
output_hidden_states = bool(output_hidden_states)
|
| 403 |
+
|
| 404 |
+
if (input_ids is None) == (inputs_embeds is None):
|
| 405 |
+
raise ValueError("Pass exactly one of input_ids or inputs_embeds.")
|
| 406 |
+
if inputs_embeds is None:
|
| 407 |
+
inputs_embeds = self.embed_tokens(input_ids)
|
| 408 |
+
|
| 409 |
+
x = inputs_embeds
|
| 410 |
+
B, T, _ = x.shape
|
| 411 |
+
device = x.device
|
| 412 |
+
|
| 413 |
+
if self.gradient_checkpointing and self.training:
|
| 414 |
+
use_cache = False
|
| 415 |
+
if use_cache and past_key_values is None:
|
| 416 |
+
past_key_values = KamboCache()
|
| 417 |
+
past_len = past_key_values.get_seq_length() if past_key_values is not None else 0
|
| 418 |
+
kv_len = past_len + T
|
| 419 |
+
|
| 420 |
+
if position_ids is None:
|
| 421 |
+
if attention_mask is not None:
|
| 422 |
+
# cumsum over the full mask handles left padding: the first real
|
| 423 |
+
# token gets position 0 no matter how much padding precedes it.
|
| 424 |
+
pos_full = (attention_mask.long().cumsum(-1) - 1).clamp(min=0)
|
| 425 |
+
position_ids = pos_full[:, -T:]
|
| 426 |
+
else:
|
| 427 |
+
position_ids = torch.arange(past_len, kv_len, device=device).unsqueeze(0).expand(B, T)
|
| 428 |
+
|
| 429 |
+
cos, sin = self._rope_for(position_ids, x.dtype, device)
|
| 430 |
+
|
| 431 |
+
# The fast path -- a single unpadded sequence -- is exactly what the
|
| 432 |
+
# training code ran, so parity is checked against it directly.
|
| 433 |
+
use_causal = attention_mask is None and past_len == 0 and T > 1
|
| 434 |
+
attn_bias = None
|
| 435 |
+
if not use_causal and not (attention_mask is None and T == 1 and past_len == 0):
|
| 436 |
+
attn_bias = _build_attn_bias(attention_mask, T, kv_len, past_len, device, x.dtype)
|
| 437 |
+
|
| 438 |
+
token_mask = attention_mask[:, -T:] if attention_mask is not None else None
|
| 439 |
+
|
| 440 |
+
all_hidden = [] if output_hidden_states else None
|
| 441 |
+
for layer in self.layers:
|
| 442 |
+
if all_hidden is not None:
|
| 443 |
+
all_hidden.append(x)
|
| 444 |
+
if self.gradient_checkpointing and self.training:
|
| 445 |
+
x = self._gradient_checkpointing_func(
|
| 446 |
+
layer.__call__, x, cos, sin, attn_bias, past_key_values,
|
| 447 |
+
use_causal, token_mask,
|
| 448 |
+
)
|
| 449 |
+
else:
|
| 450 |
+
x = layer(x, cos, sin, attn_bias=attn_bias, cache=past_key_values,
|
| 451 |
+
use_causal=use_causal, token_mask=token_mask)
|
| 452 |
+
|
| 453 |
+
x = self.norm(x)
|
| 454 |
+
if all_hidden is not None:
|
| 455 |
+
all_hidden.append(x)
|
| 456 |
+
|
| 457 |
+
if past_key_values is not None:
|
| 458 |
+
past_key_values._seen = kv_len
|
| 459 |
+
|
| 460 |
+
if not return_dict:
|
| 461 |
+
return tuple(v for v in (x, past_key_values, all_hidden) if v is not None)
|
| 462 |
+
return BaseModelOutputWithPast(
|
| 463 |
+
last_hidden_state=x,
|
| 464 |
+
past_key_values=past_key_values if use_cache else None,
|
| 465 |
+
hidden_states=tuple(all_hidden) if all_hidden is not None else None,
|
| 466 |
+
)
|
| 467 |
+
|
| 468 |
+
|
| 469 |
+
# transformers 5 expects a {tied: source} mapping here; 4.x expects a flat list
|
| 470 |
+
# and raises on a dict. Both spellings mean the same thing -- lm_head shares the
|
| 471 |
+
# embedding matrix -- so pick by version rather than pinning users to one.
|
| 472 |
+
_TIED = ({"lm_head.weight": "model.embed_tokens.weight"}
|
| 473 |
+
if int(transformers.__version__.split(".")[0]) >= 5
|
| 474 |
+
else ["lm_head.weight"])
|
| 475 |
+
|
| 476 |
+
|
| 477 |
+
class KamboForCausalLM(KamboPreTrainedModel, GenerationMixin):
|
| 478 |
+
_tied_weights_keys = _TIED
|
| 479 |
+
|
| 480 |
+
def __init__(self, config: KamboConfig):
|
| 481 |
+
super().__init__(config)
|
| 482 |
+
self.model = KamboModel(config)
|
| 483 |
+
self.vocab_size = config.vocab_size
|
| 484 |
+
self.lm_head = nn.Linear(config.hidden_size, config.vocab_size, bias=False)
|
| 485 |
+
self.post_init()
|
| 486 |
+
|
| 487 |
+
def get_input_embeddings(self):
|
| 488 |
+
return self.model.embed_tokens
|
| 489 |
+
|
| 490 |
+
def set_input_embeddings(self, value):
|
| 491 |
+
self.model.embed_tokens = value
|
| 492 |
+
|
| 493 |
+
def get_output_embeddings(self):
|
| 494 |
+
return self.lm_head
|
| 495 |
+
|
| 496 |
+
def set_output_embeddings(self, new):
|
| 497 |
+
self.lm_head = new
|
| 498 |
+
|
| 499 |
+
def get_decoder(self):
|
| 500 |
+
return self.model
|
| 501 |
+
|
| 502 |
+
# Tell `generate` not to build a Cache for us: eighteen of these layers
|
| 503 |
+
# hold a convolution window, not keys and values. Honoured identically by
|
| 504 |
+
# transformers 4.x and 5.x, both of which take this as the signal that the
|
| 505 |
+
# model supplies its own cache in prepare_inputs_for_generation.
|
| 506 |
+
def _supports_default_dynamic_cache(self) -> bool:
|
| 507 |
+
return False
|
| 508 |
+
|
| 509 |
+
def forward(
|
| 510 |
+
self,
|
| 511 |
+
input_ids: Optional[torch.LongTensor] = None,
|
| 512 |
+
attention_mask: Optional[torch.Tensor] = None,
|
| 513 |
+
position_ids: Optional[torch.LongTensor] = None,
|
| 514 |
+
past_key_values: Optional[KamboCache] = None,
|
| 515 |
+
inputs_embeds: Optional[torch.FloatTensor] = None,
|
| 516 |
+
labels: Optional[torch.LongTensor] = None,
|
| 517 |
+
use_cache: Optional[bool] = None,
|
| 518 |
+
output_hidden_states: Optional[bool] = None,
|
| 519 |
+
return_dict: Optional[bool] = None,
|
| 520 |
+
logits_to_keep: Union[int, torch.Tensor] = 0,
|
| 521 |
+
**kwargs,
|
| 522 |
+
):
|
| 523 |
+
return_dict = return_dict if return_dict is not None else True
|
| 524 |
+
# transformers renamed this argument; accept the older spelling too.
|
| 525 |
+
if "num_logits_to_keep" in kwargs:
|
| 526 |
+
logits_to_keep = kwargs.pop("num_logits_to_keep")
|
| 527 |
+
|
| 528 |
+
out = self.model(
|
| 529 |
+
input_ids=input_ids,
|
| 530 |
+
attention_mask=attention_mask,
|
| 531 |
+
position_ids=position_ids,
|
| 532 |
+
past_key_values=past_key_values,
|
| 533 |
+
inputs_embeds=inputs_embeds,
|
| 534 |
+
use_cache=use_cache,
|
| 535 |
+
output_hidden_states=output_hidden_states,
|
| 536 |
+
return_dict=True,
|
| 537 |
+
)
|
| 538 |
+
|
| 539 |
+
h = out.last_hidden_state
|
| 540 |
+
if isinstance(logits_to_keep, int):
|
| 541 |
+
if logits_to_keep > 0:
|
| 542 |
+
h = h[:, -logits_to_keep:, :]
|
| 543 |
+
else:
|
| 544 |
+
h = h[:, logits_to_keep, :]
|
| 545 |
+
logits = self.lm_head(h).float()
|
| 546 |
+
|
| 547 |
+
loss = None
|
| 548 |
+
if labels is not None:
|
| 549 |
+
loss = self.loss_function(
|
| 550 |
+
logits=logits, labels=labels, vocab_size=self.config.vocab_size, **kwargs
|
| 551 |
+
)
|
| 552 |
+
|
| 553 |
+
if not return_dict:
|
| 554 |
+
return tuple(v for v in (loss, logits, out.past_key_values) if v is not None)
|
| 555 |
+
return CausalLMOutputWithPast(
|
| 556 |
+
loss=loss,
|
| 557 |
+
logits=logits,
|
| 558 |
+
past_key_values=out.past_key_values,
|
| 559 |
+
hidden_states=out.hidden_states,
|
| 560 |
+
)
|
| 561 |
+
|
| 562 |
+
def prepare_inputs_for_generation(
|
| 563 |
+
self,
|
| 564 |
+
input_ids,
|
| 565 |
+
past_key_values=None,
|
| 566 |
+
attention_mask=None,
|
| 567 |
+
inputs_embeds=None,
|
| 568 |
+
cache_position=None,
|
| 569 |
+
use_cache=True,
|
| 570 |
+
**kwargs,
|
| 571 |
+
):
|
| 572 |
+
if use_cache and past_key_values is None:
|
| 573 |
+
past_key_values = KamboCache()
|
| 574 |
+
|
| 575 |
+
past_len = past_key_values.get_seq_length() if past_key_values is not None else 0
|
| 576 |
+
if past_len > 0:
|
| 577 |
+
input_ids = input_ids[:, past_len:]
|
| 578 |
+
|
| 579 |
+
position_ids = kwargs.get("position_ids")
|
| 580 |
+
if position_ids is None and attention_mask is not None:
|
| 581 |
+
position_ids = (attention_mask.long().cumsum(-1) - 1).clamp(min=0)
|
| 582 |
+
if position_ids is not None:
|
| 583 |
+
position_ids = position_ids[:, -input_ids.shape[1]:]
|
| 584 |
+
|
| 585 |
+
model_inputs = {
|
| 586 |
+
"input_ids": input_ids,
|
| 587 |
+
"past_key_values": past_key_values,
|
| 588 |
+
"attention_mask": attention_mask,
|
| 589 |
+
"position_ids": position_ids,
|
| 590 |
+
"use_cache": use_cache,
|
| 591 |
+
}
|
| 592 |
+
# Only the last position's logits are ever sampled; computing the full
|
| 593 |
+
# [B, T, 151936] head over a long prompt is pure waste.
|
| 594 |
+
if past_len == 0 and input_ids.shape[1] > 1:
|
| 595 |
+
model_inputs["logits_to_keep"] = 1
|
| 596 |
+
return model_inputs
|
| 597 |
+
|
| 598 |
+
def _reorder_cache(self, past_key_values, beam_idx):
|
| 599 |
+
if past_key_values is not None:
|
| 600 |
+
past_key_values.reorder(beam_idx)
|
| 601 |
+
return past_key_values
|
| 602 |
+
|
| 603 |
+
|
| 604 |
+
__all__ = ["KamboConfig", "KamboModel", "KamboForCausalLM", "KamboPreTrainedModel", "KamboCache"]
|
tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3fd169731d2cbde95e10bf356d66d5997fd885dd8dbb6fb4684da3f23b2585d8
|
| 3 |
+
size 11421892
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_prefix_space": false,
|
| 3 |
+
"backend": "tokenizers",
|
| 4 |
+
"bos_token": null,
|
| 5 |
+
"clean_up_tokenization_spaces": false,
|
| 6 |
+
"eos_token": "<|im_end|>",
|
| 7 |
+
"errors": "replace",
|
| 8 |
+
"extra_special_tokens": [
|
| 9 |
+
"<|im_start|>",
|
| 10 |
+
"<|im_end|>",
|
| 11 |
+
"<|object_ref_start|>",
|
| 12 |
+
"<|object_ref_end|>",
|
| 13 |
+
"<|box_start|>",
|
| 14 |
+
"<|box_end|>",
|
| 15 |
+
"<|quad_start|>",
|
| 16 |
+
"<|quad_end|>",
|
| 17 |
+
"<|vision_start|>",
|
| 18 |
+
"<|vision_end|>",
|
| 19 |
+
"<|vision_pad|>",
|
| 20 |
+
"<|image_pad|>",
|
| 21 |
+
"<|video_pad|>"
|
| 22 |
+
],
|
| 23 |
+
"is_local": true,
|
| 24 |
+
"local_files_only": false,
|
| 25 |
+
"model_max_length": 16384,
|
| 26 |
+
"pad_token": "<|endoftext|>",
|
| 27 |
+
"split_special_tokens": false,
|
| 28 |
+
"tokenizer_class": "PreTrainedTokenizerFast",
|
| 29 |
+
"unk_token": null
|
| 30 |
+
}
|