Upload 7 files 62ebb03
Wesley Morris commited on
How to use wesleymorris/summary-roberta-wording-da with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="wesleymorris/summary-roberta-wording-da") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("wesleymorris/summary-roberta-wording-da")
model = AutoModelForSequenceClassification.from_pretrained("wesleymorris/summary-roberta-wording-da")