This model is a fine-tuned version of OpenAI Whisper Small for Uyghur Speech Recognition (ASR). It was trained using LoRA (Low-Rank Adaptation), resulting in a lightweight but highly accurate adapter (approx. 13MB).
Hardware: Trained on a single NVIDIA RTX 3060 GPU for approximately 9 hours.
⚙️ Training Details
Base Model:openai/whisper-small
Method: PEFT (LoRA)
Training Time: ~9 hours
Optimizer: AdamW
Adapter Size: ~13.5 MB
⚠️ Disclaimer (ئاگاھلاندۇرۇش)
English: This model is released for research, educational, and language preservation purposes only. The developer strongly opposes the use of this technology for mass surveillance, human rights violations, or any form of discrimination.
You can load this model using PEFT and Transformers. Since the processor is not included in this adapter-only repo, please load the processor from the base model.
python
1import torch
2import librosa
3from transformers import WhisperForConditionalGeneration, WhisperProcessor
4from peft import PeftModel
56# 1. Setup Model IDs7base_model_id ="openai/whisper-small"8peft_model_id ="xiwol/whisper-small-uyghur"910# 2. Load Processor from the base model11# Note: We specify language and task for Uyghur ASR12processor = WhisperProcessor.from_pretrained(base_model_id, language="uyghur", task="transcribe")1314# 3. Load Base Model15base_model = WhisperForConditionalGeneration.from_pretrained(16 base_model_id,17 device_map="auto",18 torch_dtype=torch.float16
19)
Option 2: Full Merged Model / بىرىكتۈرۈلگەن تولۇق مودېل
The model files in the whisper-small-uyghur-merged folder are the full, standalone versions (Base model + PEFT adapters merged). You can use this folder directly with transformers or other inference tools.
Option 3: Using GGML / Whisper.cpp (Desktop & Lightweight)
For convenience, I have converted the full model into GGML format (compatible with whisper.cpp). You can directly download the pre-built model files and use them via desktop applications without setting up a Python environment.
After loading the model, please select "Turkish" as the transcription language for the best results with Uyghur audio (due to better token compatibility in this tool).