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.

36B and 72B needs DDR5 RAM

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:

Downloads last month
44
Safetensors
Model size
72B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Space using CMSManhattan/JiRackTernaryPrecision-72B 1