返回资讯中心
外部精选
软件工程
#开发者实时流

Unsloth 发布 Qwen4-35B-A3B-GGUF 量化模型

来源标题:New Qwen4-35B-A3B model knew it didn't know the book. Then it made up three more

Unsloth 在 Hugging Face 上发布了 Qwen4-35B-A3B 的 GGUF 量化版本,采用 apache-2.0 许可证,支持图文输入与对话场景。该模型卡提供了 llama.cpp 的本地部署方式,包括一条命令启动 OpenAI 兼容服务器或直接在终端推理。

Hacker News 最新Halbstein2026/12/4 · 今天30 分钟阅读

以下正文同步自 Hacker News 最新,版权归原站所有,已转换为易读排版。

Like 890

Follow

Unsloth 41.9k

Image-Text-to-Text

GGUF

unsloth

qwen

qwen4_moe

conversational

License: apache-2.0

Model card Files Files and versions xet

Community 16

More actions

Deploy

Copy to bucket

Use this model Instructions to use unsloth/Qwen4-35B-A3B-GGUF 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 unsloth/Qwen4-35B-A3B-GGUF with llama.cpp:

curl -LsSf https://llama.app/install.sh | sh

Start a local OpenAI-compatible server with a web UI:

llama serve -hf unsloth/Qwen4-35B-A3B-GGUF:UD-Q4_K_M

Run inference directly in the terminal:

llama cli -hf unsloth/Qwen4-35B-A3B-GGUF:UD-Q4_K_M

Install from WinGet (Windows)

winget install llama.cpp

Start a local OpenAI-compatible server with a web UI:

llama serve -hf unsloth/Qwen4-35B-A3B-GGUF:UD-Q4_K_M

Run inference directly in the terminal:

llama cli -hf unsloth/Qwen4-35B-A3B-GGUF:UD-Q4_K_M

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 unsloth/Qwen4-35B-A3B-GGUF:UD-Q4_K_M

Run inference directly in the terminal:

./build/bin/llama cli -hf unsloth/Qwen4-35B-A3B-GGUF:UD-Q4_K_M

Use Docker

docker model run hf.co/unsloth/Qwen4-35B-A3B-GGUF:UD-Q4_K_M

Llama new

LM Studio

Jan

vLLM How to use unsloth/Qwen4-35B-A3B-GGUF with vLLM:

Install vLLM from pip:

pip install vllm

Start the vLLM server:

vllm serve "unsloth/Qwen4-35B-A3B-GGUF"

Call the server using curl (OpenAI-compatible API):

curl -X POST "http://localhost:8000/v1/chat/completions"
-H "Content-Type: application/json"
--data '{ "model": "unsloth/Qwen4-35B-A3B-GGUF", "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/unsloth/Qwen4-35B-A3B-GGUF:UD-Q4_K_M

Ollama How to use unsloth/Qwen4-35B-A3B-GGUF with Ollama:

ollama run hf.co/unsloth/Qwen4-35B-A3B-GGUF:UD-Q4_K_M

Unsloth Desktop

Pi How to use unsloth/Qwen4-35B-A3B-GGUF with Pi:

Install llama.cpp:

brew install llama.cpp

Start a local OpenAI-compatible server:

llama serve -hf unsloth/Qwen4-35B-A3B-GGUF:UD-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:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "unsloth/Qwen4-35B-A3B-GGUF:UD-Q4_K_M" } ] } } }

Run Pi

Start Pi in your project directory:

pi

Docker Model Runner How to use unsloth/Qwen4-35B-A3B-GGUF with Docker Model Runner:

docker model run hf.co/unsloth/Qwen4-35B-A3B-GGUF:UD-Q4_K_M

Lemonade How to use unsloth/Qwen4-35B-A3B-GGUF with Lemonade:

Download Lemonade from https://lemonade-server.ai/

lemonade pull unsloth/Qwen4-35B-A3B-GGUF:UD-Q4_K_M

Run and chat with the model

lemonade run user.Qwen4-35B-A3B-GGUF-UD-Q4_K_M

List all available models

lemonade list

Hermes Agent How to use unsloth/Qwen4-35B-A3B-GGUF with Hermes Agent:

Install llama.cpp:

brew install llama.cpp

Start a local OpenAI-compatible server:

llama serve -hf unsloth/Qwen4-35B-A3B-GGUF:UD-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:9931/v1 hermes config set model.default unsloth/Qwen4-35B-A3B-GGUF:UD-Q4_K_M

Run Hermes

hermes

Atomic Chat

OpenClaw How to use unsloth/Qwen4-35B-A3B-GGUF with OpenClaw:

Install llama.cpp:

brew install llama.cpp

Start a local OpenAI-compatible server:

llama serve -hf unsloth/Qwen4-35B-A3B-GGUF:UD-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:9931/v1
--custom-model-id "unsloth/Qwen4-35B-A3B-GGUF:UD-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"

Thanks for the quick GGUF release! I ran my usual private test set against UD-Q4_K_XL and wanted to share the results, plus one question.</p>\n<p><strong>Setup</strong></p>\n<ul>\n<li>MacBook Pro M4 Max, 128 GB, Metal</li>\n<li>llama.cpp master, commit 72a780e</li>\n<li>Both files of UD-Q4_K_XL (bundled IQ4_NL engram table), SHA-256 verified</li>\n<li><code>llama-server -ngl 999 -fa on --jinja -c 65536 --temp 0.6 --top-p 0.95 --top-k 20 --min-p 0.0</code></li>\n<li><code>reasoning_effort: low</code>, 15 tasks x 3 runs, prompts in German (except one English task)</li>\n</ul>\n<p><strong>What works well</strong></p>\n<ul>\n<li>~72 tok/s decode, ~5 s median per task</li>\n<li>Logic puzzles, compound interest, Roman numerals in Python, format-constrained lists, 43k-token needle test: all 3/3</li>\n<li>Trap question (summarize a non-existent Hermann Hesse novel): 3/3 correctly says it does not know the book</li>\n</ul>\n<p><strong>Problems</strong></p>\n<ol>\n<li><strong>English words inside German sentences</strong>, in 2 of 3 runs of the same question:<ul>\n<li>"…des Deutschen Buchpreises 2025 (die <em>traditionally</em> im Oktober … bekannt gegeben wird)"</li>\n<li>"<em>Der previous year</em> (2024) ging an Saša Stanišić …"</li>\n</ul>\n</li>\n<li><strong>Misspellings and non-words:</strong> "Hesches" (Hesse's), "Narcus und Goldmund", "Wenn Sie magen", "wesenser Fragen", "Die-shortlist"</li>\n<li><strong>Invented facts:</strong><ul>\n<li>Asked about § 630g BGB (German Civil Code, patient's right to inspect their medical records), it describes a different, invented provision in 3/3 runs ("Duldungspflicht", "Weisungsrecht des Patienten"), with made-up paragraphs</li>\n<li>Lists non-existent Hesse works ("Benecke", "Gerbermühl") right after correctly refusing the fake title</li>\n<li>States the 2024 German Book Prize went to "Herkunft" (it was 2019) in 3/3 runs</li>\n</ul>\n</li>\n<li><strong>Code:</strong> 1/3 on a small date function; twice its own test asserts were wrong</li>\n</ol>\n<p>For comparison, Qwen3.8-Flash-Next UD-IQ3_XXS on the same machine scores 3/3 on the § 630g question and shows no language mixing.</p>\n<p><strong>Question:</strong> Have you seen language mixing or degraded factual recall at Q4 with the IQ4_NL engram table? Would you expect UD-Q6_K_XL, or swapping in the Q8_0 table via <code>--ple</code>, to fix this? I am happy to rerun with a suggested quant.</p>\n<p>Side note: llama-server logs the MTP tensors (<code>blk.40.nextn.*</code>) as "unused". Which flag enables the built-in MTP?</p>\n","updatedAt":"2026-12-04T07:25:58.578Z","author":{"_id":"687518659a81c7dcbc1ceaad","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/no-auth/L4A_GP0k87U15r1nXIxBo.png","fullname":"Tom B","name":"Halbstein007","type":"user","isPro":false,"isHf":false,"isHfAdmin":false,"isMod":false,"isUserFollowing":false}},"numEdits":0,"identifiedLanguage":{"language":"en","probability":0.7381710410118103},"editors":["Halbstein007"],"editorAvatarUrls":["https://cdn-avatars.huggingface.co/v1/production/uploads/no-auth/L4A_GP0k87U15r1nXIxBo.png"],"reactions":[{"reaction":"👍","users":["TriAxp","Borcherding","wafureshugen","cr404","Halbstein007"],"count":5}],"isReport":false}},{"id":"6b126c74398d55c914655f2a","author":{"_id":"645ce413a19f3e64bbeece31","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/645ce413a19f3e64bbeece31/UjVzo2J3imLBM9GCmN9q_.png","fullname":"Erik Scholz","name":"Green-Sky","type":"user","isPro":false,"isHf":false,"isHfAdmin":false,"isMod":false,"followerCount":45,"isUserFollowing":false,"isOwner":false,"isOrgMember":false},"createdAt":"2026-12-04T07:32:04.000Z","type":"comment","data":{"edited":false,"hidden":false,"latest":{"raw":"Kind of sad, but probably means low german data in the mixture of either the unsloth or qwen4 data.\n\n--spec-type draft-mtp --spec-draft-n-max 1 -ctkd q8_0 -ctvd q8_0","html":"<p>Kind of sad, but probably means low german data in the mixture of either the unsloth or qwen4 data.</p>\n<p><code>--spec-type draft-mtp --spec-draft-n-max 1 -ctkd q8_0 -ctvd q8_0</code></p>\n","updatedAt":"2026-12-04T07:32:04.773Z","author":{"id":"645ce413a19f3e64bbeece31","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/645ce413a19f3e64bbeece31/UjVzo2J3imLBM9GCmN9q_.png","fullname":"Erik Scholz","name":"Green-Sky","type":"user","isPro":false,"isHf":false,"isHfAdmin":false,"isMod":false,"followerCount":45,"isUserFollowing":false}},"numEdits":0,"identifiedLanguage":{"language":"en","probability":0.695182204246521},"editors":["Green-Sky"],"editorAvatarUrls":["https://cdn-avatars.huggingface.co/v1/production/uploads/645ce413a19f3e64bbeece31/UjVzo2J3imLBM9GCmN9q.png"],"reactions":[{"reaction":"👍","users":["Halbstein007"],"count":1}],"isReport":false}},{"id":"6b127ccf8a857430d633d9fa","author":{"_id":"62ecdc18b72a69615d6bd857","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/62ecdc18b72a69615d6bd857/qAHhWJbSsmoezFHiErBUT.png","fullname":"Daniel (Unsloth)","name":"danielhanchen","type":"user","isPro":true,"isHf":false,"isHfAdmin":false,"isMod":false,"followerCount":1837,"isUserFollowing":false,"primaryOrg":{"avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/62ecdc18b72a69615d6bd857/E4lkPz1TZNLzIFr_dR273.png","fullname":"Unsloth","name":"unsloth","type":"org","isHf":false,"details":"Run and train models via Unsloth Desktop 🦥","plan":"team"},"isOwner":false,"isOrgMember":true},"createdAt":"2026-12-04T08:41:51.000Z","type":"comment","data":{"edited":false,"hidden":false,"latest":{"raw":"Hey @Halbstein007 thanks a lot for the super detailed tests! I re-ran German prompts similar to yours on the full BF16 model, Q8_0, UD-Q6_K_XL and UD-Q4_K_XL (with both the IQ4_NL and Q8_0 engram tables), 3 seeds each at low and high reasoning effort, using your exact sampling settings.\n\nUnfortunately it's mostly the model itself and not the quant, since BF16 does the exact same things:\n\n- § 630g BGB: BF16 got it wrong in all 6 runs. For example it says "§ 630g BGB: Dokumentation der Behandlung ... regelt die Dokumentationspflicht des Behandelnden" (that's actually § 630f), and once it even invented "§ 630g BGB: Aufnahme zum Behandlungszweck".\n- Buchpreis 2024: no version, BF16 included, got Martina Hefter. BF16 once said "Deutscher Buchpreis 2024: Saša Stanišić für den Roman Herkunft", exactly like you saw, and other runs said Jenny Erpenbeck "Kairos". The good part is it often admits it doesn't know ("ich kann den Gewinner von 2024 nicht zuverlässig nennen").\n- Typos: BF16 also wrote "Narcissus und Goldmund" and "Einrichtungon".\n- Code: BF16's own test asserts were sometimes wrong too, and one run indexed a generator like a list ('generator' object is not subscriptable).\n\nSo going to Q6 or swapping the engram table sadly won't fix the facts.\n\nThe English mixing I could only really reproduce once, on UD-Q4_K_XL: "Der Steppenwolf (1927): ... Ein struggle between human and wolf nature". So there might be a small quant effect on rarer German tokens. If you want more headroom, you can swap in the Q8_0 engram table, which reduces KLD by around 6% for UD-Q4_K_XL:\n\n```\nllama-s

正文由 探How 从来源站点 RSS 同步,内容未经改写;遇到排版缺失或需要图片、视频时请以原文为准。

打开原文
去社区讨论 →