upscaler
uwg · Kit
Holds a set of image upscaling models gathered from the OpenModelDB community, for people who want to enlarge low-resolution pictures with AI on their own comp…
Answers chat prompts with a 4B model that skips visible thinking and reads up to 256K tokens of context. For developers who want a small open assistant for reasoning, coding and tool use.
Qwen3-4B-Instruct-2507 is a kit in the Developer category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page, a zip of its files. Nothing in it runs by itself.
pip install -U huggingface_hub hf download Qwen/Qwen3-4B-Instruct-2507
Qwen3-4B-Instruct-2507 is the 2507 refresh of Qwen3-4B for the setting that skips thinking. The Qwen team made it. It has 4.0B parameters and answers directly, without writing think blocks. The card lists gains in instruction following, reasoning, math, science, coding and tool use.
Developers and students who want a small open model for chat, reasoning and long documents on modest hardware.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Software | Developers | Add a small assistant to an app | Answer user questions inside a product |
| Education | Students | Practice with math and logic prompts | Work through a reasoning puzzle |
| Writing | Content teams | Draft and edit text with an open model | Write a short article draft |
If you want a model that shows its reasoning steps, you can skip it, since it supports only non-thinking mode.
| Use case | Who | What they get back |
|---|---|---|
| Chat answers | Anyone | Direct replies without think blocks |
| Long documents | Analysts | Understanding across up to 262,144 tokens |
| Tool use | Developers | Function-calling style answers |
pip install -U huggingface_hub hf download Qwen/Qwen3-4B-Instruct-2507
Send a user message through the chat template, generate, and decode the new tokens. The card's snippet asks for a short introduction to large language models.
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)You run the snippet unchanged. The model writes a short introduction to large language models and the script prints it after the label content.
If you are new, run the snippet and change only the prompt. Because this model never writes think blocks, you do not need to set a thinking flag.
For experts, the card lists 36 layers, 32 query heads and 8 key-value heads, with a native context of 262,144 tokens. For serving, it names sglang 0.4.6.post1 or newer and vllm 0.8.5 or newer.
The card's table compares this model with the older Qwen3-4B non-thinking mode and two others on AIME25.
Answers chat prompts with a 4B model that skips visible thinking and reads up to 256K tokens of context. For developers who want a small open assistant for reasoning, coding and tool use.
Made by Qwen on Hugging Face. These notes are Mindket's, written from its model page and model card; the model's own files and license are on Hugging Face.
What it is: Qwen3-4B-Instruct-2507 is the 2507 refresh of Qwen3-4B for the setting that skips thinking. The Qwen team made it. It has 4.0B parameters and answers directly, without writing think blocks. The card lists gains in instruction following, reasoning, math, science, coding and tool use.
Who it suits: Developers and students who want a small open model for chat, reasoning and long documents on modest hardware.
Industry | Who uses it | How they use it | Example
Software | Developers | Add a small assistant to an app | Answer user questions inside a product
Education | Students | Practice with math and logic prompts | Work through a reasoning puzzle
Writing | Content teams | Draft and edit text with an open model | Write a short article draft
If you want a model that shows its reasoning steps, you can skip it, since it supports only non-thinking mode.
Where to use it:
Use case | Who | What they get back
Chat answers | Anyone | Direct replies without think blocks
Long documents | Analysts | Understanding across up to 262,144 tokens
Tool use | Developers | Function-calling style answers
How to set it up:
pip install -U huggingface_hub
hf download Qwen/Qwen3-4B-Instruct-2507
How to use it: Send a user message through the chat template, generate, and decode the new tokens. The card's snippet asks for a short introduction to large language models.
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)
Example: You run the snippet unchanged. The model writes a short introduction to large language models and the script prints it after the label content.
For newcomers and experts: If you are new, run the snippet and change only the prompt. Because this model never writes think blocks, you do not need to set a thinking flag.
For experts, the card lists 36 layers, 32 query heads and 8 key-value heads, with a native context of 262,144 tokens. For serving, it names sglang 0.4.6.post1 or newer and vllm 0.8.5 or newer.
You write a user message
The chat template formats it
The model answers directly, with no think block
You decode the new tokens
Good to know: The card's table compares this model with the older Qwen3-4B non-thinking mode and two others on AIME25.
Title: AIME25 scores from the card
Qwen3-4B-Instruct-2507: 47.4 points
GPT-4.1-nano: 22.7 points
Qwen3-30B-A3B Non-Thinking: 21.6 points
Qwen3-4B Non-Thinking: 19.1 points
Download its files with Hugging Face's command line:
pip install -U huggingface_hub
hf download Qwen/Qwen3-4B-Instruct-2507
Then follow the usage in its model card. Nothing in this kit runs by itself.
README.md 5 KB
Listed Hugging Face models in the same category that share the most tags with this one.
| Product | Downloads, last 30 days | Likes | Parameters | License | Last change |
|---|---|---|---|---|---|
| Qwen3-4B-Instruct-2507 This page | 2,592,168 | 1,053 | 4B | apache-2.0 | |
| Qwen3-0.6BShares qwen3 · text-generation · conversational | 19,718,599 | 1,894 | 752M | apache-2.0 | |
| Qwen3-14BShares qwen3 · text-generation · conversational | 12,965,376 | 540 | 14.8B | apache-2.0 | |
| Qwen3-8BShares qwen3 · text-generation · conversational | 6,269,141 | 2,184 | 8.2B | apache-2.0 | |
| Qwen3-1.7BShares qwen3 · text-generation · conversational | 3,203,490 | 618 | 2B | apache-2.0 | |
| Qwen3-4BShares qwen3 · text-generation · conversational | 3,186,531 | 798 | 4B | apache-2.0 |
Posts and comments that name this project on Hacker News, Bluesky, X, Reddit, Facebook and YouTube, found by a weekly search and on Trendshift. Mindket doesn’t write or check them. Open one to read it where it was posted.
uwg · Kit
Holds a set of image upscaling models gathered from the OpenModelDB community, for people who want to enlarge low-resolution pictures with AI on their own comp…
nerijs · Kit
A pixel art style add-on for Stable Diffusion XL that turns text prompts into pixel-style images, with an optional LCM LoRA for faster runs. For game makers, d…
microsoft · Kit
Turns written conversations into spoken audio with up to four speakers and about 90 minutes of speech, an open Microsoft text-to-speech model for research on p…
masterofaudio2077 · Kit
Reads Egyptian Arabic text aloud and follows the short vowel marks you write into it. A fine-tune of VoiceTut-TTS that keeps its 19 built-in voices and voice c…
hugging-quants · Kit
Runs Meta's Llama 3.1 8B Instruct chat model in 4-bit AWQ form, so it fits on a GPU with about 4 GiB of free memory for the weights. For developers who want a…
besktech · Kit
Scores a Russian-first decision from a context and a list of options, giving a probability for yes/no, choice or rating questions. Runs on a plain CPU, for tea…