stanfordnlp/imdb
Viewer • Updated • 100k • 234k • 374
How to use ThirdEyeData/Text_Classification with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="ThirdEyeData/Text_Classification") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("ThirdEyeData/Text_Classification")
model = AutoModelForSequenceClassification.from_pretrained("ThirdEyeData/Text_Classification")# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("ThirdEyeData/Text_Classification")
model = AutoModelForSequenceClassification.from_pretrained("ThirdEyeData/Text_Classification")This model is a fine-tuned version of distilbert-base-uncased on the imdb 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:
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|---|---|---|---|---|
| No log | 1.0 | 16 | 0.0445 | 1.0 |
| No log | 2.0 | 32 | 0.0198 | 1.0 |
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="ThirdEyeData/Text_Classification")