akera commited on
Commit
ef27e29
·
verified ·
1 Parent(s): cbc3bad

Training in progress, step 1000

Browse files
config.json ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "activation_dropout": 0.0,
3
+ "activation_function": "gelu",
4
+ "apply_spec_augment": false,
5
+ "architectures": [
6
+ "WhisperForConditionalGeneration"
7
+ ],
8
+ "attention_dropout": 0.0,
9
+ "begin_suppress_tokens": null,
10
+ "bos_token_id": 50257,
11
+ "classifier_proj_size": 256,
12
+ "d_model": 1280,
13
+ "decoder_attention_heads": 20,
14
+ "decoder_ffn_dim": 5120,
15
+ "decoder_layerdrop": 0.0,
16
+ "decoder_layers": 32,
17
+ "decoder_start_token_id": 50258,
18
+ "dropout": 0.0,
19
+ "encoder_attention_heads": 20,
20
+ "encoder_ffn_dim": 5120,
21
+ "encoder_layerdrop": 0.0,
22
+ "encoder_layers": 32,
23
+ "eos_token_id": 50257,
24
+ "forced_decoder_ids": null,
25
+ "init_std": 0.02,
26
+ "is_encoder_decoder": true,
27
+ "mask_feature_length": 10,
28
+ "mask_feature_min_masks": 0,
29
+ "mask_feature_prob": 0.0,
30
+ "mask_time_length": 10,
31
+ "mask_time_min_masks": 2,
32
+ "mask_time_prob": 0.05,
33
+ "max_length": null,
34
+ "max_source_positions": 1500,
35
+ "max_target_positions": 448,
36
+ "median_filter_width": 7,
37
+ "model_type": "whisper",
38
+ "num_hidden_layers": 32,
39
+ "num_mel_bins": 128,
40
+ "pad_token_id": 50256,
41
+ "scale_embedding": false,
42
+ "torch_dtype": "float32",
43
+ "transformers_version": "4.53.1",
44
+ "use_cache": true,
45
+ "use_weighted_layer_sum": false,
46
+ "vocab_size": 51866
47
+ }
experiment_config.yaml ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ dataset_subset: audio_500h
2
+ experiment_name: whisper-large-v3-kin-500h
3
+ seed: 42
4
+ use_mlflow: true
5
+ use_wandb: false
full_config.yaml ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ num_workers: 4
2
+ pretrained_model: openai/whisper-large-v3
3
+ train:
4
+ download_datasets_in_parallel: false
5
+ huggingface_load:
6
+ - name: audio_500h
7
+ path: evie-8/kinyarwanda-speech-hackathon
8
+ split: train
9
+ shuffle: false
10
+ source:
11
+ language:
12
+ - kin
13
+ preprocessing:
14
+ - set_sample_rate:
15
+ p: 0.05
16
+ rate: 8000
17
+ - set_sample_rate:
18
+ rate: 16000
19
+ - normalize_audio
20
+ - augment_audio_speed:
21
+ high: 1.15
22
+ low: 0.95
23
+ p: 0.2
24
+ - augment_audio_noise:
25
+ max_relative_amplitude: 0.3
26
+ type: speech
27
+ target:
28
+ language:
29
+ - kin
30
+ preprocessing:
31
+ - lower_case
32
+ - clean_and_remove_punctuation:
33
+ allowed_punctuation: ''''
34
+ type: text
35
+ training_args:
36
+ eval_steps: 200
37
+ eval_strategy: steps
38
+ fp16: true
39
+ generation_max_length: 200
40
+ gradient_accumulation_steps: 2
41
+ gradient_checkpointing: true
42
+ gradient_checkpointing_kwargs:
43
+ use_reentrant: false
44
+ greater_is_better: false
45
+ hub_model_id: akera/whisper-large-v3-kin-500h_20250712_203553
46
+ learning_rate: 1.0e-05
47
+ load_best_model_at_end: true
48
+ logging_steps: 200
49
+ max_steps: 10000
50
+ metric_for_best_model: loss
51
+ output_dir: whisper-large-v3-kin-500h_20250712_203553
52
+ per_device_eval_batch_size: 16
53
+ per_device_train_batch_size: 16
54
+ predict_with_generate: true
55
+ push_to_hub: true
56
+ save_steps: 1000
57
+ save_total_limit: 2
58
+ warmup_steps: 100
59
+ use_peft: false
60
+ validation:
61
+ huggingface_load:
62
+ - path: jq/kinyarwanda-speech-hackathon
63
+ split: dev_test[:200]
64
+ source:
65
+ language:
66
+ - kin
67
+ preprocessing:
68
+ - set_sample_rate:
69
+ rate: 16000
70
+ type: speech
71
+ target:
72
+ language:
73
+ - kin
74
+ preprocessing:
75
+ - lower_case
76
+ - clean_and_remove_punctuation:
77
+ allowed_punctuation: ''''
78
+ type: text
model-00001-of-00002.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1b364747c08659b57b30d9b4623b96e90f0f78efffdfc0990435a496ec4be8b5
3
+ size 4993448880
model-00002-of-00002.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:71f580e2fa8769d3a93815eca05460e8422d4cbb917089f49455a97fa02abc58
3
+ size 1180663192
model.safetensors.index.json ADDED
The diff for this file is too large to render. See raw diff
 
preprocessor_config.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "chunk_length": 30,
3
+ "dither": 0.0,
4
+ "feature_extractor_type": "WhisperFeatureExtractor",
5
+ "feature_size": 128,
6
+ "hop_length": 160,
7
+ "n_fft": 400,
8
+ "n_samples": 480000,
9
+ "nb_max_frames": 3000,
10
+ "padding_side": "right",
11
+ "padding_value": 0.0,
12
+ "processor_class": "WhisperProcessor",
13
+ "return_attention_mask": false,
14
+ "sampling_rate": 16000
15
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9ec08fcfe2489a62c47499f1dc0043e2aa4b9bd3ed2bc6ace82ac681c8311667
3
+ size 6033