all distribution formats of the uzbek fine-tune of qwen3-4b: merged bf16, lora adapter, bnb nf4, awq, and the gguf suite. • 5 items • Updated • 1
qwen3-4b-uzbek-v2-bnb-4bit
bitsandbytes nf4 4-bit quant (~3.4 gb) of inspirebek/qwen3-4b-uzbek-v2. nvidia gpu only; easiest hf-native 4-bit load.
usage
from transformers import AutoModelForCausalLM, AutoTokenizer, BitsAndBytesConfig
import torch
bnb = BitsAndBytesConfig(
load_in_4bit=True,
bnb_4bit_quant_type="nf4",
bnb_4bit_compute_dtype=torch.bfloat16,
bnb_4bit_use_double_quant=True,
)
tok = AutoTokenizer.from_pretrained("inspirebek/qwen3-4b-uzbek-v2-bnb-4bit")
model = AutoModelForCausalLM.from_pretrained(
"inspirebek/qwen3-4b-uzbek-v2-bnb-4bit",
quantization_config=bnb,
device_map="auto",
)
quantization
- method:
bitsandbytesnf4 (4-bit normalfloat) - double quantization: enabled
- compute dtype:
bfloat16
datasets
stage a — fluency (continued pretraining):
yakhyo/uz-wiki· MITtahrirchi/uz-books-v2· MITtahrirchi/uz-crawl· Apache-2.0
stage b — instruct (sft):
saillab/alpaca_uzbek_taco· CC-BY-NC-4.0behbudiy/alpaca-cleaned-uz· CC-BY-4.0UAzimov/uzbek-instruct-llm· Apache-2.0CohereLabs/aya_collection_language_split· Apache-2.0med-alex/qa_mt_ru_to_uzn· unspecifiedmed-alex/qa_mt_tr_to_uzn· unspecified
⚠️ licensing note:
saillab/alpaca_uzbek_tacois 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
- 17
Safetensors
Model size
5B params
Tensor type
F32
·
F16 ·
U8 ·
