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