Automatic Speech Recognition
Transformers
Safetensors
prosody_to_text
feature-extraction
prosody
speech-recognition
custom_code
Instructions to use Daporte/prosody2text-weights with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Daporte/prosody2text-weights with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="Daporte/prosody2text-weights", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Daporte/prosody2text-weights", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload config.json with huggingface_hub
Browse files- config.json +23 -0
config.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model_type": "prosody_to_text",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"ProsodyToTextModel"
|
| 5 |
+
],
|
| 6 |
+
"auto_map": {
|
| 7 |
+
"AutoConfig": "configuration_prosody.ProsodyToTextConfig",
|
| 8 |
+
"AutoModel": "modeling_prosody.ProsodyToTextModel"
|
| 9 |
+
},
|
| 10 |
+
"mel_bins": 12,
|
| 11 |
+
"length_ratio": 0.5,
|
| 12 |
+
"feature_rate_hz": 200.0,
|
| 13 |
+
"f0_scale": 500.0,
|
| 14 |
+
"intensity_scale": 100.0,
|
| 15 |
+
"whisper_subfolder": "whisper",
|
| 16 |
+
"tokenizer_subfolder": "tokenizer",
|
| 17 |
+
"num_beams": 10,
|
| 18 |
+
"language": "en",
|
| 19 |
+
"no_repeat_ngram_size": 3,
|
| 20 |
+
"max_new_tokens": 225,
|
| 21 |
+
"conformer_subfolder": "conformer",
|
| 22 |
+
"constrain": true
|
| 23 |
+
}
|