stanfordnlp/imdb
Viewer • Updated • 100k • 177k • 370
How to use hydrochii/text_classify_model with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="hydrochii/text_classify_model") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("hydrochii/text_classify_model")
model = AutoModelForSequenceClassification.from_pretrained("hydrochii/text_classify_model")This model is a fine-tuned version of bert-base-cased 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 |
|---|---|---|---|---|
| 0.287 | 1.0 | 782 | 0.2120 | 0.9234 |
| 0.1344 | 2.0 | 1564 | 0.1926 | 0.9327 |
Base model
google-bert/bert-base-cased