Downloads · 30 days
0
UyghurAI/idirak-model
idirak-model is a text generation model from UyghurAI. Use it when you need the model to write or continue text. It is set up for peft. The card lists the license as other.
UyghurAI/idirak-model is the training and release repository for the IDIRAK Uyghur assistant. The repository currently contains the reproducible IDIRAK v1 QLoRA pipeline. It does not contain trained production weights…
Downloads · 30 days
0
Access
Public
Updated Sep 6, 2026
Repo size
—
Likes
1
Public
Click a slice to open those files.
.py11.1 KB · 69%
From the Hugging Face model README
UyghurAI/idirak-model is the training and release repository for the IDIRAK
Uyghur assistant. The repository currently contains the reproducible IDIRAK v1
QLoRA pipeline. It does not contain trained production weights yet.
The default base model is Qwen/Qwen3-4B. You can override it with
--model-id, for example google/gemma-3-4b-it after accepting its license.
Use a Linux machine with an NVIDIA GPU. Four-bit QLoRA is not intended to run on the current macOS development machine.
python -m venv .venv
source .venv/bin/activate
pip install -r requirements-train.txt
hf auth login
python train_qlora.py \
--model-id Qwen/Qwen3-4B \
--dataset-id UyghurAI/idirak-uyghur-instructions \
--output-dir artifacts/idirak-qwen3-4b-lora
Review local results before publishing. To upload the trained adapter:
python train_qlora.py \
--model-id Qwen/Qwen3-4B \
--dataset-id UyghurAI/idirak-uyghur-instructions \
--output-dir artifacts/idirak-qwen3-4b-lora \
--push-to-hub \
--hub-model-id UyghurAI/idirak-model
python evaluate.py \
--model-id Qwen/Qwen3-4B \
--dataset-id UyghurAI/idirak-uyghur-instructions \
--output-file evaluations/qwen3-4b-base.jsonl
python evaluate.py \
--model-id Qwen/Qwen3-4B \
--adapter-id UyghurAI/idirak-model \
--dataset-id UyghurAI/idirak-uyghur-instructions \
--output-file evaluations/idirak-v1.jsonl
Each prediction is saved with blank human-review fields for Uyghur fluency, correctness, instruction following, safety, and an overall score. Translation examples also receive an aggregate chrF score.
The initial Hub dataset is a small schema and pipeline seed, not sufficient for
production training. Every row marked needs_native_review must be reviewed by
a native Uyghur speaker. A serious first release should target at least tens of
thousands of licensed, deduplicated, reviewed conversations and maintain a
separate hidden evaluation set.
The final model license depends on the selected base model and the rights for all training sources. Do not publish trained weights until both are documented.