Run this model with HF Jobs
Run nyralabs/CrisperWhisper on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/nyralabs/CrisperWhisper. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/nyralabs/CrisperWhisper on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use nyralabs/CrisperWhisper with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nyralabs/CrisperWhisper with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="nyralabs/CrisperWhisper")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq processor = AutoProcessor.from_pretrained("nyralabs/CrisperWhisper") model = AutoModelForSpeechSeq2Seq.from_pretrained("nyralabs/CrisperWhisper", device_map="auto") - Notebooks
- Google Colab
- Kaggle
How to output sentence-level text with timestamps?
#21
by aimagee - opened
Thanks for your great work. I'm using nyrahealth/CrisperWhisper model to transcribe audio to text with timestamps, but the model outputs word-level text with timestamps. How can I convert them to sentence-level timestamps?
Given that word-level is more granular than sentence-level, can't you just combine words until you see a pause or punctuation? eg [I, like, dogs, ] = "I like dogs." Then just take the start of the first word and the end of the last word for timestamps.