Instructions to use mispeech/ced-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mispeech/ced-small with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("audio-classification", model="mispeech/ced-small", trust_remote_code=True)# Load model directly from transformers import AutoModelForAudioClassification model = AutoModelForAudioClassification.from_pretrained("mispeech/ced-small", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update preprocessor_config.json
Browse files- preprocessor_config.json +1 -1
preprocessor_config.json
CHANGED
|
@@ -8,7 +8,7 @@
|
|
| 8 |
"n_fft": 512,
|
| 9 |
"padding_side": "right",
|
| 10 |
"padding_value": 0.0,
|
| 11 |
-
"return_attention_mask":
|
| 12 |
"sampling_rate": 16000,
|
| 13 |
"win_size": 512
|
| 14 |
}
|
|
|
|
| 8 |
"n_fft": 512,
|
| 9 |
"padding_side": "right",
|
| 10 |
"padding_value": 0.0,
|
| 11 |
+
"return_attention_mask": false,
|
| 12 |
"sampling_rate": 16000,
|
| 13 |
"win_size": 512
|
| 14 |
}
|