Text Generation
OpenVINO
Transformers
English
optimum-intel
qwen3
computer-science
software-engineering
programming
coding
int4
quantized
cpu
gpu
npu
Instructions to use Irfanuruchi/Qwen3-4B-Computer-Science-Models with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Irfanuruchi/Qwen3-4B-Computer-Science-Models with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Irfanuruchi/Qwen3-4B-Computer-Science-Models")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Irfanuruchi/Qwen3-4B-Computer-Science-Models", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Irfanuruchi/Qwen3-4B-Computer-Science-Models with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Irfanuruchi/Qwen3-4B-Computer-Science-Models" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Irfanuruchi/Qwen3-4B-Computer-Science-Models", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/Irfanuruchi/Qwen3-4B-Computer-Science-Models
- SGLang
How to use Irfanuruchi/Qwen3-4B-Computer-Science-Models with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "Irfanuruchi/Qwen3-4B-Computer-Science-Models" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Irfanuruchi/Qwen3-4B-Computer-Science-Models", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "Irfanuruchi/Qwen3-4B-Computer-Science-Models" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Irfanuruchi/Qwen3-4B-Computer-Science-Models", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use Irfanuruchi/Qwen3-4B-Computer-Science-Models with Docker Model Runner:
docker model run hf.co/Irfanuruchi/Qwen3-4B-Computer-Science-Models
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Qwen3-4B-Computer-Science Models
|
| 2 |
+
|
| 3 |
+
Official model releases for the **Qwen3-4B-Computer-Science** project.
|
| 4 |
+
|
| 5 |
+
This collection contains the available model formats maintained by the project for different inference runtimes and hardware platforms.
|
| 6 |
+
|
| 7 |
---
|
| 8 |
+
|
| 9 |
+
## Available Formats
|
| 10 |
+
|
| 11 |
+
| Format | Status | Primary Runtime |
|
| 12 |
+
|---------|:------:|-----------------|
|
| 13 |
+
| BF16 | ✅ | Transformers |
|
| 14 |
+
| GGUF | ✅ | llama.cpp, Ollama, LM Studio |
|
| 15 |
+
| AWQ | ✅ | Compressed-Tensors compatible runtimes |
|
| 16 |
+
|
| 17 |
---
|
| 18 |
+
|
| 19 |
+
## Planned Formats
|
| 20 |
+
|
| 21 |
+
| Format | Status |
|
| 22 |
+
|---------|:------:|
|
| 23 |
+
| MLX | ⏳ Planned |
|
| 24 |
+
| OpenVINO | ⏳ Planned |
|
| 25 |
+
|
| 26 |
+
Additional formats may be added in future releases.
|
| 27 |
+
|
| 28 |
+
---
|
| 29 |
+
|
| 30 |
+
## Included Models
|
| 31 |
+
|
| 32 |
+
- **Qwen3-4B-Computer-Science**
|
| 33 |
+
- Original BF16 release for Transformers and fine-tuning.
|
| 34 |
+
|
| 35 |
+
- **Qwen3-4B-Computer-Science-GGUF**
|
| 36 |
+
- Quantized GGUF releases for llama.cpp-compatible inference.
|
| 37 |
+
|
| 38 |
+
- **Qwen3-4B-Computer-Science-AWQ**
|
| 39 |
+
- Activation-aware Weight Quantization (AWQ) release using the Compressed-Tensors format.
|
| 40 |
+
|
| 41 |
+
---
|
| 42 |
+
|
| 43 |
+
## Purpose
|
| 44 |
+
|
| 45 |
+
The goal of this collection is to provide officially maintained releases of the same model architecture in multiple deployment formats while preserving consistent model behavior across supported inference backends.
|
| 46 |
+
|
| 47 |
+
Each repository contains its own documentation, integrity verification files, and runtime-specific usage instructions.
|
| 48 |
+
|
| 49 |
+
---
|
| 50 |
+
|
| 51 |
+
## Future Releases
|
| 52 |
+
|
| 53 |
+
Planned additions include:
|
| 54 |
+
|
| 55 |
+
- MLX for Apple Silicon
|
| 56 |
+
- OpenVINO for Intel CPUs and accelerators
|
| 57 |
+
|
| 58 |
+
Future formats will be added to this collection as they become available.
|