stanfordnlp/sst2
Viewer • Updated • 70k • 41.9k • 163
How to use Ibrahim-Alam/finetuning-bert-base-uncased-on-sst2 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="Ibrahim-Alam/finetuning-bert-base-uncased-on-sst2") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Ibrahim-Alam/finetuning-bert-base-uncased-on-sst2")
model = AutoModelForSequenceClassification.from_pretrained("Ibrahim-Alam/finetuning-bert-base-uncased-on-sst2", device_map="auto")This model is a fine-tuned version of bert-base-uncased on the sst2 dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training: