Instructions to use AMAImedia/Qwen3.6-35B-A3B-occamy-1.0-BF16-GGUF-MTP with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AMAImedia/Qwen3.6-35B-A3B-occamy-1.0-BF16-GGUF-MTP with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="AMAImedia/Qwen3.6-35B-A3B-occamy-1.0-BF16-GGUF-MTP") 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)# Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("AMAImedia/Qwen3.6-35B-A3B-occamy-1.0-BF16-GGUF-MTP") model = AutoModelForMultimodalLM.from_pretrained("AMAImedia/Qwen3.6-35B-A3B-occamy-1.0-BF16-GGUF-MTP", 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=40) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use AMAImedia/Qwen3.6-35B-A3B-occamy-1.0-BF16-GGUF-MTP with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf AMAImedia/Qwen3.6-35B-A3B-occamy-1.0-BF16-GGUF-MTP:Q4_K_M # Run inference directly in the terminal: llama cli -hf AMAImedia/Qwen3.6-35B-A3B-occamy-1.0-BF16-GGUF-MTP:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf AMAImedia/Qwen3.6-35B-A3B-occamy-1.0-BF16-GGUF-MTP:Q4_K_M # Run inference directly in the terminal: llama cli -hf AMAImedia/Qwen3.6-35B-A3B-occamy-1.0-BF16-GGUF-MTP:Q4_K_M
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf AMAImedia/Qwen3.6-35B-A3B-occamy-1.0-BF16-GGUF-MTP:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf AMAImedia/Qwen3.6-35B-A3B-occamy-1.0-BF16-GGUF-MTP:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf AMAImedia/Qwen3.6-35B-A3B-occamy-1.0-BF16-GGUF-MTP:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf AMAImedia/Qwen3.6-35B-A3B-occamy-1.0-BF16-GGUF-MTP:Q4_K_M
Use Docker
docker model run hf.co/AMAImedia/Qwen3.6-35B-A3B-occamy-1.0-BF16-GGUF-MTP:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use AMAImedia/Qwen3.6-35B-A3B-occamy-1.0-BF16-GGUF-MTP with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "AMAImedia/Qwen3.6-35B-A3B-occamy-1.0-BF16-GGUF-MTP" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "AMAImedia/Qwen3.6-35B-A3B-occamy-1.0-BF16-GGUF-MTP", "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/AMAImedia/Qwen3.6-35B-A3B-occamy-1.0-BF16-GGUF-MTP:Q4_K_M
- SGLang
How to use AMAImedia/Qwen3.6-35B-A3B-occamy-1.0-BF16-GGUF-MTP 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 "AMAImedia/Qwen3.6-35B-A3B-occamy-1.0-BF16-GGUF-MTP" \ --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": "AMAImedia/Qwen3.6-35B-A3B-occamy-1.0-BF16-GGUF-MTP", "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 "AMAImedia/Qwen3.6-35B-A3B-occamy-1.0-BF16-GGUF-MTP" \ --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": "AMAImedia/Qwen3.6-35B-A3B-occamy-1.0-BF16-GGUF-MTP", "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" } } ] } ] }' - Ollama
How to use AMAImedia/Qwen3.6-35B-A3B-occamy-1.0-BF16-GGUF-MTP with Ollama:
ollama run hf.co/AMAImedia/Qwen3.6-35B-A3B-occamy-1.0-BF16-GGUF-MTP:Q4_K_M
- Unsloth Desktop
- Pi
How to use AMAImedia/Qwen3.6-35B-A3B-occamy-1.0-BF16-GGUF-MTP with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf AMAImedia/Qwen3.6-35B-A3B-occamy-1.0-BF16-GGUF-MTP:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "AMAImedia/Qwen3.6-35B-A3B-occamy-1.0-BF16-GGUF-MTP:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use AMAImedia/Qwen3.6-35B-A3B-occamy-1.0-BF16-GGUF-MTP with Docker Model Runner:
docker model run hf.co/AMAImedia/Qwen3.6-35B-A3B-occamy-1.0-BF16-GGUF-MTP:Q4_K_M
- Lemonade
How to use AMAImedia/Qwen3.6-35B-A3B-occamy-1.0-BF16-GGUF-MTP with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull AMAImedia/Qwen3.6-35B-A3B-occamy-1.0-BF16-GGUF-MTP:Q4_K_M
Run and chat with the model
lemonade run user.Qwen3.6-35B-A3B-occamy-1.0-BF16-GGUF-MTP-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use AMAImedia/Qwen3.6-35B-A3B-occamy-1.0-BF16-GGUF-MTP with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf AMAImedia/Qwen3.6-35B-A3B-occamy-1.0-BF16-GGUF-MTP:Q4_K_M
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default AMAImedia/Qwen3.6-35B-A3B-occamy-1.0-BF16-GGUF-MTP:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use AMAImedia/Qwen3.6-35B-A3B-occamy-1.0-BF16-GGUF-MTP with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf AMAImedia/Qwen3.6-35B-A3B-occamy-1.0-BF16-GGUF-MTP:Q4_K_M
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "AMAImedia/Qwen3.6-35B-A3B-occamy-1.0-BF16-GGUF-MTP:Q4_K_M" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Duplicate from Accio-Lab/occamy-1.0
Browse filesCo-authored-by: bit <rabbitz@users.noreply.huggingface.co>
- .gitattributes +38 -0
- LICENSE +201 -0
- MD5SUMS.txt +20 -0
- README.md +265 -0
- assets/accio.png +0 -0
- assets/accio.svg +29 -0
- assets/aggregate-cost-performance.png +0 -0
- assets/occamy-main-results.png +3 -0
- assets/occamy-main-results.svg +0 -0
- assets/occamy.png +3 -0
- chat_template.jinja +154 -0
- config.json +122 -0
- model-00000-of-00013.safetensors +3 -0
- model-00001-of-00013.safetensors +3 -0
- model-00002-of-00013.safetensors +3 -0
- model-00003-of-00013.safetensors +3 -0
- model-00004-of-00013.safetensors +3 -0
- model-00005-of-00013.safetensors +3 -0
- model-00006-of-00013.safetensors +3 -0
- model-00007-of-00013.safetensors +3 -0
- model-00008-of-00013.safetensors +3 -0
- model-00009-of-00013.safetensors +3 -0
- model-00010-of-00013.safetensors +3 -0
- model-00011-of-00013.safetensors +3 -0
- model-00012-of-00013.safetensors +3 -0
- model-visual.safetensors +3 -0
- model.safetensors.index.json +0 -0
- preprocessor_config.json +21 -0
- processor_config.json +60 -0
- tokenizer.json +3 -0
- tokenizer_config.json +33 -0
|
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
| 3 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
| 4 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
| 5 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
| 6 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
| 7 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 8 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 9 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 10 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 11 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 12 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
| 13 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 14 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
| 15 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 16 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 17 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 18 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 19 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 20 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
| 21 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 22 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 23 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 24 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 25 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 26 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
| 27 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 28 |
+
*.tar filter=lfs diff=lfs merge=lfs -text
|
| 29 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 30 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 31 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 32 |
+
*.xz filter=lfs diff=lfs merge=lfs -text
|
| 33 |
+
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
+
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
+
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
assets/occamy.png filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
assets/occamy-main-results.png filter=lfs diff=lfs merge=lfs -text
|
|
@@ -0,0 +1,201 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Apache License
|
| 2 |
+
Version 2.0, January 2004
|
| 3 |
+
http://www.apache.org/licenses/
|
| 4 |
+
|
| 5 |
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
| 6 |
+
|
| 7 |
+
1. Definitions.
|
| 8 |
+
|
| 9 |
+
"License" shall mean the terms and conditions for use, reproduction,
|
| 10 |
+
and distribution as defined by Sections 1 through 9 of this document.
|
| 11 |
+
|
| 12 |
+
"Licensor" shall mean the copyright owner or entity authorized by
|
| 13 |
+
the copyright owner that is granting the License.
|
| 14 |
+
|
| 15 |
+
"Legal Entity" shall mean the union of the acting entity and all
|
| 16 |
+
other entities that control, are controlled by, or are under common
|
| 17 |
+
control with that entity. For the purposes of this definition,
|
| 18 |
+
"control" means (i) the power, direct or indirect, to cause the
|
| 19 |
+
direction or management of such entity, whether by contract or
|
| 20 |
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
| 21 |
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
| 22 |
+
|
| 23 |
+
"You" (or "Your") shall mean an individual or Legal Entity
|
| 24 |
+
exercising permissions granted by this License.
|
| 25 |
+
|
| 26 |
+
"Source" form shall mean the preferred form for making modifications,
|
| 27 |
+
including but not limited to software source code, documentation
|
| 28 |
+
source, and configuration files.
|
| 29 |
+
|
| 30 |
+
"Object" form shall mean any form resulting from mechanical
|
| 31 |
+
transformation or translation of a Source form, including but
|
| 32 |
+
not limited to compiled object code, generated documentation,
|
| 33 |
+
and conversions to other media types.
|
| 34 |
+
|
| 35 |
+
"Work" shall mean the work of authorship, whether in Source or
|
| 36 |
+
Object form, made available under the License, as indicated by a
|
| 37 |
+
copyright notice that is included in or attached to the work
|
| 38 |
+
(an example is provided in the Appendix below).
|
| 39 |
+
|
| 40 |
+
"Derivative Works" shall mean any work, whether in Source or Object
|
| 41 |
+
form, that is based on (or derived from) the Work and for which the
|
| 42 |
+
editorial revisions, annotations, elaborations, or other modifications
|
| 43 |
+
represent, as a whole, an original work of authorship. For the purposes
|
| 44 |
+
of this License, Derivative Works shall not include works that remain
|
| 45 |
+
separable from, or merely link (or bind by name) to the interfaces of,
|
| 46 |
+
the Work and Derivative Works thereof.
|
| 47 |
+
|
| 48 |
+
"Contribution" shall mean any work of authorship, including
|
| 49 |
+
the original version of the Work and any modifications or additions
|
| 50 |
+
to that Work or Derivative Works thereof, that is intentionally
|
| 51 |
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
| 52 |
+
or by an individual or Legal Entity authorized to submit on behalf of
|
| 53 |
+
the copyright owner. For the purposes of this definition, "submitted"
|
| 54 |
+
means any form of electronic, verbal, or written communication sent
|
| 55 |
+
to the Licensor or its representatives, including but not limited to
|
| 56 |
+
communication on electronic mailing lists, source code control systems,
|
| 57 |
+
and issue tracking systems that are managed by, or on behalf of, the
|
| 58 |
+
Licensor for the purpose of discussing and improving the Work, but
|
| 59 |
+
excluding communication that is conspicuously marked or otherwise
|
| 60 |
+
designated in writing by the copyright owner as "Not a Contribution."
|
| 61 |
+
|
| 62 |
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
| 63 |
+
on behalf of whom a Contribution has been received by Licensor and
|
| 64 |
+
subsequently incorporated within the Work.
|
| 65 |
+
|
| 66 |
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
| 67 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 68 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 69 |
+
copyright license to reproduce, prepare Derivative Works of,
|
| 70 |
+
publicly display, publicly perform, sublicense, and distribute the
|
| 71 |
+
Work and such Derivative Works in Source or Object form.
|
| 72 |
+
|
| 73 |
+
3. Grant of Patent License. Subject to the terms and conditions of
|
| 74 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 75 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 76 |
+
(except as stated in this section) patent license to make, have made,
|
| 77 |
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
| 78 |
+
where such license applies only to those patent claims licensable
|
| 79 |
+
by such Contributor that are necessarily infringed by their
|
| 80 |
+
Contribution(s) alone or by combination of their Contribution(s)
|
| 81 |
+
with the Work to which such Contribution(s) was submitted. If You
|
| 82 |
+
institute patent litigation against any entity (including a
|
| 83 |
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
| 84 |
+
or a Contribution incorporated within the Work constitutes direct
|
| 85 |
+
or contributory patent infringement, then any patent licenses
|
| 86 |
+
granted to You under this License for that Work shall terminate
|
| 87 |
+
as of the date such litigation is filed.
|
| 88 |
+
|
| 89 |
+
4. Redistribution. You may reproduce and distribute copies of the
|
| 90 |
+
Work or Derivative Works thereof in any medium, with or without
|
| 91 |
+
modifications, and in Source or Object form, provided that You
|
| 92 |
+
meet the following conditions:
|
| 93 |
+
|
| 94 |
+
(a) You must give any other recipients of the Work or
|
| 95 |
+
Derivative Works a copy of this License; and
|
| 96 |
+
|
| 97 |
+
(b) You must cause any modified files to carry prominent notices
|
| 98 |
+
stating that You changed the files; and
|
| 99 |
+
|
| 100 |
+
(c) You must retain, in the Source form of any Derivative Works
|
| 101 |
+
that You distribute, all copyright, patent, trademark, and
|
| 102 |
+
attribution notices from the Source form of the Work,
|
| 103 |
+
excluding those notices that do not pertain to any part of
|
| 104 |
+
the Derivative Works; and
|
| 105 |
+
|
| 106 |
+
(d) If the Work includes a "NOTICE" text file as part of its
|
| 107 |
+
distribution, then any Derivative Works that You distribute must
|
| 108 |
+
include a readable copy of the attribution notices contained
|
| 109 |
+
within such NOTICE file, excluding those notices that do not
|
| 110 |
+
pertain to any part of the Derivative Works, in at least one
|
| 111 |
+
of the following places: within a NOTICE text file distributed
|
| 112 |
+
as part of the Derivative Works; within the Source form or
|
| 113 |
+
documentation, if provided along with the Derivative Works; or,
|
| 114 |
+
within a display generated by the Derivative Works, if and
|
| 115 |
+
wherever such third-party notices normally appear. The contents
|
| 116 |
+
of the NOTICE file are for informational purposes only and
|
| 117 |
+
do not modify the License. You may add Your own attribution
|
| 118 |
+
notices within Derivative Works that You distribute, alongside
|
| 119 |
+
or as an addendum to the NOTICE text from the Work, provided
|
| 120 |
+
that such additional attribution notices cannot be construed
|
| 121 |
+
as modifying the License.
|
| 122 |
+
|
| 123 |
+
You may add Your own copyright statement to Your modifications and
|
| 124 |
+
may provide additional or different license terms and conditions
|
| 125 |
+
for use, reproduction, or distribution of Your modifications, or
|
| 126 |
+
for any such Derivative Works as a whole, provided Your use,
|
| 127 |
+
reproduction, and distribution of the Work otherwise complies with
|
| 128 |
+
the conditions stated in this License.
|
| 129 |
+
|
| 130 |
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
| 131 |
+
any Contribution intentionally submitted for inclusion in the Work
|
| 132 |
+
by You to the Licensor shall be under the terms and conditions of
|
| 133 |
+
this License, without any additional terms or conditions.
|
| 134 |
+
Notwithstanding the above, nothing herein shall supersede or modify
|
| 135 |
+
the terms of any separate license agreement you may have executed
|
| 136 |
+
with Licensor regarding such Contributions.
|
| 137 |
+
|
| 138 |
+
6. Trademarks. This License does not grant permission to use the trade
|
| 139 |
+
names, trademarks, service marks, or product names of the Licensor,
|
| 140 |
+
except as required for reasonable and customary use in describing the
|
| 141 |
+
origin of the Work and reproducing the content of the NOTICE file.
|
| 142 |
+
|
| 143 |
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
| 144 |
+
agreed to in writing, Licensor provides the Work (and each
|
| 145 |
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
| 146 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
| 147 |
+
implied, including, without limitation, any warranties or conditions
|
| 148 |
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
| 149 |
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
| 150 |
+
appropriateness of using or redistributing the Work and assume any
|
| 151 |
+
risks associated with Your exercise of permissions under this License.
|
| 152 |
+
|
| 153 |
+
8. Limitation of Liability. In no event and under no legal theory,
|
| 154 |
+
whether in tort (including negligence), contract, or otherwise,
|
| 155 |
+
unless required by applicable law (such as deliberate and grossly
|
| 156 |
+
negligent acts) or agreed to in writing, shall any Contributor be
|
| 157 |
+
liable to You for damages, including any direct, indirect, special,
|
| 158 |
+
incidental, or consequential damages of any character arising as a
|
| 159 |
+
result of this License or out of the use or inability to use the
|
| 160 |
+
Work (including but not limited to damages for loss of goodwill,
|
| 161 |
+
work stoppage, computer failure or malfunction, or any and all
|
| 162 |
+
other commercial damages or losses), even if such Contributor
|
| 163 |
+
has been advised of the possibility of such damages.
|
| 164 |
+
|
| 165 |
+
9. Accepting Warranty or Additional Liability. While redistributing
|
| 166 |
+
the Work or Derivative Works thereof, You may choose to offer,
|
| 167 |
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
| 168 |
+
or other liability obligations and/or rights consistent with this
|
| 169 |
+
License. However, in accepting such obligations, You may act only
|
| 170 |
+
on Your own behalf and on Your sole responsibility, not on behalf
|
| 171 |
+
of any other Contributor, and only if You agree to indemnify,
|
| 172 |
+
defend, and hold each Contributor harmless for any liability
|
| 173 |
+
incurred by, or claims asserted against, such Contributor by reason
|
| 174 |
+
of your accepting any such warranty or additional liability.
|
| 175 |
+
|
| 176 |
+
END OF TERMS AND CONDITIONS
|
| 177 |
+
|
| 178 |
+
APPENDIX: How to apply the Apache License to your work.
|
| 179 |
+
|
| 180 |
+
To apply the Apache License to your work, attach the following
|
| 181 |
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
| 182 |
+
replaced with your own identifying information. (Don't include
|
| 183 |
+
the brackets!) The text should be enclosed in the appropriate
|
| 184 |
+
comment syntax for the file format. We also recommend that a
|
| 185 |
+
file or class name and description of purpose be included on the
|
| 186 |
+
same "printed page" as the copyright notice for easier
|
| 187 |
+
identification within third-party archives.
|
| 188 |
+
|
| 189 |
+
Copyright [yyyy] [name of copyright owner]
|
| 190 |
+
|
| 191 |
+
Licensed under the Apache License, Version 2.0 (the "License");
|
| 192 |
+
you may not use this file except in compliance with the License.
|
| 193 |
+
You may obtain a copy of the License at
|
| 194 |
+
|
| 195 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 196 |
+
|
| 197 |
+
Unless required by applicable law or agreed to in writing, software
|
| 198 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 199 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 200 |
+
See the License for the specific language governing permissions and
|
| 201 |
+
limitations under the License.
|
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
3ace02b07573d3d141bb7f0d53a7dd1d model-00000-of-00013.safetensors
|
| 2 |
+
1c388faed4e87957b8aba95ee541318e model-00001-of-00013.safetensors
|
| 3 |
+
e57cebbe1db94877bb7323588687f89e model-00002-of-00013.safetensors
|
| 4 |
+
76c2db3d47bd14df68753a536e147bd2 model-00003-of-00013.safetensors
|
| 5 |
+
c6478fad4fe663c1a97f86bdbe0b0c79 model-00004-of-00013.safetensors
|
| 6 |
+
637785713be9adca319f22fc01e7279d model-00005-of-00013.safetensors
|
| 7 |
+
1fd06564b076813c6eca7e3cc3e53d0f model-00006-of-00013.safetensors
|
| 8 |
+
1f04b9800a04ba7acda5af720278fb96 model-00007-of-00013.safetensors
|
| 9 |
+
6d0786e87a79b8473822ab71b9e43b2e model-00008-of-00013.safetensors
|
| 10 |
+
8f66189bffed12c6db396e64c84a1263 model-00009-of-00013.safetensors
|
| 11 |
+
1c93dc29cd94f0a343395a4fab9f3a97 model-00010-of-00013.safetensors
|
| 12 |
+
468bc183238ae4e4ac63fcabad7c2a04 model-00011-of-00013.safetensors
|
| 13 |
+
9880f5c8426f48d7b4b2bc7aa6ca4dcd model-00012-of-00013.safetensors
|
| 14 |
+
85a8195cb62eb3c2defeec116e932fd4 model-visual.safetensors
|
| 15 |
+
71907987995f2e795e75ad209c5b0a67 config.json
|
| 16 |
+
ee5cbd04766beddae4f5b656ead81fa5 model.safetensors.index.json
|
| 17 |
+
7bcaedf726a05924595b0302d0dd4dc7 preprocessor_config.json
|
| 18 |
+
0c49ac5889183510aa4a1ad947d302f8 processor_config.json
|
| 19 |
+
9875abe48fcffcda8e3e21bcfad4466d tokenizer_config.json
|
| 20 |
+
4010c9c068169f29bca5d89c5d8e967c tokenizer.json
|
|
@@ -0,0 +1,265 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
library_name: transformers
|
| 4 |
+
pipeline_tag: image-text-to-text
|
| 5 |
+
base_model: Qwen/Qwen3.6-35B-A3B
|
| 6 |
+
tags:
|
| 7 |
+
- agent
|
| 8 |
+
- agentic
|
| 9 |
+
- co-work
|
| 10 |
+
- tool-use
|
| 11 |
+
- long-context
|
| 12 |
+
- mixture-of-experts
|
| 13 |
+
- coding
|
| 14 |
+
---
|
| 15 |
+
|
| 16 |
+
<div align="center">
|
| 17 |
+
<picture>
|
| 18 |
+
<img src="assets/accio.svg" width="34%" alt="Accio">
|
| 19 |
+
</picture>
|
| 20 |
+
|
| 21 |
+
<picture>
|
| 22 |
+
<img src="assets/occamy.png" width="13%" alt="Occamy logo">
|
| 23 |
+
</picture>
|
| 24 |
+
<h1>Occamy-1.0</h1>
|
| 25 |
+
<p><strong>Open Pareto-frontier 35B Intelligence for Co-work</strong></p>
|
| 26 |
+
</div>
|
| 27 |
+
|
| 28 |
+
<hr>
|
| 29 |
+
|
| 30 |
+
<div align="center" style="line-height: 1;">
|
| 31 |
+
<a href="https://accio-lab.github.io/occamy/"><img alt="Project Website" src="https://img.shields.io/badge/Website-Occamy--1.0-087F6A"></a>
|
| 32 |
+
<a href="https://huggingface.co/Accio-Lab/Occamy-1.0"><img alt="Hugging Face" src="https://img.shields.io/badge/%F0%9F%A4%97%20Model-Occamy--1.0-FFD21E"></a>
|
| 33 |
+
<a href="https://github.com/Accio-Lab/Dressage"><img alt="Dressage" src="https://img.shields.io/badge/Training-Dressage-087F6A"></a>
|
| 34 |
+
<a href="https://arxiv.org/pdf/2609.11977"><img alt="Technical Report" src="https://img.shields.io/badge/%F0%9F%93%84%20Report-Occamy--1.0-B31B1B"></a>
|
| 35 |
+
<a href="LICENSE"><img alt="License" src="https://img.shields.io/badge/License-Apache%202.0-blue"></a>
|
| 36 |
+
</div>
|
| 37 |
+
|
| 38 |
+
<p align="center">
|
| 39 |
+
<a href="https://accio-lab.github.io/occamy/">Project Website</a> |
|
| 40 |
+
<a href="https://huggingface.co/Accio-Lab/Occamy-1.0">Model Weights</a> |
|
| 41 |
+
<a href="https://github.com/Accio-Lab/Dressage">Training Framework</a>
|
| 42 |
+
</p>
|
| 43 |
+
|
| 44 |
+
## Available Checkpoints
|
| 45 |
+
|
| 46 |
+
| Format | Download |
|
| 47 |
+
|---|---|
|
| 48 |
+
| GGUF (Q4_K_M / Q8_0) | [occamy-1.0-GGUF](https://huggingface.co/Accio-Lab/occamy-1.0-GGUF) |
|
| 49 |
+
| FP8 | [occamy-1.0-FP8](https://huggingface.co/Accio-Lab/occamy-1.0-FP8) |
|
| 50 |
+
| NVFP4 | [occamy-1.0-NVFP4](https://huggingface.co/Accio-Lab/occamy-1.0-NVFP4) |
|
| 51 |
+
| Experimental MTP head | [occamy-1.0-MTP](https://huggingface.co/Accio-Lab/occamy-1.0-MTP) |
|
| 52 |
+
|
| 53 |
+
See each model card for usage and validation. Community releases also offer smaller [GGUF quantizations](https://huggingface.co/mradermacher/occamy-1.0-i1-GGUF) and [MLX builds for Apple Silicon](https://huggingface.co/leonsarmiento/Occamy-1.0-6bit-XL-mlx).
|
| 54 |
+
|
| 55 |
+
BF16, FP8 and NVFP4 each passed a nine-case vLLM compatibility check on a single H200, covering text, code, JSON, tool calls and follow-up, and images. NVFP4 used Marlin W4A16. These checks used ordinary decoding; the separate MTP head remains experimental.
|
| 56 |
+
|
| 57 |
+
## 1. Model Introduction
|
| 58 |
+
|
| 59 |
+
Occamy-1.0 is a compact agentic model purpose-built for real-world co-work: long-horizon, stateful tasks that require coordinated use of search, code, tools, files, structured APIs, and productivity software. Starting from the post-trained [Qwen3.6-35B-A3B](https://huggingface.co/Qwen/Qwen3.6-35B-A3B) checkpoint, Occamy concentrates further training on reliable execution, persistent state tracking, recovery, and follow-through rather than relearning general capabilities from scratch.
|
| 60 |
+
|
| 61 |
+
### Key Features
|
| 62 |
+
|
| 63 |
+
- **Co-work specialization:** Designed for sustained execution across multi-step professional workflows, not isolated question answering.
|
| 64 |
+
- **Compact inference footprint:** A 35B-total, 3B-active Mixture-of-Experts model that keeps long-running agent workloads practical.
|
| 65 |
+
- **Long-horizon continuity:** Designed to keep work coherent across tool calls, delegated runs, and history rewrites such as context compaction.
|
| 66 |
+
- **Broad agentic capability:** Co-work gains are accompanied by strong tool calling, terminal coding, and instruction following.
|
| 67 |
+
- **Execution-grounded training:** Supervised fine-tuning spans general agentic work, long-horizon interaction, software engineering, and tool-call grounding.
|
| 68 |
+
- **Open training stack:** The multi-harness reinforcement-learning infrastructure used to train Occamy is released as [Dressage](https://github.com/Accio-Lab/Dressage).
|
| 69 |
+
|
| 70 |
+
> [!NOTE]
|
| 71 |
+
> Occamy is optimized for common co-work workloads, not as a replacement for frontier models on every task. Retrieval-heavy and simulated-user tasks still have headroom, and native browser or desktop visual interaction is not part of the current co-work training interface.
|
| 72 |
+
|
| 73 |
+
## 2. Model Summary
|
| 74 |
+
|
| 75 |
+
<div align="center">
|
| 76 |
+
<table>
|
| 77 |
+
<tbody>
|
| 78 |
+
<tr><td align="center"><strong>Architecture</strong></td><td align="center">Mixture-of-Experts causal model with vision encoder</td></tr>
|
| 79 |
+
<tr><td align="center"><strong>Total Parameters</strong></td><td align="center">35B</td></tr>
|
| 80 |
+
<tr><td align="center"><strong>Activated Parameters</strong></td><td align="center">3B</td></tr>
|
| 81 |
+
<tr><td align="center"><strong>Number of Layers</strong></td><td align="center">40</td></tr>
|
| 82 |
+
<tr><td align="center"><strong>Number of Experts</strong></td><td align="center">256</td></tr>
|
| 83 |
+
<tr><td align="center"><strong>Activated Experts</strong></td><td align="center">8 routed + 1 shared</td></tr>
|
| 84 |
+
<tr><td align="center"><strong>Base Architecture Context</strong></td><td align="center">262,144 tokens</td></tr>
|
| 85 |
+
<tr><td align="center"><strong>SFT Sequence Length</strong></td><td align="center">131,072 tokens</td></tr>
|
| 86 |
+
<tr><td align="center"><strong>Starting Checkpoint</strong></td><td align="center"><a href="https://huggingface.co/Qwen/Qwen3.6-35B-A3B">Qwen3.6-35B-A3B</a></td></tr>
|
| 87 |
+
<tr><td align="center"><strong>Post-training</strong></td><td align="center">Full-parameter SFT, HDPO, model merging, and SAO</td></tr>
|
| 88 |
+
</tbody>
|
| 89 |
+
</table>
|
| 90 |
+
</div>
|
| 91 |
+
|
| 92 |
+
Architecture fields follow the starting checkpoint's published model card. Occamy post-trains the language backbone without changing the architecture; the vision encoder and projector are frozen during SFT. The released checkpoint configuration remains the source of truth for serving limits.
|
| 93 |
+
|
| 94 |
+
## 3. Evaluation Results
|
| 95 |
+
|
| 96 |
+
<div align="center">
|
| 97 |
+
<picture>
|
| 98 |
+
<img src="assets/occamy-main-results.svg" width="100%" alt="Occamy-1.0 results on co-work, tool-use, coding, and business benchmarks">
|
| 99 |
+
</picture>
|
| 100 |
+
</div>
|
| 101 |
+
|
| 102 |
+
### Full Evaluation
|
| 103 |
+
|
| 104 |
+
<table>
|
| 105 |
+
<thead>
|
| 106 |
+
<tr>
|
| 107 |
+
<th rowspan="2" align="left" bgcolor="#EAF6F3">Benchmark</th>
|
| 108 |
+
<th colspan="6" align="center" bgcolor="#EAF6F3"><font color="#087F6A">35B-A3B Models</font></th>
|
| 109 |
+
<th colspan="4" align="center" bgcolor="#EAF6F3"><font color="#087F6A">Large-scale Models</font></th>
|
| 110 |
+
</tr>
|
| 111 |
+
<tr>
|
| 112 |
+
<th align="center" bgcolor="#087F6A"><font color="#FFFFFF">Occamy-1.0</font></th>
|
| 113 |
+
<th align="center">Qwen3.6<br>35B-A3B</th>
|
| 114 |
+
<th align="center">Agents-A1</th>
|
| 115 |
+
<th align="center">Nex-N2-mini</th>
|
| 116 |
+
<th align="center">BigBang-1.0</th>
|
| 117 |
+
<th align="center">Ornith-1.5</th>
|
| 118 |
+
<th align="center">GPT-5.6 Sol</th>
|
| 119 |
+
<th align="center">Qwen3.8-Max</th>
|
| 120 |
+
<th align="center">DeepSeek V4<br>Pro (0813)</th>
|
| 121 |
+
<th align="center">GLM-5.2</th>
|
| 122 |
+
</tr>
|
| 123 |
+
</thead>
|
| 124 |
+
<tbody>
|
| 125 |
+
<tr><td colspan="11" bgcolor="#DDF1EC"><font color="#087F6A"><strong>Co-work</strong></font></td></tr>
|
| 126 |
+
<tr><td>Claw-Eval (average)</td><td align="right"><strong>82.20</strong></td><td align="right">69.50</td><td align="right"><u>69.90</u></td><td align="right">66.60</td><td align="right">63.50</td><td align="right">64.40</td><td align="right"><u>81.80</u></td><td align="right"><strong>83.92</strong></td><td align="right">81.70</td><td align="right">81.60</td></tr>
|
| 127 |
+
<tr><td>Claw-Eval (Pass³)</td><td align="right"><strong>71.40</strong></td><td align="right"><u>54.80</u></td><td align="right">41.70</td><td align="right">37.00</td><td align="right">40.20</td><td align="right">48.70</td><td align="right">68.90</td><td align="right"><u>73.68</u></td><td align="right"><strong>74.50</strong></td><td align="right">68.30</td></tr>
|
| 128 |
+
<tr><td>WildClawBench</td><td align="right"><strong>49.16</strong></td><td align="right">40.40</td><td align="right">30.73</td><td align="right">30.31</td><td align="right">32.87</td><td align="right"><u>45.91</u></td><td align="right"><strong>67.20</strong></td><td align="right"><u>54.42</u></td><td align="right">37.30</td><td align="right">52.14</td></tr>
|
| 129 |
+
<tr><td>CommerceAgentBench</td><td align="right"><u>37.38</u></td><td align="right">19.60</td><td align="right">9.30</td><td align="right">16.80</td><td align="right">30.80</td><td align="right"><strong>37.40</strong></td><td align="right"><strong>49.50</strong></td><td align="right"><u>46.30</u></td><td align="right">43.30</td><td align="right">39.30</td></tr>
|
| 130 |
+
<tr><td>Business Arena</td><td align="right"><strong>$79,868</strong></td><td align="right">$44,751</td><td align="right">$33,626</td><td align="right">$13,325</td><td align="right">$56,477</td><td align="right"><u>$66,292</u></td><td align="right"><strong>$168,867</strong></td><td align="right"><u>$89,423</u></td><td align="right">$40,804</td><td align="right">$55,742</td></tr>
|
| 131 |
+
<tr><td>GDPval<sup>†</sup></td><td align="right"><strong>1,128</strong></td><td align="right"><u>1,004</u></td><td align="right">869</td><td align="right">999</td><td align="right">951</td><td align="right">855</td><td align="right"><strong>1,741</strong></td><td align="right"><u>1,640</u></td><td align="right">1,500</td><td align="right">1,452</td></tr>
|
| 132 |
+
<tr><td>OfficeQA Pro</td><td align="right"><u>48.10</u></td><td align="right">39.10</td><td align="right">23.30</td><td align="right">46.60</td><td align="right">43.60</td><td align="right"><strong>59.40</strong></td><td align="right"><strong>74.40</strong></td><td align="right"><u>69.20</u></td><td align="right">51.20</td><td align="right">66.20</td></tr>
|
| 133 |
+
<tr><td>τ³-Bench (Banking)</td><td align="right"><strong>37.10</strong></td><td align="right">11.90</td><td align="right">7.20</td><td align="right"><u>25.80</u></td><td align="right">10.30</td><td align="right">21.70</td><td align="right"><u>46.90</u></td><td align="right"><strong>54.60</strong></td><td align="right">44.30</td><td align="right">37.10</td></tr>
|
| 134 |
+
<tr><td colspan="11" bgcolor="#DDF1EC"><font color="#087F6A"><strong>Tool calling</strong></font></td></tr>
|
| 135 |
+
<tr><td>AutomationBench (Pass¹)</td><td align="right"><strong>27.60</strong></td><td align="right">7.50</td><td align="right">2.20</td><td align="right">5.70</td><td align="right">14.80</td><td align="right"><u>18.50</u></td><td align="right"><strong>45.50</strong></td><td align="right"><u>43.50</u></td><td align="right">32.00</td><td align="right">28.00</td></tr>
|
| 136 |
+
<tr><td>AutomationBench (partial)</td><td align="right"><strong>69.10</strong></td><td align="right">39.40</td><td align="right">14.70</td><td align="right">27.90</td><td align="right">47.40</td><td align="right"><u>58.00</u></td><td align="right"><strong>81.20</strong></td><td align="right"><strong>81.20</strong></td><td align="right">59.70</td><td align="right"><u>70.00</u></td></tr>
|
| 137 |
+
<tr><td>BFCL v4</td><td align="right"><u>65.40</u></td><td align="right">63.19</td><td align="right">57.23</td><td align="right">62.81</td><td align="right">57.86</td><td align="right"><strong>68.51</strong></td><td align="right">64.33</td><td align="right"><strong>73.65</strong></td><td align="right">67.10</td><td align="right"><u>70.33</u></td></tr>
|
| 138 |
+
<tr><td>VitaBench</td><td align="right"><u>41.75</u></td><td align="right">34.25</td><td align="right">37.00</td><td align="right">26.25</td><td align="right"><strong>46.00</strong></td><td align="right">40.25</td><td align="right">46.75</td><td align="right"><u>52.25</u></td><td align="right"><strong>53.50</strong></td><td align="right">43.75</td></tr>
|
| 139 |
+
<tr><td colspan="11" bgcolor="#DDF1EC"><font color="#087F6A"><strong>Coding</strong></font></td></tr>
|
| 140 |
+
<tr><td>Terminal-Bench 2.1</td><td align="right">59.00</td><td align="right">49.50</td><td align="right">41.60</td><td align="right"><u>60.70<sup>*</sup></u></td><td align="right">33.70</td><td align="right"><strong>67.80<sup>*</sup></strong></td><td align="right"><strong>88.80</strong></td><td align="right">81.30<sup>*</sup></td><td align="right"><u>87.90<sup>*</sup></u></td><td align="right">82.70</td></tr>
|
| 141 |
+
<tr><td colspan="11" bgcolor="#DDF1EC"><font color="#087F6A"><strong>Instruction following</strong></font></td></tr>
|
| 142 |
+
<tr><td>IFEval</td><td align="right"><u>91.53</u></td><td align="right">86.90</td><td align="right"><strong>91.60</strong></td><td align="right"><strong>91.60</strong></td><td align="right">90.50</td><td align="right">81.80</td><td align="right"><u>95.00</u></td><td align="right"><strong>95.02</strong></td><td align="right">93.74</td><td align="right">93.89</td></tr>
|
| 143 |
+
</tbody>
|
| 144 |
+
</table>
|
| 145 |
+
|
| 146 |
+
Within each size group, **bold** denotes the best result and <u>underlining</u> denotes the second-best result. <sup>*</sup> Official model-card or Artificial Analysis result. <sup>†</sup> Reproduced on the public task release.
|
| 147 |
+
|
| 148 |
+
### Cost-Performance
|
| 149 |
+
|
| 150 |
+
<div align="center">
|
| 151 |
+
<picture>
|
| 152 |
+
<img src="assets/aggregate-cost-performance.png" width="100%" alt="Aggregate inference cost versus normalized performance across four co-work benchmarks">
|
| 153 |
+
</picture>
|
| 154 |
+
</div>
|
| 155 |
+
|
| 156 |
+
Across Claw-Eval, WildClawBench, AutomationBench, and GDPval, Occamy-1.0 lies near the low-cost knee of the empirical Pareto frontier. Relative to its Qwen3.6-35B-A3B starting checkpoint, it delivers a large aggregate capability gain with only a modest change in measured per-task inference cost. Benchmark scores are equally weighted after per-benchmark min-max normalization, and costs are macro-averaged per task under the frozen pricing protocol used in the report.
|
| 157 |
+
|
| 158 |
+
|
| 159 |
+
## 4. Training Recipe
|
| 160 |
+
|
| 161 |
+
Occamy uses staged specialization and consolidation:
|
| 162 |
+
|
| 163 |
+
```text
|
| 164 |
+
Qwen3.6-35B-A3B
|
| 165 |
+
├─ Marathon Expert: SFT → HDPO ┐
|
| 166 |
+
└─ Sprint Expert: SFT ├─ Uniform merge → SAO → Occamy-1.0
|
| 167 |
+
```
|
| 168 |
+
|
| 169 |
+
The Marathon Expert learns sustained execution and accuracy-conditioned efficiency, while the Sprint Expert preserves broader agentic capability. A uniform parameter-space merge combines both experts into one checkpoint with no inference-time routing or ensembling, and a final Single-Rollout Asynchronous Optimization (SAO) stage refines the merged policy on a broad co-work mixture.
|
| 170 |
+
|
| 171 |
+
The deduplicated SFT union across both experts is:
|
| 172 |
+
|
| 173 |
+
| Data source | Trajectories | Average length | Tokens |
|
| 174 |
+
| --- | ---: | ---: | ---: |
|
| 175 |
+
| General agentic | 5,418 | 37.7K | 204.1M |
|
| 176 |
+
| Long-horizon interactive agents | 923 | 95.8K | 88.4M |
|
| 177 |
+
| Terminal and software engineering | 1,228 | 35.1K | 43.1M |
|
| 178 |
+
| Tool-call grounding | 7,429 | 9.1K | 67.7M |
|
| 179 |
+
| **Overall** | **14,998** | **26.9K** | **403.3M** |
|
| 180 |
+
|
| 181 |
+
Training tasks are grounded in executable environments with observable state transitions and task-level grading. The open-source [Dressage](https://github.com/Accio-Lab/Dressage) stack provides multi-harness execution, token-exact trajectory capture, sandbox integration, and multi-segment conversion for reinforcement learning.
|
| 182 |
+
|
| 183 |
+
## 5. Deployment
|
| 184 |
+
|
| 185 |
+
Occamy-1.0 keeps the Qwen3.6-35B-A3B architecture, so the [upstream deployment recipe](https://huggingface.co/Qwen/Qwen3.6-35B-A3B#deployment) is the reference serving path. The examples below mirror that recipe with eight-way tensor parallelism and its full context length; adjust both to fit your hardware and confirm them against the released Occamy checkpoint configuration.
|
| 186 |
+
|
| 187 |
+
### SGLang
|
| 188 |
+
|
| 189 |
+
The upstream model card recommends [SGLang](https://github.com/sgl-project/sglang) 0.5.10 or newer for the Qwen3.6 architecture.
|
| 190 |
+
|
| 191 |
+
```bash
|
| 192 |
+
python -m sglang.launch_server \
|
| 193 |
+
--model-path Accio-Lab/Occamy-1.0 \
|
| 194 |
+
--port 8000 \
|
| 195 |
+
--tp-size 8 \
|
| 196 |
+
--mem-fraction-static 0.8 \
|
| 197 |
+
--context-length 262144 \
|
| 198 |
+
--reasoning-parser qwen3 \
|
| 199 |
+
--tool-call-parser qwen3_coder
|
| 200 |
+
```
|
| 201 |
+
|
| 202 |
+
### vLLM
|
| 203 |
+
|
| 204 |
+
The upstream model card recommends [vLLM](https://github.com/vllm-project/vllm) 0.19.0 or newer for the Qwen3.6 architecture.
|
| 205 |
+
|
| 206 |
+
```bash
|
| 207 |
+
vllm serve Accio-Lab/Occamy-1.0 \
|
| 208 |
+
--port 8000 \
|
| 209 |
+
--tensor-parallel-size 8 \
|
| 210 |
+
--max-model-len 262144 \
|
| 211 |
+
--reasoning-parser qwen3 \
|
| 212 |
+
--enable-auto-tool-choice \
|
| 213 |
+
--tool-call-parser qwen3_coder
|
| 214 |
+
```
|
| 215 |
+
|
| 216 |
+
Both commands expose an OpenAI-compatible endpoint at `http://localhost:8000/v1`.
|
| 217 |
+
|
| 218 |
+
## 6. Model Usage
|
| 219 |
+
|
| 220 |
+
```python
|
| 221 |
+
from openai import OpenAI
|
| 222 |
+
|
| 223 |
+
client = OpenAI(base_url="http://localhost:8000/v1", api_key="EMPTY")
|
| 224 |
+
|
| 225 |
+
response = client.chat.completions.create(
|
| 226 |
+
model="Accio-Lab/Occamy-1.0",
|
| 227 |
+
messages=[
|
| 228 |
+
{
|
| 229 |
+
"role": "user",
|
| 230 |
+
"content": "Inspect this repository, fix the failing test, and explain the change.",
|
| 231 |
+
}
|
| 232 |
+
],
|
| 233 |
+
max_tokens=32768,
|
| 234 |
+
temperature=1.0,
|
| 235 |
+
top_p=0.95,
|
| 236 |
+
presence_penalty=1.5,
|
| 237 |
+
extra_body={
|
| 238 |
+
"top_k": 20,
|
| 239 |
+
"chat_template_kwargs": {
|
| 240 |
+
"enable_thinking": True,
|
| 241 |
+
"preserve_thinking": True,
|
| 242 |
+
},
|
| 243 |
+
},
|
| 244 |
+
)
|
| 245 |
+
|
| 246 |
+
print(response.choices[0].message.content)
|
| 247 |
+
```
|
| 248 |
+
|
| 249 |
+
For multi-turn agent runs, retain the complete assistant message returned by the server, including reasoning content and tool calls, then append tool results using the standard OpenAI chat-completions schema. This preserves the execution context that Occamy relies on across long workflows.
|
| 250 |
+
|
| 251 |
+
### Agent Frameworks
|
| 252 |
+
|
| 253 |
+
Occamy was trained and evaluated across multiple harnesses, including [OpenClaw](https://github.com/openclaw/openclaw), [Hermes Agent](https://github.com/NousResearch/hermes-agent), and Accio Work. It can be integrated with other tool-using agent frameworks through the same OpenAI-compatible API.
|
| 254 |
+
|
| 255 |
+
---
|
| 256 |
+
|
| 257 |
+
## 7. License
|
| 258 |
+
|
| 259 |
+
This repository is released under the [Apache License 2.0](LICENSE). See the Hugging Face model card for the terms that apply to the model weights.
|
| 260 |
+
|
| 261 |
+
---
|
| 262 |
+
|
| 263 |
+
## 8. Contact Us
|
| 264 |
+
|
| 265 |
+
For questions or feedback, please open an [issue](https://github.com/Accio-Lab/occamy/issues).
|
|
|
|
|
|
Git LFS Details
|
|
|
|
Git LFS Details
|
|
@@ -0,0 +1,154 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{%- set image_count = namespace(value=0) %}
|
| 2 |
+
{%- set video_count = namespace(value=0) %}
|
| 3 |
+
{%- macro render_content(content, do_vision_count, is_system_content=false) %}
|
| 4 |
+
{%- if content is string %}
|
| 5 |
+
{{- content }}
|
| 6 |
+
{%- elif content is iterable and content is not mapping %}
|
| 7 |
+
{%- for item in content %}
|
| 8 |
+
{%- if 'image' in item or 'image_url' in item or item.type == 'image' %}
|
| 9 |
+
{%- if is_system_content %}
|
| 10 |
+
{{- raise_exception('System message cannot contain images.') }}
|
| 11 |
+
{%- endif %}
|
| 12 |
+
{%- if do_vision_count %}
|
| 13 |
+
{%- set image_count.value = image_count.value + 1 %}
|
| 14 |
+
{%- endif %}
|
| 15 |
+
{%- if add_vision_id %}
|
| 16 |
+
{{- 'Picture ' ~ image_count.value ~ ': ' }}
|
| 17 |
+
{%- endif %}
|
| 18 |
+
{{- '<|vision_start|><|image_pad|><|vision_end|>' }}
|
| 19 |
+
{%- elif 'video' in item or item.type == 'video' %}
|
| 20 |
+
{%- if is_system_content %}
|
| 21 |
+
{{- raise_exception('System message cannot contain videos.') }}
|
| 22 |
+
{%- endif %}
|
| 23 |
+
{%- if do_vision_count %}
|
| 24 |
+
{%- set video_count.value = video_count.value + 1 %}
|
| 25 |
+
{%- endif %}
|
| 26 |
+
{%- if add_vision_id %}
|
| 27 |
+
{{- 'Video ' ~ video_count.value ~ ': ' }}
|
| 28 |
+
{%- endif %}
|
| 29 |
+
{{- '<|vision_start|><|video_pad|><|vision_end|>' }}
|
| 30 |
+
{%- elif 'text' in item %}
|
| 31 |
+
{{- item.text }}
|
| 32 |
+
{%- else %}
|
| 33 |
+
{{- raise_exception('Unexpected item type in content.') }}
|
| 34 |
+
{%- endif %}
|
| 35 |
+
{%- endfor %}
|
| 36 |
+
{%- elif content is none or content is undefined %}
|
| 37 |
+
{{- '' }}
|
| 38 |
+
{%- else %}
|
| 39 |
+
{{- raise_exception('Unexpected content type.') }}
|
| 40 |
+
{%- endif %}
|
| 41 |
+
{%- endmacro %}
|
| 42 |
+
{%- if not messages %}
|
| 43 |
+
{{- raise_exception('No messages provided.') }}
|
| 44 |
+
{%- endif %}
|
| 45 |
+
{%- if tools and tools is iterable and tools is not mapping %}
|
| 46 |
+
{{- '<|im_start|>system\n' }}
|
| 47 |
+
{{- "# Tools\n\nYou have access to the following functions:\n\n<tools>" }}
|
| 48 |
+
{%- for tool in tools %}
|
| 49 |
+
{{- "\n" }}
|
| 50 |
+
{{- tool | tojson }}
|
| 51 |
+
{%- endfor %}
|
| 52 |
+
{{- "\n</tools>" }}
|
| 53 |
+
{{- '\n\nIf you choose to call a function ONLY reply in the following format with NO suffix:\n\n<tool_call>\n<function=example_function_name>\n<parameter=example_parameter_1>\nvalue_1\n</parameter>\n<parameter=example_parameter_2>\nThis is the value for the second parameter\nthat can span\nmultiple lines\n</parameter>\n</function>\n</tool_call>\n\n<IMPORTANT>\nReminder:\n- Function calls MUST follow the specified format: an inner <function=...></function> block must be nested within <tool_call></tool_call> XML tags\n- Required parameters MUST be specified\n- You may provide optional reasoning for your function call in natural language BEFORE the function call, but NOT after\n- If there is no function call available, answer the question like normal with your current knowledge and do not tell the user about function calls\n</IMPORTANT>' }}
|
| 54 |
+
{%- if messages[0].role == 'system' %}
|
| 55 |
+
{%- set content = render_content(messages[0].content, false, true)|trim %}
|
| 56 |
+
{%- if content %}
|
| 57 |
+
{{- '\n\n' + content }}
|
| 58 |
+
{%- endif %}
|
| 59 |
+
{%- endif %}
|
| 60 |
+
{{- '<|im_end|>\n' }}
|
| 61 |
+
{%- else %}
|
| 62 |
+
{%- if messages[0].role == 'system' %}
|
| 63 |
+
{%- set content = render_content(messages[0].content, false, true)|trim %}
|
| 64 |
+
{{- '<|im_start|>system\n' + content + '<|im_end|>\n' }}
|
| 65 |
+
{%- endif %}
|
| 66 |
+
{%- endif %}
|
| 67 |
+
{%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}
|
| 68 |
+
{%- for message in messages[::-1] %}
|
| 69 |
+
{%- set index = (messages|length - 1) - loop.index0 %}
|
| 70 |
+
{%- if ns.multi_step_tool and message.role == "user" %}
|
| 71 |
+
{%- set content = render_content(message.content, false)|trim %}
|
| 72 |
+
{%- if not(content.startswith('<tool_response>') and content.endswith('</tool_response>')) %}
|
| 73 |
+
{%- set ns.multi_step_tool = false %}
|
| 74 |
+
{%- set ns.last_query_index = index %}
|
| 75 |
+
{%- endif %}
|
| 76 |
+
{%- endif %}
|
| 77 |
+
{%- endfor %}
|
| 78 |
+
{%- if ns.multi_step_tool %}
|
| 79 |
+
{{- raise_exception('No user query found in messages.') }}
|
| 80 |
+
{%- endif %}
|
| 81 |
+
{%- for message in messages %}
|
| 82 |
+
{%- set content = render_content(message.content, true)|trim %}
|
| 83 |
+
{%- if message.role == "system" %}
|
| 84 |
+
{%- if not loop.first %}
|
| 85 |
+
{{- raise_exception('System message must be at the beginning.') }}
|
| 86 |
+
{%- endif %}
|
| 87 |
+
{%- elif message.role == "user" %}
|
| 88 |
+
{{- '<|im_start|>' + message.role + '\n' + content + '<|im_end|>' + '\n' }}
|
| 89 |
+
{%- elif message.role == "assistant" %}
|
| 90 |
+
{%- set reasoning_content = '' %}
|
| 91 |
+
{%- if message.reasoning_content is string %}
|
| 92 |
+
{%- set reasoning_content = message.reasoning_content %}
|
| 93 |
+
{%- else %}
|
| 94 |
+
{%- if '</think>' in content %}
|
| 95 |
+
{%- set reasoning_content = content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %}
|
| 96 |
+
{%- set content = content.split('</think>')[-1].lstrip('\n') %}
|
| 97 |
+
{%- endif %}
|
| 98 |
+
{%- endif %}
|
| 99 |
+
{%- set reasoning_content = reasoning_content|trim %}
|
| 100 |
+
{%- if (preserve_thinking is defined and preserve_thinking is true) or (loop.index0 > ns.last_query_index) %}
|
| 101 |
+
{{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content + '\n</think>\n\n' + content }}
|
| 102 |
+
{%- else %}
|
| 103 |
+
{{- '<|im_start|>' + message.role + '\n' + content }}
|
| 104 |
+
{%- endif %}
|
| 105 |
+
{%- if message.tool_calls and message.tool_calls is iterable and message.tool_calls is not mapping %}
|
| 106 |
+
{%- for tool_call in message.tool_calls %}
|
| 107 |
+
{%- if tool_call.function is defined %}
|
| 108 |
+
{%- set tool_call = tool_call.function %}
|
| 109 |
+
{%- endif %}
|
| 110 |
+
{%- if loop.first %}
|
| 111 |
+
{%- if content|trim %}
|
| 112 |
+
{{- '\n\n<tool_call>\n<function=' + tool_call.name + '>\n' }}
|
| 113 |
+
{%- else %}
|
| 114 |
+
{{- '<tool_call>\n<function=' + tool_call.name + '>\n' }}
|
| 115 |
+
{%- endif %}
|
| 116 |
+
{%- else %}
|
| 117 |
+
{{- '\n<tool_call>\n<function=' + tool_call.name + '>\n' }}
|
| 118 |
+
{%- endif %}
|
| 119 |
+
{%- if tool_call.arguments is defined %}
|
| 120 |
+
{%- for args_name, args_value in tool_call.arguments|items %}
|
| 121 |
+
{{- '<parameter=' + args_name + '>\n' }}
|
| 122 |
+
{%- set args_value = args_value | string if args_value is string else args_value | tojson | safe %}
|
| 123 |
+
{{- args_value }}
|
| 124 |
+
{{- '\n</parameter>\n' }}
|
| 125 |
+
{%- endfor %}
|
| 126 |
+
{%- endif %}
|
| 127 |
+
{{- '</function>\n</tool_call>' }}
|
| 128 |
+
{%- endfor %}
|
| 129 |
+
{%- endif %}
|
| 130 |
+
{{- '<|im_end|>\n' }}
|
| 131 |
+
{%- elif message.role == "tool" %}
|
| 132 |
+
{%- if loop.previtem and loop.previtem.role != "tool" %}
|
| 133 |
+
{{- '<|im_start|>user' }}
|
| 134 |
+
{%- endif %}
|
| 135 |
+
{{- '\n<tool_response>\n' }}
|
| 136 |
+
{{- content }}
|
| 137 |
+
{{- '\n</tool_response>' }}
|
| 138 |
+
{%- if not loop.last and loop.nextitem.role != "tool" %}
|
| 139 |
+
{{- '<|im_end|>\n' }}
|
| 140 |
+
{%- elif loop.last %}
|
| 141 |
+
{{- '<|im_end|>\n' }}
|
| 142 |
+
{%- endif %}
|
| 143 |
+
{%- else %}
|
| 144 |
+
{{- raise_exception('Unexpected message role.') }}
|
| 145 |
+
{%- endif %}
|
| 146 |
+
{%- endfor %}
|
| 147 |
+
{%- if add_generation_prompt %}
|
| 148 |
+
{{- '<|im_start|>assistant\n' }}
|
| 149 |
+
{%- if enable_thinking is defined and enable_thinking is false %}
|
| 150 |
+
{{- '<think>\n\n</think>\n\n' }}
|
| 151 |
+
{%- else %}
|
| 152 |
+
{{- '<think>\n' }}
|
| 153 |
+
{%- endif %}
|
| 154 |
+
{%- endif %}
|
|
@@ -0,0 +1,122 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"Qwen3_5MoeForConditionalGeneration"
|
| 4 |
+
],
|
| 5 |
+
"dtype": "bfloat16",
|
| 6 |
+
"hidden_size": 2048,
|
| 7 |
+
"image_token_id": 248056,
|
| 8 |
+
"model_type": "qwen3_5_moe",
|
| 9 |
+
"text_config": {
|
| 10 |
+
"attention_bias": false,
|
| 11 |
+
"attention_dropout": 0.0,
|
| 12 |
+
"attn_output_gate": true,
|
| 13 |
+
"bos_token_id": 248044,
|
| 14 |
+
"dtype": "bfloat16",
|
| 15 |
+
"eos_token_id": 248044,
|
| 16 |
+
"full_attention_interval": 4,
|
| 17 |
+
"head_dim": 256,
|
| 18 |
+
"hidden_act": "silu",
|
| 19 |
+
"hidden_size": 2048,
|
| 20 |
+
"initializer_range": 0.02,
|
| 21 |
+
"layer_types": [
|
| 22 |
+
"linear_attention",
|
| 23 |
+
"linear_attention",
|
| 24 |
+
"linear_attention",
|
| 25 |
+
"full_attention",
|
| 26 |
+
"linear_attention",
|
| 27 |
+
"linear_attention",
|
| 28 |
+
"linear_attention",
|
| 29 |
+
"full_attention",
|
| 30 |
+
"linear_attention",
|
| 31 |
+
"linear_attention",
|
| 32 |
+
"linear_attention",
|
| 33 |
+
"full_attention",
|
| 34 |
+
"linear_attention",
|
| 35 |
+
"linear_attention",
|
| 36 |
+
"linear_attention",
|
| 37 |
+
"full_attention",
|
| 38 |
+
"linear_attention",
|
| 39 |
+
"linear_attention",
|
| 40 |
+
"linear_attention",
|
| 41 |
+
"full_attention",
|
| 42 |
+
"linear_attention",
|
| 43 |
+
"linear_attention",
|
| 44 |
+
"linear_attention",
|
| 45 |
+
"full_attention",
|
| 46 |
+
"linear_attention",
|
| 47 |
+
"linear_attention",
|
| 48 |
+
"linear_attention",
|
| 49 |
+
"full_attention",
|
| 50 |
+
"linear_attention",
|
| 51 |
+
"linear_attention",
|
| 52 |
+
"linear_attention",
|
| 53 |
+
"full_attention",
|
| 54 |
+
"linear_attention",
|
| 55 |
+
"linear_attention",
|
| 56 |
+
"linear_attention",
|
| 57 |
+
"full_attention",
|
| 58 |
+
"linear_attention",
|
| 59 |
+
"linear_attention",
|
| 60 |
+
"linear_attention",
|
| 61 |
+
"full_attention"
|
| 62 |
+
],
|
| 63 |
+
"linear_conv_kernel_dim": 4,
|
| 64 |
+
"linear_key_head_dim": 128,
|
| 65 |
+
"linear_num_key_heads": 16,
|
| 66 |
+
"linear_num_value_heads": 32,
|
| 67 |
+
"linear_value_head_dim": 128,
|
| 68 |
+
"mamba_ssm_dtype": "float32",
|
| 69 |
+
"max_position_embeddings": 262144,
|
| 70 |
+
"model_type": "qwen3_5_moe_text",
|
| 71 |
+
"moe_intermediate_size": 512,
|
| 72 |
+
"mtp_num_hidden_layers": 0,
|
| 73 |
+
"mtp_use_dedicated_embeddings": false,
|
| 74 |
+
"num_attention_heads": 16,
|
| 75 |
+
"num_experts": 256,
|
| 76 |
+
"num_experts_per_tok": 8,
|
| 77 |
+
"num_hidden_layers": 40,
|
| 78 |
+
"num_key_value_heads": 2,
|
| 79 |
+
"output_router_logits": false,
|
| 80 |
+
"pad_token_id": null,
|
| 81 |
+
"partial_rotary_factor": 0.25,
|
| 82 |
+
"rms_norm_eps": 1e-06,
|
| 83 |
+
"rope_parameters": {
|
| 84 |
+
"mrope_interleaved": true,
|
| 85 |
+
"mrope_section": [
|
| 86 |
+
11,
|
| 87 |
+
11,
|
| 88 |
+
10
|
| 89 |
+
],
|
| 90 |
+
"partial_rotary_factor": 0.25,
|
| 91 |
+
"rope_theta": 10000000,
|
| 92 |
+
"rope_type": "default"
|
| 93 |
+
},
|
| 94 |
+
"router_aux_loss_coef": 0.001,
|
| 95 |
+
"shared_expert_intermediate_size": 512,
|
| 96 |
+
"tie_word_embeddings": false,
|
| 97 |
+
"use_cache": true,
|
| 98 |
+
"vocab_size": 248320
|
| 99 |
+
},
|
| 100 |
+
"tie_word_embeddings": false,
|
| 101 |
+
"transformers_version": "5.8.1",
|
| 102 |
+
"video_token_id": 248057,
|
| 103 |
+
"vision_config": {
|
| 104 |
+
"deepstack_visual_indexes": [],
|
| 105 |
+
"depth": 27,
|
| 106 |
+
"dtype": "bfloat16",
|
| 107 |
+
"hidden_act": "gelu_pytorch_tanh",
|
| 108 |
+
"hidden_size": 1152,
|
| 109 |
+
"in_channels": 3,
|
| 110 |
+
"initializer_range": 0.02,
|
| 111 |
+
"intermediate_size": 4304,
|
| 112 |
+
"model_type": "qwen3_5_moe_vision",
|
| 113 |
+
"num_heads": 16,
|
| 114 |
+
"num_position_embeddings": 2304,
|
| 115 |
+
"out_hidden_size": 2048,
|
| 116 |
+
"patch_size": 16,
|
| 117 |
+
"spatial_merge_size": 2,
|
| 118 |
+
"temporal_patch_size": 2
|
| 119 |
+
},
|
| 120 |
+
"vision_end_token_id": 248054,
|
| 121 |
+
"vision_start_token_id": 248053
|
| 122 |
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7dda86eadaad33fc3e9a6a5b8550f63a14ec963e7ecda4d4744d03c74ae6046c
|
| 3 |
+
size 5368957040
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:64ad539e80ec8f651cb6ee320fc9ba081336ff879a1671bc9419bb93bd9119ff
|
| 3 |
+
size 5368701040
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e5fcf0b762c862bcb21fa6d24c24f7b7c03e1a4f912238060461a86eb8464ad1
|
| 3 |
+
size 5368701232
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2981c3938d931fdc055a318f5194e72cd437cad013f9cfdedd60f0cfff7b04f7
|
| 3 |
+
size 5367991592
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a870c84e78a15fceb67001fecad40e1f569fbfa4722e02c3817b82bf788a5fe1
|
| 3 |
+
size 5368703456
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2d16494ae00de6e6dfcc20fb5936a45eade6e958ced6f38ba653d18c307afd8d
|
| 3 |
+
size 5369030168
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c961977adab10850168d10036898fba98064ecf24447c39580343a9e436c86f3
|
| 3 |
+
size 5368703544
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:95c3b7fb040d0bb4a5c58ac63d3e411084fe2378b7cc887cee5f3ca82dd8a293
|
| 3 |
+
size 5368703704
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5a1f1f200d1f32452f0d6d1f3e9ead5ac3d2ba168bcbf60c55676ce97ef31756
|
| 3 |
+
size 5367992456
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:aca0191fa13dfe6e5d1a293e2d943630aeadb0f28c7368eebbfab7fb6627522f
|
| 3 |
+
size 5368703424
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:947cc869a23305282d84ee30f26279864d670aa2d2d5093a06775418135fb926
|
| 3 |
+
size 5369030168
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:706f8a19066e02ca1b0fce119dd731c22fd23a226c7d274074594b526af1abc6
|
| 3 |
+
size 5368703552
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3e1e16d4e636defcbef8802da292e21b510b315915ff711f9e9489d62cf9b726
|
| 3 |
+
size 4901660488
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f730cecc09c40191e62eacf706743b1ce80a4170a761ba6bd157b102bd9f3edf
|
| 3 |
+
size 893179528
|
|
The diff for this file is too large to render.
See raw diff
|
|
|
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"size": {
|
| 3 |
+
"longest_edge": 16777216,
|
| 4 |
+
"shortest_edge": 65536
|
| 5 |
+
},
|
| 6 |
+
"patch_size": 16,
|
| 7 |
+
"temporal_patch_size": 2,
|
| 8 |
+
"merge_size": 2,
|
| 9 |
+
"image_mean": [
|
| 10 |
+
0.5,
|
| 11 |
+
0.5,
|
| 12 |
+
0.5
|
| 13 |
+
],
|
| 14 |
+
"image_std": [
|
| 15 |
+
0.5,
|
| 16 |
+
0.5,
|
| 17 |
+
0.5
|
| 18 |
+
],
|
| 19 |
+
"processor_class": "Qwen3VLProcessor",
|
| 20 |
+
"image_processor_type": "Qwen2VLImageProcessorFast"
|
| 21 |
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"image_processor": {
|
| 3 |
+
"do_convert_rgb": true,
|
| 4 |
+
"do_normalize": true,
|
| 5 |
+
"do_rescale": true,
|
| 6 |
+
"do_resize": true,
|
| 7 |
+
"image_mean": [
|
| 8 |
+
0.5,
|
| 9 |
+
0.5,
|
| 10 |
+
0.5
|
| 11 |
+
],
|
| 12 |
+
"image_processor_type": "Qwen2VLImageProcessor",
|
| 13 |
+
"image_std": [
|
| 14 |
+
0.5,
|
| 15 |
+
0.5,
|
| 16 |
+
0.5
|
| 17 |
+
],
|
| 18 |
+
"merge_size": 2,
|
| 19 |
+
"patch_size": 16,
|
| 20 |
+
"resample": 3,
|
| 21 |
+
"rescale_factor": 0.00392156862745098,
|
| 22 |
+
"size": {
|
| 23 |
+
"longest_edge": 16777216,
|
| 24 |
+
"shortest_edge": 65536
|
| 25 |
+
},
|
| 26 |
+
"temporal_patch_size": 2
|
| 27 |
+
},
|
| 28 |
+
"processor_class": "Qwen3VLProcessor",
|
| 29 |
+
"video_processor": {
|
| 30 |
+
"do_convert_rgb": true,
|
| 31 |
+
"do_normalize": true,
|
| 32 |
+
"do_rescale": true,
|
| 33 |
+
"do_resize": true,
|
| 34 |
+
"do_sample_frames": true,
|
| 35 |
+
"fps": 2,
|
| 36 |
+
"image_mean": [
|
| 37 |
+
0.5,
|
| 38 |
+
0.5,
|
| 39 |
+
0.5
|
| 40 |
+
],
|
| 41 |
+
"image_std": [
|
| 42 |
+
0.5,
|
| 43 |
+
0.5,
|
| 44 |
+
0.5
|
| 45 |
+
],
|
| 46 |
+
"max_frames": 768,
|
| 47 |
+
"merge_size": 2,
|
| 48 |
+
"min_frames": 4,
|
| 49 |
+
"patch_size": 16,
|
| 50 |
+
"resample": 3,
|
| 51 |
+
"rescale_factor": 0.00392156862745098,
|
| 52 |
+
"return_metadata": false,
|
| 53 |
+
"size": {
|
| 54 |
+
"longest_edge": 25165824,
|
| 55 |
+
"shortest_edge": 4096
|
| 56 |
+
},
|
| 57 |
+
"temporal_patch_size": 2,
|
| 58 |
+
"video_processor_type": "Qwen3VLVideoProcessor"
|
| 59 |
+
}
|
| 60 |
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:06b9509352d2af50381ab2247e083b80d32d5c0aba91c272ca9ff729b6a0e523
|
| 3 |
+
size 19989325
|
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_prefix_space": false,
|
| 3 |
+
"audio_bos_token": "<|audio_start|>",
|
| 4 |
+
"audio_eos_token": "<|audio_end|>",
|
| 5 |
+
"audio_token": "<|audio_pad|>",
|
| 6 |
+
"backend": "tokenizers",
|
| 7 |
+
"bos_token": null,
|
| 8 |
+
"clean_up_tokenization_spaces": false,
|
| 9 |
+
"eos_token": "<|im_end|>",
|
| 10 |
+
"errors": "replace",
|
| 11 |
+
"image_token": "<|image_pad|>",
|
| 12 |
+
"is_local": true,
|
| 13 |
+
"local_files_only": false,
|
| 14 |
+
"model_max_length": 262144,
|
| 15 |
+
"model_specific_special_tokens": {
|
| 16 |
+
"audio_bos_token": "<|audio_start|>",
|
| 17 |
+
"audio_eos_token": "<|audio_end|>",
|
| 18 |
+
"audio_token": "<|audio_pad|>",
|
| 19 |
+
"image_token": "<|image_pad|>",
|
| 20 |
+
"video_token": "<|video_pad|>",
|
| 21 |
+
"vision_bos_token": "<|vision_start|>",
|
| 22 |
+
"vision_eos_token": "<|vision_end|>"
|
| 23 |
+
},
|
| 24 |
+
"pad_token": "<|endoftext|>",
|
| 25 |
+
"pretokenize_regex": "(?i:'s|'t|'re|'ve|'m|'ll|'d)|[^\\r\\n\\p{L}\\p{N}]?[\\p{L}\\p{M}]+|\\p{N}| ?[^\\s\\p{L}\\p{M}\\p{N}]+[\\r\\n]*|\\s*[\\r\\n]+|\\s+(?!\\S)|\\s+",
|
| 26 |
+
"processor_class": "Qwen3VLProcessor",
|
| 27 |
+
"split_special_tokens": false,
|
| 28 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
| 29 |
+
"unk_token": null,
|
| 30 |
+
"video_token": "<|video_pad|>",
|
| 31 |
+
"vision_bos_token": "<|vision_start|>",
|
| 32 |
+
"vision_eos_token": "<|vision_end|>"
|
| 33 |
+
}
|