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