stanfordnlp/sst2
Viewer • Updated • 70k • 26k • 161
How to use HarBat/distilled_bert_finetuning with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="HarBat/distilled_bert_finetuning") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("HarBat/distilled_bert_finetuning")
model = AutoModelForSequenceClassification.from_pretrained("HarBat/distilled_bert_finetuning")This model is a fine-tuned version of distilbert-base-uncased on the sst2 dataset.
Label 0 is Negative Label 1 is Positive
More information needed
More information needed
More information needed
The following hyperparameters were used during training: