Upload inference_config.json with huggingface_hub
Browse files- inference_config.json +22 -0
inference_config.json
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"base_model": "your_base_model_name_here",
|
| 3 |
+
"adapter_path": "hinglish_tts_model_2",
|
| 4 |
+
"snac_model_path": "hinglish_tts_model_2/snac_model.pt",
|
| 5 |
+
"generation_params": {
|
| 6 |
+
"max_new_tokens": 1200,
|
| 7 |
+
"do_sample": true,
|
| 8 |
+
"temperature": 0.6,
|
| 9 |
+
"top_p": 0.95,
|
| 10 |
+
"repetition_penalty": 1.1,
|
| 11 |
+
"eos_token_id": 128258
|
| 12 |
+
},
|
| 13 |
+
"special_tokens": {
|
| 14 |
+
"start_token": 128259,
|
| 15 |
+
"end_tokens": [
|
| 16 |
+
128009,
|
| 17 |
+
128260
|
| 18 |
+
],
|
| 19 |
+
"audio_start_token": 128257,
|
| 20 |
+
"audio_end_token": 128258
|
| 21 |
+
}
|
| 22 |
+
}
|