Instructions to use CMSManhattan/JiRackTernaryPrecision-72B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use CMSManhattan/JiRackTernaryPrecision-72B 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 CMSManhattan/JiRackTernaryPrecision-72B:Q2_0 # Run inference directly in the terminal: llama cli -hf CMSManhattan/JiRackTernaryPrecision-72B:Q2_0
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf CMSManhattan/JiRackTernaryPrecision-72B:Q2_0 # Run inference directly in the terminal: llama cli -hf CMSManhattan/JiRackTernaryPrecision-72B:Q2_0
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf CMSManhattan/JiRackTernaryPrecision-72B:Q2_0 # Run inference directly in the terminal: ./build/bin/llama cli -hf CMSManhattan/JiRackTernaryPrecision-72B:Q2_0
Use Docker
docker model run hf.co/CMSManhattan/JiRackTernaryPrecision-72B:Q2_0
- Llama new
- LM Studio
- Jan
- vLLM
How to use CMSManhattan/JiRackTernaryPrecision-72B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "CMSManhattan/JiRackTernaryPrecision-72B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "CMSManhattan/JiRackTernaryPrecision-72B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/CMSManhattan/JiRackTernaryPrecision-72B:Q2_0
- Ollama
How to use CMSManhattan/JiRackTernaryPrecision-72B with Ollama:
ollama run hf.co/CMSManhattan/JiRackTernaryPrecision-72B:Q2_0
- Unsloth Desktop
- Docker Model Runner
How to use CMSManhattan/JiRackTernaryPrecision-72B with Docker Model Runner:
docker model run hf.co/CMSManhattan/JiRackTernaryPrecision-72B:Q2_0
- Lemonade
How to use CMSManhattan/JiRackTernaryPrecision-72B with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull CMSManhattan/JiRackTernaryPrecision-72B:Q2_0
Run and chat with the model
lemonade run user.JiRackTernaryPrecision-72B-Q2_0
List all available models
lemonade list
- Atomic Chat
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf CMSManhattan/JiRackTernaryPrecision-72B:# Run inference directly in the terminal:
llama cli -hf CMSManhattan/JiRackTernaryPrecision-72B:Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf CMSManhattan/JiRackTernaryPrecision-72B:# Run inference directly in the terminal:
llama cli -hf CMSManhattan/JiRackTernaryPrecision-72B:Build from source code
git clone https://github.com/ggml-org/llama.cpp.git
cd llama.cpp
cmake -B build
cmake --build build -j --target llama-app# Start a local OpenAI-compatible server with a web UI:
./build/bin/llama serve -hf CMSManhattan/JiRackTernaryPrecision-72B:# Run inference directly in the terminal:
./build/bin/llama cli -hf CMSManhattan/JiRackTernaryPrecision-72B:Use Docker
docker model run hf.co/CMSManhattan/JiRackTernaryPrecision-72B:Request access to the model weights
Requests are reviewed manually by CMSManhattan. We reply within a few business days.
The weights are shared only after manual review. Please tell us who you are and how you plan to use the model. Requests without a company or project description may be declined.
Log in or Sign Up to review the conditions and access this model content.
JiRack Ternary Precision 72B (GGUF)
JiRack Ternary Precision 72B is a ternary (1.58-bit) model for agents and function calling by CMSManhattan (Konstantin Grabko), with 72.15B parameters. Every linear layer of the transformer uses ternary weights {-1, 0, +1} with a per-tensor scale and 8-bit activations (BitNet b1.58 style), trained with quantization-aware training.
Function calling: BFCL v3 75.9% over all 3,641 cases (non-live 85.1%, live 70.1%), and 115 of 117 on our tool-calling test.
Knows when not to call: BFCL v3 irrelevance 90.4%, live_irrelevance 81.6% - when no available tool fits the request, the model answers without a call.
GGUF files with the same weights: TQ2_0 (@TQ2@) for CPUs, Q2_0 (@Q2@) for NVIDIA GPUs, and Q8_0 (71.4 GiB), the file the results below were measured with. All of them hold the ternary weights.
Live char https://huggingface.co/spaces/CMSManhattan/JiRackTernaryPrecision-72B-demo
Offline JiRack Desktop UI with 8B CPU model https://huggingface.co/CMSManhattan/JiRack-runtime/resolve/main/JiRackAI-Setup-1.0.0.exe
Offline JiRack Desktop UI with 16B CPU model https://huggingface.co/CMSManhattan/JiRack-runtime/resolve/main/JiRackAI-Setup-1.0.0-16b-1.zip
36B and 72B needs DDR5 RAM
- Offline JiRack Desktop UI with 36B CPU model https://huggingface.co/CMSManhattan/JiRack-runtime/resolve/main/JiRackAI-Setup-1.0.0-36b-1.zip
- Offline JiRack Desktop UI with 72B CPU model https://huggingface.co/CMSManhattan/JiRack-runtime/resolve/main/JiRackAI-Setup-1.0.0-72b-1.zip
Results
BFCL v3 (Berkeley Function Calling Leaderboard)
| Category | Cases | Score |
|---|---|---|
| simple | 400 | 89.0% |
| multiple | 200 | 89.0% |
| parallel | 200 | 86.0% |
| parallel_multiple | 200 | 79.5% |
| java | 100 | 67.0% |
| javascript | 50 | 68.0% |
| irrelevance | 240 | 90.4% |
| Non-live overall | 1,390 | 85.1% |
| live_simple | 258 | 68.2% |
| live_multiple | 1,053 | 61.8% |
| live_parallel | 16 | 50.0% |
| live_parallel_multiple | 24 | 66.7% |
| live_relevance | 18 | 44.4% |
| live_irrelevance | 882 | 81.6% |
| Live overall | 2,251 | 70.1% |
| Overall | 3,641 | 75.9% |
Q8_0 GGUF file served by llama-server (llama.cpp c6a0ff11a, CUDA, all layers on one NVIDIA RTX PRO 6000
Blackwell) behind jirack_gguf_proxy.py; BFCL function-calling mode (tools passed as OpenAI tools), greedy decoding;
evalscope 1.15.0. Overall = average weighted by the number of cases. The table of this run is in
eval/bfcl_v3_q8_0.txt.
Internal tool-calling test (117 cases, greedy)
The cases are written by us and are not in the training data.
| Category | Cases | Q8_0 (GPU) | @GGUF_COL@ |
|---|---|---|---|
| Single call | 38 | 36 | @T_SINGLE@ |
| Parallel calls | 19 | 19 | @T_PARALLEL@ |
| Follow-up after a tool result | 20 | 20 | @T_FOLLOWUP@ |
| No tool fits | 25 | 25 | @T_NOTOOL@ |
| Missing argument: ask first | 15 | 15 | @T_CLARIFY@ |
| Total | 117 | 115 | @T_TOTAL@ |
Speed and memory
@SPEED_SECTION@
Files
| File | Size | Notes |
|---|---|---|
JiRackTernaryPrecision-72B-TQ2_0.gguf |
@TQ2@ | recommended for CPUs |
JiRackTernaryPrecision-72B-Q2_0.gguf |
@Q2@ | recommended for NVIDIA GPUs (CUDA); needs a llama.cpp build that knows Q2_0 |
JiRackTernaryPrecision-72B-Q8_0.gguf |
71.4 GiB | runs with any recent llama.cpp; the file of the BFCL run above |
jirack_gguf_proxy.py + jirack_openai_server.py |
OpenAI-compatible endpoint with tool calls on top of llama-server |
|
chat_template.jinja |
chat template embedded in the GGUF (plain chat); for tool calls use the proxy | |
eval/ |
BFCL v3 table and tool-calling test logs | |
NOTICE.md |
third-party licenses |
Run with llama.cpp
Plain chat on a CPU:
llama-cli -m JiRackTernaryPrecision-72B-TQ2_0.gguf -c 8192 -cnv
On an NVIDIA GPU use the Q2_0 file and a recent llama.cpp built with CUDA (-DGGML_CUDA=ON), with all layers on the
GPU:
llama-server -m JiRackTernaryPrecision-72B-Q2_0.gguf -ngl 999 --port 8080 -c 16384 --special
Tool calling through an OpenAI-compatible API. llama-server returns the model's tool calls as text
(<|tool_call_start|> {"name": ..., "arguments": ...} <|tool_call_end|>); the proxy builds the exact fine-tuning
prompt and turns the calls into standard OpenAI tool_calls, so any OpenAI client or agent framework can use the model:
llama-server -m JiRackTernaryPrecision-72B-Q2_0.gguf -ngl 999 --port 8080 -c 16384 --special
python3 jirack_gguf_proxy.py --llama http://127.0.0.1:8080 --port 8001 # needs jirack_openai_server.py next to it
from openai import OpenAI
client = OpenAI(base_url="http://127.0.0.1:8001/v1", api_key="none")
tools = [{"type": "function", "function": {
"name": "get_weather", "description": "Current weather for a city",
"parameters": {"type": "object", "properties": {"city": {"type": "string"}}, "required": ["city"]}}}]
r = client.chat.completions.create(model="jirack-72b", tools=tools,
messages=[{"role": "user", "content": "Weather in Austin?"}])
print(r.choices[0].message.tool_calls)
Return tool results as tool messages; several calls in one turn (parallel calls) are supported. Use greedy decoding
(temperature 0) for tool calls.
Model details
| Parameters | 72.15B |
| Layers | 132 |
| Hidden size / FFN | 5,120 / 30,720 |
| Attention heads | 40 query, 8 key-value (GQA), head dim 128 |
| Vocabulary | 152,064 |
| Context | up to 32k tokens (tested with 16k) |
| Weights | ternary {-1, 0, +1}, per-tensor scale |
| Activations | 8-bit, per token |
The GGUF files store every ternary weight as the model computes it (clamp(round(W / mean|W|), -1, 1) * mean|W|,
924 matrices): exactly in TQ2_0 and Q2_0; in Q8_0 up to the float16 rounding of the block scale.
How the model was made
JiRack Ternary Precision 72B is a modified version of a Qwen model by the Qwen team, Alibaba Cloud, licensed under Apache 2.0 (license text); its tokenizer and chat format come from a DeepSeek model by DeepSeek (MIT). CMSManhattan modified the architecture and the weights, trained every linear layer to ternary weights with 8-bit activations (quantization-aware training) and fine-tuned the model for tool calling and agents.
Intended use
Tool calling, function calling and agent pipelines; local, offline and on-premise deployment where GPU memory or hardware cost is limited.
Limitations
- About one call in three to real-world APIs is wrong (BFCL v3 live_multiple 61.8%, live_simple 68.2%), most often in the arguments. Validate calls before executing them, and give the agent an explicit way to answer without a tool.
- Coding and math were not measured for this release. Review and test generated code before use.
- The model can make mistakes, invent facts and produce wrong tool arguments. Check its output before acting on it, especially in automated pipelines.
- Ternary model: world knowledge is below that of a bf16 model of the same size; not for medical, legal or financial advice.
License
JiRack Precision 72B is a modified version of a DeepSeek model by DeepSeek, released under the MIT License (copy in LICENSE-MIT), which is itself derived from a Qwen model by the Qwen team, Alibaba Cloud, released under the Apache License 2.0 (copy in LICENSE-APACHE). CMSManhattan modified the architecture and weights and fine-tuned the model.
License of JiRack Precision 72B: proprietary JiRack license, see LICENSE.
📧 Contact
For joint venture opportunities, hardware integration, or licensing inquiries:
- Email: grabko@cmsmanhattan.com
- Phone: +1 (516) 777-0945
- Location: New York, USA
- Downloads last month
- 44
# Gated model: Login with a HF token with gated access permission hf auth login