Image-Text-to-Text
Transformers
Safetensors
qwen3_5
clef
cloudflare
systemone
qwen3.5
post-train
image-text-to-typed-output
multimodal
structured-output
classification
custom-code
conversational
Run this model with HF Jobs
Run vkshdev/clef-flash-9B on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs and TRL to fine-tune https://huggingface.co/vkshdev/clef-flash-9B. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/vkshdev/clef-flash-9B on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/vkshdev/clef-flash-9B. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/vkshdev/clef-flash-9B. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
Instructions to use vkshdev/clef-flash-9B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use vkshdev/clef-flash-9B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="vkshdev/clef-flash-9B") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("vkshdev/clef-flash-9B") model = AutoModelForMultimodalLM.from_pretrained("vkshdev/clef-flash-9B", device_map="auto") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.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(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use vkshdev/clef-flash-9B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "vkshdev/clef-flash-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": "vkshdev/clef-flash-9B", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/vkshdev/clef-flash-9B
- SGLang
How to use vkshdev/clef-flash-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 "vkshdev/clef-flash-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": "vkshdev/clef-flash-9B", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'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 "vkshdev/clef-flash-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": "vkshdev/clef-flash-9B", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }' - Docker Model Runner
How to use vkshdev/clef-flash-9B with Docker Model Runner:
docker model run hf.co/vkshdev/clef-flash-9B
Duplicate from Cloudflare/clef-flash
Browse filesCo-authored-by: Alex Reneau <areneau@users.noreply.huggingface.co>
Files changed (17)
- .gitattributesAdded+36
- LICENSEAdded+202
- README.mdAdded+225
- chat_template.jinjaAdded+154
- config.jsonAdded+109
- generation_config.jsonAdded+6
- joint_head.safetensorsAdded+3
- joint_head_config.jsonAdded+8
- joint_schema_model.pyAdded+576
- model-00001-of-00004.safetensorsAdded+3
- model-00002-of-00004.safetensorsAdded+3
- model-00003-of-00004.safetensorsAdded+3
- model-00004-of-00004.safetensorsAdded+3
- model.safetensors.index.jsonAdded+768
- processor_config.jsonAdded+60
- tokenizer.jsonAdded+3
- tokenizer_config.jsonAdded+30
123456789101112131415161718192021222324252627282930313233343536*.7z filter=lfs diff=lfs merge=lfs -text*.arrow filter=lfs diff=lfs merge=lfs -text*.bin filter=lfs diff=lfs merge=lfs -text*.bz2 filter=lfs diff=lfs merge=lfs -text*.ckpt filter=lfs diff=lfs merge=lfs -text*.ftz filter=lfs diff=lfs merge=lfs -text*.gz filter=lfs diff=lfs merge=lfs -text*.h5 filter=lfs diff=lfs merge=lfs -text*.joblib filter=lfs diff=lfs merge=lfs -text*.lfs.* filter=lfs diff=lfs merge=lfs -text*.mlmodel filter=lfs diff=lfs merge=lfs -text*.model filter=lfs diff=lfs merge=lfs -text*.msgpack filter=lfs diff=lfs merge=lfs -text*.npy filter=lfs diff=lfs merge=lfs -text*.npz filter=lfs diff=lfs merge=lfs -text*.onnx filter=lfs diff=lfs merge=lfs -text*.ot filter=lfs diff=lfs merge=lfs -text*.parquet filter=lfs diff=lfs merge=lfs -text*.pb filter=lfs diff=lfs merge=lfs -text*.pickle filter=lfs diff=lfs merge=lfs -text*.pkl filter=lfs diff=lfs merge=lfs -text*.pt filter=lfs diff=lfs merge=lfs -text*.pth filter=lfs diff=lfs merge=lfs -text*.rar filter=lfs diff=lfs merge=lfs -text*.safetensors filter=lfs diff=lfs merge=lfs -textsaved_model/**/* filter=lfs diff=lfs merge=lfs -text*.tar.* filter=lfs diff=lfs merge=lfs -text*.tar filter=lfs diff=lfs merge=lfs -text*.tflite filter=lfs diff=lfs merge=lfs -text*.tgz filter=lfs diff=lfs merge=lfs -text*.wasm filter=lfs diff=lfs merge=lfs -text*.xz filter=lfs diff=lfs merge=lfs -text*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -texttokenizer.json filter=lfs diff=lfs merge=lfs -text123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright 2026 Alibaba Cloud
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225---license: apache-2.0library_name: transformerspipeline_tag: image-text-to-textbase_model: Qwen/Qwen3.5-9Bbase_model_relation: finetunetags:- clef- cloudflare- systemone- qwen3.5- post-train- image-text-to-typed-output- multimodal- structured-output- classification- custom-code---
# Clef-Flash
- **Announcement:** [Clef decision models on the Cloudflare blog](https://blog.cloudflare.com/clef-decision-models)- **Decision Index leaderboard:** [clef-evals.workers-ai-mle.workers.dev](https://clef-evals.workers-ai-mle.workers.dev)
Clef-Flash is a 9B multimodal model that turns a state and a schema of typedquestions into decisions. It reads the state as text, JSON, images, or video, and returns aprobability for every allowed option of every question in a single forward pass. There is nofree-form text generation and no output parsing.
The Clef-Flash API is fully compatible with Jev and SystemOne.
Clef-Flash is post-trained from [Qwen/Qwen3.5-9B](https://huggingface.co/Qwen/Qwen3.5-9B). See[Clef](https://huggingface.co/Cloudflare/clef) for thelarger variant.
## Model
- **Backbone:** Qwen/Qwen3.5-9B with its vision encoder, stored as standard sharded safetensors.- **Joint schema head:** a small transformer head that reads the backbone's final hidden states, routes evidence from the state to each question, and scores all options of all questions jointly.- **Output:** one logit per allowed option for each question. Apply a softmax per question to get probabilities.
## Files
| File | Purpose ||---|---|| `model-*.safetensors`, `model.safetensors.index.json`, `config.json`, `generation_config.json` | Backbone, including the vision encoder || `joint_head.safetensors`, `joint_head_config.json` | Joint schema head || `joint_schema_model.py` | Record encoding, batching, the model, `load_release_model`, and `systemone` || `tokenizer.json`, `tokenizer_config.json`, `chat_template.jinja`, `processor_config.json` | Tokenizer and image/video processor || `LICENSE` | Apache-2.0 license |
## Usage
Tested with `torch` 2.11 and `transformers` 5.10.2 on a single H200. Image and video inputs alsoneed `pillow`.
```pythonimport sys
import torchfrom huggingface_hub import snapshot_download
path = snapshot_download("Cloudflare/clef-flash")sys.path.insert(0, path)from joint_schema_model import collate_records, encode_record, load_release_model
model, processor = load_release_model(path, device="cuda")
record = { "state": {"invoice": {"vendor": "Acme", "total": 1250.0, "currency": "USD", "status": "overdue"}}, "questions": { "status": { "type": "choice", "instructions": "What is the invoice status?", "criteria": {"paid": "Invoice is paid.", "overdue": "Invoice is past due.", "draft": "Not sent."}, }, "large": {"type": "noul", "instructions": "Is the total above 1000 USD?"}, },}
encoded = encode_record(processor.tokenizer, record, processor=processor)batch = collate_records([encoded], processor.tokenizer.pad_token_id, torch.device("cuda"))with torch.inference_mode(): logits = model(batch)[0]
for question, question_logits in zip(encoded.questions, logits): probabilities = question_logits.float().softmax(-1).tolist() print(question.question_id, dict(zip(question.option_ids, probabilities)))```
### Jev / SystemOne API
`systemone` takes a Jev/SystemOne `POST /v1/systemone` request body and returns the same responsebody: `model`, `answers` keyed by question ID, and `usage`. A `choice` answer has `choice`,`confidence`, and `probabilities`; a `score` answer has the expected `score`, `confidence`, `legend`,and `probabilities`; a `noul` answer has the probability of true. `instructions` is optional, and`images` and `videos` may be added to the request.
```pythonfrom joint_schema_model import systemone
response = systemone(model, processor, { "model": "clef-flash", "state": "Our checkout started returning errors and orders are blocked.", "questions": { "department": { "type": "choice", "instructions": "Which team should handle the message?", "criteria": {"billing": "Payments or invoices", "technical": "Bugs or outages"}, }, "urgency": {"type": "score", "criteria": ["Can wait", "This week", "Today"]}, "outage": {"type": "noul", "instructions": "Is a service down?"}, },})print(response["answers"])```
### Images and video
Add `images` (PIL images) or `videos` (frame arrays) to the record and pass the processor to`encode_record`. Optional processor arguments go in `media_kwargs`.
```pythonfrom PIL import Image
record = { "state": {"task": "Review the attached receipt."}, "images": [Image.open("receipt.jpg")], "questions": { "legible": {"type": "noul", "instructions": "Is the receipt total legible?"}, },}encoded = encode_record(processor.tokenizer, record, processor=processor)```
Text-only and multimodal records can be mixed in the same batch.
## Input format
| Field | Description ||---|---|| `state` | Any string or JSON value describing the situation to decide on || `images`, `videos` | Optional lists of images or video frame arrays || `media_kwargs` | Optional keyword arguments for the image/video processor || `questions` | Mapping of question ID to question |
Each question has:
- `type`: `noul` (true/false), `choice` (named options), or `score` (ordered options)- `instructions`: what to decide; optional, and the question ID is used when it is omitted- `criteria`: for `choice`, a mapping of option ID to description; for `score`, a list of option descriptions indexed from 0; for `noul`, optional descriptions for `true` and `false`
`encode_record` accepts `max_length` (default 16,384 tokens) and `max_state_tokens` to bound the input.
## Results
### Decision Index
Per-benchmark results from our internal run of the [Decision Index](https://clef-evals.workers-ai-mle.workers.dev) 0.2.1 suite. Scores are percentages; ForecastBench is a Brier score, where lower is better. The last two rows are request latency in milliseconds, where lower is better. The best value in each row is in bold.
| Benchmark | Clef | Clef-flash | Jev | DiffusionGemma Jev | Kev 9B | Laya ||---|---|---|---|---|---|---|| BFCL (case exact accuracy) | 98.5 | **98.8** | 95.8 | 96.5 | 94.5 | 38.1 || ToolRet (nDCG@10) | **69.2** | 66.4 | 65.3 | 61.2 | 64.3 | 12.8 || API-Bank (accuracy) | 91.9 | **93.1** | 88.2 | 83.7 | 56.3 | 11.5 || BANKING77 (macro-F1) | **94.2** | 90.9 | 79.7 | 74.3 | 84.8 | 14.3 || CLINC150+OOS (macro-F1) | **97.4** | 66.8 | 89.3 | 83.5 | 79.0 | 3.2 || RouterBench (selected quality) | 79.7 | 79.9 | 79.9 | 79.0 | **80.0** | 57.1 || Home appliance simulator (case exact accuracy) | 83.0 | **97.7** | 52.3 | 42.0 | 25.0 | 0.0 || SGD/SGD-X (macro-F1) | 43.8 | 34.2 | 43.0 | 40.6 | **64.0** | 42.4 || ContractNLI (macro-F1) | 81.4 | **84.3** | 71.7 | 76.0 | 57.8 | 29.0 || ANLI (macro-F1) | 69.8 | 59.1 | **74.8** | 66.4 | 56.3 | 48.7 || BPoMP (accuracy) | **96.9** | 95.4 | 90.6 | 86.9 | 67.0 | 51.6 || Humicroedit (accuracy) | 66.7 | **75.1** | 61.9 | 63.0 | 55.8 | 47.2 || POP909-CL (accuracy) | 15.8 | 1.6 | **18.1** | 2.5 | 10.8 | 5.1 || cfcolor (accuracy) | **66.0** | 65.8 | 64.7 | 58.2 | 56.3 | 52.3 || MMLU (accuracy) | 90.3 | **91.8** | 91.7 | 79.3 | 75.3 | 30.7 || GPQA Diamond (accuracy) | 48.0 | 51.0 | **78.3** | 44.9 | 38.8 | 27.6 || ARC-Easy (accuracy) | 99.0 | **99.5** | 99.3 | 98.2 | 97.7 | 47.0 || ARC-Challenge (accuracy) | 97.7 | **98.3** | 97.8 | 94.5 | 93.7 | 28.6 || WinoGrande (accuracy) | 93.5 | **97.5** | 92.0 | 73.6 | 73.2 | 50.5 || HellaSwag (accuracy) | 98.2 | **98.6** | 94.5 | 83.3 | 81.9 | 33.1 || GSM8K (accuracy) | **80.8** | 67.3 | 79.9 | 50.3 | 48.7 | 21.6 || ChessBench (accuracy) | **24.7** | 23.0 | 17.2 | 14.2 | 11.2 | 7.7 || MuSR (accuracy) | 83.5 | **86.0** | 66.1 | 61.2 | 57.9 | 43.2 || SATA-Bench (case exact accuracy) | 33.8 | **36.7** | 26.4 | 27.5 | 26.7 | 0.3 || BRIGHT (nDCG@10) | 45.9 | 39.3 | **47.5** | 42.9 | 38.5 | 19.9 || Amazon ESCI (macro-F1) | **57.5** | 57.4 | 55.2 | 53.4 | 49.2 | 24.4 || ACOS (per-review F1) | **33.3** | 25.9 | 29.5 | 24.5 | 18.3 | 3.5 || FinEntity (macro-F1) | 96.2 | **97.1** | 87.0 | 89.0 | 88.4 | 61.0 || VAST (macro-F1) | 59.5 | 49.6 | **64.6** | 55.7 | 55.4 | 40.5 || NLI4CT (macro-F1) | 82.9 | 78.6 | **84.1** | 78.4 | 74.9 | 47.7 || CRUXEval (accuracy) | **86.7** | 86.1 | 73.0 | 64.7 | 51.2 | 40.2 || CLadder (accuracy) | 94.0 | **97.7** | 72.6 | 67.8 | 62.0 | 52.9 || ForecastBench (Brier, lower is better) | 13.9 | **10.6** | 17.4 | 29.6 | 17.6 | 41.1 || Habermas Machine (accuracy) | 68.7 | **71.8** | 45.9 | 45.0 | 39.4 | 33.4 || PhishNChips (accuracy) | 79.6 | 75.0 | 62.5 | **85.4** | 50.7 | 50.1 || MMLU-Pro (accuracy) | 65.9 | 65.3 | **82.7** | 56.9 | 51.1 | 13.6 || BBH (accuracy) | 73.7 | 68.9 | **92.9** | 70.7 | 65.2 | 34.1 || RAGTruth (hallucination F1) | **79.4** | 35.6 | 76.5 | 70.4 | 46.2 | 48.8 || HoVer (accuracy) | 65.2 | 61.2 | **72.9** | 70.9 | 58.8 | 55.8 || When2Call MCQ (accuracy) | 72.4 | 65.6 | **81.0** | 75.4 | 49.6 | 11.9 || New Yorker (accuracy) | 69.5 | 66.1 | **70.1** | 63.6 | 58.1 | 27.1 || Median latency (ms) | 209.3 | 38.8 | 524.1 | 84.4 | 51.4 | **5.8** || p95 latency (ms) | 238.6 | **122.4** | 536.0 | 211.2 | 187.9 | 222.5 |
### Workflow evals
Decision accuracy on four end-to-end business workflows from [Typesafe Evals](https://evals.typesafe.ai/), scored against consensus reference labels. All models are scored on the same dataset revision and case cohort.
| Workflow | Metric | Clef | Clef-flash | Jev ||---|---|---:|---:|---:|| Invoice processing | Exact actions | **64.7** | 57.1 | 61.8 || Invoice processing | Primary action | **86.2** | 73.3 | 83.1 || Customer service | Exact actions | 76.3 | **77.0** | 76.0 || Security incidents | Exact actions | **62.9** | 61.7 | 61.7 || Agent trace observability | Primary action | 68.5 | 69.8 | **71.6** |
## License
Released under the Apache-2.0 license, following the base model[Qwen/Qwen3.5-9B](https://huggingface.co/Qwen/Qwen3.5-9B).123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154{%- set image_count = namespace(value=0) %}{%- set video_count = namespace(value=0) %}{%- macro render_content(content, do_vision_count, is_system_content=false) %} {%- if content is string %} {{- content }} {%- elif content is iterable and content is not mapping %} {%- for item in content %} {%- if 'image' in item or 'image_url' in item or item.type == 'image' %} {%- if is_system_content %} {{- raise_exception('System message cannot contain images.') }} {%- endif %} {%- if do_vision_count %} {%- set image_count.value = image_count.value + 1 %} {%- endif %} {%- if add_vision_id %} {{- 'Picture ' ~ image_count.value ~ ': ' }} {%- endif %} {{- '<|vision_start|><|image_pad|><|vision_end|>' }} {%- elif 'video' in item or item.type == 'video' %} {%- if is_system_content %} {{- raise_exception('System message cannot contain videos.') }} {%- endif %} {%- if do_vision_count %} {%- set video_count.value = video_count.value + 1 %} {%- endif %} {%- if add_vision_id %} {{- 'Video ' ~ video_count.value ~ ': ' }} {%- endif %} {{- '<|vision_start|><|video_pad|><|vision_end|>' }} {%- elif 'text' in item %} {{- item.text }} {%- else %} {{- raise_exception('Unexpected item type in content.') }} {%- endif %} {%- endfor %} {%- elif content is none or content is undefined %} {{- '' }} {%- else %} {{- raise_exception('Unexpected content type.') }} {%- endif %}{%- endmacro %}{%- if not messages %} {{- raise_exception('No messages provided.') }}{%- endif %}{%- if tools and tools is iterable and tools is not mapping %} {{- '<|im_start|>system\n' }} {{- "# Tools\n\nYou have access to the following functions:\n\n<tools>" }} {%- for tool in tools %} {{- "\n" }} {{- tool | tojson }} {%- endfor %} {{- "\n</tools>" }} {{- '\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>' }} {%- if messages[0].role == 'system' %} {%- set content = render_content(messages[0].content, false, true)|trim %} {%- if content %} {{- '\n\n' + content }} {%- endif %} {%- endif %} {{- '<|im_end|>\n' }}{%- else %} {%- if messages[0].role == 'system' %} {%- set content = render_content(messages[0].content, false, true)|trim %} {{- '<|im_start|>system\n' + content + '<|im_end|>\n' }} {%- endif %}{%- endif %}{%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}{%- for message in messages[::-1] %} {%- set index = (messages|length - 1) - loop.index0 %} {%- if ns.multi_step_tool and message.role == "user" %} {%- set content = render_content(message.content, false)|trim %} {%- if not(content.startswith('<tool_response>') and content.endswith('</tool_response>')) %} {%- set ns.multi_step_tool = false %} {%- set ns.last_query_index = index %} {%- endif %} {%- endif %}{%- endfor %}{%- if ns.multi_step_tool %} {{- raise_exception('No user query found in messages.') }}{%- endif %}{%- for message in messages %} {%- set content = render_content(message.content, true)|trim %} {%- if message.role == "system" %} {%- if not loop.first %} {{- raise_exception('System message must be at the beginning.') }} {%- endif %} {%- elif message.role == "user" %} {{- '<|im_start|>' + message.role + '\n' + content + '<|im_end|>' + '\n' }} {%- elif message.role == "assistant" %} {%- set reasoning_content = '' %} {%- if message.reasoning_content is string %} {%- set reasoning_content = message.reasoning_content %} {%- else %} {%- if '</think>' in content %} {%- set reasoning_content = content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %} {%- set content = content.split('</think>')[-1].lstrip('\n') %} {%- endif %} {%- endif %} {%- set reasoning_content = reasoning_content|trim %} {%- if loop.index0 > ns.last_query_index %} {{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content + '\n</think>\n\n' + content }} {%- else %} {{- '<|im_start|>' + message.role + '\n' + content }} {%- endif %} {%- if message.tool_calls and message.tool_calls is iterable and message.tool_calls is not mapping %} {%- for tool_call in message.tool_calls %} {%- if tool_call.function is defined %} {%- set tool_call = tool_call.function %} {%- endif %} {%- if loop.first %} {%- if content|trim %} {{- '\n\n<tool_call>\n<function=' + tool_call.name + '>\n' }} {%- else %} {{- '<tool_call>\n<function=' + tool_call.name + '>\n' }} {%- endif %} {%- else %} {{- '\n<tool_call>\n<function=' + tool_call.name + '>\n' }} {%- endif %} {%- if tool_call.arguments is defined %} {%- for args_name, args_value in tool_call.arguments|items %} {{- '<parameter=' + args_name + '>\n' }} {%- 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 %} {{- args_value }} {{- '\n</parameter>\n' }} {%- endfor %} {%- endif %} {{- '</function>\n</tool_call>' }} {%- endfor %} {%- endif %} {{- '<|im_end|>\n' }} {%- elif message.role == "tool" %} {%- if loop.previtem and loop.previtem.role != "tool" %} {{- '<|im_start|>user' }} {%- endif %} {{- '\n<tool_response>\n' }} {{- content }} {{- '\n</tool_response>' }} {%- if not loop.last and loop.nextitem.role != "tool" %} {{- '<|im_end|>\n' }} {%- elif loop.last %} {{- '<|im_end|>\n' }} {%- endif %} {%- else %} {{- raise_exception('Unexpected message role.') }} {%- endif %}{%- endfor %}{%- if add_generation_prompt %} {{- '<|im_start|>assistant\n' }} {%- if enable_thinking is defined and enable_thinking is false %} {{- '<think>\n\n</think>\n\n' }} {%- else %} {{- '<think>\n' }} {%- endif %}{%- endif %}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109{ "architectures": [ "Qwen3_5ForConditionalGeneration" ], "dtype": "bfloat16", "image_token_id": 248056, "model_type": "qwen3_5", "text_config": { "attention_bias": false, "attention_dropout": 0.0, "attn_output_gate": true, "bos_token_id": null, "dtype": "bfloat16", "eos_token_id": 248044, "full_attention_interval": 4, "head_dim": 256, "hidden_act": "silu", "hidden_size": 4096, "initializer_range": 0.02, "intermediate_size": 12288, "layer_types": [ "linear_attention", "linear_attention", "linear_attention", "full_attention", "linear_attention", "linear_attention", "linear_attention", "full_attention", "linear_attention", "linear_attention", "linear_attention", "full_attention", "linear_attention", "linear_attention", "linear_attention", "full_attention", "linear_attention", "linear_attention", "linear_attention", "full_attention", "linear_attention", "linear_attention", "linear_attention", "full_attention", "linear_attention", "linear_attention", "linear_attention", "full_attention", "linear_attention", "linear_attention", "linear_attention", "full_attention" ], "linear_conv_kernel_dim": 4, "linear_key_head_dim": 128, "linear_num_key_heads": 16, "linear_num_value_heads": 32, "linear_value_head_dim": 128, "mamba_ssm_dtype": "float32", "max_position_embeddings": 262144, "mlp_only_layers": [], "model_type": "qwen3_5_text", "mtp_num_hidden_layers": 0, "mtp_use_dedicated_embeddings": false, "num_attention_heads": 16, "num_hidden_layers": 32, "num_key_value_heads": 4, "pad_token_id": null, "partial_rotary_factor": 0.25, "rms_norm_eps": 1e-06, "rope_parameters": { "mrope_interleaved": true, "mrope_section": [ 11, 11, 10 ], "partial_rotary_factor": 0.25, "rope_theta": 10000000, "rope_type": "default" }, "tie_word_embeddings": false, "use_cache": true, "vocab_size": 248320 }, "tie_word_embeddings": false, "transformers_version": "5.10.2", "video_token_id": 248057, "vision_config": { "deepstack_visual_indexes": [], "depth": 27, "dtype": "bfloat16", "hidden_act": "gelu_pytorch_tanh", "hidden_size": 1152, "in_channels": 3, "initializer_range": 0.02, "intermediate_size": 4304, "model_type": "qwen3_5_vision", "num_heads": 16, "num_position_embeddings": 2304, "out_hidden_size": 4096, "patch_size": 16, "spatial_merge_size": 2, "temporal_patch_size": 2 }, "vision_end_token_id": 248054, "vision_start_token_id": 248053}123456{ "_from_model_config": true, "eos_token_id": 248044, "transformers_version": "5.10.2", "use_cache": true}123version https://git-lfs.github.com/spec/v1oid sha256:19cdcec8c81dc9212be320fff47462ab342fbc1278be4368fb3da71241cf5ba0size 24353801612345678{ "hidden_size": 4096, "width": 1024, "routing_layers": 2, "layers": 4, "heads": 16, "feedforward": 4096}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576"""Clef: a multimodal Qwen backbone with a joint schema head for typed decisions.
A record provides a ``state`` (any JSON value), optional ``images`` and ``videos``,and ``questions``. Each question has a ``type`` (``noul``, ``choice``, or ``score``),``instructions``, and, for ``choice`` and ``score``, ``criteria`` describing theallowed options. The model returns one logit per allowed option for every question.``systemone`` answers a Jev/SystemOne ``/v1/systemone`` request body with the sameresponse body."""
from __future__ import annotations
import jsonimport mathfrom dataclasses import dataclassfrom dataclasses import field as dataclass_fieldfrom pathlib import Pathfrom typing import Any
import torchimport torch.nn.functional as functional
SYSTEM_PROMPT = ( "Read the complete state and schema. Decide every field jointly. Each answer " "must be exactly one of that field's allowed options.")IMAGE_PLACEHOLDER = "<|vision_start|><|image_pad|><|vision_end|>"VIDEO_PLACEHOLDER = "<|vision_start|><|video_pad|><|vision_end|>"MEDIA_BATCH_KEYS = ("pixel_values", "image_grid_thw", "pixel_values_videos", "video_grid_thw")MEDIA_TOKEN_KEYS = ("mm_token_type_ids",)QUESTION_TYPES = {"noul": 0, "choice": 1, "score": 2}
def render(value: Any) -> str: if isinstance(value, str): return value return json.dumps( value, ensure_ascii=False, separators=(",", ":"), sort_keys=True, )
def question_options(question: dict[str, Any]) -> list[tuple[str, Any]]: question_type = str(question["type"]) if question_type == "noul": criteria = { "true": "The proposition is true or the answer is yes.", "false": "The proposition is false or the answer is no.", } criteria.update(question.get("criteria") or {}) return [(key, criteria[key]) for key in ("true", "false")] if question_type == "choice": return sorted((str(key), value) for key, value in question["criteria"].items()) return [(str(index), value) for index, value in enumerate(question["criteria"])]
@dataclass(frozen=True)class EncodedQuestion: question_id: str question_type: int question_span: tuple[int, int] option_spans: tuple[tuple[int, int], ...] option_ids: tuple[str, ...]
@dataclass(frozen=True)class EncodedRecord: input_ids: tuple[int, ...] questions: tuple[EncodedQuestion, ...] record_id: str media: dict[str, Any] | None = dataclass_field(default=None, compare=False, repr=False)
def _tokens(tokenizer: Any, text: str) -> list[int]: return tokenizer(text, add_special_tokens=False).input_ids
def _encode_media(processor: Any, record: dict[str, Any]) -> tuple[list[int], dict[str, Any] | None]: images = list(record.get("images") or []) videos = list(record.get("videos") or []) if not images and not videos: return [], None if processor is None: raise ValueError("records with images or videos require a processor") text = IMAGE_PLACEHOLDER * len(images) + VIDEO_PLACEHOLDER * len(videos) + "\n" encoded = processor( text=[text], images=images or None, videos=videos or None, return_tensors="pt", **(record.get("media_kwargs") or {}), ) media = {key: encoded[key] for key in MEDIA_BATCH_KEYS if key in encoded} for key in MEDIA_TOKEN_KEYS: if key in encoded: media[key] = encoded[key][0].tolist() return encoded["input_ids"][0].tolist(), media
def encode_record( tokenizer: Any, record: dict[str, Any], max_length: int = 16384, max_state_tokens: int | None = None, processor: Any | None = None,) -> EncodedRecord: schema_ids = _tokens(tokenizer, "\n\nSCHEMA FIELDS:\n") questions: list[EncodedQuestion] = [] for question_index, (question_id, question) in enumerate(record["questions"].items()): schema_ids.extend( _tokens( tokenizer, f"\nFIELD {question_index + 1}\nID: {question_id}\nTYPE: {question['type']}\nINSTRUCTION: ", ) ) question_start = len(schema_ids) instructions = question.get("instructions") if instructions is None or instructions == "": instructions = str(question_id) schema_ids.extend(_tokens(tokenizer, render(instructions))) question_end = len(schema_ids) schema_ids.extend(_tokens(tokenizer, "\nALLOWED OPTIONS:\n"))
option_spans: list[tuple[int, int]] = [] option_ids: list[str] = [] for option_index, (option_id, description) in enumerate(question_options(question)): schema_ids.extend(_tokens(tokenizer, f"OPTION {option_index + 1}: ")) option_start = len(schema_ids) semantics = {"option_id": option_id} if description is not None: semantics["description"] = description schema_ids.extend(_tokens(tokenizer, render(semantics))) option_spans.append((option_start, len(schema_ids))) option_ids.append(option_id) schema_ids.extend(_tokens(tokenizer, "\n")) schema_ids.extend(_tokens(tokenizer, "END FIELD\n")) questions.append( EncodedQuestion( question_id=str(question_id), question_type=QUESTION_TYPES[str(question["type"])], question_span=(question_start, question_end), option_spans=tuple(option_spans), option_ids=tuple(option_ids), ) )
prefix_ids = _tokens( tokenizer, f"<|im_start|>system\n{SYSTEM_PROMPT}<|im_end|>\n<|im_start|>user\nSTATE:\n", ) suffix_ids = _tokens( tokenizer, "\n<|im_end|>\n<|im_start|>assistant\n<think>\n\n</think>\n\nJOINT SCHEMA DECISIONS:", ) media_ids, media = _encode_media(processor, record) if media is not None: media["token_offset"] = len(prefix_ids) prefix_ids = prefix_ids + media_ids state_ids = _tokens(tokenizer, render(record["state"])) if max_state_tokens is not None: state_ids = state_ids[:max_state_tokens] fixed_length = len(prefix_ids) + len(schema_ids) + len(suffix_ids) if fixed_length > max_length: raise ValueError( f"schema requires {fixed_length} tokens before state; maximum is {max_length}" ) state_ids = state_ids[: max_length - fixed_length] schema_offset = len(prefix_ids) + len(state_ids) shifted_questions = tuple( EncodedQuestion( question_id=question.question_id, question_type=question.question_type, question_span=( question.question_span[0] + schema_offset, question.question_span[1] + schema_offset, ), option_spans=tuple( (start + schema_offset, end + schema_offset) for start, end in question.option_spans ), option_ids=question.option_ids, ) for question in questions ) input_ids = tuple(prefix_ids + state_ids + schema_ids + suffix_ids) if not input_ids or not shifted_questions: raise ValueError("record produced no model input or questions") return EncodedRecord( input_ids=input_ids, questions=shifted_questions, record_id=str(record.get("id", "unknown")), media=media, )
def collate_records( records: list[EncodedRecord], pad_token_id: int, device: torch.device,) -> dict[str, Any]: maximum_length = max(len(record.input_ids) for record in records) input_ids = torch.full( (len(records), maximum_length), pad_token_id, dtype=torch.long, device=device, ) attention_mask = torch.zeros( (len(records), maximum_length), dtype=torch.long, device=device, ) for index, record in enumerate(records): length = len(record.input_ids) input_ids[index, :length] = torch.tensor(record.input_ids, device=device) attention_mask[index, :length] = 1 media: dict[str, torch.Tensor] = {} for key in MEDIA_BATCH_KEYS: values = [record.media[key] for record in records if record.media and key in record.media] if values: media[key] = torch.cat(values, dim=0).to(device) for key in MEDIA_TOKEN_KEYS: if any(record.media and key in record.media for record in records): token_values = torch.zeros((len(records), maximum_length), dtype=torch.long, device=device) for index, record in enumerate(records): if record.media and key in record.media: offset = record.media["token_offset"] values = torch.tensor(record.media[key], dtype=torch.long, device=device) token_values[index, offset : offset + len(values)] = values media[key] = token_values return { "input_ids": input_ids, "attention_mask": attention_mask, "records": records, "media": media, }
class EvidenceRoutingLayer(torch.nn.Module): def __init__( self, width: int, heads: int, feedforward: int, dropout: float = 0.0, ) -> None: super().__init__() self.query_norm = torch.nn.LayerNorm(width) self.memory_norm = torch.nn.LayerNorm(width) self.attention = torch.nn.MultiheadAttention( width, heads, dropout=dropout, batch_first=True, ) self.attention_dropout = torch.nn.Dropout(dropout) self.feedforward_norm = torch.nn.LayerNorm(width) self.feedforward = torch.nn.Sequential( torch.nn.Linear(width, feedforward), torch.nn.GELU(), torch.nn.Dropout(dropout), torch.nn.Linear(feedforward, width), torch.nn.Dropout(dropout), )
def forward(self, queries: torch.Tensor, memory: torch.Tensor) -> torch.Tensor: normalized_queries = self.query_norm(queries) routed, _ = self.attention( normalized_queries, self.memory_norm(memory), self.memory_norm(memory), need_weights=False, ) queries = queries + self.attention_dropout(routed) return queries + self.feedforward(self.feedforward_norm(queries))
class JointSchemaHead(torch.nn.Module): def __init__( self, hidden_size: int, width: int, routing_layers: int, layers: int, heads: int, feedforward: int, dropout: float = 0.0, ) -> None: super().__init__() self.hidden_norm = torch.nn.LayerNorm(hidden_size) self.memory_projection = torch.nn.Linear(hidden_size, width, bias=False) self.question_projection = torch.nn.Linear(hidden_size, width, bias=False) self.option_question_projection = torch.nn.Linear(hidden_size, width, bias=False) self.global_projection = torch.nn.Linear(hidden_size, width, bias=False) self.option_context_projection = torch.nn.Linear(hidden_size, width, bias=False) self.option_lexical_projection = torch.nn.Linear(hidden_size, width, bias=False) self.type_embedding = torch.nn.Embedding(3, width) self.evidence_layers = torch.nn.ModuleList( [ EvidenceRoutingLayer( width=width, heads=heads, feedforward=feedforward, dropout=dropout, ) for _ in range(routing_layers) ] ) self.option_summary_norm = torch.nn.LayerNorm(width) self.layers = torch.nn.ModuleList( [ torch.nn.TransformerDecoderLayer( d_model=width, nhead=heads, dim_feedforward=feedforward, dropout=dropout, activation="gelu", batch_first=True, norm_first=True, ) for _ in range(layers) ] ) self.field_norm = torch.nn.LayerNorm(width) self.option_norm = torch.nn.LayerNorm(width) self.residual_scorer = torch.nn.Sequential( torch.nn.Linear(width * 4, width), torch.nn.GELU(), torch.nn.Dropout(dropout), torch.nn.Linear(width, 1), ) self.prior_logit_scale = torch.nn.Parameter(torch.zeros(())) self.joint_logit_scale = torch.nn.Parameter(torch.zeros(())) self.residual_gate = torch.nn.Parameter(torch.zeros(()))
@staticmethod def _mean_span(values: torch.Tensor, span: tuple[int, int]) -> torch.Tensor: start, end = span return values[start:end].mean(dim=0)
def forward( self, hidden_states: torch.Tensor, input_ids: torch.Tensor, attention_mask: torch.Tensor, records: list[EncodedRecord], output_embedding_weight: torch.Tensor, ) -> list[list[torch.Tensor]]: results: list[list[torch.Tensor]] = [] normalized_hidden = self.hidden_norm(hidden_states) for batch_index, record in enumerate(records): sequence_length = int(attention_mask[batch_index].sum().item()) sequence_hidden = normalized_hidden[batch_index, :sequence_length] memory = self.memory_projection(sequence_hidden).unsqueeze(0) global_vector = sequence_hidden[-1] question_vectors = torch.stack( [ self._mean_span(sequence_hidden, question.question_span) for question in record.questions ] ) type_ids = torch.tensor( [question.question_type for question in record.questions], device=hidden_states.device, ) option_contexts: list[torch.Tensor] = [] lexical_options: list[torch.Tensor] = [] option_counts = [] for question in record.questions: context_vectors = torch.stack( [ self._mean_span(sequence_hidden, span) for span in question.option_spans ] ) lexical_vectors = [] for start, end in question.option_spans: token_ids = input_ids[batch_index, start:end] lexical_vectors.append(output_embedding_weight[token_ids].mean(dim=0)) lexical = torch.stack(lexical_vectors) option_contexts.append(context_vectors) lexical_options.append(lexical) option_counts.append(len(question.option_spans))
option_queries = [] for question_index, (context_vectors, lexical) in enumerate( zip(option_contexts, lexical_options) ): option_queries.append( self.option_context_projection(context_vectors) + self.option_lexical_projection(lexical) + self.option_question_projection( question_vectors[question_index] ).unsqueeze(0) ) routed_options = torch.cat(option_queries, dim=0).unsqueeze(0) for layer in self.evidence_layers: routed_options = layer(routed_options, memory) routed_options = routed_options[0] split_options = list(torch.split(routed_options, option_counts, dim=0))
base_fields = self.question_projection(question_vectors) option_summaries = [] for field, options in zip(base_fields, split_options): routing_weights = torch.softmax( torch.matmul(options, field) / math.sqrt(options.shape[-1]), dim=0, ) option_summaries.append( torch.sum(routing_weights.unsqueeze(-1) * options, dim=0) ) fields = ( base_fields + self.option_summary_norm(torch.stack(option_summaries)) + self.global_projection(global_vector).unsqueeze(0) + self.type_embedding(type_ids) ) fields = fields.unsqueeze(0) for layer in self.layers: fields = layer(fields, memory) fields = self.field_norm(fields[0])
record_logits: list[torch.Tensor] = [] for field, question, lexical, routed in zip( fields, record.questions, lexical_options, split_options, ): anchor = functional.normalize( question_vectors[len(record_logits)] + global_vector, dim=-1, ) lexical_anchor = functional.normalize(lexical, dim=-1) prior_scale = self.prior_logit_scale.clamp(max=math.log(100.0)).exp() prior = prior_scale * torch.matmul(lexical_anchor, anchor) options = self.option_norm(routed) repeated_field = field.unsqueeze(0).expand_as(options) cosine = functional.cosine_similarity(repeated_field, options, dim=-1) features = torch.cat( [ repeated_field, options, repeated_field * options, torch.abs(repeated_field - options), ], dim=-1, ) residual = self.residual_scorer(features).squeeze(-1) joint_scale = self.joint_logit_scale.clamp(max=math.log(100.0)).exp() joint = joint_scale * cosine + residual record_logits.append( prior + torch.sigmoid(self.residual_gate) * joint ) results.append(record_logits) return results
class ClefModel(torch.nn.Module): def __init__(self, language_model: Any, head: JointSchemaHead) -> None: super().__init__() self.language_model = language_model self.head = head
def forward(self, batch: dict[str, Any]) -> list[list[torch.Tensor]]: base_model = ( self.language_model.get_base_model() if hasattr(self.language_model, "get_base_model") else self.language_model ) media = batch.get("media") or {} text_model = base_model.model if not media and hasattr(text_model, "language_model"): text_model = text_model.language_model outputs = text_model( input_ids=batch["input_ids"], attention_mask=batch["attention_mask"], use_cache=False, return_dict=True, **media, ) return self.head( outputs.last_hidden_state, batch["input_ids"], batch["attention_mask"], batch["records"], base_model.get_output_embeddings().weight, )
def load_release_model( model_path: str | Path, device: str | torch.device = "cuda", dtype: torch.dtype = torch.bfloat16, **from_pretrained_kwargs: Any,) -> tuple[ClefModel, Any]: """Load a Clef release (merged backbone, joint schema head, and processor).""" from huggingface_hub import snapshot_download from safetensors.torch import load_file from transformers import AutoProcessor, Qwen3_5ForConditionalGeneration
path = Path(model_path) if not path.is_dir(): path = Path(snapshot_download(str(model_path))) backbone = Qwen3_5ForConditionalGeneration.from_pretrained( path, dtype=dtype, device_map={"": str(device)}, **from_pretrained_kwargs, ) backbone.config.use_cache = False head_config = json.loads((path / "joint_head_config.json").read_text()) head = JointSchemaHead(**head_config) head.load_state_dict(load_file(path / "joint_head.safetensors"), strict=True) head = head.to(device=device, dtype=dtype) processor = AutoProcessor.from_pretrained(path) return ClefModel(backbone, head).eval(), processor
def systemone_answer(question: dict[str, Any], probabilities: dict[str, float]) -> dict[str, Any]: """Convert per-option probabilities for one question into a SystemOne answer.""" if question["type"] == "noul": return {"type": "noul", "noul": round(probabilities["true"], 4)} if question["type"] == "choice": options = [str(option) for option in question["criteria"]] choice = max(options, key=probabilities.__getitem__) return { "type": "choice", "choice": choice, "confidence": round(probabilities[choice], 4), "probabilities": {option: round(probabilities[option], 4) for option in options}, } levels = [str(index) for index in range(len(question["criteria"]))] return { "type": "score", "score": round(sum(index * probabilities[level] for index, level in enumerate(levels)), 4), "confidence": round(max(probabilities[level] for level in levels), 4), "legend": dict(zip(levels, question["criteria"])), "probabilities": {level: round(probabilities[level], 4) for level in levels}, }
@torch.inference_mode()def systemone(model: ClefModel, processor: Any, request: dict[str, Any], max_length: int = 16384) -> dict[str, Any]: """Answer a Jev/SystemOne ``/v1/systemone`` request body with a SystemOne response body.
The request has ``model``, ``state``, and ``questions``, plus optional ``images`` and ``videos``. """ questions = request.get("questions") if not isinstance(request.get("model"), str) or "state" not in request: raise ValueError("model and state are required") if not isinstance(questions, dict) or not questions: raise ValueError("at least one question is required") for question_id, question in questions.items(): if question.get("type") not in QUESTION_TYPES: raise ValueError(f"{question_id}: type must be noul, choice, or score") if question["type"] != "noul" and not question.get("criteria"): raise ValueError(f"{question_id}: criteria must not be empty") encoded = encode_record(processor.tokenizer, request, max_length=max_length, processor=processor) device = next(model.parameters()).device logits = model(collate_records([encoded], processor.tokenizer.pad_token_id, device))[0] answers = { question.question_id: systemone_answer( questions[question.question_id], dict(zip(question.option_ids, question_logits.float().softmax(-1).tolist())), ) for question, question_logits in zip(encoded.questions, logits) } return { "model": request["model"], "answers": answers, "usage": {"input_tokens": len(encoded.input_ids), "output_tokens": 0}, }123version https://git-lfs.github.com/spec/v1oid sha256:8b45a8e968141cdcc58fb71c9adfc258e2c77b5f062bc636c1fd5bc5d916b565size 4942706120123version https://git-lfs.github.com/spec/v1oid sha256:7590856c713eed844a2dcf48e6c43c4de165b788bc3f80e328311183cdbc7db8size 4987757928123version https://git-lfs.github.com/spec/v1oid sha256:e6eac2467952c33361ed7dcb3c7959d1086bbe57201cd3749c3d769fdc17fe63size 4954810240123version https://git-lfs.github.com/spec/v1oid sha256:9fcecc6556b39171238373a465f409794b7f821fb4cd1e6459e3a9c0fe317af7size 3934446832123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768{ "metadata": { "total_parameters": 9409813744, "total_size": 18819627488 }, "weight_map": { "lm_head.weight": "model-00001-of-00004.safetensors", "model.language_model.embed_tokens.weight": "model-00001-of-00004.safetensors", "model.language_model.layers.0.input_layernorm.weight": "model-00001-of-00004.safetensors", "model.language_model.layers.0.linear_attn.A_log": "model-00001-of-00004.safetensors", "model.language_model.layers.0.linear_attn.conv1d.weight": "model-00001-of-00004.safetensors", "model.language_model.layers.0.linear_attn.dt_bias": "model-00001-of-00004.safetensors", "model.language_model.layers.0.linear_attn.in_proj_a.weight": "model-00001-of-00004.safetensors", "model.language_model.layers.0.linear_attn.in_proj_b.weight": "model-00001-of-00004.safetensors", "model.language_model.layers.0.linear_attn.in_proj_qkv.weight": "model-00001-of-00004.safetensors", "model.language_model.layers.0.linear_attn.in_proj_z.weight": "model-00001-of-00004.safetensors", "model.language_model.layers.0.linear_attn.norm.weight": "model-00001-of-00004.safetensors", "model.language_model.layers.0.linear_attn.out_proj.weight": "model-00001-of-00004.safetensors", "model.language_model.layers.0.mlp.down_proj.weight": "model-00001-of-00004.safetensors", "model.language_model.layers.0.mlp.gate_proj.weight": "model-00001-of-00004.safetensors", "model.language_model.layers.0.mlp.up_proj.weight": "model-00001-of-00004.safetensors", "model.language_model.layers.0.post_attention_layernorm.weight": "model-00001-of-00004.safetensors", "model.language_model.layers.1.input_layernorm.weight": "model-00001-of-00004.safetensors", "model.language_model.layers.1.linear_attn.A_log": "model-00001-of-00004.safetensors", "model.language_model.layers.1.linear_attn.conv1d.weight": "model-00001-of-00004.safetensors", "model.language_model.layers.1.linear_attn.dt_bias": "model-00001-of-00004.safetensors", "model.language_model.layers.1.linear_attn.in_proj_a.weight": "model-00001-of-00004.safetensors", "model.language_model.layers.1.linear_attn.in_proj_b.weight": "model-00001-of-00004.safetensors", "model.language_model.layers.1.linear_attn.in_proj_qkv.weight": "model-00001-of-00004.safetensors", "model.language_model.layers.1.linear_attn.in_proj_z.weight": "model-00001-of-00004.safetensors", "model.language_model.layers.1.linear_attn.norm.weight": "model-00001-of-00004.safetensors", "model.language_model.layers.1.linear_attn.out_proj.weight": "model-00001-of-00004.safetensors", "model.language_model.layers.1.mlp.down_proj.weight": "model-00001-of-00004.safetensors", "model.language_model.layers.1.mlp.gate_proj.weight": "model-00001-of-00004.safetensors", "model.language_model.layers.1.mlp.up_proj.weight": "model-00001-of-00004.safetensors", "model.language_model.layers.1.post_attention_layernorm.weight": "model-00001-of-00004.safetensors", "model.language_model.layers.10.input_layernorm.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.10.linear_attn.A_log": "model-00002-of-00004.safetensors", "model.language_model.layers.10.linear_attn.conv1d.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.10.linear_attn.dt_bias": "model-00002-of-00004.safetensors", "model.language_model.layers.10.linear_attn.in_proj_a.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.10.linear_attn.in_proj_b.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.10.linear_attn.in_proj_qkv.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.10.linear_attn.in_proj_z.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.10.linear_attn.norm.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.10.linear_attn.out_proj.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.10.mlp.down_proj.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.10.mlp.gate_proj.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.10.mlp.up_proj.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.10.post_attention_layernorm.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.11.input_layernorm.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.11.mlp.down_proj.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.11.mlp.gate_proj.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.11.mlp.up_proj.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.11.post_attention_layernorm.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.11.self_attn.k_norm.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.11.self_attn.k_proj.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.11.self_attn.o_proj.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.11.self_attn.q_norm.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.11.self_attn.q_proj.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.11.self_attn.v_proj.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.12.input_layernorm.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.12.linear_attn.A_log": "model-00002-of-00004.safetensors", "model.language_model.layers.12.linear_attn.conv1d.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.12.linear_attn.dt_bias": "model-00002-of-00004.safetensors", "model.language_model.layers.12.linear_attn.in_proj_a.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.12.linear_attn.in_proj_b.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.12.linear_attn.in_proj_qkv.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.12.linear_attn.in_proj_z.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.12.linear_attn.norm.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.12.linear_attn.out_proj.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.12.mlp.down_proj.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.12.mlp.gate_proj.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.12.mlp.up_proj.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.12.post_attention_layernorm.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.13.input_layernorm.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.13.linear_attn.A_log": "model-00002-of-00004.safetensors", "model.language_model.layers.13.linear_attn.conv1d.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.13.linear_attn.dt_bias": "model-00002-of-00004.safetensors", "model.language_model.layers.13.linear_attn.in_proj_a.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.13.linear_attn.in_proj_b.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.13.linear_attn.in_proj_qkv.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.13.linear_attn.in_proj_z.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.13.linear_attn.norm.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.13.linear_attn.out_proj.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.13.mlp.down_proj.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.13.mlp.gate_proj.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.13.mlp.up_proj.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.13.post_attention_layernorm.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.14.input_layernorm.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.14.linear_attn.A_log": "model-00003-of-00004.safetensors", "model.language_model.layers.14.linear_attn.conv1d.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.14.linear_attn.dt_bias": "model-00003-of-00004.safetensors", "model.language_model.layers.14.linear_attn.in_proj_a.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.14.linear_attn.in_proj_b.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.14.linear_attn.in_proj_qkv.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.14.linear_attn.in_proj_z.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.14.linear_attn.norm.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.14.linear_attn.out_proj.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.14.mlp.down_proj.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.14.mlp.gate_proj.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.14.mlp.up_proj.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.14.post_attention_layernorm.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.15.input_layernorm.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.15.mlp.down_proj.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.15.mlp.gate_proj.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.15.mlp.up_proj.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.15.post_attention_layernorm.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.15.self_attn.k_norm.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.15.self_attn.k_proj.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.15.self_attn.o_proj.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.15.self_attn.q_norm.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.15.self_attn.q_proj.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.15.self_attn.v_proj.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.16.input_layernorm.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.16.linear_attn.A_log": "model-00003-of-00004.safetensors", "model.language_model.layers.16.linear_attn.conv1d.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.16.linear_attn.dt_bias": "model-00003-of-00004.safetensors", "model.language_model.layers.16.linear_attn.in_proj_a.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.16.linear_attn.in_proj_b.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.16.linear_attn.in_proj_qkv.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.16.linear_attn.in_proj_z.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.16.linear_attn.norm.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.16.linear_attn.out_proj.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.16.mlp.down_proj.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.16.mlp.gate_proj.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.16.mlp.up_proj.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.16.post_attention_layernorm.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.17.input_layernorm.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.17.linear_attn.A_log": "model-00003-of-00004.safetensors", "model.language_model.layers.17.linear_attn.conv1d.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.17.linear_attn.dt_bias": "model-00003-of-00004.safetensors", "model.language_model.layers.17.linear_attn.in_proj_a.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.17.linear_attn.in_proj_b.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.17.linear_attn.in_proj_qkv.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.17.linear_attn.in_proj_z.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.17.linear_attn.norm.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.17.linear_attn.out_proj.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.17.mlp.down_proj.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.17.mlp.gate_proj.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.17.mlp.up_proj.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.17.post_attention_layernorm.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.18.input_layernorm.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.18.linear_attn.A_log": "model-00003-of-00004.safetensors", "model.language_model.layers.18.linear_attn.conv1d.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.18.linear_attn.dt_bias": "model-00003-of-00004.safetensors", "model.language_model.layers.18.linear_attn.in_proj_a.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.18.linear_attn.in_proj_b.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.18.linear_attn.in_proj_qkv.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.18.linear_attn.in_proj_z.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.18.linear_attn.norm.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.18.linear_attn.out_proj.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.18.mlp.down_proj.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.18.mlp.gate_proj.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.18.mlp.up_proj.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.18.post_attention_layernorm.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.19.input_layernorm.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.19.mlp.down_proj.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.19.mlp.gate_proj.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.19.mlp.up_proj.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.19.post_attention_layernorm.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.19.self_attn.k_norm.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.19.self_attn.k_proj.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.19.self_attn.o_proj.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.19.self_attn.q_norm.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.19.self_attn.q_proj.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.19.self_attn.v_proj.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.2.input_layernorm.weight": "model-00001-of-00004.safetensors", "model.language_model.layers.2.linear_attn.A_log": "model-00001-of-00004.safetensors", "model.language_model.layers.2.linear_attn.conv1d.weight": "model-00001-of-00004.safetensors", "model.language_model.layers.2.linear_attn.dt_bias": "model-00001-of-00004.safetensors", "model.language_model.layers.2.linear_attn.in_proj_a.weight": "model-00001-of-00004.safetensors", "model.language_model.layers.2.linear_attn.in_proj_b.weight": "model-00001-of-00004.safetensors", "model.language_model.layers.2.linear_attn.in_proj_qkv.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.2.linear_attn.in_proj_z.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.2.linear_attn.norm.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.2.linear_attn.out_proj.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.2.mlp.down_proj.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.2.mlp.gate_proj.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.2.mlp.up_proj.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.2.post_attention_layernorm.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.20.input_layernorm.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.20.linear_attn.A_log": "model-00003-of-00004.safetensors", "model.language_model.layers.20.linear_attn.conv1d.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.20.linear_attn.dt_bias": "model-00003-of-00004.safetensors", "model.language_model.layers.20.linear_attn.in_proj_a.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.20.linear_attn.in_proj_b.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.20.linear_attn.in_proj_qkv.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.20.linear_attn.in_proj_z.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.20.linear_attn.norm.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.20.linear_attn.out_proj.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.20.mlp.down_proj.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.20.mlp.gate_proj.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.20.mlp.up_proj.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.20.post_attention_layernorm.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.21.input_layernorm.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.21.linear_attn.A_log": "model-00003-of-00004.safetensors", "model.language_model.layers.21.linear_attn.conv1d.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.21.linear_attn.dt_bias": "model-00003-of-00004.safetensors", "model.language_model.layers.21.linear_attn.in_proj_a.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.21.linear_attn.in_proj_b.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.21.linear_attn.in_proj_qkv.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.21.linear_attn.in_proj_z.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.21.linear_attn.norm.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.21.linear_attn.out_proj.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.21.mlp.down_proj.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.21.mlp.gate_proj.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.21.mlp.up_proj.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.21.post_attention_layernorm.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.22.input_layernorm.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.22.linear_attn.A_log": "model-00003-of-00004.safetensors", "model.language_model.layers.22.linear_attn.conv1d.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.22.linear_attn.dt_bias": "model-00003-of-00004.safetensors", "model.language_model.layers.22.linear_attn.in_proj_a.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.22.linear_attn.in_proj_b.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.22.linear_attn.in_proj_qkv.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.22.linear_attn.in_proj_z.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.22.linear_attn.norm.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.22.linear_attn.out_proj.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.22.mlp.down_proj.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.22.mlp.gate_proj.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.22.mlp.up_proj.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.22.post_attention_layernorm.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.23.input_layernorm.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.23.mlp.down_proj.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.23.mlp.gate_proj.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.23.mlp.up_proj.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.23.post_attention_layernorm.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.23.self_attn.k_norm.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.23.self_attn.k_proj.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.23.self_attn.o_proj.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.23.self_attn.q_norm.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.23.self_attn.q_proj.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.23.self_attn.v_proj.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.24.input_layernorm.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.24.linear_attn.A_log": "model-00003-of-00004.safetensors", "model.language_model.layers.24.linear_attn.conv1d.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.24.linear_attn.dt_bias": "model-00003-of-00004.safetensors", "model.language_model.layers.24.linear_attn.in_proj_a.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.24.linear_attn.in_proj_b.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.24.linear_attn.in_proj_qkv.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.24.linear_attn.in_proj_z.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.24.linear_attn.norm.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.24.linear_attn.out_proj.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.24.mlp.down_proj.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.24.mlp.gate_proj.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.24.mlp.up_proj.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.24.post_attention_layernorm.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.25.input_layernorm.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.25.linear_attn.A_log": "model-00003-of-00004.safetensors", "model.language_model.layers.25.linear_attn.conv1d.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.25.linear_attn.dt_bias": "model-00003-of-00004.safetensors", "model.language_model.layers.25.linear_attn.in_proj_a.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.25.linear_attn.in_proj_b.weight": "model-00003-of-00004.safetensors", "model.language_model.layers.25.linear_attn.in_proj_qkv.weight": "model-00004-of-00004.safetensors", "model.language_model.layers.25.linear_attn.in_proj_z.weight": "model-00004-of-00004.safetensors", "model.language_model.layers.25.linear_attn.norm.weight": "model-00004-of-00004.safetensors", "model.language_model.layers.25.linear_attn.out_proj.weight": "model-00004-of-00004.safetensors", "model.language_model.layers.25.mlp.down_proj.weight": "model-00004-of-00004.safetensors", "model.language_model.layers.25.mlp.gate_proj.weight": "model-00004-of-00004.safetensors", "model.language_model.layers.25.mlp.up_proj.weight": "model-00004-of-00004.safetensors", "model.language_model.layers.25.post_attention_layernorm.weight": "model-00004-of-00004.safetensors", "model.language_model.layers.26.input_layernorm.weight": "model-00004-of-00004.safetensors", "model.language_model.layers.26.linear_attn.A_log": "model-00004-of-00004.safetensors", "model.language_model.layers.26.linear_attn.conv1d.weight": "model-00004-of-00004.safetensors", "model.language_model.layers.26.linear_attn.dt_bias": "model-00004-of-00004.safetensors", "model.language_model.layers.26.linear_attn.in_proj_a.weight": "model-00004-of-00004.safetensors", "model.language_model.layers.26.linear_attn.in_proj_b.weight": "model-00004-of-00004.safetensors", "model.language_model.layers.26.linear_attn.in_proj_qkv.weight": "model-00004-of-00004.safetensors", "model.language_model.layers.26.linear_attn.in_proj_z.weight": "model-00004-of-00004.safetensors", "model.language_model.layers.26.linear_attn.norm.weight": "model-00004-of-00004.safetensors", "model.language_model.layers.26.linear_attn.out_proj.weight": "model-00004-of-00004.safetensors", "model.language_model.layers.26.mlp.down_proj.weight": "model-00004-of-00004.safetensors", "model.language_model.layers.26.mlp.gate_proj.weight": "model-00004-of-00004.safetensors", "model.language_model.layers.26.mlp.up_proj.weight": "model-00004-of-00004.safetensors", "model.language_model.layers.26.post_attention_layernorm.weight": "model-00004-of-00004.safetensors", "model.language_model.layers.27.input_layernorm.weight": "model-00004-of-00004.safetensors", "model.language_model.layers.27.mlp.down_proj.weight": "model-00004-of-00004.safetensors", "model.language_model.layers.27.mlp.gate_proj.weight": "model-00004-of-00004.safetensors", "model.language_model.layers.27.mlp.up_proj.weight": "model-00004-of-00004.safetensors", "model.language_model.layers.27.post_attention_layernorm.weight": "model-00004-of-00004.safetensors", "model.language_model.layers.27.self_attn.k_norm.weight": "model-00004-of-00004.safetensors", "model.language_model.layers.27.self_attn.k_proj.weight": "model-00004-of-00004.safetensors", "model.language_model.layers.27.self_attn.o_proj.weight": "model-00004-of-00004.safetensors", "model.language_model.layers.27.self_attn.q_norm.weight": "model-00004-of-00004.safetensors", "model.language_model.layers.27.self_attn.q_proj.weight": "model-00004-of-00004.safetensors", "model.language_model.layers.27.self_attn.v_proj.weight": "model-00004-of-00004.safetensors", "model.language_model.layers.28.input_layernorm.weight": "model-00004-of-00004.safetensors", "model.language_model.layers.28.linear_attn.A_log": "model-00004-of-00004.safetensors", "model.language_model.layers.28.linear_attn.conv1d.weight": "model-00004-of-00004.safetensors", "model.language_model.layers.28.linear_attn.dt_bias": "model-00004-of-00004.safetensors", "model.language_model.layers.28.linear_attn.in_proj_a.weight": "model-00004-of-00004.safetensors", "model.language_model.layers.28.linear_attn.in_proj_b.weight": "model-00004-of-00004.safetensors", "model.language_model.layers.28.linear_attn.in_proj_qkv.weight": "model-00004-of-00004.safetensors", "model.language_model.layers.28.linear_attn.in_proj_z.weight": "model-00004-of-00004.safetensors", "model.language_model.layers.28.linear_attn.norm.weight": "model-00004-of-00004.safetensors", "model.language_model.layers.28.linear_attn.out_proj.weight": "model-00004-of-00004.safetensors", "model.language_model.layers.28.mlp.down_proj.weight": "model-00004-of-00004.safetensors", "model.language_model.layers.28.mlp.gate_proj.weight": "model-00004-of-00004.safetensors", "model.language_model.layers.28.mlp.up_proj.weight": "model-00004-of-00004.safetensors", "model.language_model.layers.28.post_attention_layernorm.weight": "model-00004-of-00004.safetensors", "model.language_model.layers.29.input_layernorm.weight": "model-00004-of-00004.safetensors", "model.language_model.layers.29.linear_attn.A_log": "model-00004-of-00004.safetensors", "model.language_model.layers.29.linear_attn.conv1d.weight": "model-00004-of-00004.safetensors", "model.language_model.layers.29.linear_attn.dt_bias": "model-00004-of-00004.safetensors", "model.language_model.layers.29.linear_attn.in_proj_a.weight": "model-00004-of-00004.safetensors", "model.language_model.layers.29.linear_attn.in_proj_b.weight": "model-00004-of-00004.safetensors", "model.language_model.layers.29.linear_attn.in_proj_qkv.weight": "model-00004-of-00004.safetensors", "model.language_model.layers.29.linear_attn.in_proj_z.weight": "model-00004-of-00004.safetensors", "model.language_model.layers.29.linear_attn.norm.weight": "model-00004-of-00004.safetensors", "model.language_model.layers.29.linear_attn.out_proj.weight": "model-00004-of-00004.safetensors", "model.language_model.layers.29.mlp.down_proj.weight": "model-00004-of-00004.safetensors", "model.language_model.layers.29.mlp.gate_proj.weight": "model-00004-of-00004.safetensors", "model.language_model.layers.29.mlp.up_proj.weight": "model-00004-of-00004.safetensors", "model.language_model.layers.29.post_attention_layernorm.weight": "model-00004-of-00004.safetensors", "model.language_model.layers.3.input_layernorm.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.3.mlp.down_proj.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.3.mlp.gate_proj.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.3.mlp.up_proj.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.3.post_attention_layernorm.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.3.self_attn.k_norm.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.3.self_attn.k_proj.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.3.self_attn.o_proj.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.3.self_attn.q_norm.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.3.self_attn.q_proj.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.3.self_attn.v_proj.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.30.input_layernorm.weight": "model-00004-of-00004.safetensors", "model.language_model.layers.30.linear_attn.A_log": "model-00004-of-00004.safetensors", "model.language_model.layers.30.linear_attn.conv1d.weight": "model-00004-of-00004.safetensors", "model.language_model.layers.30.linear_attn.dt_bias": "model-00004-of-00004.safetensors", "model.language_model.layers.30.linear_attn.in_proj_a.weight": "model-00004-of-00004.safetensors", "model.language_model.layers.30.linear_attn.in_proj_b.weight": "model-00004-of-00004.safetensors", "model.language_model.layers.30.linear_attn.in_proj_qkv.weight": "model-00004-of-00004.safetensors", "model.language_model.layers.30.linear_attn.in_proj_z.weight": "model-00004-of-00004.safetensors", "model.language_model.layers.30.linear_attn.norm.weight": "model-00004-of-00004.safetensors", "model.language_model.layers.30.linear_attn.out_proj.weight": "model-00004-of-00004.safetensors", "model.language_model.layers.30.mlp.down_proj.weight": "model-00004-of-00004.safetensors", "model.language_model.layers.30.mlp.gate_proj.weight": "model-00004-of-00004.safetensors", "model.language_model.layers.30.mlp.up_proj.weight": "model-00004-of-00004.safetensors", "model.language_model.layers.30.post_attention_layernorm.weight": "model-00004-of-00004.safetensors", "model.language_model.layers.31.input_layernorm.weight": "model-00004-of-00004.safetensors", "model.language_model.layers.31.mlp.down_proj.weight": "model-00004-of-00004.safetensors", "model.language_model.layers.31.mlp.gate_proj.weight": "model-00004-of-00004.safetensors", "model.language_model.layers.31.mlp.up_proj.weight": "model-00004-of-00004.safetensors", "model.language_model.layers.31.post_attention_layernorm.weight": "model-00004-of-00004.safetensors", "model.language_model.layers.31.self_attn.k_norm.weight": "model-00004-of-00004.safetensors", "model.language_model.layers.31.self_attn.k_proj.weight": "model-00004-of-00004.safetensors", "model.language_model.layers.31.self_attn.o_proj.weight": "model-00004-of-00004.safetensors", "model.language_model.layers.31.self_attn.q_norm.weight": "model-00004-of-00004.safetensors", "model.language_model.layers.31.self_attn.q_proj.weight": "model-00004-of-00004.safetensors", "model.language_model.layers.31.self_attn.v_proj.weight": "model-00004-of-00004.safetensors", "model.language_model.layers.4.input_layernorm.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.4.linear_attn.A_log": "model-00002-of-00004.safetensors", "model.language_model.layers.4.linear_attn.conv1d.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.4.linear_attn.dt_bias": "model-00002-of-00004.safetensors", "model.language_model.layers.4.linear_attn.in_proj_a.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.4.linear_attn.in_proj_b.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.4.linear_attn.in_proj_qkv.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.4.linear_attn.in_proj_z.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.4.linear_attn.norm.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.4.linear_attn.out_proj.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.4.mlp.down_proj.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.4.mlp.gate_proj.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.4.mlp.up_proj.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.4.post_attention_layernorm.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.5.input_layernorm.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.5.linear_attn.A_log": "model-00002-of-00004.safetensors", "model.language_model.layers.5.linear_attn.conv1d.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.5.linear_attn.dt_bias": "model-00002-of-00004.safetensors", "model.language_model.layers.5.linear_attn.in_proj_a.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.5.linear_attn.in_proj_b.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.5.linear_attn.in_proj_qkv.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.5.linear_attn.in_proj_z.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.5.linear_attn.norm.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.5.linear_attn.out_proj.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.5.mlp.down_proj.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.5.mlp.gate_proj.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.5.mlp.up_proj.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.5.post_attention_layernorm.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.6.input_layernorm.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.6.linear_attn.A_log": "model-00002-of-00004.safetensors", "model.language_model.layers.6.linear_attn.conv1d.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.6.linear_attn.dt_bias": "model-00002-of-00004.safetensors", "model.language_model.layers.6.linear_attn.in_proj_a.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.6.linear_attn.in_proj_b.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.6.linear_attn.in_proj_qkv.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.6.linear_attn.in_proj_z.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.6.linear_attn.norm.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.6.linear_attn.out_proj.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.6.mlp.down_proj.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.6.mlp.gate_proj.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.6.mlp.up_proj.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.6.post_attention_layernorm.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.7.input_layernorm.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.7.mlp.down_proj.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.7.mlp.gate_proj.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.7.mlp.up_proj.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.7.post_attention_layernorm.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.7.self_attn.k_norm.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.7.self_attn.k_proj.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.7.self_attn.o_proj.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.7.self_attn.q_norm.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.7.self_attn.q_proj.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.7.self_attn.v_proj.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.8.input_layernorm.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.8.linear_attn.A_log": "model-00002-of-00004.safetensors", "model.language_model.layers.8.linear_attn.conv1d.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.8.linear_attn.dt_bias": "model-00002-of-00004.safetensors", "model.language_model.layers.8.linear_attn.in_proj_a.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.8.linear_attn.in_proj_b.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.8.linear_attn.in_proj_qkv.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.8.linear_attn.in_proj_z.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.8.linear_attn.norm.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.8.linear_attn.out_proj.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.8.mlp.down_proj.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.8.mlp.gate_proj.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.8.mlp.up_proj.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.8.post_attention_layernorm.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.9.input_layernorm.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.9.linear_attn.A_log": "model-00002-of-00004.safetensors", "model.language_model.layers.9.linear_attn.conv1d.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.9.linear_attn.dt_bias": "model-00002-of-00004.safetensors", "model.language_model.layers.9.linear_attn.in_proj_a.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.9.linear_attn.in_proj_b.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.9.linear_attn.in_proj_qkv.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.9.linear_attn.in_proj_z.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.9.linear_attn.norm.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.9.linear_attn.out_proj.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.9.mlp.down_proj.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.9.mlp.gate_proj.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.9.mlp.up_proj.weight": "model-00002-of-00004.safetensors", "model.language_model.layers.9.post_attention_layernorm.weight": "model-00002-of-00004.safetensors", "model.language_model.norm.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.0.attn.proj.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.0.attn.proj.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.0.attn.qkv.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.0.attn.qkv.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.0.mlp.linear_fc1.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.0.mlp.linear_fc1.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.0.mlp.linear_fc2.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.0.mlp.linear_fc2.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.0.norm1.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.0.norm1.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.0.norm2.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.0.norm2.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.1.attn.proj.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.1.attn.proj.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.1.attn.qkv.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.1.attn.qkv.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.1.mlp.linear_fc1.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.1.mlp.linear_fc1.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.1.mlp.linear_fc2.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.1.mlp.linear_fc2.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.1.norm1.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.1.norm1.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.1.norm2.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.1.norm2.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.10.attn.proj.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.10.attn.proj.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.10.attn.qkv.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.10.attn.qkv.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.10.mlp.linear_fc1.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.10.mlp.linear_fc1.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.10.mlp.linear_fc2.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.10.mlp.linear_fc2.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.10.norm1.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.10.norm1.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.10.norm2.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.10.norm2.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.11.attn.proj.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.11.attn.proj.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.11.attn.qkv.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.11.attn.qkv.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.11.mlp.linear_fc1.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.11.mlp.linear_fc1.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.11.mlp.linear_fc2.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.11.mlp.linear_fc2.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.11.norm1.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.11.norm1.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.11.norm2.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.11.norm2.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.12.attn.proj.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.12.attn.proj.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.12.attn.qkv.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.12.attn.qkv.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.12.mlp.linear_fc1.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.12.mlp.linear_fc1.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.12.mlp.linear_fc2.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.12.mlp.linear_fc2.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.12.norm1.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.12.norm1.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.12.norm2.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.12.norm2.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.13.attn.proj.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.13.attn.proj.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.13.attn.qkv.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.13.attn.qkv.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.13.mlp.linear_fc1.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.13.mlp.linear_fc1.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.13.mlp.linear_fc2.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.13.mlp.linear_fc2.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.13.norm1.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.13.norm1.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.13.norm2.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.13.norm2.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.14.attn.proj.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.14.attn.proj.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.14.attn.qkv.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.14.attn.qkv.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.14.mlp.linear_fc1.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.14.mlp.linear_fc1.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.14.mlp.linear_fc2.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.14.mlp.linear_fc2.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.14.norm1.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.14.norm1.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.14.norm2.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.14.norm2.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.15.attn.proj.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.15.attn.proj.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.15.attn.qkv.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.15.attn.qkv.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.15.mlp.linear_fc1.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.15.mlp.linear_fc1.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.15.mlp.linear_fc2.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.15.mlp.linear_fc2.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.15.norm1.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.15.norm1.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.15.norm2.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.15.norm2.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.16.attn.proj.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.16.attn.proj.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.16.attn.qkv.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.16.attn.qkv.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.16.mlp.linear_fc1.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.16.mlp.linear_fc1.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.16.mlp.linear_fc2.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.16.mlp.linear_fc2.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.16.norm1.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.16.norm1.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.16.norm2.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.16.norm2.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.17.attn.proj.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.17.attn.proj.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.17.attn.qkv.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.17.attn.qkv.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.17.mlp.linear_fc1.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.17.mlp.linear_fc1.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.17.mlp.linear_fc2.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.17.mlp.linear_fc2.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.17.norm1.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.17.norm1.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.17.norm2.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.17.norm2.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.18.attn.proj.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.18.attn.proj.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.18.attn.qkv.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.18.attn.qkv.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.18.mlp.linear_fc1.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.18.mlp.linear_fc1.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.18.mlp.linear_fc2.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.18.mlp.linear_fc2.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.18.norm1.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.18.norm1.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.18.norm2.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.18.norm2.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.19.attn.proj.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.19.attn.proj.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.19.attn.qkv.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.19.attn.qkv.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.19.mlp.linear_fc1.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.19.mlp.linear_fc1.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.19.mlp.linear_fc2.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.19.mlp.linear_fc2.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.19.norm1.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.19.norm1.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.19.norm2.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.19.norm2.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.2.attn.proj.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.2.attn.proj.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.2.attn.qkv.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.2.attn.qkv.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.2.mlp.linear_fc1.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.2.mlp.linear_fc1.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.2.mlp.linear_fc2.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.2.mlp.linear_fc2.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.2.norm1.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.2.norm1.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.2.norm2.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.2.norm2.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.20.attn.proj.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.20.attn.proj.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.20.attn.qkv.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.20.attn.qkv.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.20.mlp.linear_fc1.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.20.mlp.linear_fc1.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.20.mlp.linear_fc2.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.20.mlp.linear_fc2.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.20.norm1.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.20.norm1.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.20.norm2.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.20.norm2.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.21.attn.proj.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.21.attn.proj.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.21.attn.qkv.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.21.attn.qkv.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.21.mlp.linear_fc1.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.21.mlp.linear_fc1.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.21.mlp.linear_fc2.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.21.mlp.linear_fc2.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.21.norm1.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.21.norm1.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.21.norm2.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.21.norm2.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.22.attn.proj.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.22.attn.proj.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.22.attn.qkv.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.22.attn.qkv.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.22.mlp.linear_fc1.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.22.mlp.linear_fc1.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.22.mlp.linear_fc2.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.22.mlp.linear_fc2.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.22.norm1.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.22.norm1.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.22.norm2.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.22.norm2.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.23.attn.proj.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.23.attn.proj.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.23.attn.qkv.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.23.attn.qkv.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.23.mlp.linear_fc1.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.23.mlp.linear_fc1.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.23.mlp.linear_fc2.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.23.mlp.linear_fc2.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.23.norm1.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.23.norm1.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.23.norm2.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.23.norm2.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.24.attn.proj.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.24.attn.proj.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.24.attn.qkv.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.24.attn.qkv.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.24.mlp.linear_fc1.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.24.mlp.linear_fc1.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.24.mlp.linear_fc2.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.24.mlp.linear_fc2.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.24.norm1.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.24.norm1.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.24.norm2.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.24.norm2.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.25.attn.proj.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.25.attn.proj.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.25.attn.qkv.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.25.attn.qkv.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.25.mlp.linear_fc1.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.25.mlp.linear_fc1.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.25.mlp.linear_fc2.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.25.mlp.linear_fc2.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.25.norm1.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.25.norm1.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.25.norm2.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.25.norm2.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.26.attn.proj.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.26.attn.proj.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.26.attn.qkv.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.26.attn.qkv.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.26.mlp.linear_fc1.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.26.mlp.linear_fc1.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.26.mlp.linear_fc2.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.26.mlp.linear_fc2.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.26.norm1.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.26.norm1.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.26.norm2.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.26.norm2.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.3.attn.proj.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.3.attn.proj.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.3.attn.qkv.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.3.attn.qkv.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.3.mlp.linear_fc1.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.3.mlp.linear_fc1.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.3.mlp.linear_fc2.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.3.mlp.linear_fc2.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.3.norm1.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.3.norm1.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.3.norm2.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.3.norm2.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.4.attn.proj.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.4.attn.proj.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.4.attn.qkv.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.4.attn.qkv.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.4.mlp.linear_fc1.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.4.mlp.linear_fc1.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.4.mlp.linear_fc2.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.4.mlp.linear_fc2.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.4.norm1.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.4.norm1.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.4.norm2.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.4.norm2.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.5.attn.proj.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.5.attn.proj.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.5.attn.qkv.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.5.attn.qkv.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.5.mlp.linear_fc1.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.5.mlp.linear_fc1.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.5.mlp.linear_fc2.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.5.mlp.linear_fc2.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.5.norm1.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.5.norm1.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.5.norm2.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.5.norm2.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.6.attn.proj.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.6.attn.proj.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.6.attn.qkv.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.6.attn.qkv.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.6.mlp.linear_fc1.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.6.mlp.linear_fc1.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.6.mlp.linear_fc2.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.6.mlp.linear_fc2.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.6.norm1.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.6.norm1.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.6.norm2.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.6.norm2.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.7.attn.proj.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.7.attn.proj.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.7.attn.qkv.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.7.attn.qkv.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.7.mlp.linear_fc1.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.7.mlp.linear_fc1.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.7.mlp.linear_fc2.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.7.mlp.linear_fc2.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.7.norm1.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.7.norm1.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.7.norm2.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.7.norm2.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.8.attn.proj.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.8.attn.proj.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.8.attn.qkv.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.8.attn.qkv.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.8.mlp.linear_fc1.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.8.mlp.linear_fc1.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.8.mlp.linear_fc2.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.8.mlp.linear_fc2.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.8.norm1.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.8.norm1.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.8.norm2.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.8.norm2.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.9.attn.proj.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.9.attn.proj.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.9.attn.qkv.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.9.attn.qkv.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.9.mlp.linear_fc1.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.9.mlp.linear_fc1.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.9.mlp.linear_fc2.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.9.mlp.linear_fc2.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.9.norm1.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.9.norm1.weight": "model-00004-of-00004.safetensors", "model.visual.blocks.9.norm2.bias": "model-00004-of-00004.safetensors", "model.visual.blocks.9.norm2.weight": "model-00004-of-00004.safetensors", "model.visual.merger.linear_fc1.bias": "model-00004-of-00004.safetensors", "model.visual.merger.linear_fc1.weight": "model-00004-of-00004.safetensors", "model.visual.merger.linear_fc2.bias": "model-00004-of-00004.safetensors", "model.visual.merger.linear_fc2.weight": "model-00004-of-00004.safetensors", "model.visual.merger.norm.bias": "model-00004-of-00004.safetensors", "model.visual.merger.norm.weight": "model-00004-of-00004.safetensors", "model.visual.patch_embed.proj.bias": "model-00004-of-00004.safetensors", "model.visual.patch_embed.proj.weight": "model-00004-of-00004.safetensors", "model.visual.pos_embed.weight": "model-00004-of-00004.safetensors" }}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960{ "image_processor": { "do_convert_rgb": true, "do_normalize": true, "do_rescale": true, "do_resize": true, "image_mean": [ 0.5, 0.5, 0.5 ], "image_processor_type": "Qwen2VLImageProcessor", "image_std": [ 0.5, 0.5, 0.5 ], "merge_size": 2, "patch_size": 16, "resample": 3, "rescale_factor": 0.00392156862745098, "size": { "longest_edge": 16777216, "shortest_edge": 65536 }, "temporal_patch_size": 2 }, "processor_class": "Qwen3VLProcessor", "video_processor": { "do_convert_rgb": true, "do_normalize": true, "do_rescale": true, "do_resize": true, "do_sample_frames": true, "fps": 2, "image_mean": [ 0.5, 0.5, 0.5 ], "image_std": [ 0.5, 0.5, 0.5 ], "max_frames": 768, "merge_size": 2, "min_frames": 4, "patch_size": 16, "resample": 3, "rescale_factor": 0.00392156862745098, "return_metadata": false, "size": { "longest_edge": 25165824, "shortest_edge": 4096 }, "temporal_patch_size": 2, "video_processor_type": "Qwen3VLVideoProcessor" }}123version https://git-lfs.github.com/spec/v1oid sha256:06b9509352d2af50381ab2247e083b80d32d5c0aba91c272ca9ff729b6a0e523size 19989325123456789101112131415161718192021222324252627282930{ "add_prefix_space": false, "audio_bos_token": "<|audio_start|>", "audio_eos_token": "<|audio_end|>", "audio_token": "<|audio_pad|>", "backend": "tokenizers", "bos_token": null, "clean_up_tokenization_spaces": false, "eos_token": "<|im_end|>", "errors": "replace", "image_token": "<|image_pad|>", "model_max_length": 262144, "model_specific_special_tokens": { "audio_bos_token": "<|audio_start|>", "audio_eos_token": "<|audio_end|>", "audio_token": "<|audio_pad|>", "image_token": "<|image_pad|>", "video_token": "<|video_pad|>", "vision_bos_token": "<|vision_start|>", "vision_eos_token": "<|vision_end|>" }, "pad_token": "<|endoftext|>", "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+", "split_special_tokens": false, "tokenizer_class": "Qwen2Tokenizer", "unk_token": null, "video_token": "<|video_pad|>", "vision_bos_token": "<|vision_start|>", "vision_eos_token": "<|vision_end|>"}.gitattributesAdded+36
LICENSEAdded+202
README.mdAdded+225
chat_template.jinjaAdded+154
config.jsonAdded+109
generation_config.jsonAdded+6
joint_head.safetensorsAdded+3
joint_head_config.jsonAdded+8
joint_schema_model.pyAdded+576
model-00001-of-00004.safetensorsAdded+3
model-00002-of-00004.safetensorsAdded+3
model-00003-of-00004.safetensorsAdded+3
model-00004-of-00004.safetensorsAdded+3
model.safetensors.index.jsonAdded+768
processor_config.jsonAdded+60
tokenizer.jsonAdded+3
tokenizer_config.jsonAdded+30