MultiPRIDE-LGBT-Pretrain-es 09da49b verified
Luca Tedeschini commited on
How to use AIWizards/MultiPRIDE-LGBT-Pretrain-es with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="AIWizards/MultiPRIDE-LGBT-Pretrain-es") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("AIWizards/MultiPRIDE-LGBT-Pretrain-es")
model = AutoModelForSequenceClassification.from_pretrained("AIWizards/MultiPRIDE-LGBT-Pretrain-es")