Run this model with HF Jobs
Run TechInterMezzo/whisper-encoder-medium 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/TechInterMezzo/whisper-encoder-medium. 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/TechInterMezzo/whisper-encoder-medium 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 TechInterMezzo/whisper-encoder-medium with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use TechInterMezzo/whisper-encoder-medium with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, WhisperEncoder processor = AutoProcessor.from_pretrained("TechInterMezzo/whisper-encoder-medium") model = WhisperEncoder.from_pretrained("TechInterMezzo/whisper-encoder-medium", device_map="auto") - Notebooks
- Google Colab
- Kaggle
from transformers import WhisperFeatureExtractor
from transformers.models.whisper.modeling_whisper import WhisperEncoder
feature_extractor = WhisperFeatureExtractor.from_pretrained("techintermezzo/whisper-encoder-medium")
model = WhisperEncoder.from_pretrained("techintermezzo/whisper-encoder-medium").half()
model.eval()
with torch.inference_mode():
input_features = feature_extractor(inputs, sampling_rate=16000, return_tensors="pt").input_features
last_hidden_state = model(input_features).last_hidden_state
- Downloads last month
- 7
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐ Ask for provider support