Text Classification
Transformers
PyTorch
distilbert
Generated from Trainer
Eval Results (legacy)
text-embeddings-inference
Instructions to use PDM/finetuning-sentiment-model-3000-samples with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use PDM/finetuning-sentiment-model-3000-samples with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="PDM/finetuning-sentiment-model-3000-samples")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("PDM/finetuning-sentiment-model-3000-samples") model = AutoModelForSequenceClassification.from_pretrained("PDM/finetuning-sentiment-model-3000-samples", device_map="auto") - Notebooks
- Google Colab
- Kaggle
update model card README.md
Browse files
README.md
CHANGED
|
@@ -20,10 +20,10 @@ model-index:
|
|
| 20 |
metrics:
|
| 21 |
- name: Accuracy
|
| 22 |
type: accuracy
|
| 23 |
-
value: 0.
|
| 24 |
- name: F1
|
| 25 |
type: f1
|
| 26 |
-
value: 0.
|
| 27 |
---
|
| 28 |
|
| 29 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
@@ -33,9 +33,9 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 33 |
|
| 34 |
This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on the imdb dataset.
|
| 35 |
It achieves the following results on the evaluation set:
|
| 36 |
-
- Loss: 0.
|
| 37 |
-
- Accuracy: 0.
|
| 38 |
-
- F1: 0.
|
| 39 |
|
| 40 |
## Model description
|
| 41 |
|
|
@@ -69,6 +69,6 @@ The following hyperparameters were used during training:
|
|
| 69 |
### Framework versions
|
| 70 |
|
| 71 |
- Transformers 4.18.0
|
| 72 |
-
- Pytorch 1.11.0+
|
| 73 |
- Datasets 2.1.0
|
| 74 |
- Tokenizers 0.12.1
|
|
|
|
| 20 |
metrics:
|
| 21 |
- name: Accuracy
|
| 22 |
type: accuracy
|
| 23 |
+
value: 0.8633333333333333
|
| 24 |
- name: F1
|
| 25 |
type: f1
|
| 26 |
+
value: 0.8655737704918034
|
| 27 |
---
|
| 28 |
|
| 29 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
|
| 33 |
|
| 34 |
This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on the imdb dataset.
|
| 35 |
It achieves the following results on the evaluation set:
|
| 36 |
+
- Loss: 0.3298
|
| 37 |
+
- Accuracy: 0.8633
|
| 38 |
+
- F1: 0.8656
|
| 39 |
|
| 40 |
## Model description
|
| 41 |
|
|
|
|
| 69 |
### Framework versions
|
| 70 |
|
| 71 |
- Transformers 4.18.0
|
| 72 |
+
- Pytorch 1.11.0+cu113
|
| 73 |
- Datasets 2.1.0
|
| 74 |
- Tokenizers 0.12.1
|