voice-to-code-backend / ffmpeg_test.py
ShobhitKori
Add application file
dfe177d
raw
history blame contribute delete
270 Bytes
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
model_id = "Salesforce/codet5p-770m-py"
print("Downloading model...")
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForSeq2SeqLM.from_pretrained(model_id)
print("Download complete.")