Instructions to use dleon/roberta-imbd-sentiment-ft with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use dleon/roberta-imbd-sentiment-ft with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="dleon/roberta-imbd-sentiment-ft")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("dleon/roberta-imbd-sentiment-ft") model = AutoModelForSequenceClassification.from_pretrained("dleon/roberta-imbd-sentiment-ft", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,6 +1,10 @@
|
|
| 1 |
---
|
| 2 |
library_name: transformers
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
---
|
| 5 |
|
| 6 |
# Model Card for Model ID
|
|
@@ -11,9 +15,11 @@ tags: []
|
|
| 11 |
|
| 12 |
## Model Details
|
| 13 |
|
|
|
|
|
|
|
| 14 |
### Model Description
|
| 15 |
|
| 16 |
-
|
| 17 |
|
| 18 |
This is the model card of a 🤗 transformers model that has been pushed on the Hub. This model card has been automatically generated.
|
| 19 |
|
|
|
|
| 1 |
---
|
| 2 |
library_name: transformers
|
| 3 |
+
license: mit
|
| 4 |
+
datasets:
|
| 5 |
+
- jahjinx/IMDb_movie_reviews
|
| 6 |
+
base_model:
|
| 7 |
+
- answerdotai/ModernBERT-base
|
| 8 |
---
|
| 9 |
|
| 10 |
# Model Card for Model ID
|
|
|
|
| 15 |
|
| 16 |
## Model Details
|
| 17 |
|
| 18 |
+
View the model training Colab: https://colab.research.google.com/drive/15eHM1jS7M4w2NOIS2uI7bGgPmxlCuNF8?usp=sharing
|
| 19 |
+
|
| 20 |
### Model Description
|
| 21 |
|
| 22 |
+
ModernBERT fine-tuned for sentiment analysis on the imdb movie reviews for 3 epochs.
|
| 23 |
|
| 24 |
This is the model card of a 🤗 transformers model that has been pushed on the Hub. This model card has been automatically generated.
|
| 25 |
|