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