Download configs/train_tiny_lora.json from NabuxAi/buddi-asr-source-code: direct link, hf CLI and curl.
- Browser
- Download file 1.48 kB
-
https://huggingface.co/datasets/NabuxAi/buddi-asr-source-code/resolve/main/configs/train_tiny_lora.json
- Command line
-
hf download hf://datasets/NabuxAi/buddi-asr-source-code/configs/train_tiny_lora.json
-
curl -L -o train_tiny_lora.json https://huggingface.co/datasets/NabuxAi/buddi-asr-source-code/resolve/main/configs/train_tiny_lora.json
1.48 kB
| { | |
| "model_name_or_path": "openai/whisper-tiny", | |
| "train_manifest": "../data/manifests/splits/train.jsonl", | |
| "eval_manifest": "../data/manifests/splits/validation.jsonl", | |
| "output_dir": "../artifacts/tiny-lora", | |
| "method": "lora", | |
| "task": "transcribe", | |
| "language_prompts": { | |
| "ar": "arabic", | |
| "en": "english", | |
| "ar-en": "arabic" | |
| }, | |
| "seed": 42, | |
| "sampling_rate": 16000, | |
| "max_audio_seconds": 20.0, | |
| "per_device_train_batch_size": 16, | |
| "per_device_eval_batch_size": 8, | |
| "gradient_accumulation_steps": 2, | |
| "learning_rate": 0.0001, | |
| "num_train_epochs": 10, | |
| "max_steps": -1, | |
| "warmup_ratio": 0.05, | |
| "weight_decay": 0.01, | |
| "logging_steps": 25, | |
| "eval_steps": 250, | |
| "save_steps": 250, | |
| "save_total_limit": 2, | |
| "generation_max_length": 128, | |
| "fp16": true, | |
| "bf16": false, | |
| "gradient_checkpointing": true, | |
| "freeze_feature_encoder": true, | |
| "dataloader_num_workers": 0, | |
| "dataloader_pin_memory": true, | |
| "eval_accumulation_steps": 1, | |
| "tf32": true, | |
| "ddp_find_unused_parameters": false, | |
| "early_stopping_patience": 4, | |
| "report_to": [ | |
| "tensorboard" | |
| ], | |
| "resume_from_checkpoint": "auto", | |
| "lora": { | |
| "rank": 16, | |
| "alpha": 32, | |
| "dropout": 0.05, | |
| "target_modules": [ | |
| "q_proj", | |
| "v_proj" | |
| ] | |
| }, | |
| "augmentation": { | |
| "probability": 0.6, | |
| "gain_db_min": -6.0, | |
| "gain_db_max": 6.0, | |
| "noise_snr_db_min": 12.0, | |
| "noise_snr_db_max": 30.0, | |
| "speed_factors": [ | |
| 0.9, | |
| 1.0, | |
| 1.1 | |
| ] | |
| } | |
| } | |