Downloads · 30 days
971
23% of all-time downloads
xCloudinfo/xGemable-12B-coder-v2-fullft-GGUF
xGemable-12B-coder-v2-fullft-GGUF is a text generation model from xCloudinfo. Use it when you need the model to write or continue text. It is set up for gguf. The card lists the license as apache-2.0.
<p align="center" <img src="xgemable.jpg" alt="xGemable-12B" width="520"/ </p
Downloads · 30 days
971
23% of all-time downloads
All-time downloads
4.2K
Public
Repo size
76.8 GB
Likes
1
Public
Click a slice to open those files.
.gguf76.8 GB · 100%
From the Hugging Face model README
云碩科技(xCloudinfo)以全參數微調(full fine-tune)+ 全長零截斷配方,在 google/gemma-4-12B-it
底座上蒸餾出的寫程式模型。這是一顆會寫「真的能編譯、真的過測試」程式碼的12B模型。
所有數字皆為全量164題HumanEval、實際編譯執行判分,非引用宣稱。你可以自己複現。
| 模型 | 參數 | HumanEval pass@1 |
|---|---|---|
| xGemable-12B(本GGUF,Q4_K_M實測) | 12B | 91.5% |
| xGemable-12B(全精度bf16) | 12B | 93.9% |
| gemma-4-12B-it(未訓練底座) | 12B | 90.9% |
| Qwable-9B(同級對手) | 9B | 82.9% |
| 一般7–9B開源寫程式模型 | 7–9B | 70–82% |
這顆GGUF(Q4)實測91.5%,仍勝過未訓練底座、大勝同級對手8.6分。 全精度為93.9%; Q4量化損失約2.4分(要更接近全精度可用Q6/Q8)。而且是一顆你自己機器就跑得動的12B。
另在本機ollama(Apple M2 Pro, Q4_K_M)實測一組跨語言基礎題(Python / C# / Rust):27/27 = 100%, 同樣是實際編譯執行判分。基礎函式題三語言零失誤,難題鑑別度仍以上表HumanEval為準。
多數團隊在強底座上做微調會掉分——我們自己前三次(LoRA低秩 + 截斷)也從90.9% 掉到82.9%, 一度以為「疊加微調必然傷底座」。這顆推翻了這個結論:
結果:不但沒掉分,還比未訓練底座更強。真兇是「低秩 + 截斷」,不是蒸餾本身。
-c 32K以內,1M需大記憶體機器。)底座gemma-4帶「思考通道」。任何推理端都要關思考,否則:
thinking 欄位、content 留空,而UI預設只顯示 content。這不是模型壞了,是沒關思考。各引擎關思考的對應參數(擇一):
| 引擎 / 介面 | 怎麼關思考 |
|---|---|
| llama.cpp | 啟動加 --chat-template-kwargs '{"enable_thinking":false}' |
ollama /api/chat | 請求加 "think": false |
ollama / OpenAI相容 /v1 | 請求加 "reasoning_effort": "none" |
| Open WebUI | 對話的Controls/進階參數把 Reasoning/Thinking關掉(等同送 think:false) |
| vLLM | 同llama.cpp:--chat-template-kwargs '{"enable_thinking":false}' |
# 拉模型
ollama pull hf.co/xCloudinfo/xGemable-12B-coder-v2-fullft-GGUF:Q4_K_M
# 用 chat API(務必帶 think:false,否則 content 會是空的)
curl http://localhost:11434/api/chat -d '{
"model": "hf.co/xCloudinfo/xGemable-12B-coder-v2-fullft-GGUF:Q4_K_M",
"messages": [{"role":"user","content":"寫一個 Python 函式 add(a,b)"}],
"think": false,
"stream": false
}'
用 Open WebUI:拉好模型後,在對話的Controls/進階參數把 Reasoning/Thinking關掉即可正常輸出。
# 下載(Q4_K_M 約 7.4GB,16GB RAM 可跑)
hf download xCloudinfo/xGemable-12B-coder-v2-fullft-GGUF \
xGemable-12B-coder-v2-fullft-Q4_K_M.gguf --local-dir .
# 啟動 server(--chat-template-kwargs 關思考 務必加)
llama-server -m xGemable-12B-coder-v2-fullft-Q4_K_M.gguf -c 8192 --jinja \
--chat-template-kwargs '{"enable_thinking":false}' \
--temp 0.2 --top-p 0.95 --top-k 64
啟動後即為OpenAI相容端點(http://localhost:8080/v1),可直接接編輯器外掛或任何OpenAI SDK。
| 檔案 | 位元 | 大小 | 建議 |
|---|---|---|---|
...-Q4_K_M.gguf | 4-bit | ~7.4 GB | 一般使用,16GB RAM可跑 |
...-Q5_K_M.gguf | 5-bit | ~8.5 GB | 品質與體積平衡 |
...-Q6_K.gguf | 6-bit | ~9.8 GB | 高品質 |
...-Q8_0.gguf | 8-bit | ~12.7 GB | 接近無損 |
建議解碼參數:temperature 0.2、top_p 0.95、top_k 64、repeat_penalty 1.0。
Apache-2.0。 底座 google/gemma-4-12B-it 為Apache-2.0,本模型為其微調衍生版本,
沿用相同授權,可自由商用、修改、再散布。
云碩科技(xCloudinfo Corp. Limited)專注於地端私有化人工智慧解決方案。xVITA是云碩自研模型的品牌名稱。
據點:台北、台中、新竹。
其他模型請見 https://hf.co/xCloudinfo。
A coding model distilled by xCloudinfo (云碩科技) on the google/gemma-4-12B-it
base with a full fine-tune + full-length, zero-truncation recipe. This is a 12B model that writes code that really compiles and really passes tests.
All numbers come from the full 164-problem HumanEval, scored by actual compilation and execution; they are not cited claims. You can reproduce them yourself.
| Model | Parameters | HumanEval pass@1 |
|---|---|---|
| xGemable-12B (this GGUF, Q4_K_M measured) | 12B | 91.5% |
| xGemable-12B (full-precision bf16) | 12B | 93.9% |
| gemma-4-12B-it (untrained base) | 12B | 90.9% |
| Qwable-9B (same-class rival) | 9B | 82.9% |
| Typical 7–9B open-source coding models | 7–9B | 70–82% |
This GGUF (Q4) measured 91.5%, still beating the untrained base and beating the same-class rival by a wide margin of 8.6 points. Full precision is 93.9%; Q4 quantization costs about 2.4 points (use Q6/Q8 to get closer to full precision). And it is a 12B that runs on your own machine.
In addition, a set of cross-language basic problems (Python / C# / Rust) was measured on a local ollama (Apple M2 Pro, Q4_K_M): 27/27 = 100%, also scored by actual compilation and execution. There were zero failures on basic function problems across the three languages; for discriminating on hard problems, the HumanEval table above remains the reference.
Most teams lose points when fine-tuning on a strong base. Our own first three attempts (low-rank LoRA + truncation) also dropped from 90.9% to 82.9%, and for a while we concluded that "stacked fine-tuning inevitably hurts the base". This model overturns that conclusion:
The result: not only did it not lose points, it is stronger than the untrained base. The real culprit was "low rank + truncation", not distillation itself.
-c within 32K is recommended; 1M requires a machine with a large amount of memory.)The gemma-4 base has a "thinking channel". Turn thinking off on every inference engine; otherwise:
thinking field and leaves content empty, while the UI shows only content by default. The model is not broken; thinking was not turned off.The parameter that turns thinking off in each engine (pick one):
| Engine / interface | How to turn thinking off |
|---|---|
| llama.cpp | Add --chat-template-kwargs '{"enable_thinking":false}' at startup |
ollama /api/chat | Add "think": false to the request |
ollama / OpenAI-compatible /v1 | Add "reasoning_effort": "none" to the request |
| Open WebUI | In the chat's Controls / advanced parameters, turn Reasoning / Thinking off (equivalent to sending think:false) |
| vLLM | Same as llama.cpp: --chat-template-kwargs '{"enable_thinking":false}' |
# 拉模型
ollama pull hf.co/xCloudinfo/xGemable-12B-coder-v2-fullft-GGUF:Q4_K_M
# 用 chat API(務必帶 think:false,否則 content 會是空的)
curl http://localhost:11434/api/chat -d '{
"model": "hf.co/xCloudinfo/xGemable-12B-coder-v2-fullft-GGUF:Q4_K_M",
"messages": [{"role":"user","content":"寫一個 Python 函式 add(a,b)"}],
"think": false,
"stream": false
}'
With Open WebUI: after pulling the model, turn Reasoning / Thinking off in the chat's Controls / advanced parameters and it will output normally.
# 下載(Q4_K_M 約 7.4GB,16GB RAM 可跑)
hf download xCloudinfo/xGemable-12B-coder-v2-fullft-GGUF \
xGemable-12B-coder-v2-fullft-Q4_K_M.gguf --local-dir .
# 啟動 server(--chat-template-kwargs 關思考 務必加)
llama-server -m xGemable-12B-coder-v2-fullft-Q4_K_M.gguf -c 8192 --jinja \
--chat-template-kwargs '{"enable_thinking":false}' \
--temp 0.2 --top-p 0.95 --top-k 64
Once started, it is an OpenAI-compatible endpoint (http://localhost:8080/v1) that you can connect directly to an editor plugin or any OpenAI SDK.
| File | Bits | Size | Recommendation |
|---|---|---|---|
...-Q4_K_M.gguf | 4-bit | ~7.4 GB | General use, runs with 16GB RAM |
...-Q5_K_M.gguf | 5-bit | ~8.5 GB | Balance of quality and size |
...-Q6_K.gguf | 6-bit | ~9.8 GB | High quality |
...-Q8_0.gguf | 8-bit | ~12.7 GB | Near-lossless |
Recommended decoding parameters: temperature 0.2, top_p 0.95, top_k 64, repeat_penalty 1.0.
Apache-2.0. The base google/gemma-4-12B-it is Apache-2.0; this model is a fine-tuned derivative of it
and uses the same license, which permits free commercial use, modification, and redistribution.
xCloudinfo Corp. Limited (云碩科技) builds on-premises, private AI solutions. xVITA is xCloudinfo's in-house model brand.
Offices: Taipei, Taichung, Hsinchu.
More models: https://hf.co/xCloudinfo