Text Generation
Transformers
Safetensors
GGUF
English
qwen3_5_text
code-review
static-analysis
typed-decisions
calibration
systemone
qwen3.5
local-inference
conversational
Instructions to use riposta/CrossbowReviewer-9B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use riposta/CrossbowReviewer-9B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="riposta/CrossbowReviewer-9B") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("riposta/CrossbowReviewer-9B") model = AutoModelForCausalLM.from_pretrained("riposta/CrossbowReviewer-9B", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use riposta/CrossbowReviewer-9B with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf riposta/CrossbowReviewer-9B:Q8_0 # Run inference directly in the terminal: llama cli -hf riposta/CrossbowReviewer-9B:Q8_0
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf riposta/CrossbowReviewer-9B:Q8_0 # Run inference directly in the terminal: llama cli -hf riposta/CrossbowReviewer-9B:Q8_0
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf riposta/CrossbowReviewer-9B:Q8_0 # Run inference directly in the terminal: ./llama-cli -hf riposta/CrossbowReviewer-9B:Q8_0
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf riposta/CrossbowReviewer-9B:Q8_0 # Run inference directly in the terminal: ./build/bin/llama-cli -hf riposta/CrossbowReviewer-9B:Q8_0
Use Docker
docker model run hf.co/riposta/CrossbowReviewer-9B:Q8_0
- LM Studio
- Jan
- vLLM
How to use riposta/CrossbowReviewer-9B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "riposta/CrossbowReviewer-9B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "riposta/CrossbowReviewer-9B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/riposta/CrossbowReviewer-9B:Q8_0
- SGLang
How to use riposta/CrossbowReviewer-9B 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 "riposta/CrossbowReviewer-9B" \ --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": "riposta/CrossbowReviewer-9B", "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 "riposta/CrossbowReviewer-9B" \ --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": "riposta/CrossbowReviewer-9B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use riposta/CrossbowReviewer-9B with Ollama:
ollama run hf.co/riposta/CrossbowReviewer-9B:Q8_0
- Unsloth Desktop
- Pi
How to use riposta/CrossbowReviewer-9B with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf riposta/CrossbowReviewer-9B:Q8_0
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "riposta/CrossbowReviewer-9B:Q8_0" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use riposta/CrossbowReviewer-9B with Docker Model Runner:
docker model run hf.co/riposta/CrossbowReviewer-9B:Q8_0
- Lemonade
How to use riposta/CrossbowReviewer-9B with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull riposta/CrossbowReviewer-9B:Q8_0
Run and chat with the model
lemonade run user.CrossbowReviewer-9B-Q8_0
List all available models
lemonade list
- Hermes Agent
How to use riposta/CrossbowReviewer-9B with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf riposta/CrossbowReviewer-9B:Q8_0
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default riposta/CrossbowReviewer-9B:Q8_0
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use riposta/CrossbowReviewer-9B with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf riposta/CrossbowReviewer-9B:Q8_0
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "riposta/CrossbowReviewer-9B:Q8_0" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Add files using upload-large-folder tool
Browse files- .gitattributes +3 -0
- LICENSE +202 -0
- NOTICE +6 -0
- README.md +130 -0
- SHA256SUMS +21 -0
- chat_template.jinja +154 -0
- config.json +83 -0
- decision_config.json +20 -0
- docs/BENCHMARKS.md +69 -0
- docs/QUICKSTART.md +74 -0
- docs/assets/owasp_traps.png +0 -0
- docs/assets/quality_vs_latency.png +0 -0
- docs/assets/three_tests.png +3 -0
- docs/benchmarks.json +243 -0
- generation_config.json +6 -0
- gguf/CrossbowReviewer-9B-Q8_0.gguf +3 -0
- model-00001-of-00004.safetensors +3 -0
- model-00002-of-00004.safetensors +3 -0
- model-00003-of-00004.safetensors +3 -0
- model-00004-of-00004.safetensors +3 -0
- model.safetensors.index.json +435 -0
- release-manifest.json +125 -0
- tokenizer.json +3 -0
- tokenizer_config.json +32 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,6 @@ saved_model/**/* 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
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
docs/assets/three_tests.png filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
gguf/CrossbowReviewer-9B-Q8_0.gguf 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,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
CrossbowReviewer-9B
|
| 2 |
+
Copyright 2026 riposta
|
| 3 |
+
|
| 4 |
+
This model is a fine-tuned derivative of Qwen3.5-9B-Base (https://huggingface.co/Qwen/Qwen3.5-9B-Base)
|
| 5 |
+
by the Qwen Team, Alibaba Cloud, licensed under the Apache License, Version 2.0.
|
| 6 |
+
The fine-tuned weights are distributed under the same license (see LICENSE).
|
README.md
ADDED
|
@@ -0,0 +1,130 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: Qwen/Qwen3.5-9B-Base
|
| 3 |
+
base_model_relation: finetune
|
| 4 |
+
license: apache-2.0
|
| 5 |
+
library_name: transformers
|
| 6 |
+
language:
|
| 7 |
+
- en
|
| 8 |
+
tags:
|
| 9 |
+
- code-review
|
| 10 |
+
- static-analysis
|
| 11 |
+
- typed-decisions
|
| 12 |
+
- calibration
|
| 13 |
+
- systemone
|
| 14 |
+
- qwen3.5
|
| 15 |
+
- gguf
|
| 16 |
+
- local-inference
|
| 17 |
+
---
|
| 18 |
+
|
| 19 |
+
# CrossbowReviewer-9B
|
| 20 |
+
|
| 21 |
+
**Calibrated code review decisions in one forward pass. It asks up to 107 rules per file, runs in ~0.2 s on an A100
|
| 22 |
+
and in ~3 s on a Mac with the Q8_0 GGUF.**
|
| 23 |
+
|
| 24 |
+
CrossbowReviewer-9B fine-tunes [Qwen3.5-9B-Base](https://huggingface.co/Qwen/Qwen3.5-9B-Base) for
|
| 25 |
+
[Jev](https://docs.typesafe.ai/concepts/system-one)-style typed decisions about code. It writes no review text. For
|
| 26 |
+
each question, such as "is this free of SQL injection?" or "does each class have one reason to change?", it returns
|
| 27 |
+
a choice, a calibrated confidence and the full distribution. Its [inference server](https://github.com/riposta/CrossbowReviewer)
|
| 28 |
+
provides a `/v1/systemone` endpoint that follows the Jev request schema.
|
| 29 |
+
|
| 30 |
+
- **Typed decisions:** `noul` (yes/no), `choice` (up to 26 options) and `score` (2–10 levels), asked against the code
|
| 31 |
+
as `state`.
|
| 32 |
+
- **One pass:** all questions share one prefill. Option-letter logits are read at each answer slot, so no answer text
|
| 33 |
+
is generated.
|
| 34 |
+
- **120 built-in rules:** SOLID and design principles, patterns and anti-patterns, correctness, error handling,
|
| 35 |
+
security (OWASP / CWE), performance, readability, clean code, testability, testing, API design and language idioms.
|
| 36 |
+
Two aggregate questions are included (`primary_category`, `severity`).
|
| 37 |
+
- **7 languages:** Java, Python, TypeScript, JavaScript, Go, C#, Rust.
|
| 38 |
+
- **Full weights:** no adapter and no conversion step. Safetensors work with transformers; GGUF works with llama.cpp.
|
| 39 |
+
|
| 40 |
+
[Inference server](https://github.com/riposta/CrossbowReviewer) · [Quickstart](docs/QUICKSTART.md) ·
|
| 41 |
+
[Benchmarks](docs/BENCHMARKS.md) · [Artifact manifest](release-manifest.json)
|
| 42 |
+
|
| 43 |
+
## Downloads
|
| 44 |
+
|
| 45 |
+
| Files | Format and use | Size |
|
| 46 |
+
|---|---|---:|
|
| 47 |
+
| `model-0000{1..4}-of-00004.safetensors` + configs | **BF16 safetensors.** transformers backend (CUDA, Apple MPS, CPU) | 17.9 GB |
|
| 48 |
+
| [`gguf/CrossbowReviewer-9B-Q8_0.gguf`](https://huggingface.co/riposta/CrossbowReviewer-9B/resolve/main/gguf/CrossbowReviewer-9B-Q8_0.gguf?download=true) | **Q8_0 GGUF.** llama.cpp backend; fits 12 GB GPUs and Apple Silicon | 9.5 GB |
|
| 49 |
+
|
| 50 |
+
`decision_config.json` holds what turns logits into decisions: the fitted temperature (1.044), the option letters and
|
| 51 |
+
the prompt format. Both backends read it.
|
| 52 |
+
|
| 53 |
+
The Q8_0 GGUF gives the same answers as the BF16 safetensors. On a parity set of 79 decisions every choice matched,
|
| 54 |
+
with a mean probability difference of 0.004.
|
| 55 |
+
|
| 56 |
+
## Quick start
|
| 57 |
+
|
| 58 |
+
```bash
|
| 59 |
+
git clone https://github.com/riposta/CrossbowReviewer && cd CrossbowReviewer
|
| 60 |
+
uv run uvicorn server:app --port 8000 # transformers backend; downloads this repo on first request
|
| 61 |
+
curl -s localhost:8000/v1/systemone -H 'content-type: application/json' \
|
| 62 |
+
-d '{"state": {"language": "python", "code": "def add(items=[]):\n items.append(1)\n return items"}}'
|
| 63 |
+
```
|
| 64 |
+
|
| 65 |
+
Without `questions`, every rule for `state.language` is asked. `yes` means compliant:
|
| 66 |
+
|
| 67 |
+
```json
|
| 68 |
+
{"decisions": {"py_mutable_default": {"choice": "no", "confidence": 0.98, "distribution": {"yes": 0.02, "no": 0.98}}, "...": "..."}}
|
| 69 |
+
```
|
| 70 |
+
|
| 71 |
+
For llama.cpp, custom questions and all options, see [docs/QUICKSTART.md](docs/QUICKSTART.md).
|
| 72 |
+
|
| 73 |
+
## Results
|
| 74 |
+
|
| 75 |
+
| Balanced accuracy (0.5 = chance) | Synthetic | Synthetic, relabeled by independent judges | OWASP Benchmark (human labels) | Real open-source code |
|
| 76 |
+
|---|---:|---:|---:|---:|
|
| 77 |
+
| **CrossbowReviewer-9B** | 0.824 | **0.841** | 0.654 | **0.783** |
|
| 78 |
+
| Jev (jev-1.13.0) | 0.809 | 0.813 | 0.653 | 0.717 |
|
| 79 |
+
| Qwen3.5-9B-Base | 0.644 | 0.648 | 0.696 | 0.517 |
|
| 80 |
+
| Claude Opus 5.5 (reasoning) | 0.925 | — | 0.979 | 0.831 |
|
| 81 |
+
| GPT-6 Sol (reasoning) | 0.911 | — | 0.900 | 0.926 |
|
| 82 |
+
|
| 83 |
+

|
| 84 |
+
|
| 85 |
+
- **Calibration:** expected calibration error is **0.016** on the synthetic test and **0.006** on real code. When the
|
| 86 |
+
model says 0.9, it is right about 90% of the time.
|
| 87 |
+
- **Latency:** the reasoning models are 3–7 points more accurate, but 25–55× slower (8–10 s per file versus ~0.2 s).
|
| 88 |
+
|
| 89 |
+

|
| 90 |
+
|
| 91 |
+
Methodology, per-category results and all metrics are in [docs/BENCHMARKS.md](docs/BENCHMARKS.md) and
|
| 92 |
+
[docs/benchmarks.json](docs/benchmarks.json).
|
| 93 |
+
|
| 94 |
+
## Limitations — read before use
|
| 95 |
+
|
| 96 |
+
**Security taint traps.** On OWASP Benchmark the model flags 94% of vulnerable cases. It recognizes only **26% of the
|
| 97 |
+
safe cases built to look vulnerable**, for example when tainted input reaches only a dead branch or is overwritten by
|
| 98 |
+
a constant. Jev (24%) and the base model (37%) share this weakness. One forward pass cannot trace data flow the way a
|
| 99 |
+
reasoning model can (Opus 5.5: 94%). Extra training on 500 hard security cases raised this to 42%, which is not
|
| 100 |
+
enough, so that version is not released.
|
| 101 |
+
|
| 102 |
+

|
| 103 |
+
|
| 104 |
+
**Recommended use.** Use the model directly for design, readability, correctness, testing and idiom rules. For
|
| 105 |
+
data-flow security rules (`injection`, `path_traversal`, `xss`, `ssrf`, `open_redirect`), treat a `no` as "needs a
|
| 106 |
+
closer look" and escalate it to a reasoning model.
|
| 107 |
+
|
| 108 |
+
**Other limits:**
|
| 109 |
+
- **Synthetic training data.** About 1 500 snippets (30–120 lines) were written and labeled by LLMs. They are not
|
| 110 |
+
human reviews of real pull requests. Scores on synthetic data overstate real-world accuracy.
|
| 111 |
+
- **One file at a time.** The model judges snippets, not diffs, and does not see the rest of the codebase.
|
| 112 |
+
- **Custom questions** outside the 120 trained rules use the same format, but their quality is not measured.
|
| 113 |
+
- **Prompts are in English.** `choice` supports up to 26 options (Jev: 255).
|
| 114 |
+
|
| 115 |
+
## Training
|
| 116 |
+
|
| 117 |
+
- **Data:** 1 466 synthetic snippets. Each one is built as language × rule × (compliant / violating), and all ~107
|
| 118 |
+
questions are labeled by an LLM. The label agrees with the construction target in 93% of cases. A judge-in-the-loop
|
| 119 |
+
added 51 samples for the weakest rules.
|
| 120 |
+
- **Method:** LoRA on all linear layers (rank 16, alpha 32; 0.48% of parameters), merged into these full weights.
|
| 121 |
+
Cross-entropy over option-letter logits at every answer slot. Each sample shows a random 8–all subset of questions,
|
| 122 |
+
always including its target rule. 30% of samples omit `language`.
|
| 123 |
+
- **Optimization:** 3 rounds × 1 epoch, AdamW, lr 1e-4, effective batch 8, bf16, 1× A100 40 GB (~2 h).
|
| 124 |
+
- **Calibration:** a single temperature fitted on a validation split.
|
| 125 |
+
- **Not included:** the multi-token-prediction head of the base model is not shipped (`mtp_num_hidden_layers: 0`),
|
| 126 |
+
because decisions never generate text.
|
| 127 |
+
|
| 128 |
+
## License
|
| 129 |
+
|
| 130 |
+
Apache 2.0, the same as the base model. See [LICENSE](LICENSE) and [NOTICE](NOTICE).
|
SHA256SUMS
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE
|
| 2 |
+
930472a7a4b21e39db2a68aafcb1cc09984a4c7f88e6072682eef75b2ec844b2 NOTICE
|
| 3 |
+
3afbcc1e7114e388a43f93a780b3f09f622550bc721d0e633f91dafd736595be README.md
|
| 4 |
+
a4aee8afcf2e0711942cf848899be66016f8d14a889ff9ede07bca099c28f715 chat_template.jinja
|
| 5 |
+
888a884d9ce35c4df383c9f7ed3d6466ee0a4d92cc9f44f12315ea850bb0b345 config.json
|
| 6 |
+
86a9041d7151d9479733c0cd5ae40bd247ab4607d1b71e21b6c8c71b4eafb359 decision_config.json
|
| 7 |
+
8288b734ae8bda221cfd355a6b99f7cdfa93290000bfce86e6eef2cbf53ccfde docs/BENCHMARKS.md
|
| 8 |
+
1f8496c6b8ce1e69660df2bcb09bc991150c42622551a2e2c09df974a1ac151c docs/QUICKSTART.md
|
| 9 |
+
1ab1f4cac1f59f0f42f9ca5f327fc73c6b3618fd76381951a5ea7e9d52de54c7 docs/assets/owasp_traps.png
|
| 10 |
+
21bc5f2530bd4aa5f23b74734bc4d94ef327d7cc4cd6380b842569c609e03c04 docs/assets/quality_vs_latency.png
|
| 11 |
+
0ec945c553c90b82cd211fcbc48fc508007c2b87c47e067bfb8d636ddfb06c86 docs/assets/three_tests.png
|
| 12 |
+
031a3518ca6b51b9687bd28bbf00476ee08c6b05171ef8900070798dcbe73016 docs/benchmarks.json
|
| 13 |
+
62153eb6c69f2e1f426beaa8002b7186437e949c7588167085df14e10e9c0a73 generation_config.json
|
| 14 |
+
9dc38b76a9490008da3f73fa80acd4bc530a08cecd43b898be61e071e7bc6cf9 gguf/CrossbowReviewer-9B-Q8_0.gguf
|
| 15 |
+
954b02ec2423fdd271f32a7ddc306f725f1167a769d69d39f7353e86cdb6eddb model-00001-of-00004.safetensors
|
| 16 |
+
d58e7dba95a4e9fe62e129c3fcce41ae0c28282be660fe8eadca4930b18e106d model-00002-of-00004.safetensors
|
| 17 |
+
5a735fdc0957f9132ccb8006e57bf3f392168b2e870747728b48484e8135c000 model-00003-of-00004.safetensors
|
| 18 |
+
a26dda3f020b8b2f5ff3f636a9a528db34bccf176f3718c469f35e9ee776df0d model-00004-of-00004.safetensors
|
| 19 |
+
e8ef36c3e0c658f657e282fb6d68609770f039ef2886b89f8ca6a1a293422408 model.safetensors.index.json
|
| 20 |
+
06b9509352d2af50381ab2247e083b80d32d5c0aba91c272ca9ff729b6a0e523 tokenizer.json
|
| 21 |
+
8671bed7c852ce9e661be94f179a7b4ffd091c2a65aea0363e5501c20318ee45 tokenizer_config.json
|
chat_template.jinja
ADDED
|
@@ -0,0 +1,154 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{%- set image_count = namespace(value=0) %}
|
| 2 |
+
{%- set video_count = namespace(value=0) %}
|
| 3 |
+
{%- macro render_content(content, do_vision_count, is_system_content=false) %}
|
| 4 |
+
{%- if content is string %}
|
| 5 |
+
{{- content }}
|
| 6 |
+
{%- elif content is iterable and content is not mapping %}
|
| 7 |
+
{%- for item in content %}
|
| 8 |
+
{%- if 'image' in item or 'image_url' in item or item.type == 'image' %}
|
| 9 |
+
{%- if is_system_content %}
|
| 10 |
+
{{- raise_exception('System message cannot contain images.') }}
|
| 11 |
+
{%- endif %}
|
| 12 |
+
{%- if do_vision_count %}
|
| 13 |
+
{%- set image_count.value = image_count.value + 1 %}
|
| 14 |
+
{%- endif %}
|
| 15 |
+
{%- if add_vision_id %}
|
| 16 |
+
{{- 'Picture ' ~ image_count.value ~ ': ' }}
|
| 17 |
+
{%- endif %}
|
| 18 |
+
{{- '<|vision_start|><|image_pad|><|vision_end|>' }}
|
| 19 |
+
{%- elif 'video' in item or item.type == 'video' %}
|
| 20 |
+
{%- if is_system_content %}
|
| 21 |
+
{{- raise_exception('System message cannot contain videos.') }}
|
| 22 |
+
{%- endif %}
|
| 23 |
+
{%- if do_vision_count %}
|
| 24 |
+
{%- set video_count.value = video_count.value + 1 %}
|
| 25 |
+
{%- endif %}
|
| 26 |
+
{%- if add_vision_id %}
|
| 27 |
+
{{- 'Video ' ~ video_count.value ~ ': ' }}
|
| 28 |
+
{%- endif %}
|
| 29 |
+
{{- '<|vision_start|><|video_pad|><|vision_end|>' }}
|
| 30 |
+
{%- elif 'text' in item %}
|
| 31 |
+
{{- item.text }}
|
| 32 |
+
{%- else %}
|
| 33 |
+
{{- raise_exception('Unexpected item type in content.') }}
|
| 34 |
+
{%- endif %}
|
| 35 |
+
{%- endfor %}
|
| 36 |
+
{%- elif content is none or content is undefined %}
|
| 37 |
+
{{- '' }}
|
| 38 |
+
{%- else %}
|
| 39 |
+
{{- raise_exception('Unexpected content type.') }}
|
| 40 |
+
{%- endif %}
|
| 41 |
+
{%- endmacro %}
|
| 42 |
+
{%- if not messages %}
|
| 43 |
+
{{- raise_exception('No messages provided.') }}
|
| 44 |
+
{%- endif %}
|
| 45 |
+
{%- if tools and tools is iterable and tools is not mapping %}
|
| 46 |
+
{{- '<|im_start|>system\n' }}
|
| 47 |
+
{{- "# Tools\n\nYou have access to the following functions:\n\n<tools>" }}
|
| 48 |
+
{%- for tool in tools %}
|
| 49 |
+
{{- "\n" }}
|
| 50 |
+
{{- tool | tojson }}
|
| 51 |
+
{%- endfor %}
|
| 52 |
+
{{- "\n</tools>" }}
|
| 53 |
+
{{- '\n\nIf you choose to call a function ONLY reply in the following format with NO suffix:\n\n<tool_call>\n<function=example_function_name>\n<parameter=example_parameter_1>\nvalue_1\n</parameter>\n<parameter=example_parameter_2>\nThis is the value for the second parameter\nthat can span\nmultiple lines\n</parameter>\n</function>\n</tool_call>\n\n<IMPORTANT>\nReminder:\n- Function calls MUST follow the specified format: an inner <function=...></function> block must be nested within <tool_call></tool_call> XML tags\n- Required parameters MUST be specified\n- You may provide optional reasoning for your function call in natural language BEFORE the function call, but NOT after\n- If there is no function call available, answer the question like normal with your current knowledge and do not tell the user about function calls\n</IMPORTANT>' }}
|
| 54 |
+
{%- if messages[0].role == 'system' %}
|
| 55 |
+
{%- set content = render_content(messages[0].content, false, true)|trim %}
|
| 56 |
+
{%- if content %}
|
| 57 |
+
{{- '\n\n' + content }}
|
| 58 |
+
{%- endif %}
|
| 59 |
+
{%- endif %}
|
| 60 |
+
{{- '<|im_end|>\n' }}
|
| 61 |
+
{%- else %}
|
| 62 |
+
{%- if messages[0].role == 'system' %}
|
| 63 |
+
{%- set content = render_content(messages[0].content, false, true)|trim %}
|
| 64 |
+
{{- '<|im_start|>system\n' + content + '<|im_end|>\n' }}
|
| 65 |
+
{%- endif %}
|
| 66 |
+
{%- endif %}
|
| 67 |
+
{%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}
|
| 68 |
+
{%- for message in messages[::-1] %}
|
| 69 |
+
{%- set index = (messages|length - 1) - loop.index0 %}
|
| 70 |
+
{%- if ns.multi_step_tool and message.role == "user" %}
|
| 71 |
+
{%- set content = render_content(message.content, false)|trim %}
|
| 72 |
+
{%- if not(content.startswith('<tool_response>') and content.endswith('</tool_response>')) %}
|
| 73 |
+
{%- set ns.multi_step_tool = false %}
|
| 74 |
+
{%- set ns.last_query_index = index %}
|
| 75 |
+
{%- endif %}
|
| 76 |
+
{%- endif %}
|
| 77 |
+
{%- endfor %}
|
| 78 |
+
{%- if ns.multi_step_tool %}
|
| 79 |
+
{{- raise_exception('No user query found in messages.') }}
|
| 80 |
+
{%- endif %}
|
| 81 |
+
{%- for message in messages %}
|
| 82 |
+
{%- set content = render_content(message.content, true)|trim %}
|
| 83 |
+
{%- if message.role == "system" %}
|
| 84 |
+
{%- if not loop.first %}
|
| 85 |
+
{{- raise_exception('System message must be at the beginning.') }}
|
| 86 |
+
{%- endif %}
|
| 87 |
+
{%- elif message.role == "user" %}
|
| 88 |
+
{{- '<|im_start|>' + message.role + '\n' + content + '<|im_end|>' + '\n' }}
|
| 89 |
+
{%- elif message.role == "assistant" %}
|
| 90 |
+
{%- set reasoning_content = '' %}
|
| 91 |
+
{%- if message.reasoning_content is string %}
|
| 92 |
+
{%- set reasoning_content = message.reasoning_content %}
|
| 93 |
+
{%- else %}
|
| 94 |
+
{%- if '</think>' in content %}
|
| 95 |
+
{%- set reasoning_content = content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %}
|
| 96 |
+
{%- set content = content.split('</think>')[-1].lstrip('\n') %}
|
| 97 |
+
{%- endif %}
|
| 98 |
+
{%- endif %}
|
| 99 |
+
{%- set reasoning_content = reasoning_content|trim %}
|
| 100 |
+
{%- if loop.index0 > ns.last_query_index %}
|
| 101 |
+
{{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content + '\n</think>\n\n' + content }}
|
| 102 |
+
{%- else %}
|
| 103 |
+
{{- '<|im_start|>' + message.role + '\n' + content }}
|
| 104 |
+
{%- endif %}
|
| 105 |
+
{%- if message.tool_calls and message.tool_calls is iterable and message.tool_calls is not mapping %}
|
| 106 |
+
{%- for tool_call in message.tool_calls %}
|
| 107 |
+
{%- if tool_call.function is defined %}
|
| 108 |
+
{%- set tool_call = tool_call.function %}
|
| 109 |
+
{%- endif %}
|
| 110 |
+
{%- if loop.first %}
|
| 111 |
+
{%- if content|trim %}
|
| 112 |
+
{{- '\n\n<tool_call>\n<function=' + tool_call.name + '>\n' }}
|
| 113 |
+
{%- else %}
|
| 114 |
+
{{- '<tool_call>\n<function=' + tool_call.name + '>\n' }}
|
| 115 |
+
{%- endif %}
|
| 116 |
+
{%- else %}
|
| 117 |
+
{{- '\n<tool_call>\n<function=' + tool_call.name + '>\n' }}
|
| 118 |
+
{%- endif %}
|
| 119 |
+
{%- if tool_call.arguments is defined %}
|
| 120 |
+
{%- for args_name, args_value in tool_call.arguments|items %}
|
| 121 |
+
{{- '<parameter=' + args_name + '>\n' }}
|
| 122 |
+
{%- set args_value = args_value | tojson | safe if args_value is mapping or (args_value is sequence and args_value is not string) else args_value | string %}
|
| 123 |
+
{{- args_value }}
|
| 124 |
+
{{- '\n</parameter>\n' }}
|
| 125 |
+
{%- endfor %}
|
| 126 |
+
{%- endif %}
|
| 127 |
+
{{- '</function>\n</tool_call>' }}
|
| 128 |
+
{%- endfor %}
|
| 129 |
+
{%- endif %}
|
| 130 |
+
{{- '<|im_end|>\n' }}
|
| 131 |
+
{%- elif message.role == "tool" %}
|
| 132 |
+
{%- if loop.previtem and loop.previtem.role != "tool" %}
|
| 133 |
+
{{- '<|im_start|>user' }}
|
| 134 |
+
{%- endif %}
|
| 135 |
+
{{- '\n<tool_response>\n' }}
|
| 136 |
+
{{- content }}
|
| 137 |
+
{{- '\n</tool_response>' }}
|
| 138 |
+
{%- if not loop.last and loop.nextitem.role != "tool" %}
|
| 139 |
+
{{- '<|im_end|>\n' }}
|
| 140 |
+
{%- elif loop.last %}
|
| 141 |
+
{{- '<|im_end|>\n' }}
|
| 142 |
+
{%- endif %}
|
| 143 |
+
{%- else %}
|
| 144 |
+
{{- raise_exception('Unexpected message role.') }}
|
| 145 |
+
{%- endif %}
|
| 146 |
+
{%- endfor %}
|
| 147 |
+
{%- if add_generation_prompt %}
|
| 148 |
+
{{- '<|im_start|>assistant\n' }}
|
| 149 |
+
{%- if enable_thinking is defined and enable_thinking is false %}
|
| 150 |
+
{{- '<think>\n\n</think>\n\n' }}
|
| 151 |
+
{%- else %}
|
| 152 |
+
{{- '<think>\n' }}
|
| 153 |
+
{%- endif %}
|
| 154 |
+
{%- endif %}
|
config.json
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"Qwen3_5ForCausalLM"
|
| 4 |
+
],
|
| 5 |
+
"attention_bias": false,
|
| 6 |
+
"attention_dropout": 0.0,
|
| 7 |
+
"attn_output_gate": true,
|
| 8 |
+
"bos_token_id": null,
|
| 9 |
+
"dtype": "bfloat16",
|
| 10 |
+
"eos_token_id": 248044,
|
| 11 |
+
"full_attention_interval": 4,
|
| 12 |
+
"head_dim": 256,
|
| 13 |
+
"hidden_act": "silu",
|
| 14 |
+
"hidden_size": 4096,
|
| 15 |
+
"initializer_range": 0.02,
|
| 16 |
+
"intermediate_size": 12288,
|
| 17 |
+
"layer_types": [
|
| 18 |
+
"linear_attention",
|
| 19 |
+
"linear_attention",
|
| 20 |
+
"linear_attention",
|
| 21 |
+
"full_attention",
|
| 22 |
+
"linear_attention",
|
| 23 |
+
"linear_attention",
|
| 24 |
+
"linear_attention",
|
| 25 |
+
"full_attention",
|
| 26 |
+
"linear_attention",
|
| 27 |
+
"linear_attention",
|
| 28 |
+
"linear_attention",
|
| 29 |
+
"full_attention",
|
| 30 |
+
"linear_attention",
|
| 31 |
+
"linear_attention",
|
| 32 |
+
"linear_attention",
|
| 33 |
+
"full_attention",
|
| 34 |
+
"linear_attention",
|
| 35 |
+
"linear_attention",
|
| 36 |
+
"linear_attention",
|
| 37 |
+
"full_attention",
|
| 38 |
+
"linear_attention",
|
| 39 |
+
"linear_attention",
|
| 40 |
+
"linear_attention",
|
| 41 |
+
"full_attention",
|
| 42 |
+
"linear_attention",
|
| 43 |
+
"linear_attention",
|
| 44 |
+
"linear_attention",
|
| 45 |
+
"full_attention",
|
| 46 |
+
"linear_attention",
|
| 47 |
+
"linear_attention",
|
| 48 |
+
"linear_attention",
|
| 49 |
+
"full_attention"
|
| 50 |
+
],
|
| 51 |
+
"linear_conv_kernel_dim": 4,
|
| 52 |
+
"linear_key_head_dim": 128,
|
| 53 |
+
"linear_num_key_heads": 16,
|
| 54 |
+
"linear_num_value_heads": 32,
|
| 55 |
+
"linear_value_head_dim": 128,
|
| 56 |
+
"mamba_ssm_dtype": "float32",
|
| 57 |
+
"max_position_embeddings": 262144,
|
| 58 |
+
"mlp_only_layers": [],
|
| 59 |
+
"model_type": "qwen3_5_text",
|
| 60 |
+
"mtp_num_hidden_layers": 0,
|
| 61 |
+
"mtp_use_dedicated_embeddings": false,
|
| 62 |
+
"num_attention_heads": 16,
|
| 63 |
+
"num_hidden_layers": 32,
|
| 64 |
+
"num_key_value_heads": 4,
|
| 65 |
+
"pad_token_id": null,
|
| 66 |
+
"partial_rotary_factor": 0.25,
|
| 67 |
+
"rms_norm_eps": 1e-06,
|
| 68 |
+
"rope_parameters": {
|
| 69 |
+
"mrope_interleaved": true,
|
| 70 |
+
"mrope_section": [
|
| 71 |
+
11,
|
| 72 |
+
11,
|
| 73 |
+
10
|
| 74 |
+
],
|
| 75 |
+
"partial_rotary_factor": 0.25,
|
| 76 |
+
"rope_theta": 10000000,
|
| 77 |
+
"rope_type": "default"
|
| 78 |
+
},
|
| 79 |
+
"tie_word_embeddings": false,
|
| 80 |
+
"transformers_version": "5.17.0",
|
| 81 |
+
"use_cache": true,
|
| 82 |
+
"vocab_size": 248320
|
| 83 |
+
}
|
decision_config.json
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"format": "crossbow-slots-v1",
|
| 3 |
+
"temperature": 1.043660283088684,
|
| 4 |
+
"option_letters": "ABCDEFGHIJKLMNOPQRSTUVWXYZ",
|
| 5 |
+
"letter_prefix": " ",
|
| 6 |
+
"prompt_header": "You are a code review decision engine. Each question is answered with a single option letter.\n\nState:\n",
|
| 7 |
+
"question_template": "\n\n### {name}\n{instructions}\n{options}\nAnswer:",
|
| 8 |
+
"option_template": "{letter}. {option}",
|
| 9 |
+
"option_with_criteria_template": "{letter}. {option}: {description}",
|
| 10 |
+
"noul_options": [
|
| 11 |
+
"yes",
|
| 12 |
+
"no"
|
| 13 |
+
],
|
| 14 |
+
"max_choice_options": 26,
|
| 15 |
+
"score_levels": [
|
| 16 |
+
2,
|
| 17 |
+
10
|
| 18 |
+
],
|
| 19 |
+
"base_model": "Qwen/Qwen3.5-9B-Base"
|
| 20 |
+
}
|
docs/BENCHMARKS.md
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Benchmarks
|
| 2 |
+
|
| 3 |
+
We used four tests, from the most in-distribution to the most independent. Every system answers exactly the questions
|
| 4 |
+
each sample is labeled for. All numbers are also in [benchmarks.json](benchmarks.json).
|
| 5 |
+
|
| 6 |
+
| Test | Code | Labels | Samples |
|
| 7 |
+
|---|---|---|---|
|
| 8 |
+
| Synthetic | 360 LLM-written snippets, 12 categories × 30, half compliant | consensus of two LLM judges | 360 (3 271 labels) |
|
| 9 |
+
| Synthetic, relabeled | the same snippets | consensus of Claude Opus 5.5 and GPT-6 Sol (not used in training) | 359 (2 815 labels) |
|
| 10 |
+
| [OWASP Benchmark](https://github.com/OWASP-Benchmark/BenchmarkJava) v1.2 | 435 Java servlets, 9 categories → 5 rules | **humans, by construction** | 435 |
|
| 11 |
+
| Real open-source code | 55 files (30–150 lines) from 9 popular repositories, 7 languages | consensus of two frontier LLM judges (92% agreement) | 55 (5 401 labels, 6.9% violations) |
|
| 12 |
+
|
| 13 |
+
**OWASP preparation:** everything that reveals the label was stripped. That covers servlet paths holding the
|
| 14 |
+
category name, `BenchmarkTest` names and comments.
|
| 15 |
+
|
| 16 |
+
**Test data is not redistributed:** OWASP Benchmark is GPL-2.0, and the source files belong to their authors.
|
| 17 |
+
|
| 18 |
+
## Headline
|
| 19 |
+
|
| 20 |
+
| System | Synthetic index (95% CI) | Relabeled index | OWASP bal_acc | Real code bal_acc | ECE synthetic / real |
|
| 21 |
+
|---|---|---|---|---|---|
|
| 22 |
+
| **CrossbowReviewer-9B** | 85.7 (84.1–87.3) | **87.5** | 0.654 | **0.783** | **0.016 / 0.006** |
|
| 23 |
+
| Jev (jev-1.13.0) | 82.3 (80.7–83.8) | 85.0 | 0.653 | 0.717 | 0.043 / 0.030 |
|
| 24 |
+
| Qwen3.5-9B-Base | 70.3 (68.2–72.5) | 71.4 | 0.696 | 0.517 | 0.040 / 0.031 |
|
| 25 |
+
| Claude Opus 5.5 | 92.9 (91.7–93.8) | — (judge) | 0.979 | 0.831 | 0.113 / 0.086 |
|
| 26 |
+
| GPT-6 Sol | 89.1 (87.6–90.6) | — (judge) | 0.900 | 0.926* | 0.046 / 0.036 |
|
| 27 |
+
|
| 28 |
+
**Metrics:**
|
| 29 |
+
- **Index:** mean accuracy over rule categories × 100. Every category weighs the same.
|
| 30 |
+
- **bal_acc:** mean recall over the gold options per question. It matters because most real-code labels are "yes".
|
| 31 |
+
- **ECE:** expected calibration error.
|
| 32 |
+
|
| 33 |
+
\* The real-code judges come from the same model families as the frontier systems compared here, so frontier scores
|
| 34 |
+
on real code are likely inflated. The small models are not affected.
|
| 35 |
+
|
| 36 |
+
## OWASP Benchmark: taint traps
|
| 37 |
+
|
| 38 |
+
| System | Vulnerable flagged | Safe recognized |
|
| 39 |
+
|---|---:|---:|
|
| 40 |
+
| Claude Opus 5.5 | 1.00 | 0.94 |
|
| 41 |
+
| GPT-6 Sol | 1.00 | 0.75 |
|
| 42 |
+
| Qwen3.5-9B-Base | 0.93 | 0.37 |
|
| 43 |
+
| **CrossbowReviewer-9B** | 0.94 | 0.26 |
|
| 44 |
+
| Jev | 0.97 | 0.24 |
|
| 45 |
+
|
| 46 |
+

|
| 47 |
+
|
| 48 |
+
The single-pass models and Jev flag almost every security-looking case, including traps where the tainted value never
|
| 49 |
+
reaches the sink. Reasoning models trace the data flow. An unreleased follow-up trained on 500 extra hard security
|
| 50 |
+
cases reached 0.42 safe recognized. That is not enough to change the conclusion: **escalate data-flow security "no"
|
| 51 |
+
answers to a reasoning model.**
|
| 52 |
+
|
| 53 |
+
## Latency
|
| 54 |
+
|
| 55 |
+
| System | Seconds per file | Hardware |
|
| 56 |
+
|---|---:|---|
|
| 57 |
+
| CrossbowReviewer-9B (transformers, BF16) | 0.18 | 1× A100 40 GB |
|
| 58 |
+
| CrossbowReviewer-9B (llama.cpp, Q8_0) | ~3 | Apple M5 Pro (Metal) |
|
| 59 |
+
| Jev | 0.32 | API |
|
| 60 |
+
| Claude Opus 5.5 | 8.2 | API |
|
| 61 |
+
| GPT-6 Sol | 9.8 | API |
|
| 62 |
+
|
| 63 |
+

|
| 64 |
+
|
| 65 |
+
## Reproducibility
|
| 66 |
+
|
| 67 |
+
- **Determinism:** a second benchmark run of the same weights gave identical results.
|
| 68 |
+
- **Formats:** the merged safetensors match the original base + LoRA (79/79 identical choices, mean |Δp| 0.003). The
|
| 69 |
+
Q8_0 GGUF matches the safetensors (79/79, mean |Δp| 0.004).
|
docs/QUICKSTART.md
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Quickstart
|
| 2 |
+
|
| 3 |
+
The inference server lives at [github.com/riposta/CrossbowReviewer](https://github.com/riposta/CrossbowReviewer). It
|
| 4 |
+
has two backends that return the same decisions.
|
| 5 |
+
|
| 6 |
+
| Backend | Weights | Hardware | Speed (one file, ~16 questions) |
|
| 7 |
+
|---|---|---|---|
|
| 8 |
+
| `transformers` (default) | BF16 safetensors (17.9 GB) | CUDA GPU ≥ 24 GB, Apple Silicon ≥ 32 GB, or CPU | ~0.2 s on an A100 |
|
| 9 |
+
| `llamacpp` | Q8_0 GGUF (9.5 GB) | GPU ≥ 12 GB, Apple Silicon ≥ 16 GB, or CPU | ~3 s on an M5 Pro (Metal) |
|
| 10 |
+
|
| 11 |
+
## transformers backend
|
| 12 |
+
|
| 13 |
+
```bash
|
| 14 |
+
git clone https://github.com/riposta/CrossbowReviewer && cd CrossbowReviewer
|
| 15 |
+
uv run uvicorn server:app --port 8000
|
| 16 |
+
```
|
| 17 |
+
|
| 18 |
+
On the first request the server downloads `riposta/CrossbowReviewer-9B`. To use a local copy, set `MODEL`:
|
| 19 |
+
|
| 20 |
+
```bash
|
| 21 |
+
huggingface-cli download riposta/CrossbowReviewer-9B --exclude "gguf/*" --local-dir CrossbowReviewer-9B
|
| 22 |
+
MODEL=./CrossbowReviewer-9B uv run uvicorn server:app --port 8000
|
| 23 |
+
```
|
| 24 |
+
|
| 25 |
+
## llama.cpp backend
|
| 26 |
+
|
| 27 |
+
```bash
|
| 28 |
+
huggingface-cli download riposta/CrossbowReviewer-9B gguf/CrossbowReviewer-9B-Q8_0.gguf \
|
| 29 |
+
tokenizer.json tokenizer_config.json decision_config.json --local-dir CrossbowReviewer-9B
|
| 30 |
+
|
| 31 |
+
# 1. llama.cpp with Qwen3.5 support (a recent build)
|
| 32 |
+
llama-server -m CrossbowReviewer-9B/gguf/CrossbowReviewer-9B-Q8_0.gguf --port 8080 -ngl 99 -c 16384
|
| 33 |
+
|
| 34 |
+
# 2. the decision server in front of it
|
| 35 |
+
BACKEND=llamacpp LLAMA_URL=http://127.0.0.1:8080 MODEL=./CrossbowReviewer-9B \
|
| 36 |
+
uv run uvicorn server:app --port 8000
|
| 37 |
+
```
|
| 38 |
+
|
| 39 |
+
How the llama.cpp backend works:
|
| 40 |
+
- The decision server tokenizes the prompt with the model's own tokenizer.
|
| 41 |
+
- It then asks `llama-server` for the next-token log-probabilities at each answer slot, on a growing token prefix.
|
| 42 |
+
- `llama-server`'s prompt cache evaluates only the new tokens of each question.
|
| 43 |
+
|
| 44 |
+
## Requests
|
| 45 |
+
|
| 46 |
+
All built-in rules for a language:
|
| 47 |
+
|
| 48 |
+
```bash
|
| 49 |
+
curl -s localhost:8000/v1/systemone -H 'content-type: application/json' \
|
| 50 |
+
-d '{"state": {"language": "java", "code": "public class A { void run() { try { db.save(); } catch (Exception e) {} } }"}}'
|
| 51 |
+
```
|
| 52 |
+
|
| 53 |
+
Selected rules and custom questions:
|
| 54 |
+
|
| 55 |
+
```bash
|
| 56 |
+
curl -s localhost:8000/v1/systemone -H 'content-type: application/json' -d '{
|
| 57 |
+
"state": {"language": "go", "code": "..."},
|
| 58 |
+
"questions": {
|
| 59 |
+
"swallowed_exceptions": {"type": "noul", "instructions": "Is the code free of swallowed or ignored errors?"},
|
| 60 |
+
"owner": {"type": "choice", "instructions": "Which team should review this change?",
|
| 61 |
+
"criteria": {"backend": "business logic, APIs", "platform": "infrastructure, CI", "security": "auth, crypto, secrets"}},
|
| 62 |
+
"risk": {"type": "score", "instructions": "Merge risk",
|
| 63 |
+
"criteria": {"1": "none", "2": "low", "3": "medium", "4": "high"}}}}'
|
| 64 |
+
```
|
| 65 |
+
|
| 66 |
+
Response, one entry per question:
|
| 67 |
+
|
| 68 |
+
```json
|
| 69 |
+
{"decisions": {"owner": {"choice": "backend", "confidence": 0.81, "distribution": {"backend": 0.81, "platform": 0.12, "security": 0.07}}}}
|
| 70 |
+
```
|
| 71 |
+
|
| 72 |
+
**Validation:** `choice` needs 2–26 criteria and `score` needs 2–10 levels. An invalid request returns HTTP 422.
|
| 73 |
+
|
| 74 |
+
**Language:** `state.language` is optional. Without it, only the language-agnostic rules are asked.
|
docs/assets/owasp_traps.png
ADDED
|
docs/assets/quality_vs_latency.png
ADDED
|
docs/assets/three_tests.png
ADDED
|
Git LFS Details
|
docs/benchmarks.json
ADDED
|
@@ -0,0 +1,243 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model": "riposta/CrossbowReviewer-9B",
|
| 3 |
+
"metric_notes": {
|
| 4 |
+
"index": "mean accuracy over the 12 rule categories (+ aggregate questions), x100",
|
| 5 |
+
"bal_acc": "mean over questions of recall averaged over gold options (0.5 = chance)",
|
| 6 |
+
"ece": "expected calibration error, 10 bins",
|
| 7 |
+
"brier": "multi-class Brier score"
|
| 8 |
+
},
|
| 9 |
+
"tests": {
|
| 10 |
+
"synthetic": {
|
| 11 |
+
"samples": 360,
|
| 12 |
+
"labels": 3271,
|
| 13 |
+
"results": {
|
| 14 |
+
"CrossbowReviewer-9B": {
|
| 15 |
+
"index": 85.7,
|
| 16 |
+
"index_ci95": [
|
| 17 |
+
84.1,
|
| 18 |
+
87.3
|
| 19 |
+
],
|
| 20 |
+
"accuracy": 0.859,
|
| 21 |
+
"bal_acc": 0.824,
|
| 22 |
+
"ece": 0.016,
|
| 23 |
+
"brier": 0.191
|
| 24 |
+
},
|
| 25 |
+
"Jev (jev-1.13.0)": {
|
| 26 |
+
"index": 82.3,
|
| 27 |
+
"index_ci95": [
|
| 28 |
+
80.7,
|
| 29 |
+
83.8
|
| 30 |
+
],
|
| 31 |
+
"accuracy": 0.789,
|
| 32 |
+
"bal_acc": 0.809,
|
| 33 |
+
"ece": 0.043,
|
| 34 |
+
"brier": 0.306
|
| 35 |
+
},
|
| 36 |
+
"Qwen3.5-9B-Base (no fine-tuning)": {
|
| 37 |
+
"index": 70.3,
|
| 38 |
+
"index_ci95": [
|
| 39 |
+
68.2,
|
| 40 |
+
72.5
|
| 41 |
+
],
|
| 42 |
+
"accuracy": 0.69,
|
| 43 |
+
"bal_acc": 0.644,
|
| 44 |
+
"ece": 0.04,
|
| 45 |
+
"brier": 0.424
|
| 46 |
+
},
|
| 47 |
+
"Claude Opus 5.5": {
|
| 48 |
+
"index": 92.9,
|
| 49 |
+
"index_ci95": [
|
| 50 |
+
91.7,
|
| 51 |
+
93.8
|
| 52 |
+
],
|
| 53 |
+
"accuracy": 0.915,
|
| 54 |
+
"bal_acc": 0.925,
|
| 55 |
+
"ece": 0.113,
|
| 56 |
+
"brier": 0.16
|
| 57 |
+
},
|
| 58 |
+
"GPT-6 Sol": {
|
| 59 |
+
"index": 89.1,
|
| 60 |
+
"index_ci95": [
|
| 61 |
+
87.6,
|
| 62 |
+
90.6
|
| 63 |
+
],
|
| 64 |
+
"accuracy": 0.885,
|
| 65 |
+
"bal_acc": 0.911,
|
| 66 |
+
"ece": 0.046,
|
| 67 |
+
"brier": 0.183
|
| 68 |
+
}
|
| 69 |
+
}
|
| 70 |
+
},
|
| 71 |
+
"synthetic_relabeled": {
|
| 72 |
+
"samples": 359,
|
| 73 |
+
"labels": 2815,
|
| 74 |
+
"results": {
|
| 75 |
+
"CrossbowReviewer-9B": {
|
| 76 |
+
"index": 87.5,
|
| 77 |
+
"index_ci95": [
|
| 78 |
+
85.8,
|
| 79 |
+
89.0
|
| 80 |
+
],
|
| 81 |
+
"accuracy": 0.898,
|
| 82 |
+
"bal_acc": 0.841,
|
| 83 |
+
"ece": 0.014,
|
| 84 |
+
"brier": 0.146
|
| 85 |
+
},
|
| 86 |
+
"Jev (jev-1.13.0)": {
|
| 87 |
+
"index": 85.0,
|
| 88 |
+
"index_ci95": [
|
| 89 |
+
83.4,
|
| 90 |
+
86.4
|
| 91 |
+
],
|
| 92 |
+
"accuracy": 0.82,
|
| 93 |
+
"bal_acc": 0.813,
|
| 94 |
+
"ece": 0.052,
|
| 95 |
+
"brier": 0.273
|
| 96 |
+
},
|
| 97 |
+
"Qwen3.5-9B-Base (no fine-tuning)": {
|
| 98 |
+
"index": 71.4,
|
| 99 |
+
"index_ci95": [
|
| 100 |
+
69.2,
|
| 101 |
+
73.6
|
| 102 |
+
],
|
| 103 |
+
"accuracy": 0.716,
|
| 104 |
+
"bal_acc": 0.648,
|
| 105 |
+
"ece": 0.046,
|
| 106 |
+
"brier": 0.4
|
| 107 |
+
}
|
| 108 |
+
}
|
| 109 |
+
},
|
| 110 |
+
"owasp_benchmark_v1.2": {
|
| 111 |
+
"samples": 435,
|
| 112 |
+
"labels": 435,
|
| 113 |
+
"results": {
|
| 114 |
+
"CrossbowReviewer-9B": {
|
| 115 |
+
"index": 59.8,
|
| 116 |
+
"index_ci95": [
|
| 117 |
+
55.2,
|
| 118 |
+
64.4
|
| 119 |
+
],
|
| 120 |
+
"accuracy": 0.598,
|
| 121 |
+
"bal_acc": 0.654,
|
| 122 |
+
"ece": 0.239,
|
| 123 |
+
"brier": 0.583,
|
| 124 |
+
"vulnerable_flagged": 0.944,
|
| 125 |
+
"safe_recognized": 0.259
|
| 126 |
+
},
|
| 127 |
+
"Jev (jev-1.13.0)": {
|
| 128 |
+
"index": 59.8,
|
| 129 |
+
"index_ci95": [
|
| 130 |
+
55.2,
|
| 131 |
+
64.6
|
| 132 |
+
],
|
| 133 |
+
"accuracy": 0.598,
|
| 134 |
+
"bal_acc": 0.653,
|
| 135 |
+
"ece": 0.209,
|
| 136 |
+
"brier": 0.552,
|
| 137 |
+
"vulnerable_flagged": 0.967,
|
| 138 |
+
"safe_recognized": 0.236
|
| 139 |
+
},
|
| 140 |
+
"Qwen3.5-9B-Base (no fine-tuning)": {
|
| 141 |
+
"index": 64.8,
|
| 142 |
+
"index_ci95": [
|
| 143 |
+
60.2,
|
| 144 |
+
69.0
|
| 145 |
+
],
|
| 146 |
+
"accuracy": 0.648,
|
| 147 |
+
"bal_acc": 0.696,
|
| 148 |
+
"ece": 0.025,
|
| 149 |
+
"brier": 0.441,
|
| 150 |
+
"vulnerable_flagged": 0.935,
|
| 151 |
+
"safe_recognized": 0.368
|
| 152 |
+
},
|
| 153 |
+
"Claude Opus 5.5": {
|
| 154 |
+
"index": 96.8,
|
| 155 |
+
"index_ci95": [
|
| 156 |
+
95.2,
|
| 157 |
+
98.4
|
| 158 |
+
],
|
| 159 |
+
"accuracy": 0.968,
|
| 160 |
+
"bal_acc": 0.979,
|
| 161 |
+
"ece": 0.059,
|
| 162 |
+
"brier": 0.084,
|
| 163 |
+
"vulnerable_flagged": 1.0,
|
| 164 |
+
"safe_recognized": 0.936
|
| 165 |
+
},
|
| 166 |
+
"GPT-6 Sol": {
|
| 167 |
+
"index": 87.4,
|
| 168 |
+
"index_ci95": [
|
| 169 |
+
83.9,
|
| 170 |
+
90.1
|
| 171 |
+
],
|
| 172 |
+
"accuracy": 0.874,
|
| 173 |
+
"bal_acc": 0.9,
|
| 174 |
+
"ece": 0.106,
|
| 175 |
+
"brier": 0.237,
|
| 176 |
+
"vulnerable_flagged": 1.0,
|
| 177 |
+
"safe_recognized": 0.75
|
| 178 |
+
}
|
| 179 |
+
}
|
| 180 |
+
},
|
| 181 |
+
"real_open_source_code": {
|
| 182 |
+
"samples": 55,
|
| 183 |
+
"labels": 5401,
|
| 184 |
+
"results": {
|
| 185 |
+
"CrossbowReviewer-9B": {
|
| 186 |
+
"index": 89.5,
|
| 187 |
+
"index_ci95": [
|
| 188 |
+
87.9,
|
| 189 |
+
91.3
|
| 190 |
+
],
|
| 191 |
+
"accuracy": 0.942,
|
| 192 |
+
"bal_acc": 0.783,
|
| 193 |
+
"ece": 0.006,
|
| 194 |
+
"brier": 0.087
|
| 195 |
+
},
|
| 196 |
+
"Jev (jev-1.13.0)": {
|
| 197 |
+
"index": 73.2,
|
| 198 |
+
"index_ci95": [
|
| 199 |
+
71.0,
|
| 200 |
+
75.1
|
| 201 |
+
],
|
| 202 |
+
"accuracy": 0.756,
|
| 203 |
+
"bal_acc": 0.717,
|
| 204 |
+
"ece": 0.03,
|
| 205 |
+
"brier": 0.332
|
| 206 |
+
},
|
| 207 |
+
"Qwen3.5-9B-Base (no fine-tuning)": {
|
| 208 |
+
"index": 69.9,
|
| 209 |
+
"index_ci95": [
|
| 210 |
+
67.3,
|
| 211 |
+
72.8
|
| 212 |
+
],
|
| 213 |
+
"accuracy": 0.694,
|
| 214 |
+
"bal_acc": 0.517,
|
| 215 |
+
"ece": 0.031,
|
| 216 |
+
"brier": 0.416
|
| 217 |
+
},
|
| 218 |
+
"Claude Opus 5.5": {
|
| 219 |
+
"index": 92.7,
|
| 220 |
+
"index_ci95": [
|
| 221 |
+
90.9,
|
| 222 |
+
94.5
|
| 223 |
+
],
|
| 224 |
+
"accuracy": 0.962,
|
| 225 |
+
"bal_acc": 0.831,
|
| 226 |
+
"ece": 0.086,
|
| 227 |
+
"brier": 0.073
|
| 228 |
+
},
|
| 229 |
+
"GPT-6 Sol": {
|
| 230 |
+
"index": 95.9,
|
| 231 |
+
"index_ci95": [
|
| 232 |
+
94.3,
|
| 233 |
+
97.2
|
| 234 |
+
],
|
| 235 |
+
"accuracy": 0.979,
|
| 236 |
+
"bal_acc": 0.926,
|
| 237 |
+
"ece": 0.036,
|
| 238 |
+
"brier": 0.043
|
| 239 |
+
}
|
| 240 |
+
}
|
| 241 |
+
}
|
| 242 |
+
}
|
| 243 |
+
}
|
generation_config.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_from_model_config": true,
|
| 3 |
+
"eos_token_id": 248044,
|
| 4 |
+
"transformers_version": "5.17.0",
|
| 5 |
+
"use_cache": true
|
| 6 |
+
}
|
gguf/CrossbowReviewer-9B-Q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9dc38b76a9490008da3f73fa80acd4bc530a08cecd43b898be61e071e7bc6cf9
|
| 3 |
+
size 9527501280
|
model-00001-of-00004.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:954b02ec2423fdd271f32a7ddc306f725f1167a769d69d39f7353e86cdb6eddb
|
| 3 |
+
size 4942706120
|
model-00002-of-00004.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d58e7dba95a4e9fe62e129c3fcce41ae0c28282be660fe8eadca4930b18e106d
|
| 3 |
+
size 4987757928
|
model-00003-of-00004.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5a735fdc0957f9132ccb8006e57bf3f392168b2e870747728b48484e8135c000
|
| 3 |
+
size 4954810240
|
model-00004-of-00004.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a26dda3f020b8b2f5ff3f636a9a528db34bccf176f3718c469f35e9ee776df0d
|
| 3 |
+
size 3022388120
|
model.safetensors.index.json
ADDED
|
@@ -0,0 +1,435 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"metadata": {
|
| 3 |
+
"total_parameters": 8953803264,
|
| 4 |
+
"total_size": 17907606528
|
| 5 |
+
},
|
| 6 |
+
"weight_map": {
|
| 7 |
+
"lm_head.weight": "model-00001-of-00004.safetensors",
|
| 8 |
+
"model.language_model.embed_tokens.weight": "model-00001-of-00004.safetensors",
|
| 9 |
+
"model.language_model.layers.0.input_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 10 |
+
"model.language_model.layers.0.linear_attn.A_log": "model-00001-of-00004.safetensors",
|
| 11 |
+
"model.language_model.layers.0.linear_attn.conv1d.weight": "model-00001-of-00004.safetensors",
|
| 12 |
+
"model.language_model.layers.0.linear_attn.dt_bias": "model-00001-of-00004.safetensors",
|
| 13 |
+
"model.language_model.layers.0.linear_attn.in_proj_a.weight": "model-00001-of-00004.safetensors",
|
| 14 |
+
"model.language_model.layers.0.linear_attn.in_proj_b.weight": "model-00001-of-00004.safetensors",
|
| 15 |
+
"model.language_model.layers.0.linear_attn.in_proj_qkv.weight": "model-00001-of-00004.safetensors",
|
| 16 |
+
"model.language_model.layers.0.linear_attn.in_proj_z.weight": "model-00001-of-00004.safetensors",
|
| 17 |
+
"model.language_model.layers.0.linear_attn.norm.weight": "model-00001-of-00004.safetensors",
|
| 18 |
+
"model.language_model.layers.0.linear_attn.out_proj.weight": "model-00001-of-00004.safetensors",
|
| 19 |
+
"model.language_model.layers.0.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 20 |
+
"model.language_model.layers.0.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
| 21 |
+
"model.language_model.layers.0.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 22 |
+
"model.language_model.layers.0.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 23 |
+
"model.language_model.layers.1.input_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 24 |
+
"model.language_model.layers.1.linear_attn.A_log": "model-00001-of-00004.safetensors",
|
| 25 |
+
"model.language_model.layers.1.linear_attn.conv1d.weight": "model-00001-of-00004.safetensors",
|
| 26 |
+
"model.language_model.layers.1.linear_attn.dt_bias": "model-00001-of-00004.safetensors",
|
| 27 |
+
"model.language_model.layers.1.linear_attn.in_proj_a.weight": "model-00001-of-00004.safetensors",
|
| 28 |
+
"model.language_model.layers.1.linear_attn.in_proj_b.weight": "model-00001-of-00004.safetensors",
|
| 29 |
+
"model.language_model.layers.1.linear_attn.in_proj_qkv.weight": "model-00001-of-00004.safetensors",
|
| 30 |
+
"model.language_model.layers.1.linear_attn.in_proj_z.weight": "model-00001-of-00004.safetensors",
|
| 31 |
+
"model.language_model.layers.1.linear_attn.norm.weight": "model-00001-of-00004.safetensors",
|
| 32 |
+
"model.language_model.layers.1.linear_attn.out_proj.weight": "model-00001-of-00004.safetensors",
|
| 33 |
+
"model.language_model.layers.1.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 34 |
+
"model.language_model.layers.1.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
| 35 |
+
"model.language_model.layers.1.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 36 |
+
"model.language_model.layers.1.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 37 |
+
"model.language_model.layers.10.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 38 |
+
"model.language_model.layers.10.linear_attn.A_log": "model-00002-of-00004.safetensors",
|
| 39 |
+
"model.language_model.layers.10.linear_attn.conv1d.weight": "model-00002-of-00004.safetensors",
|
| 40 |
+
"model.language_model.layers.10.linear_attn.dt_bias": "model-00002-of-00004.safetensors",
|
| 41 |
+
"model.language_model.layers.10.linear_attn.in_proj_a.weight": "model-00002-of-00004.safetensors",
|
| 42 |
+
"model.language_model.layers.10.linear_attn.in_proj_b.weight": "model-00002-of-00004.safetensors",
|
| 43 |
+
"model.language_model.layers.10.linear_attn.in_proj_qkv.weight": "model-00002-of-00004.safetensors",
|
| 44 |
+
"model.language_model.layers.10.linear_attn.in_proj_z.weight": "model-00002-of-00004.safetensors",
|
| 45 |
+
"model.language_model.layers.10.linear_attn.norm.weight": "model-00002-of-00004.safetensors",
|
| 46 |
+
"model.language_model.layers.10.linear_attn.out_proj.weight": "model-00002-of-00004.safetensors",
|
| 47 |
+
"model.language_model.layers.10.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 48 |
+
"model.language_model.layers.10.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
| 49 |
+
"model.language_model.layers.10.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 50 |
+
"model.language_model.layers.10.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 51 |
+
"model.language_model.layers.11.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 52 |
+
"model.language_model.layers.11.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 53 |
+
"model.language_model.layers.11.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
| 54 |
+
"model.language_model.layers.11.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 55 |
+
"model.language_model.layers.11.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 56 |
+
"model.language_model.layers.11.self_attn.k_norm.weight": "model-00002-of-00004.safetensors",
|
| 57 |
+
"model.language_model.layers.11.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
| 58 |
+
"model.language_model.layers.11.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
| 59 |
+
"model.language_model.layers.11.self_attn.q_norm.weight": "model-00002-of-00004.safetensors",
|
| 60 |
+
"model.language_model.layers.11.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
| 61 |
+
"model.language_model.layers.11.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
| 62 |
+
"model.language_model.layers.12.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 63 |
+
"model.language_model.layers.12.linear_attn.A_log": "model-00002-of-00004.safetensors",
|
| 64 |
+
"model.language_model.layers.12.linear_attn.conv1d.weight": "model-00002-of-00004.safetensors",
|
| 65 |
+
"model.language_model.layers.12.linear_attn.dt_bias": "model-00002-of-00004.safetensors",
|
| 66 |
+
"model.language_model.layers.12.linear_attn.in_proj_a.weight": "model-00002-of-00004.safetensors",
|
| 67 |
+
"model.language_model.layers.12.linear_attn.in_proj_b.weight": "model-00002-of-00004.safetensors",
|
| 68 |
+
"model.language_model.layers.12.linear_attn.in_proj_qkv.weight": "model-00002-of-00004.safetensors",
|
| 69 |
+
"model.language_model.layers.12.linear_attn.in_proj_z.weight": "model-00002-of-00004.safetensors",
|
| 70 |
+
"model.language_model.layers.12.linear_attn.norm.weight": "model-00002-of-00004.safetensors",
|
| 71 |
+
"model.language_model.layers.12.linear_attn.out_proj.weight": "model-00002-of-00004.safetensors",
|
| 72 |
+
"model.language_model.layers.12.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 73 |
+
"model.language_model.layers.12.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
| 74 |
+
"model.language_model.layers.12.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 75 |
+
"model.language_model.layers.12.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 76 |
+
"model.language_model.layers.13.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 77 |
+
"model.language_model.layers.13.linear_attn.A_log": "model-00002-of-00004.safetensors",
|
| 78 |
+
"model.language_model.layers.13.linear_attn.conv1d.weight": "model-00002-of-00004.safetensors",
|
| 79 |
+
"model.language_model.layers.13.linear_attn.dt_bias": "model-00002-of-00004.safetensors",
|
| 80 |
+
"model.language_model.layers.13.linear_attn.in_proj_a.weight": "model-00002-of-00004.safetensors",
|
| 81 |
+
"model.language_model.layers.13.linear_attn.in_proj_b.weight": "model-00002-of-00004.safetensors",
|
| 82 |
+
"model.language_model.layers.13.linear_attn.in_proj_qkv.weight": "model-00002-of-00004.safetensors",
|
| 83 |
+
"model.language_model.layers.13.linear_attn.in_proj_z.weight": "model-00002-of-00004.safetensors",
|
| 84 |
+
"model.language_model.layers.13.linear_attn.norm.weight": "model-00002-of-00004.safetensors",
|
| 85 |
+
"model.language_model.layers.13.linear_attn.out_proj.weight": "model-00002-of-00004.safetensors",
|
| 86 |
+
"model.language_model.layers.13.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 87 |
+
"model.language_model.layers.13.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
| 88 |
+
"model.language_model.layers.13.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 89 |
+
"model.language_model.layers.13.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 90 |
+
"model.language_model.layers.14.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 91 |
+
"model.language_model.layers.14.linear_attn.A_log": "model-00003-of-00004.safetensors",
|
| 92 |
+
"model.language_model.layers.14.linear_attn.conv1d.weight": "model-00003-of-00004.safetensors",
|
| 93 |
+
"model.language_model.layers.14.linear_attn.dt_bias": "model-00003-of-00004.safetensors",
|
| 94 |
+
"model.language_model.layers.14.linear_attn.in_proj_a.weight": "model-00003-of-00004.safetensors",
|
| 95 |
+
"model.language_model.layers.14.linear_attn.in_proj_b.weight": "model-00003-of-00004.safetensors",
|
| 96 |
+
"model.language_model.layers.14.linear_attn.in_proj_qkv.weight": "model-00003-of-00004.safetensors",
|
| 97 |
+
"model.language_model.layers.14.linear_attn.in_proj_z.weight": "model-00003-of-00004.safetensors",
|
| 98 |
+
"model.language_model.layers.14.linear_attn.norm.weight": "model-00003-of-00004.safetensors",
|
| 99 |
+
"model.language_model.layers.14.linear_attn.out_proj.weight": "model-00003-of-00004.safetensors",
|
| 100 |
+
"model.language_model.layers.14.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 101 |
+
"model.language_model.layers.14.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
| 102 |
+
"model.language_model.layers.14.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 103 |
+
"model.language_model.layers.14.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 104 |
+
"model.language_model.layers.15.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 105 |
+
"model.language_model.layers.15.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 106 |
+
"model.language_model.layers.15.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
| 107 |
+
"model.language_model.layers.15.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 108 |
+
"model.language_model.layers.15.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 109 |
+
"model.language_model.layers.15.self_attn.k_norm.weight": "model-00003-of-00004.safetensors",
|
| 110 |
+
"model.language_model.layers.15.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
| 111 |
+
"model.language_model.layers.15.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
| 112 |
+
"model.language_model.layers.15.self_attn.q_norm.weight": "model-00003-of-00004.safetensors",
|
| 113 |
+
"model.language_model.layers.15.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
| 114 |
+
"model.language_model.layers.15.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
| 115 |
+
"model.language_model.layers.16.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 116 |
+
"model.language_model.layers.16.linear_attn.A_log": "model-00003-of-00004.safetensors",
|
| 117 |
+
"model.language_model.layers.16.linear_attn.conv1d.weight": "model-00003-of-00004.safetensors",
|
| 118 |
+
"model.language_model.layers.16.linear_attn.dt_bias": "model-00003-of-00004.safetensors",
|
| 119 |
+
"model.language_model.layers.16.linear_attn.in_proj_a.weight": "model-00003-of-00004.safetensors",
|
| 120 |
+
"model.language_model.layers.16.linear_attn.in_proj_b.weight": "model-00003-of-00004.safetensors",
|
| 121 |
+
"model.language_model.layers.16.linear_attn.in_proj_qkv.weight": "model-00003-of-00004.safetensors",
|
| 122 |
+
"model.language_model.layers.16.linear_attn.in_proj_z.weight": "model-00003-of-00004.safetensors",
|
| 123 |
+
"model.language_model.layers.16.linear_attn.norm.weight": "model-00003-of-00004.safetensors",
|
| 124 |
+
"model.language_model.layers.16.linear_attn.out_proj.weight": "model-00003-of-00004.safetensors",
|
| 125 |
+
"model.language_model.layers.16.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 126 |
+
"model.language_model.layers.16.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
| 127 |
+
"model.language_model.layers.16.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 128 |
+
"model.language_model.layers.16.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 129 |
+
"model.language_model.layers.17.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 130 |
+
"model.language_model.layers.17.linear_attn.A_log": "model-00003-of-00004.safetensors",
|
| 131 |
+
"model.language_model.layers.17.linear_attn.conv1d.weight": "model-00003-of-00004.safetensors",
|
| 132 |
+
"model.language_model.layers.17.linear_attn.dt_bias": "model-00003-of-00004.safetensors",
|
| 133 |
+
"model.language_model.layers.17.linear_attn.in_proj_a.weight": "model-00003-of-00004.safetensors",
|
| 134 |
+
"model.language_model.layers.17.linear_attn.in_proj_b.weight": "model-00003-of-00004.safetensors",
|
| 135 |
+
"model.language_model.layers.17.linear_attn.in_proj_qkv.weight": "model-00003-of-00004.safetensors",
|
| 136 |
+
"model.language_model.layers.17.linear_attn.in_proj_z.weight": "model-00003-of-00004.safetensors",
|
| 137 |
+
"model.language_model.layers.17.linear_attn.norm.weight": "model-00003-of-00004.safetensors",
|
| 138 |
+
"model.language_model.layers.17.linear_attn.out_proj.weight": "model-00003-of-00004.safetensors",
|
| 139 |
+
"model.language_model.layers.17.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 140 |
+
"model.language_model.layers.17.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
| 141 |
+
"model.language_model.layers.17.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 142 |
+
"model.language_model.layers.17.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 143 |
+
"model.language_model.layers.18.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 144 |
+
"model.language_model.layers.18.linear_attn.A_log": "model-00003-of-00004.safetensors",
|
| 145 |
+
"model.language_model.layers.18.linear_attn.conv1d.weight": "model-00003-of-00004.safetensors",
|
| 146 |
+
"model.language_model.layers.18.linear_attn.dt_bias": "model-00003-of-00004.safetensors",
|
| 147 |
+
"model.language_model.layers.18.linear_attn.in_proj_a.weight": "model-00003-of-00004.safetensors",
|
| 148 |
+
"model.language_model.layers.18.linear_attn.in_proj_b.weight": "model-00003-of-00004.safetensors",
|
| 149 |
+
"model.language_model.layers.18.linear_attn.in_proj_qkv.weight": "model-00003-of-00004.safetensors",
|
| 150 |
+
"model.language_model.layers.18.linear_attn.in_proj_z.weight": "model-00003-of-00004.safetensors",
|
| 151 |
+
"model.language_model.layers.18.linear_attn.norm.weight": "model-00003-of-00004.safetensors",
|
| 152 |
+
"model.language_model.layers.18.linear_attn.out_proj.weight": "model-00003-of-00004.safetensors",
|
| 153 |
+
"model.language_model.layers.18.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 154 |
+
"model.language_model.layers.18.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
| 155 |
+
"model.language_model.layers.18.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 156 |
+
"model.language_model.layers.18.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 157 |
+
"model.language_model.layers.19.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 158 |
+
"model.language_model.layers.19.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 159 |
+
"model.language_model.layers.19.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
| 160 |
+
"model.language_model.layers.19.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 161 |
+
"model.language_model.layers.19.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 162 |
+
"model.language_model.layers.19.self_attn.k_norm.weight": "model-00003-of-00004.safetensors",
|
| 163 |
+
"model.language_model.layers.19.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
| 164 |
+
"model.language_model.layers.19.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
| 165 |
+
"model.language_model.layers.19.self_attn.q_norm.weight": "model-00003-of-00004.safetensors",
|
| 166 |
+
"model.language_model.layers.19.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
| 167 |
+
"model.language_model.layers.19.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
| 168 |
+
"model.language_model.layers.2.input_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 169 |
+
"model.language_model.layers.2.linear_attn.A_log": "model-00001-of-00004.safetensors",
|
| 170 |
+
"model.language_model.layers.2.linear_attn.conv1d.weight": "model-00001-of-00004.safetensors",
|
| 171 |
+
"model.language_model.layers.2.linear_attn.dt_bias": "model-00001-of-00004.safetensors",
|
| 172 |
+
"model.language_model.layers.2.linear_attn.in_proj_a.weight": "model-00001-of-00004.safetensors",
|
| 173 |
+
"model.language_model.layers.2.linear_attn.in_proj_b.weight": "model-00001-of-00004.safetensors",
|
| 174 |
+
"model.language_model.layers.2.linear_attn.in_proj_qkv.weight": "model-00002-of-00004.safetensors",
|
| 175 |
+
"model.language_model.layers.2.linear_attn.in_proj_z.weight": "model-00002-of-00004.safetensors",
|
| 176 |
+
"model.language_model.layers.2.linear_attn.norm.weight": "model-00002-of-00004.safetensors",
|
| 177 |
+
"model.language_model.layers.2.linear_attn.out_proj.weight": "model-00002-of-00004.safetensors",
|
| 178 |
+
"model.language_model.layers.2.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 179 |
+
"model.language_model.layers.2.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
| 180 |
+
"model.language_model.layers.2.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 181 |
+
"model.language_model.layers.2.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 182 |
+
"model.language_model.layers.20.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 183 |
+
"model.language_model.layers.20.linear_attn.A_log": "model-00003-of-00004.safetensors",
|
| 184 |
+
"model.language_model.layers.20.linear_attn.conv1d.weight": "model-00003-of-00004.safetensors",
|
| 185 |
+
"model.language_model.layers.20.linear_attn.dt_bias": "model-00003-of-00004.safetensors",
|
| 186 |
+
"model.language_model.layers.20.linear_attn.in_proj_a.weight": "model-00003-of-00004.safetensors",
|
| 187 |
+
"model.language_model.layers.20.linear_attn.in_proj_b.weight": "model-00003-of-00004.safetensors",
|
| 188 |
+
"model.language_model.layers.20.linear_attn.in_proj_qkv.weight": "model-00003-of-00004.safetensors",
|
| 189 |
+
"model.language_model.layers.20.linear_attn.in_proj_z.weight": "model-00003-of-00004.safetensors",
|
| 190 |
+
"model.language_model.layers.20.linear_attn.norm.weight": "model-00003-of-00004.safetensors",
|
| 191 |
+
"model.language_model.layers.20.linear_attn.out_proj.weight": "model-00003-of-00004.safetensors",
|
| 192 |
+
"model.language_model.layers.20.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 193 |
+
"model.language_model.layers.20.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
| 194 |
+
"model.language_model.layers.20.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 195 |
+
"model.language_model.layers.20.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 196 |
+
"model.language_model.layers.21.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 197 |
+
"model.language_model.layers.21.linear_attn.A_log": "model-00003-of-00004.safetensors",
|
| 198 |
+
"model.language_model.layers.21.linear_attn.conv1d.weight": "model-00003-of-00004.safetensors",
|
| 199 |
+
"model.language_model.layers.21.linear_attn.dt_bias": "model-00003-of-00004.safetensors",
|
| 200 |
+
"model.language_model.layers.21.linear_attn.in_proj_a.weight": "model-00003-of-00004.safetensors",
|
| 201 |
+
"model.language_model.layers.21.linear_attn.in_proj_b.weight": "model-00003-of-00004.safetensors",
|
| 202 |
+
"model.language_model.layers.21.linear_attn.in_proj_qkv.weight": "model-00003-of-00004.safetensors",
|
| 203 |
+
"model.language_model.layers.21.linear_attn.in_proj_z.weight": "model-00003-of-00004.safetensors",
|
| 204 |
+
"model.language_model.layers.21.linear_attn.norm.weight": "model-00003-of-00004.safetensors",
|
| 205 |
+
"model.language_model.layers.21.linear_attn.out_proj.weight": "model-00003-of-00004.safetensors",
|
| 206 |
+
"model.language_model.layers.21.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 207 |
+
"model.language_model.layers.21.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
| 208 |
+
"model.language_model.layers.21.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 209 |
+
"model.language_model.layers.21.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 210 |
+
"model.language_model.layers.22.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 211 |
+
"model.language_model.layers.22.linear_attn.A_log": "model-00003-of-00004.safetensors",
|
| 212 |
+
"model.language_model.layers.22.linear_attn.conv1d.weight": "model-00003-of-00004.safetensors",
|
| 213 |
+
"model.language_model.layers.22.linear_attn.dt_bias": "model-00003-of-00004.safetensors",
|
| 214 |
+
"model.language_model.layers.22.linear_attn.in_proj_a.weight": "model-00003-of-00004.safetensors",
|
| 215 |
+
"model.language_model.layers.22.linear_attn.in_proj_b.weight": "model-00003-of-00004.safetensors",
|
| 216 |
+
"model.language_model.layers.22.linear_attn.in_proj_qkv.weight": "model-00003-of-00004.safetensors",
|
| 217 |
+
"model.language_model.layers.22.linear_attn.in_proj_z.weight": "model-00003-of-00004.safetensors",
|
| 218 |
+
"model.language_model.layers.22.linear_attn.norm.weight": "model-00003-of-00004.safetensors",
|
| 219 |
+
"model.language_model.layers.22.linear_attn.out_proj.weight": "model-00003-of-00004.safetensors",
|
| 220 |
+
"model.language_model.layers.22.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 221 |
+
"model.language_model.layers.22.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
| 222 |
+
"model.language_model.layers.22.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 223 |
+
"model.language_model.layers.22.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 224 |
+
"model.language_model.layers.23.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 225 |
+
"model.language_model.layers.23.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 226 |
+
"model.language_model.layers.23.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
| 227 |
+
"model.language_model.layers.23.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 228 |
+
"model.language_model.layers.23.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 229 |
+
"model.language_model.layers.23.self_attn.k_norm.weight": "model-00003-of-00004.safetensors",
|
| 230 |
+
"model.language_model.layers.23.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
| 231 |
+
"model.language_model.layers.23.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
| 232 |
+
"model.language_model.layers.23.self_attn.q_norm.weight": "model-00003-of-00004.safetensors",
|
| 233 |
+
"model.language_model.layers.23.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
| 234 |
+
"model.language_model.layers.23.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
| 235 |
+
"model.language_model.layers.24.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 236 |
+
"model.language_model.layers.24.linear_attn.A_log": "model-00003-of-00004.safetensors",
|
| 237 |
+
"model.language_model.layers.24.linear_attn.conv1d.weight": "model-00003-of-00004.safetensors",
|
| 238 |
+
"model.language_model.layers.24.linear_attn.dt_bias": "model-00003-of-00004.safetensors",
|
| 239 |
+
"model.language_model.layers.24.linear_attn.in_proj_a.weight": "model-00003-of-00004.safetensors",
|
| 240 |
+
"model.language_model.layers.24.linear_attn.in_proj_b.weight": "model-00003-of-00004.safetensors",
|
| 241 |
+
"model.language_model.layers.24.linear_attn.in_proj_qkv.weight": "model-00003-of-00004.safetensors",
|
| 242 |
+
"model.language_model.layers.24.linear_attn.in_proj_z.weight": "model-00003-of-00004.safetensors",
|
| 243 |
+
"model.language_model.layers.24.linear_attn.norm.weight": "model-00003-of-00004.safetensors",
|
| 244 |
+
"model.language_model.layers.24.linear_attn.out_proj.weight": "model-00003-of-00004.safetensors",
|
| 245 |
+
"model.language_model.layers.24.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 246 |
+
"model.language_model.layers.24.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
| 247 |
+
"model.language_model.layers.24.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 248 |
+
"model.language_model.layers.24.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 249 |
+
"model.language_model.layers.25.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 250 |
+
"model.language_model.layers.25.linear_attn.A_log": "model-00003-of-00004.safetensors",
|
| 251 |
+
"model.language_model.layers.25.linear_attn.conv1d.weight": "model-00003-of-00004.safetensors",
|
| 252 |
+
"model.language_model.layers.25.linear_attn.dt_bias": "model-00003-of-00004.safetensors",
|
| 253 |
+
"model.language_model.layers.25.linear_attn.in_proj_a.weight": "model-00003-of-00004.safetensors",
|
| 254 |
+
"model.language_model.layers.25.linear_attn.in_proj_b.weight": "model-00003-of-00004.safetensors",
|
| 255 |
+
"model.language_model.layers.25.linear_attn.in_proj_qkv.weight": "model-00004-of-00004.safetensors",
|
| 256 |
+
"model.language_model.layers.25.linear_attn.in_proj_z.weight": "model-00004-of-00004.safetensors",
|
| 257 |
+
"model.language_model.layers.25.linear_attn.norm.weight": "model-00004-of-00004.safetensors",
|
| 258 |
+
"model.language_model.layers.25.linear_attn.out_proj.weight": "model-00004-of-00004.safetensors",
|
| 259 |
+
"model.language_model.layers.25.mlp.down_proj.weight": "model-00004-of-00004.safetensors",
|
| 260 |
+
"model.language_model.layers.25.mlp.gate_proj.weight": "model-00004-of-00004.safetensors",
|
| 261 |
+
"model.language_model.layers.25.mlp.up_proj.weight": "model-00004-of-00004.safetensors",
|
| 262 |
+
"model.language_model.layers.25.post_attention_layernorm.weight": "model-00004-of-00004.safetensors",
|
| 263 |
+
"model.language_model.layers.26.input_layernorm.weight": "model-00004-of-00004.safetensors",
|
| 264 |
+
"model.language_model.layers.26.linear_attn.A_log": "model-00004-of-00004.safetensors",
|
| 265 |
+
"model.language_model.layers.26.linear_attn.conv1d.weight": "model-00004-of-00004.safetensors",
|
| 266 |
+
"model.language_model.layers.26.linear_attn.dt_bias": "model-00004-of-00004.safetensors",
|
| 267 |
+
"model.language_model.layers.26.linear_attn.in_proj_a.weight": "model-00004-of-00004.safetensors",
|
| 268 |
+
"model.language_model.layers.26.linear_attn.in_proj_b.weight": "model-00004-of-00004.safetensors",
|
| 269 |
+
"model.language_model.layers.26.linear_attn.in_proj_qkv.weight": "model-00004-of-00004.safetensors",
|
| 270 |
+
"model.language_model.layers.26.linear_attn.in_proj_z.weight": "model-00004-of-00004.safetensors",
|
| 271 |
+
"model.language_model.layers.26.linear_attn.norm.weight": "model-00004-of-00004.safetensors",
|
| 272 |
+
"model.language_model.layers.26.linear_attn.out_proj.weight": "model-00004-of-00004.safetensors",
|
| 273 |
+
"model.language_model.layers.26.mlp.down_proj.weight": "model-00004-of-00004.safetensors",
|
| 274 |
+
"model.language_model.layers.26.mlp.gate_proj.weight": "model-00004-of-00004.safetensors",
|
| 275 |
+
"model.language_model.layers.26.mlp.up_proj.weight": "model-00004-of-00004.safetensors",
|
| 276 |
+
"model.language_model.layers.26.post_attention_layernorm.weight": "model-00004-of-00004.safetensors",
|
| 277 |
+
"model.language_model.layers.27.input_layernorm.weight": "model-00004-of-00004.safetensors",
|
| 278 |
+
"model.language_model.layers.27.mlp.down_proj.weight": "model-00004-of-00004.safetensors",
|
| 279 |
+
"model.language_model.layers.27.mlp.gate_proj.weight": "model-00004-of-00004.safetensors",
|
| 280 |
+
"model.language_model.layers.27.mlp.up_proj.weight": "model-00004-of-00004.safetensors",
|
| 281 |
+
"model.language_model.layers.27.post_attention_layernorm.weight": "model-00004-of-00004.safetensors",
|
| 282 |
+
"model.language_model.layers.27.self_attn.k_norm.weight": "model-00004-of-00004.safetensors",
|
| 283 |
+
"model.language_model.layers.27.self_attn.k_proj.weight": "model-00004-of-00004.safetensors",
|
| 284 |
+
"model.language_model.layers.27.self_attn.o_proj.weight": "model-00004-of-00004.safetensors",
|
| 285 |
+
"model.language_model.layers.27.self_attn.q_norm.weight": "model-00004-of-00004.safetensors",
|
| 286 |
+
"model.language_model.layers.27.self_attn.q_proj.weight": "model-00004-of-00004.safetensors",
|
| 287 |
+
"model.language_model.layers.27.self_attn.v_proj.weight": "model-00004-of-00004.safetensors",
|
| 288 |
+
"model.language_model.layers.28.input_layernorm.weight": "model-00004-of-00004.safetensors",
|
| 289 |
+
"model.language_model.layers.28.linear_attn.A_log": "model-00004-of-00004.safetensors",
|
| 290 |
+
"model.language_model.layers.28.linear_attn.conv1d.weight": "model-00004-of-00004.safetensors",
|
| 291 |
+
"model.language_model.layers.28.linear_attn.dt_bias": "model-00004-of-00004.safetensors",
|
| 292 |
+
"model.language_model.layers.28.linear_attn.in_proj_a.weight": "model-00004-of-00004.safetensors",
|
| 293 |
+
"model.language_model.layers.28.linear_attn.in_proj_b.weight": "model-00004-of-00004.safetensors",
|
| 294 |
+
"model.language_model.layers.28.linear_attn.in_proj_qkv.weight": "model-00004-of-00004.safetensors",
|
| 295 |
+
"model.language_model.layers.28.linear_attn.in_proj_z.weight": "model-00004-of-00004.safetensors",
|
| 296 |
+
"model.language_model.layers.28.linear_attn.norm.weight": "model-00004-of-00004.safetensors",
|
| 297 |
+
"model.language_model.layers.28.linear_attn.out_proj.weight": "model-00004-of-00004.safetensors",
|
| 298 |
+
"model.language_model.layers.28.mlp.down_proj.weight": "model-00004-of-00004.safetensors",
|
| 299 |
+
"model.language_model.layers.28.mlp.gate_proj.weight": "model-00004-of-00004.safetensors",
|
| 300 |
+
"model.language_model.layers.28.mlp.up_proj.weight": "model-00004-of-00004.safetensors",
|
| 301 |
+
"model.language_model.layers.28.post_attention_layernorm.weight": "model-00004-of-00004.safetensors",
|
| 302 |
+
"model.language_model.layers.29.input_layernorm.weight": "model-00004-of-00004.safetensors",
|
| 303 |
+
"model.language_model.layers.29.linear_attn.A_log": "model-00004-of-00004.safetensors",
|
| 304 |
+
"model.language_model.layers.29.linear_attn.conv1d.weight": "model-00004-of-00004.safetensors",
|
| 305 |
+
"model.language_model.layers.29.linear_attn.dt_bias": "model-00004-of-00004.safetensors",
|
| 306 |
+
"model.language_model.layers.29.linear_attn.in_proj_a.weight": "model-00004-of-00004.safetensors",
|
| 307 |
+
"model.language_model.layers.29.linear_attn.in_proj_b.weight": "model-00004-of-00004.safetensors",
|
| 308 |
+
"model.language_model.layers.29.linear_attn.in_proj_qkv.weight": "model-00004-of-00004.safetensors",
|
| 309 |
+
"model.language_model.layers.29.linear_attn.in_proj_z.weight": "model-00004-of-00004.safetensors",
|
| 310 |
+
"model.language_model.layers.29.linear_attn.norm.weight": "model-00004-of-00004.safetensors",
|
| 311 |
+
"model.language_model.layers.29.linear_attn.out_proj.weight": "model-00004-of-00004.safetensors",
|
| 312 |
+
"model.language_model.layers.29.mlp.down_proj.weight": "model-00004-of-00004.safetensors",
|
| 313 |
+
"model.language_model.layers.29.mlp.gate_proj.weight": "model-00004-of-00004.safetensors",
|
| 314 |
+
"model.language_model.layers.29.mlp.up_proj.weight": "model-00004-of-00004.safetensors",
|
| 315 |
+
"model.language_model.layers.29.post_attention_layernorm.weight": "model-00004-of-00004.safetensors",
|
| 316 |
+
"model.language_model.layers.3.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 317 |
+
"model.language_model.layers.3.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 318 |
+
"model.language_model.layers.3.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
| 319 |
+
"model.language_model.layers.3.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 320 |
+
"model.language_model.layers.3.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 321 |
+
"model.language_model.layers.3.self_attn.k_norm.weight": "model-00002-of-00004.safetensors",
|
| 322 |
+
"model.language_model.layers.3.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
| 323 |
+
"model.language_model.layers.3.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
| 324 |
+
"model.language_model.layers.3.self_attn.q_norm.weight": "model-00002-of-00004.safetensors",
|
| 325 |
+
"model.language_model.layers.3.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
| 326 |
+
"model.language_model.layers.3.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
| 327 |
+
"model.language_model.layers.30.input_layernorm.weight": "model-00004-of-00004.safetensors",
|
| 328 |
+
"model.language_model.layers.30.linear_attn.A_log": "model-00004-of-00004.safetensors",
|
| 329 |
+
"model.language_model.layers.30.linear_attn.conv1d.weight": "model-00004-of-00004.safetensors",
|
| 330 |
+
"model.language_model.layers.30.linear_attn.dt_bias": "model-00004-of-00004.safetensors",
|
| 331 |
+
"model.language_model.layers.30.linear_attn.in_proj_a.weight": "model-00004-of-00004.safetensors",
|
| 332 |
+
"model.language_model.layers.30.linear_attn.in_proj_b.weight": "model-00004-of-00004.safetensors",
|
| 333 |
+
"model.language_model.layers.30.linear_attn.in_proj_qkv.weight": "model-00004-of-00004.safetensors",
|
| 334 |
+
"model.language_model.layers.30.linear_attn.in_proj_z.weight": "model-00004-of-00004.safetensors",
|
| 335 |
+
"model.language_model.layers.30.linear_attn.norm.weight": "model-00004-of-00004.safetensors",
|
| 336 |
+
"model.language_model.layers.30.linear_attn.out_proj.weight": "model-00004-of-00004.safetensors",
|
| 337 |
+
"model.language_model.layers.30.mlp.down_proj.weight": "model-00004-of-00004.safetensors",
|
| 338 |
+
"model.language_model.layers.30.mlp.gate_proj.weight": "model-00004-of-00004.safetensors",
|
| 339 |
+
"model.language_model.layers.30.mlp.up_proj.weight": "model-00004-of-00004.safetensors",
|
| 340 |
+
"model.language_model.layers.30.post_attention_layernorm.weight": "model-00004-of-00004.safetensors",
|
| 341 |
+
"model.language_model.layers.31.input_layernorm.weight": "model-00004-of-00004.safetensors",
|
| 342 |
+
"model.language_model.layers.31.mlp.down_proj.weight": "model-00004-of-00004.safetensors",
|
| 343 |
+
"model.language_model.layers.31.mlp.gate_proj.weight": "model-00004-of-00004.safetensors",
|
| 344 |
+
"model.language_model.layers.31.mlp.up_proj.weight": "model-00004-of-00004.safetensors",
|
| 345 |
+
"model.language_model.layers.31.post_attention_layernorm.weight": "model-00004-of-00004.safetensors",
|
| 346 |
+
"model.language_model.layers.31.self_attn.k_norm.weight": "model-00004-of-00004.safetensors",
|
| 347 |
+
"model.language_model.layers.31.self_attn.k_proj.weight": "model-00004-of-00004.safetensors",
|
| 348 |
+
"model.language_model.layers.31.self_attn.o_proj.weight": "model-00004-of-00004.safetensors",
|
| 349 |
+
"model.language_model.layers.31.self_attn.q_norm.weight": "model-00004-of-00004.safetensors",
|
| 350 |
+
"model.language_model.layers.31.self_attn.q_proj.weight": "model-00004-of-00004.safetensors",
|
| 351 |
+
"model.language_model.layers.31.self_attn.v_proj.weight": "model-00004-of-00004.safetensors",
|
| 352 |
+
"model.language_model.layers.4.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 353 |
+
"model.language_model.layers.4.linear_attn.A_log": "model-00002-of-00004.safetensors",
|
| 354 |
+
"model.language_model.layers.4.linear_attn.conv1d.weight": "model-00002-of-00004.safetensors",
|
| 355 |
+
"model.language_model.layers.4.linear_attn.dt_bias": "model-00002-of-00004.safetensors",
|
| 356 |
+
"model.language_model.layers.4.linear_attn.in_proj_a.weight": "model-00002-of-00004.safetensors",
|
| 357 |
+
"model.language_model.layers.4.linear_attn.in_proj_b.weight": "model-00002-of-00004.safetensors",
|
| 358 |
+
"model.language_model.layers.4.linear_attn.in_proj_qkv.weight": "model-00002-of-00004.safetensors",
|
| 359 |
+
"model.language_model.layers.4.linear_attn.in_proj_z.weight": "model-00002-of-00004.safetensors",
|
| 360 |
+
"model.language_model.layers.4.linear_attn.norm.weight": "model-00002-of-00004.safetensors",
|
| 361 |
+
"model.language_model.layers.4.linear_attn.out_proj.weight": "model-00002-of-00004.safetensors",
|
| 362 |
+
"model.language_model.layers.4.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 363 |
+
"model.language_model.layers.4.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
| 364 |
+
"model.language_model.layers.4.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 365 |
+
"model.language_model.layers.4.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 366 |
+
"model.language_model.layers.5.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 367 |
+
"model.language_model.layers.5.linear_attn.A_log": "model-00002-of-00004.safetensors",
|
| 368 |
+
"model.language_model.layers.5.linear_attn.conv1d.weight": "model-00002-of-00004.safetensors",
|
| 369 |
+
"model.language_model.layers.5.linear_attn.dt_bias": "model-00002-of-00004.safetensors",
|
| 370 |
+
"model.language_model.layers.5.linear_attn.in_proj_a.weight": "model-00002-of-00004.safetensors",
|
| 371 |
+
"model.language_model.layers.5.linear_attn.in_proj_b.weight": "model-00002-of-00004.safetensors",
|
| 372 |
+
"model.language_model.layers.5.linear_attn.in_proj_qkv.weight": "model-00002-of-00004.safetensors",
|
| 373 |
+
"model.language_model.layers.5.linear_attn.in_proj_z.weight": "model-00002-of-00004.safetensors",
|
| 374 |
+
"model.language_model.layers.5.linear_attn.norm.weight": "model-00002-of-00004.safetensors",
|
| 375 |
+
"model.language_model.layers.5.linear_attn.out_proj.weight": "model-00002-of-00004.safetensors",
|
| 376 |
+
"model.language_model.layers.5.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 377 |
+
"model.language_model.layers.5.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
| 378 |
+
"model.language_model.layers.5.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 379 |
+
"model.language_model.layers.5.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 380 |
+
"model.language_model.layers.6.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 381 |
+
"model.language_model.layers.6.linear_attn.A_log": "model-00002-of-00004.safetensors",
|
| 382 |
+
"model.language_model.layers.6.linear_attn.conv1d.weight": "model-00002-of-00004.safetensors",
|
| 383 |
+
"model.language_model.layers.6.linear_attn.dt_bias": "model-00002-of-00004.safetensors",
|
| 384 |
+
"model.language_model.layers.6.linear_attn.in_proj_a.weight": "model-00002-of-00004.safetensors",
|
| 385 |
+
"model.language_model.layers.6.linear_attn.in_proj_b.weight": "model-00002-of-00004.safetensors",
|
| 386 |
+
"model.language_model.layers.6.linear_attn.in_proj_qkv.weight": "model-00002-of-00004.safetensors",
|
| 387 |
+
"model.language_model.layers.6.linear_attn.in_proj_z.weight": "model-00002-of-00004.safetensors",
|
| 388 |
+
"model.language_model.layers.6.linear_attn.norm.weight": "model-00002-of-00004.safetensors",
|
| 389 |
+
"model.language_model.layers.6.linear_attn.out_proj.weight": "model-00002-of-00004.safetensors",
|
| 390 |
+
"model.language_model.layers.6.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 391 |
+
"model.language_model.layers.6.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
| 392 |
+
"model.language_model.layers.6.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 393 |
+
"model.language_model.layers.6.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 394 |
+
"model.language_model.layers.7.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 395 |
+
"model.language_model.layers.7.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 396 |
+
"model.language_model.layers.7.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
| 397 |
+
"model.language_model.layers.7.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 398 |
+
"model.language_model.layers.7.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 399 |
+
"model.language_model.layers.7.self_attn.k_norm.weight": "model-00002-of-00004.safetensors",
|
| 400 |
+
"model.language_model.layers.7.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
| 401 |
+
"model.language_model.layers.7.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
| 402 |
+
"model.language_model.layers.7.self_attn.q_norm.weight": "model-00002-of-00004.safetensors",
|
| 403 |
+
"model.language_model.layers.7.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
| 404 |
+
"model.language_model.layers.7.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
| 405 |
+
"model.language_model.layers.8.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 406 |
+
"model.language_model.layers.8.linear_attn.A_log": "model-00002-of-00004.safetensors",
|
| 407 |
+
"model.language_model.layers.8.linear_attn.conv1d.weight": "model-00002-of-00004.safetensors",
|
| 408 |
+
"model.language_model.layers.8.linear_attn.dt_bias": "model-00002-of-00004.safetensors",
|
| 409 |
+
"model.language_model.layers.8.linear_attn.in_proj_a.weight": "model-00002-of-00004.safetensors",
|
| 410 |
+
"model.language_model.layers.8.linear_attn.in_proj_b.weight": "model-00002-of-00004.safetensors",
|
| 411 |
+
"model.language_model.layers.8.linear_attn.in_proj_qkv.weight": "model-00002-of-00004.safetensors",
|
| 412 |
+
"model.language_model.layers.8.linear_attn.in_proj_z.weight": "model-00002-of-00004.safetensors",
|
| 413 |
+
"model.language_model.layers.8.linear_attn.norm.weight": "model-00002-of-00004.safetensors",
|
| 414 |
+
"model.language_model.layers.8.linear_attn.out_proj.weight": "model-00002-of-00004.safetensors",
|
| 415 |
+
"model.language_model.layers.8.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 416 |
+
"model.language_model.layers.8.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
| 417 |
+
"model.language_model.layers.8.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 418 |
+
"model.language_model.layers.8.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 419 |
+
"model.language_model.layers.9.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 420 |
+
"model.language_model.layers.9.linear_attn.A_log": "model-00002-of-00004.safetensors",
|
| 421 |
+
"model.language_model.layers.9.linear_attn.conv1d.weight": "model-00002-of-00004.safetensors",
|
| 422 |
+
"model.language_model.layers.9.linear_attn.dt_bias": "model-00002-of-00004.safetensors",
|
| 423 |
+
"model.language_model.layers.9.linear_attn.in_proj_a.weight": "model-00002-of-00004.safetensors",
|
| 424 |
+
"model.language_model.layers.9.linear_attn.in_proj_b.weight": "model-00002-of-00004.safetensors",
|
| 425 |
+
"model.language_model.layers.9.linear_attn.in_proj_qkv.weight": "model-00002-of-00004.safetensors",
|
| 426 |
+
"model.language_model.layers.9.linear_attn.in_proj_z.weight": "model-00002-of-00004.safetensors",
|
| 427 |
+
"model.language_model.layers.9.linear_attn.norm.weight": "model-00002-of-00004.safetensors",
|
| 428 |
+
"model.language_model.layers.9.linear_attn.out_proj.weight": "model-00002-of-00004.safetensors",
|
| 429 |
+
"model.language_model.layers.9.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 430 |
+
"model.language_model.layers.9.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
| 431 |
+
"model.language_model.layers.9.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 432 |
+
"model.language_model.layers.9.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 433 |
+
"model.language_model.norm.weight": "model-00004-of-00004.safetensors"
|
| 434 |
+
}
|
| 435 |
+
}
|
release-manifest.json
ADDED
|
@@ -0,0 +1,125 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "CrossbowReviewer-9B",
|
| 3 |
+
"version": "1.0.0",
|
| 4 |
+
"release_date": "2026-09-27",
|
| 5 |
+
"base_model": "Qwen/Qwen3.5-9B-Base",
|
| 6 |
+
"relation": "finetune (LoRA r16 merged into full weights)",
|
| 7 |
+
"license": "Apache-2.0",
|
| 8 |
+
"decision_format": "crossbow-slots-v1 (see decision_config.json)",
|
| 9 |
+
"inference_code": "https://github.com/riposta/CrossbowReviewer",
|
| 10 |
+
"artifacts": {
|
| 11 |
+
"safetensors_bf16": "model-0000{1..4}-of-00004.safetensors",
|
| 12 |
+
"gguf_q8_0": "gguf/CrossbowReviewer-9B-Q8_0.gguf"
|
| 13 |
+
},
|
| 14 |
+
"parity": {
|
| 15 |
+
"merged_vs_base_plus_lora": "79/79 identical choices, mean |dp| 0.003",
|
| 16 |
+
"gguf_q8_0_vs_safetensors": "79/79 identical choices, mean |dp| 0.004"
|
| 17 |
+
},
|
| 18 |
+
"files": [
|
| 19 |
+
{
|
| 20 |
+
"path": "LICENSE",
|
| 21 |
+
"bytes": 11358,
|
| 22 |
+
"sha256": "cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30"
|
| 23 |
+
},
|
| 24 |
+
{
|
| 25 |
+
"path": "NOTICE",
|
| 26 |
+
"bytes": 305,
|
| 27 |
+
"sha256": "930472a7a4b21e39db2a68aafcb1cc09984a4c7f88e6072682eef75b2ec844b2"
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"path": "README.md",
|
| 31 |
+
"bytes": 6847,
|
| 32 |
+
"sha256": "3afbcc1e7114e388a43f93a780b3f09f622550bc721d0e633f91dafd736595be"
|
| 33 |
+
},
|
| 34 |
+
{
|
| 35 |
+
"path": "chat_template.jinja",
|
| 36 |
+
"bytes": 7756,
|
| 37 |
+
"sha256": "a4aee8afcf2e0711942cf848899be66016f8d14a889ff9ede07bca099c28f715"
|
| 38 |
+
},
|
| 39 |
+
{
|
| 40 |
+
"path": "config.json",
|
| 41 |
+
"bytes": 1981,
|
| 42 |
+
"sha256": "888a884d9ce35c4df383c9f7ed3d6466ee0a4d92cc9f44f12315ea850bb0b345"
|
| 43 |
+
},
|
| 44 |
+
{
|
| 45 |
+
"path": "decision_config.json",
|
| 46 |
+
"bytes": 618,
|
| 47 |
+
"sha256": "86a9041d7151d9479733c0cd5ae40bd247ab4607d1b71e21b6c8c71b4eafb359"
|
| 48 |
+
},
|
| 49 |
+
{
|
| 50 |
+
"path": "docs/BENCHMARKS.md",
|
| 51 |
+
"bytes": 3493,
|
| 52 |
+
"sha256": "8288b734ae8bda221cfd355a6b99f7cdfa93290000bfce86e6eef2cbf53ccfde"
|
| 53 |
+
},
|
| 54 |
+
{
|
| 55 |
+
"path": "docs/QUICKSTART.md",
|
| 56 |
+
"bytes": 3131,
|
| 57 |
+
"sha256": "1f8496c6b8ce1e69660df2bcb09bc991150c42622551a2e2c09df974a1ac151c"
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"path": "docs/assets/owasp_traps.png",
|
| 61 |
+
"bytes": 63623,
|
| 62 |
+
"sha256": "1ab1f4cac1f59f0f42f9ca5f327fc73c6b3618fd76381951a5ea7e9d52de54c7"
|
| 63 |
+
},
|
| 64 |
+
{
|
| 65 |
+
"path": "docs/assets/quality_vs_latency.png",
|
| 66 |
+
"bytes": 51586,
|
| 67 |
+
"sha256": "21bc5f2530bd4aa5f23b74734bc4d94ef327d7cc4cd6380b842569c609e03c04"
|
| 68 |
+
},
|
| 69 |
+
{
|
| 70 |
+
"path": "docs/assets/three_tests.png",
|
| 71 |
+
"bytes": 109505,
|
| 72 |
+
"sha256": "0ec945c553c90b82cd211fcbc48fc508007c2b87c47e067bfb8d636ddfb06c86"
|
| 73 |
+
},
|
| 74 |
+
{
|
| 75 |
+
"path": "docs/benchmarks.json",
|
| 76 |
+
"bytes": 5610,
|
| 77 |
+
"sha256": "031a3518ca6b51b9687bd28bbf00476ee08c6b05171ef8900070798dcbe73016"
|
| 78 |
+
},
|
| 79 |
+
{
|
| 80 |
+
"path": "generation_config.json",
|
| 81 |
+
"bytes": 116,
|
| 82 |
+
"sha256": "62153eb6c69f2e1f426beaa8002b7186437e949c7588167085df14e10e9c0a73"
|
| 83 |
+
},
|
| 84 |
+
{
|
| 85 |
+
"path": "gguf/CrossbowReviewer-9B-Q8_0.gguf",
|
| 86 |
+
"bytes": 9527501280,
|
| 87 |
+
"sha256": "9dc38b76a9490008da3f73fa80acd4bc530a08cecd43b898be61e071e7bc6cf9"
|
| 88 |
+
},
|
| 89 |
+
{
|
| 90 |
+
"path": "model-00001-of-00004.safetensors",
|
| 91 |
+
"bytes": 4942706120,
|
| 92 |
+
"sha256": "954b02ec2423fdd271f32a7ddc306f725f1167a769d69d39f7353e86cdb6eddb"
|
| 93 |
+
},
|
| 94 |
+
{
|
| 95 |
+
"path": "model-00002-of-00004.safetensors",
|
| 96 |
+
"bytes": 4987757928,
|
| 97 |
+
"sha256": "d58e7dba95a4e9fe62e129c3fcce41ae0c28282be660fe8eadca4930b18e106d"
|
| 98 |
+
},
|
| 99 |
+
{
|
| 100 |
+
"path": "model-00003-of-00004.safetensors",
|
| 101 |
+
"bytes": 4954810240,
|
| 102 |
+
"sha256": "5a735fdc0957f9132ccb8006e57bf3f392168b2e870747728b48484e8135c000"
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"path": "model-00004-of-00004.safetensors",
|
| 106 |
+
"bytes": 3022388120,
|
| 107 |
+
"sha256": "a26dda3f020b8b2f5ff3f636a9a528db34bccf176f3718c469f35e9ee776df0d"
|
| 108 |
+
},
|
| 109 |
+
{
|
| 110 |
+
"path": "model.safetensors.index.json",
|
| 111 |
+
"bytes": 42052,
|
| 112 |
+
"sha256": "e8ef36c3e0c658f657e282fb6d68609770f039ef2886b89f8ca6a1a293422408"
|
| 113 |
+
},
|
| 114 |
+
{
|
| 115 |
+
"path": "tokenizer.json",
|
| 116 |
+
"bytes": 19989325,
|
| 117 |
+
"sha256": "06b9509352d2af50381ab2247e083b80d32d5c0aba91c272ca9ff729b6a0e523"
|
| 118 |
+
},
|
| 119 |
+
{
|
| 120 |
+
"path": "tokenizer_config.json",
|
| 121 |
+
"bytes": 1128,
|
| 122 |
+
"sha256": "8671bed7c852ce9e661be94f179a7b4ffd091c2a65aea0363e5501c20318ee45"
|
| 123 |
+
}
|
| 124 |
+
]
|
| 125 |
+
}
|
tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:06b9509352d2af50381ab2247e083b80d32d5c0aba91c272ca9ff729b6a0e523
|
| 3 |
+
size 19989325
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_prefix_space": false,
|
| 3 |
+
"audio_bos_token": "<|audio_start|>",
|
| 4 |
+
"audio_eos_token": "<|audio_end|>",
|
| 5 |
+
"audio_token": "<|audio_pad|>",
|
| 6 |
+
"backend": "tokenizers",
|
| 7 |
+
"bos_token": null,
|
| 8 |
+
"clean_up_tokenization_spaces": false,
|
| 9 |
+
"eos_token": "<|endoftext|>",
|
| 10 |
+
"errors": "replace",
|
| 11 |
+
"image_token": "<|image_pad|>",
|
| 12 |
+
"is_local": false,
|
| 13 |
+
"local_files_only": false,
|
| 14 |
+
"model_max_length": 262144,
|
| 15 |
+
"model_specific_special_tokens": {
|
| 16 |
+
"audio_bos_token": "<|audio_start|>",
|
| 17 |
+
"audio_eos_token": "<|audio_end|>",
|
| 18 |
+
"audio_token": "<|audio_pad|>",
|
| 19 |
+
"image_token": "<|image_pad|>",
|
| 20 |
+
"video_token": "<|video_pad|>",
|
| 21 |
+
"vision_bos_token": "<|vision_start|>",
|
| 22 |
+
"vision_eos_token": "<|vision_end|>"
|
| 23 |
+
},
|
| 24 |
+
"pad_token": "<|endoftext|>",
|
| 25 |
+
"pretokenize_regex": "(?i:'s|'t|'re|'ve|'m|'ll|'d)|[^\\r\\n\\p{L}\\p{N}]?[\\p{L}\\p{M}]+|\\p{N}| ?[^\\s\\p{L}\\p{M}\\p{N}]+[\\r\\n]*|\\s*[\\r\\n]+|\\s+(?!\\S)|\\s+",
|
| 26 |
+
"split_special_tokens": false,
|
| 27 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
| 28 |
+
"unk_token": null,
|
| 29 |
+
"video_token": "<|video_pad|>",
|
| 30 |
+
"vision_bos_token": "<|vision_start|>",
|
| 31 |
+
"vision_eos_token": "<|vision_end|>"
|
| 32 |
+
}
|