nlp
Collection
5 items • Updated • 1
How to use li1212/robert-base-finetuned-imdb-apollo_adamw with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="li1212/robert-base-finetuned-imdb-apollo_adamw") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("li1212/robert-base-finetuned-imdb-apollo_adamw")
model = AutoModelForSequenceClassification.from_pretrained("li1212/robert-base-finetuned-imdb-apollo_adamw", device_map="auto")This model is a fine-tuned version of FacebookAI/roberta-base on an unknown 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.1737 | 1.0 | 391 | 0.1402 | 0.9512 |
| 0.1375 | 2.0 | 782 | 0.1357 | 0.9515 |
Base model
FacebookAI/roberta-base