Upload tokenizer 555cd86 verified
Bharath Kumar Kakumani commited on
How to use maya-research/Veena with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-to-speech", model="maya-research/Veena") # Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("maya-research/Veena")
model = AutoModelForCausalLM.from_pretrained("maya-research/Veena", device_map="auto")