Upload folder using huggingface_hub 1ebef32 verified
TitanML Co commited on
How to use titanbot/Roberta-Large-CONLL2003 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="titanbot/Roberta-Large-CONLL2003") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("titanbot/Roberta-Large-CONLL2003")
model = AutoModelForTokenClassification.from_pretrained("titanbot/Roberta-Large-CONLL2003")