Instructions to use kmrabby/crisp with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use kmrabby/crisp with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="kmrabby/crisp")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq processor = AutoProcessor.from_pretrained("kmrabby/crisp") model = AutoModelForSpeechSeq2Seq.from_pretrained("kmrabby/crisp", device_map="auto") - Notebooks
- Google Colab
- Kaggle
fix
Browse files- generation_config.json +1 -1
generation_config.json
CHANGED
|
@@ -129,7 +129,7 @@
|
|
| 129 |
"num_beams": 5,
|
| 130 |
"pad_token_id": 50257,
|
| 131 |
"prev_sot_token_id": 50362,
|
| 132 |
-
"return_timestamps":
|
| 133 |
|
| 134 |
"task_to_id": {
|
| 135 |
"transcribe": 50360,
|
|
|
|
| 129 |
"num_beams": 5,
|
| 130 |
"pad_token_id": 50257,
|
| 131 |
"prev_sot_token_id": 50362,
|
| 132 |
+
"return_timestamps": "word",
|
| 133 |
|
| 134 |
"task_to_id": {
|
| 135 |
"transcribe": 50360,
|