Upload folder using huggingface_hub 2195601 verified
Niladri Das commited on
How to use harpertoken/talk with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("automatic-speech-recognition", model="harpertoken/talk") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq
processor = AutoProcessor.from_pretrained("harpertoken/talk")
model = AutoModelForSpeechSeq2Seq.from_pretrained("harpertoken/talk", device_map="auto")