Mindket

Qwen3-4B-Instruct-2507

新上架第 1 版 · 更新于

概览

用 4B 模型回答对话提示,不显示思考过程,可读取最多 256K token 的上下文。适合想要小型开源助手来做推理、编程和工具调用的开发者。

Qwen3-4B-Instruct-2507 是一款工具包,属于开发类,由 Mindket 上架。可免费获取。当前为第 1 版,最近更新于 。在本页下载,是一个装着它全部文件的 zip 压缩包。这些文件不会自己运行。

速览

你需要
  • 带 pip 的 Python
  • 较新的 transformers 版本,因为 4.51.0 以下的版本会报 qwen3 的 KeyError
  • BF16 权重约 8 GB 磁盘空间,4-bit 约 2 GB(估算值)
用在
  • 你自己的电脑,装有 Python 和 transformers 库
  • SGLang 或 vLLM,它们可以在兼容 OpenAI 的 API 后面提供服务
  • Qwen Chat,模型卡链接的托管聊天服务
先运行
pip install -U huggingface_hub
hf download Qwen/Qwen3-4B-Instruct-2507

关于

它是什么

Qwen3-4B-Instruct-2507 是 Qwen3-4B 跳过思考设置的 2507 更新版,由 Qwen 团队制作。它有 4.0B 参数,直接作答,不写 think 块。模型卡列出了它在指令遵循、推理、数学、科学、编程和工具使用上的提升。

适合谁

想在普通硬件上用小型开源模型做对话、推理和长文档处理的开发者和学生。

IndustryWho uses itHow they use itExample
软件开发者给应用加一个小型助手在产品里回答用户的问题
教育学生练习数学和逻辑类提示词解一道推理谜题
写作内容团队用开源模型起草和编辑文字写一篇短文章的草稿

如果你想要一个能展示推理步骤的模型,可以跳过它,因为它只支持非思考模式。

用在哪里

  • 你自己的电脑,装有 Python 和 transformers 库
  • SGLang 或 vLLM,它们可以在兼容 OpenAI 的 API 后面提供服务
  • Qwen Chat,模型卡链接的托管聊天服务
Use caseWhoWhat they get back
对话回答任何人不带 think 块的直接回复
长文档分析师对最多 262,144 个 token 的理解
工具使用开发者函数调用风格的回答

如何设置

  • 带 pip 的 Python
  • 较新的 transformers 版本,因为 4.51.0 以下的版本会报 qwen3 的 KeyError
  • BF16 权重约 8 GB 磁盘空间,4-bit 约 2 GB(估算值)
  1. 安装 Hugging Face hub 工具。
  2. 下载模型文件。
  3. 运行模型卡里的 Python 代码,它会加载分词器和模型并打印回复。
pip install -U huggingface_hub
hf download Qwen/Qwen3-4B-Instruct-2507

如何使用

通过聊天模板发送一条用户消息,生成,再解码新的 token。模型卡里的代码请模型简短介绍大语言模型。

from transformers import AutoModelForCausalLM, AutoTokenizer

model_name = "Qwen/Qwen3-4B-Instruct-2507"

# load the tokenizer and the model
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForCausalLM.from_pretrained(
    model_name,
    torch_dtype="auto",
    device_map="auto"
)

# prepare the model input
prompt = "Give me a short introduction to large language model."
messages = [
    {"role": "user", "content": prompt}
]
text = tokenizer.apply_chat_template(
    messages,
    tokenize=False,
    add_generation_prompt=True,
)
model_inputs = tokenizer([text], return_tensors="pt").to(model.device)

# conduct text completion
generated_ids = model.generate(
    **model_inputs,
    max_new_tokens=16384
)
output_ids = generated_ids[0][len(model_inputs.input_ids[0]):].tolist()

content = tokenizer.decode(output_ids, skip_special_tokens=True)

print("content:", content)

示例

你原样运行这段代码。模型写出对大语言模型的简短介绍,脚本在 content 标签后打印出来。

新手与专家

如果你是新手,先运行这段代码,只改 prompt。因为这个模型从不写 think 块,所以你不需要设置思考开关。

如果你是专家,模型卡列出 36 层、32 个查询头和 8 个键值头,原生上下文为 262,144 个 token。部署时它提到 sglang 0.4.6.post1 或更新版本,以及 vllm 0.8.5 或更新版本。

  1. 你写一条用户消息
  2. 聊天模板格式化它
  3. 模型直接作答,不带 think 块
  4. 你解码新的 token

注意事项

模型卡的表格在 AIME25 上把这个模型和较早的 Qwen3-4B 非思考模式以及另外两个模型做了对比。

模型卡中的 AIME25 分数
Qwen3-4B-Instruct-250747.4 分
GPT-4.1-nano22.7 分
Qwen3-30B-A3B Non-Thinking21.6 分
Qwen3-4B Non-Thinking19.1 分
  • License: Apache 2.0,与 Hugging Face 记录一致。
  • Cost to run: 没有提到 API 密钥或账号。你需要能放下权重的硬件。
  • Data it reaches: 下载会访问 Hugging Face。代码没有说明会访问其他文件或网络。
  • Not for: 逐步推理的过程记录。它直接作答,从不写 think 块,所以想要这些的话请换别的模型。

README 和文件

README

Qwen3-4B-Instruct-2507

用 4B 模型回答对话提示,不显示思考过程,可读取最多 256K token 的上下文。适合想要小型开源助手来做推理、编程和工具调用的开发者。

由 Qwen 在 Hugging Face 上制作。这些说明是 Mindket 根据它的模型页面和模型卡写的,模型自己的文件和许可证在 Hugging Face 上。

简介

它是什么:Qwen3-4B-Instruct-2507 是 Qwen3-4B 跳过思考设置的 2507 更新版,由 Qwen 团队制作。它有 4.0B 参数,直接作答,不写 think 块。模型卡列出了它在指令遵循、推理、数学、科学、编程和工具使用上的提升。

适合谁:想在普通硬件上用小型开源模型做对话、推理和长文档处理的开发者和学生。

Industry | Who uses it | How they use it | Example
软件 | 开发者 | 给应用加一个小型助手 | 在产品里回答用户的问题
教育 | 学生 | 练习数学和逻辑类提示词 | 解一道推理谜题
写作 | 内容团队 | 用开源模型起草和编辑文字 | 写一篇短文章的草稿

如果你想要一个能展示推理步骤的模型,可以跳过它,因为它只支持非思考模式。

用在哪里:

  • 你自己的电脑,装有 Python 和 transformers 库
  • SGLang 或 vLLM,它们可以在兼容 OpenAI 的 API 后面提供服务
  • Qwen Chat,模型卡链接的托管聊天服务
Use case | Who | What they get back
对话回答 | 任何人 | 不带 think 块的直接回复
长文档 | 分析师 | 对最多 262,144 个 token 的理解
工具使用 | 开发者 | 函数调用风格的回答

如何设置:

  • 带 pip 的 Python
  • 较新的 transformers 版本,因为 4.51.0 以下的版本会报 qwen3 的 KeyError
  • BF16 权重约 8 GB 磁盘空间,4-bit 约 2 GB(估算值)
  1. 安装 Hugging Face hub 工具。
  2. 下载模型文件。
  3. 运行模型卡里的 Python 代码,它会加载分词器和模型并打印回复。
pip install -U huggingface_hub
hf download Qwen/Qwen3-4B-Instruct-2507

如何使用:通过聊天模板发送一条用户消息,生成,再解码新的 token。模型卡里的代码请模型简短介绍大语言模型。

from transformers import AutoModelForCausalLM, AutoTokenizer

model_name = "Qwen/Qwen3-4B-Instruct-2507"

# load the tokenizer and the model
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForCausalLM.from_pretrained(
    model_name,
    torch_dtype="auto",
    device_map="auto"
)

# prepare the model input
prompt = "Give me a short introduction to large language model."
messages = [
    {"role": "user", "content": prompt}
]
text = tokenizer.apply_chat_template(
    messages,
    tokenize=False,
    add_generation_prompt=True,
)
model_inputs = tokenizer([text], return_tensors="pt").to(model.device)

# conduct text completion
generated_ids = model.generate(
    **model_inputs,
    max_new_tokens=16384
)
output_ids = generated_ids[0][len(model_inputs.input_ids[0]):].tolist()

content = tokenizer.decode(output_ids, skip_special_tokens=True)

print("content:", content)

示例:你原样运行这段代码。模型写出对大语言模型的简短介绍,脚本在 content 标签后打印出来。

新手与专家:如果你是新手,先运行这段代码,只改 prompt。因为这个模型从不写 think 块,所以你不需要设置思考开关。

如果你是专家,模型卡列出 36 层、32 个查询头和 8 个键值头,原生上下文为 262,144 个 token。部署时它提到 sglang 0.4.6.post1 或更新版本,以及 vllm 0.8.5 或更新版本。

你写一条用户消息
聊天模板格式化它
模型直接作答,不带 think 块
你解码新的 token

注意事项:模型卡的表格在 AIME25 上把这个模型和较早的 Qwen3-4B 非思考模式以及另外两个模型做了对比。

Title: 模型卡中的 AIME25 分数
Qwen3-4B-Instruct-2507: 47.4 分
GPT-4.1-nano: 22.7 分
Qwen3-30B-A3B Non-Thinking: 21.6 分
Qwen3-4B Non-Thinking: 19.1 分
  • License: Apache 2.0,与 Hugging Face 记录一致。
  • Cost to run: 没有提到 API 密钥或账号。你需要能放下权重的硬件。
  • Data it reaches: 下载会访问 Hugging Face。代码没有说明会访问其他文件或网络。
  • Not for: 逐步推理的过程记录。它直接作答,从不写 think 块,所以想要这些的话请换别的模型。

Hugging Face 上的数据(2026年11月13日)

  • 任务:text generation
  • 框架:transformers
  • 参数量:4B
  • Weights: about 8 GB in BF16; about 2 GB at 4-bit (estimate)
  • Formats: Safetensors
  • 最近 30 天下载:2,592,168
  • 点赞:1,053
  • 许可证:apache-2.0
  • Quantized versions: 379
  • Fine-tunes: 2,755
  • 标签:transformers, safetensors, qwen3, text-generation, conversational

链接

  • 模型:https://huggingface.co/Qwen/Qwen3-4B-Instruct-2507
  • 文件:https://huggingface.co/Qwen/Qwen3-4B-Instruct-2507/tree/main

获取模型

用 Hugging Face 的命令行下载它的文件:

pip install -U huggingface_hub
hf download Qwen/Qwen3-4B-Instruct-2507

然后按它的模型卡使用它。这个工具包里没有会自己运行的东西。

文件
README.md  5 KB

1 个文件,共 5 KB,以 zip 压缩包下载。

更新内容

  • 第 1 版 · 2026-11-12

同类产品对比

同一分类里与本产品共有标签最多的已上架 Hugging Face 模型。

产品最近 30 天下载点赞参数量许可证最近更新
Qwen3-4B-Instruct-2507 本页2,592,1681,0534Bapache-2.0
Qwen3-0.6B共有 qwen3 · text-generation · conversational19,718,5991,894752Mapache-2.0
Qwen3-14B共有 qwen3 · text-generation · conversational12,965,37654014.8Bapache-2.0
Qwen3-8B共有 qwen3 · text-generation · conversational6,269,1412,1848.2Bapache-2.0
Qwen3-1.7B共有 qwen3 · text-generation · conversational3,203,4906182Bapache-2.0
Qwen3-4B共有 qwen3 · text-generation · conversational3,186,5317984Bapache-2.0
数据为 Mindket 在 2026-11-12 至 2026-11-13 期间读取的数值。

评价

还没有评分

写评价

还没有评价。

大家怎么说

Hacker News、Bluesky、X、Reddit、Facebook 和 YouTube 上提到这个项目的帖子和评论,来自每周一次的搜索和 Trendshift。它们不是 Mindket 写的,也未经核实,点开即可在原帖处阅读。

ag8Launch HN: RunRL (YC X25) – Reinforcement learning as a serviceHey HN, we’re Andrew and Derik at RunRL (https://runrl.com/). We've built a platform to improve models and agents with reinforcement learning. If you can define a metric, we'll make your model or agent better, without you having to think about managing GPU clusters. Here's a demo video:…71 分 · 22 条回复Joe MullerUpgrading my clipboard with Qwen 3 📋🔥 I'm running Qwen3-ASR-1.7B and Qwen3-4B-Instruct-2507 on a single RTX 5090 with vLLM. STT and LLM calls run locally Voice -> LLM -> Updated clipboard Clibbits is easily my favorite project to date youtu.be/YQdRbs9EHTg5 赞bythreadsLaunch HN: Magnitude (YC S25) – Self-optimizing inference engine for agentsOk so i took the time to benchmark this on the following on my m5 max 128gb: Qwen3-4B-Instruct-2507-4bit Qwen3.5-35B-A3B-4bit Qwen3.5-9B-MLX-4bit Qwen3-Reranker-0.6B-4bit Qwen3-Coder-30B-A3B-Instruct-4bit qwen2.5:0.5b and the results are what i kinda expected to begin with, this adds next to…contingenciesHow to setup a local coding agent on macOSpi + Qwen3-4B-Instruct-2507 / Qwen3.6-35B-A3B-4bit / Qwen3.6-40B-Claude-4.6-Opus-Deckard-Heretic-Uncensored-Thinking-4.5bit-msq depending how seat-of-pants I want to fly on memory.mingodadHow to run Qwen 3.5 locallyI'm still a bit confused because it says "All uploads use Unsloth Dynamic 2.0" but then when looking at the available options like for 4 bits there is: IQ4_XS 5.17 GB, Q4_K_S 5.39 GB, IQ4_NL 5.37 GB, Q4_0 5.38 GB, Q4_1 5.84 GB, Q4_K_M 5.68 GB, UD-Q4_K_XL 5.97 GB And no explanation for what they…nistenQwen3-4B-Thinking-2507If you want to have an opinion on it, just install lmstudio and run the q8_0 version of it i.e. here https://huggingface.co/bartowski/Qwen_Qwen3-4B-Instruct-2507.... you can even run it on a 4gb raspberry pi Qwen_Qwen3-4B-Instruct-2507-Q4_K_L.gguf https://lmstudio.ai/ Keep in mind if you run it at…

搜索日期

Mindket 的更多商品

查看 Mindket 的全部商品

Huashu Design

alchaincyf · 技能

把你在 AI 智能体里写的一句话需求,变成一份完成的设计:发布动画、可点击的应用原型、可编辑的幻灯片、信息图,或一组小红书图片。可在多种智能体中使用。

新上架29.4k

Guizang PPT Skill

op7418 · 技能

能生成单文件 HTML 幻灯片、幻灯片配图和多平台封面的技能,有两套视觉风格,还带演讲者模式用于排练。适合使用 Claude Code 或 Codex 的演讲者。

新上架29.8k

Claude Code Skills & Plugins

alirezarezvani · 技能

为 Claude Code 和其他编程智能体提供 411 个现成技能,按角色分组,从工程、产品到营销、财务和合规。以插件方式安装。适合开发者和业务团队。

新上架29.8k

开发类的相似商品

查看开发类的全部商品

buzz

block · 工具包

可自行托管的工作空间,人和 AI 智能体在同样的房间里协作,基于 Nostr 中继,把每个动作记录为签名事件。适合想自己运行中继的团队。

新上架37.3k

plannotator

backnotprop · 工具包

把你的 AI 编程智能体的计划、规格和代码改动在浏览器里打开,让你加批注或评论,并把反馈直接发回给智能体。

新上架10.5k

open-code-review

alibaba · 工具包

用 AI 智能体审查 Git 改动:它会读取文件、搜索代码库,再写出对应到具体行的审查意见。适合想在命令行里自动做代码审查的开发者。

新上架50.7k