File size: 1,482 Bytes
f4931e8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
{
  "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
    ]
  }
}