End of Training 6f46476
Alex MacLean commited on
How to use AlexMaclean/sentence-compression-roberta with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="AlexMaclean/sentence-compression-roberta") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("AlexMaclean/sentence-compression-roberta")
model = AutoModelForTokenClassification.from_pretrained("AlexMaclean/sentence-compression-roberta", device_map="auto")