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
|
@@ -2,7 +2,7 @@
|
|
| 2 |
|
| 3 |
Official model releases for the **Qwen3-4B-Computer-Science** project.
|
| 4 |
|
| 5 |
-
This collection
|
| 6 |
|
| 7 |
---
|
| 8 |
|
|
@@ -13,46 +13,62 @@ This collection contains the available model formats maintained by the project f
|
|
| 13 |
| BF16 | β
| Transformers |
|
| 14 |
| GGUF | β
| llama.cpp, Ollama, LM Studio |
|
| 15 |
| AWQ | β
| Compressed-Tensors compatible runtimes |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
|
| 17 |
---
|
| 18 |
|
| 19 |
-
##
|
| 20 |
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
| MLX | β³ Planned |
|
| 24 |
-
| OpenVINO | β³ Planned |
|
| 25 |
|
| 26 |
-
|
|
|
|
| 27 |
|
| 28 |
-
---
|
|
|
|
| 29 |
|
| 30 |
-
##
|
|
|
|
| 31 |
|
| 32 |
-
|
| 33 |
-
|
| 34 |
|
| 35 |
-
|
| 36 |
-
|
| 37 |
|
| 38 |
-
|
| 39 |
-
|
| 40 |
|
| 41 |
---
|
| 42 |
|
| 43 |
## Purpose
|
| 44 |
|
| 45 |
-
The
|
|
|
|
|
|
|
| 46 |
|
| 47 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 48 |
|
| 49 |
---
|
| 50 |
|
| 51 |
-
##
|
| 52 |
|
| 53 |
-
|
| 54 |
|
| 55 |
-
-
|
| 56 |
-
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 57 |
|
| 58 |
-
|
|
|
|
| 2 |
|
| 3 |
Official model releases for the **Qwen3-4B-Computer-Science** project.
|
| 4 |
|
| 5 |
+
This collection provides officially maintained releases of the model across multiple inference runtimes and hardware platforms, allowing users to choose the format best suited to their deployment environment.
|
| 6 |
|
| 7 |
---
|
| 8 |
|
|
|
|
| 13 |
| BF16 | β
| Transformers |
|
| 14 |
| GGUF | β
| llama.cpp, Ollama, LM Studio |
|
| 15 |
| AWQ | β
| Compressed-Tensors compatible runtimes |
|
| 16 |
+
| MLX 4-bit | β
| Apple MLX |
|
| 17 |
+
| MLX 8-bit | β
| Apple MLX |
|
| 18 |
+
| MLX BF16 | β
| Apple MLX |
|
| 19 |
+
| OpenVINO INT4 | β
| OpenVINO + Optimum Intel |
|
| 20 |
|
| 21 |
---
|
| 22 |
|
| 23 |
+
## Included Models
|
| 24 |
|
| 25 |
+
### Qwen3-4B-Computer-Science
|
| 26 |
+
Original BF16 release intended for Hugging Face Transformers, fine-tuning, and general inference.
|
|
|
|
|
|
|
| 27 |
|
| 28 |
+
### Qwen3-4B-Computer-Science-GGUF
|
| 29 |
+
GGUF release for efficient inference with llama.cpp-compatible runtimes such as Ollama and LM Studio.
|
| 30 |
|
| 31 |
+
### Qwen3-4B-Computer-Science-AWQ
|
| 32 |
+
Activation-Aware Weight Quantization (AWQ) release using the Compressed-Tensors format for supported inference frameworks.
|
| 33 |
|
| 34 |
+
### Qwen3-4B-Computer-Science-MLX-4bit
|
| 35 |
+
Optimized 4-bit MLX release for Apple Silicon devices.
|
| 36 |
|
| 37 |
+
### Qwen3-4B-Computer-Science-MLX-8bit
|
| 38 |
+
Optimized 8-bit MLX release providing a balance between quality and memory usage.
|
| 39 |
|
| 40 |
+
### Qwen3-4B-Computer-Science-MLX-BF16
|
| 41 |
+
Full-precision BF16 MLX release for maximum inference quality on Apple Silicon.
|
| 42 |
|
| 43 |
+
### Qwen3-4B-Computer-Science-OpenVINO-INT4
|
| 44 |
+
OpenVINO INT4 release optimized for efficient CPU inference using Intel OpenVINO and Optimum Intel.
|
| 45 |
|
| 46 |
---
|
| 47 |
|
| 48 |
## Purpose
|
| 49 |
|
| 50 |
+
The objective of this collection is to provide officially maintained releases of the same model across multiple deployment formats while preserving consistent behavior and compatibility with their respective inference ecosystems.
|
| 51 |
+
|
| 52 |
+
Each repository includes:
|
| 53 |
|
| 54 |
+
- Documentation
|
| 55 |
+
- Runtime-specific usage examples
|
| 56 |
+
- License information
|
| 57 |
+
- SHA256 integrity verification files
|
| 58 |
+
- Configuration files required for the target runtime
|
| 59 |
|
| 60 |
---
|
| 61 |
|
| 62 |
+
## Model Family
|
| 63 |
|
| 64 |
+
This release family currently includes:
|
| 65 |
|
| 66 |
+
- β
Transformers BF16
|
| 67 |
+
- β
GGUF
|
| 68 |
+
- β
AWQ
|
| 69 |
+
- β
MLX 4-bit
|
| 70 |
+
- β
MLX 8-bit
|
| 71 |
+
- β
MLX BF16
|
| 72 |
+
- β
OpenVINO INT4
|
| 73 |
|
| 74 |
+
Additional deployment formats may be added in future releases as the ecosystem evolves.
|