Summer 23
Collection
Projects developed by CIC Lab during the 2023 Summer • 3 items • Updated
How to use CICLAB-Comillas/BARTSumpson with Transformers:
# Load model directly
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
tokenizer = AutoTokenizer.from_pretrained("CICLAB-Comillas/BARTSumpson")
model = AutoModelForSeq2SeqLM.from_pretrained("CICLAB-Comillas/BARTSumpson")