Downloads · 30 days
0
Irfanuruchi/Qwen3-4B-Computer-Science-Models
Qwen3-4B-Computer-Science-Models is a text generation model from Irfanuruchi. Use it when you need the model to write or continue text. It is set up for optimum-intel. The card lists the license as apache-2.0.
This repository provides an OpenVINO INT4 deployment of Qwen3-4B-Computer-Science, optimized for efficient inference using Intel® OpenVINO™ and Optimum Intel.
Downloads · 30 days
0
Access
Public
Updated Jul 25, 2026
Repo size
—
Likes
1
Public
Click a slice to open those files.
.md5.9 KB · 80%
From the Hugging Face model README
This repository provides an OpenVINO INT4 deployment of Qwen3-4B-Computer-Science, optimized for efficient inference using Intel® OpenVINO™ and Optimum Intel.
The model is designed for software engineering and computer science workloads while significantly reducing storage requirements and memory usage through INT4 weight compression. It enables efficient deployment across OpenVINO-supported hardware while preserving the capabilities of the original model.
| Property | Value |
|---|---|
| Base Model | Irfanuruchi/Qwen3-4B-Computer-Science |
| Base Architecture | Qwen3 |
| Parameters | ~4 Billion |
| Deployment Format | OpenVINO IR |
| Weight Compression | INT4 Asymmetric |
| Compression Group Size | 128 |
| Runtime | Intel® OpenVINO™ Runtime |
| Library | Optimum Intel |
| Supported Hardware | OpenVINO-supported devices* |
| License | Apache License 2.0 |
* Supported execution devices depend on the installed OpenVINO Runtime, operating system, drivers, and available hardware. Depending on the platform, inference may be executed on supported CPUs, integrated GPUs, NPUs, or other OpenVINO-compatible accelerators.
The model was exported using:
optimum-cli export openvino \
--model Irfanuruchi/Qwen3-4B-Computer-Science \
--task text-generation-with-past \
--weight-format int4 \
Qwen3-4B-Computer-Science-OpenVINO-INT4
Compression summary:
pip install -U openvino optimum-intel transformers
from transformers import AutoTokenizer
from optimum.intel.openvino import OVModelForCausalLM
model_id = "Irfanuruchi/Qwen3-4B-Computer-Science-OpenVINO-INT4"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = OVModelForCausalLM.from_pretrained(
model_id,
device="CPU",
)
messages = [
{
"role": "system",
"content": "You are a computer science assistant."
},
{
"role": "user",
"content": "Explain Floyd's cycle detection algorithm."
},
]
prompt = tokenizer.apply_chat_template(
messages,
tokenize=False,
add_generation_prompt=True,
)
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(
**inputs,
max_new_tokens=256,
do_sample=False,
)
response = tokenizer.decode(
outputs[0][inputs["input_ids"].shape[1]:],
skip_special_tokens=True,
)
print(response)
The exported model was successfully validated using:
Validation confirmed successful generation of technically correct programming responses, including algorithm implementation and complexity analysis.
This model is intended for:
The Qwen3-4B-Computer-Science release family currently includes:
| Model | Status |
|---|---|
| Transformers BF16 | ✅ |
| GGUF (Multiple Quantization Variants) | ✅ |
| AWQ | ✅ |
| MLX 4-bit | ✅ |
| MLX 8-bit | ✅ |
| MLX BF16 | ✅ |
| OpenVINO INT4 | ✅ |
Each release is maintained in its own repository with runtime-specific documentation, usage examples, integrity verification files, and configuration tailored to its target inference backend.
This release builds upon the work of several open-source projects and communities:
This repository provides an OpenVINO INT4 deployment of the original Qwen3-4B-Computer-Science model for efficient inference on OpenVINO-supported hardware.
Like other large language models, this model may occasionally:
INT4 weight compression may introduce minor quality differences compared to higher-precision variants.
All generated code should be reviewed and tested before use in production or safety-critical environments.
This repository is distributed under the Apache License 2.0.
This release is an OpenVINO INT4 conversion of the original Qwen3-4B-Computer-Science model and retains the licensing and attribution requirements applicable to the original project.
See the included LICENSE file for the complete license text.