Views
No views yet

netease-youdao/Confucius4 using llama.cpp.
Refer to the original model card for more details on the model.| Quant | Directory | Use Case |
|---|---|---|
| BF16 (F16 GGUF) | bf16/ | Reference, lossless (split into 11 shards) |
| Q6_K | Q6_K/ | Near-lossless, high quality |
| Q5_K_M | Q5_K_M/ | Recommended balanced quality/size |
./build/bin/llama-gguf-split --merge bf16/Confucius4-00001-of-00011.gguf Confucius4-bf16.gguf1./build/bin/llama-server \
2 -m Q5_K_M/Confucius4-Q5_K_M.gguf \
3 --mmproj bf16/mmproj-Confucius4.gguf \
4 --port 8080 \
5 -c 20000 \
6 -ngl 99http://localhost:8080/v1/chat/completions.1./build/bin/llama-cli \
2 -m Q5_K_M/Confucius4-Q5_K_M.gguf \
3 -p "<|im_start|>user\nWhat is the derivative of x^2 * sin(x)?<|im_end|>\n<|im_start|>assistant\n" \
4 -n 2048run_gguf_server.sh script for quick startup:1# CPU only
2sh run_gguf_server.sh Q5_K_M --cpu
3
4# GPU with default settings
5sh run_gguf_server.sh Q5_K_M
6
7# Custom port and context length
8sh run_gguf_server.sh Q5_K_M -p 8080 -c 16384You are a helpful assistant.<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
{{QUERY}}<|im_end|>
<|im_start|>assistant
<think>
(chain-of-thought reasoning)
</think>
(final answer)
<|im_end|>Generate Parameters: We suggest using Temperature=0.6, TopP=0.95, TopK=20 to sample.
| Model | Math-Figure |
|---|---|
| Confucius4 (original) | 0.907 |
| Confucius4-Q5_K_M (GGUF) | 0.895 |
Note: Only the Q5_K_M quantization has been evaluated on Math-Figure. Results for other quantization levels (BF16, Q6_K) and other benchmarks may vary.
convert_hf_to_gguf.py with --outtype f16 --no-mtp--mmproj and stored in the bf16/ folder. When launching VLM services (e.g., llama-server with image support), the mmproj file must be loaded from bf16/mmproj-Confucius4.ggufllama-quantize@misc{confucius4,
title = {Confucius4: Advancing Multimodal Reasoning with Iterative SFT-RL Optimization and Compact Chain-of-Thought},
author = {NetEase Youdao AI Team},
year = {2026},
publisher = {Hugging Face},
howpublished = {\url{https://huggingface.co/netease-youdao/Confucius4}}
}