add model 9e49bf2
José Ángel González commited on
How to use jogonba2/mbarthez-copy_mechanism-hal_articles with Transformers:
# Load model directly
from transformers import AutoTokenizer, MBartCopyEnhanced
tokenizer = AutoTokenizer.from_pretrained("jogonba2/mbarthez-copy_mechanism-hal_articles")
model = MBartCopyEnhanced.from_pretrained("jogonba2/mbarthez-copy_mechanism-hal_articles", device_map="auto")