Upload ft_config.json
Browse files- ft_config.json +103 -0
ft_config.json
ADDED
|
@@ -0,0 +1,103 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"modelname": "openai/whisper-base",
|
| 3 |
+
"gen_args": {
|
| 4 |
+
"num_beams": 5
|
| 5 |
+
},
|
| 6 |
+
"fallback": [7,3,1],
|
| 7 |
+
"corpora": {
|
| 8 |
+
"train": {
|
| 9 |
+
"multipa": {
|
| 10 |
+
"languages": [
|
| 11 |
+
"ja",
|
| 12 |
+
"pl",
|
| 13 |
+
"mt",
|
| 14 |
+
"hu",
|
| 15 |
+
"fi",
|
| 16 |
+
"el",
|
| 17 |
+
"ta"
|
| 18 |
+
],
|
| 19 |
+
"limit": [
|
| 20 |
+
1000,
|
| 21 |
+
1000,
|
| 22 |
+
1000,
|
| 23 |
+
1000,
|
| 24 |
+
1000,
|
| 25 |
+
1000,
|
| 26 |
+
1000
|
| 27 |
+
]
|
| 28 |
+
}
|
| 29 |
+
},
|
| 30 |
+
"dev": {
|
| 31 |
+
"multipa": {
|
| 32 |
+
"languages": [
|
| 33 |
+
"ja",
|
| 34 |
+
"pl",
|
| 35 |
+
"mt",
|
| 36 |
+
"hu",
|
| 37 |
+
"fi",
|
| 38 |
+
"el",
|
| 39 |
+
"ta"
|
| 40 |
+
],
|
| 41 |
+
"limit": [
|
| 42 |
+
50,
|
| 43 |
+
50,
|
| 44 |
+
50,
|
| 45 |
+
50,
|
| 46 |
+
50,
|
| 47 |
+
50,
|
| 48 |
+
50
|
| 49 |
+
]
|
| 50 |
+
}
|
| 51 |
+
},
|
| 52 |
+
"test": {
|
| 53 |
+
"multipa": {
|
| 54 |
+
"languages": [
|
| 55 |
+
"ja",
|
| 56 |
+
"pl",
|
| 57 |
+
"mt",
|
| 58 |
+
"hu",
|
| 59 |
+
"fi",
|
| 60 |
+
"el",
|
| 61 |
+
"ta"
|
| 62 |
+
],
|
| 63 |
+
"limit": [
|
| 64 |
+
100,
|
| 65 |
+
100,
|
| 66 |
+
100,
|
| 67 |
+
100,
|
| 68 |
+
100,
|
| 69 |
+
100,
|
| 70 |
+
100
|
| 71 |
+
]
|
| 72 |
+
}
|
| 73 |
+
}
|
| 74 |
+
},
|
| 75 |
+
"hyperparams": {
|
| 76 |
+
"output_dir": "../models/whipa-base-cv",
|
| 77 |
+
"overwrite_output_dir": "True",
|
| 78 |
+
"peft": "False",
|
| 79 |
+
"per_device_train_batch_size": 64,
|
| 80 |
+
"gradient_accumulation_steps": 1,
|
| 81 |
+
"learning_rate": 1e-05,
|
| 82 |
+
"warmup_steps": 110,
|
| 83 |
+
"max_steps": 1100,
|
| 84 |
+
"gradient_checkpointing": "True",
|
| 85 |
+
"fp16": "True",
|
| 86 |
+
"eval_strategy": "steps",
|
| 87 |
+
"per_device_eval_batch_size": 8,
|
| 88 |
+
"predict_with_generate": "True",
|
| 89 |
+
"generation_max_length": 225,
|
| 90 |
+
"save_steps": 220,
|
| 91 |
+
"eval_steps": 220,
|
| 92 |
+
"logging_steps": 110,
|
| 93 |
+
"report_to": [
|
| 94 |
+
"tensorboard"
|
| 95 |
+
],
|
| 96 |
+
"load_best_model_at_end": "True",
|
| 97 |
+
"metric_for_best_model": "pfer",
|
| 98 |
+
"greater_is_better": "False",
|
| 99 |
+
"torch_empty_cache_steps": 5,
|
| 100 |
+
"push_to_hub": "True",
|
| 101 |
+
"max_seconds": 6
|
| 102 |
+
}
|
| 103 |
+
}
|