How to use from
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 "inspirebek/qwen3-4b-uzbek-v2-awq" \
    --host 0.0.0.0 \
    --port 30000
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/chat/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "inspirebek/qwen3-4b-uzbek-v2-awq",
		"messages": [
			{
				"role": "user",
				"content": "What is the capital of France?"
			}
		]
	}'
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 "inspirebek/qwen3-4b-uzbek-v2-awq" \
        --host 0.0.0.0 \
        --port 30000
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/chat/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "inspirebek/qwen3-4b-uzbek-v2-awq",
		"messages": [
			{
				"role": "user",
				"content": "What is the capital of France?"
			}
		]
	}'
Quick Links

qwen3-4b-uzbek-v2-awq

awq 4-bit activation-aware quant (~3.4 gb) of inspirebek/qwen3-4b-uzbek-v2. fast gpu inference via vllm / tgi / transformers.

usage

from transformers import AutoModelForCausalLM, AutoTokenizer

tok = AutoTokenizer.from_pretrained("inspirebek/qwen3-4b-uzbek-v2-awq")
model = AutoModelForCausalLM.from_pretrained(
    "inspirebek/qwen3-4b-uzbek-v2-awq",
    device_map="auto",
)

with vllm:

vllm serve inspirebek/qwen3-4b-uzbek-v2-awq --quantization awq --dtype float16

quantization

  • method: awq (autoawq 0.2.9, gemm version)
  • w_bit=4, q_group_size=128, zero_point=True
  • calibration: 128 uzbek samples (2048 tokens each) from fluency.jsonl

datasets

stage a — fluency (continued pretraining):

stage b — instruct (sft):

⚠️ licensing note: saillab/alpaca_uzbek_taco is cc-by-nc-4.0, which restricts commercial use of derivative models. downstream users who need a fully permissive license should retrain without that subset.

sibling formats

Downloads last month
5
Safetensors
Model size
4B params
Tensor type
I32
·
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for inspirebek/qwen3-4b-uzbek-v2-awq

Finetuned
Qwen/Qwen3-4B
Quantized
(3)
this model

Datasets used to train inspirebek/qwen3-4b-uzbek-v2-awq

Collection including inspirebek/qwen3-4b-uzbek-v2-awq