update model with 1.0 safeguard 63006ec
Ethan Sim commited on
How to use ethansimrm/opus_base_ailem_adaptified with Transformers:
# Load model directly
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
tokenizer = AutoTokenizer.from_pretrained("ethansimrm/opus_base_ailem_adaptified")
model = AutoModelForSeq2SeqLM.from_pretrained("ethansimrm/opus_base_ailem_adaptified", device_map="auto")