nyu-mll/glue
Viewer • Updated • 1.49M • 489k • 500
How to use hackyon/enct5-base-glue-sst2 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="hackyon/enct5-base-glue-sst2", trust_remote_code=True) # Load model directly
from transformers import AutoModelForSequenceClassification
model = AutoModelForSequenceClassification.from_pretrained("hackyon/enct5-base-glue-sst2", trust_remote_code=True, dtype="auto")This is a fine-tuned model of EncT5 (the T5-base variant) on the GLUE SST2 dataset for positive/negative sentiment analysis. For more info on GLUE SST2, visit the official site.
See the base EncT5 model card for more details.
Use the code below to get started with the model.
model = AutoModelForSequenceClassification.from_pretrained("hackyon/enct5-base-glue-sst2", trust_remote_code=True)
See the github repro for a more comprehensive guide.