Instructions to use TeamResearch/sentiment-model-saagie with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use TeamResearch/sentiment-model-saagie with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="TeamResearch/sentiment-model-saagie")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("TeamResearch/sentiment-model-saagie") model = AutoModelForSequenceClassification.from_pretrained("TeamResearch/sentiment-model-saagie", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
161a6fd
1
Parent(s): 72731d2
update model card README.md
Browse files
README.md
CHANGED
|
@@ -15,13 +15,11 @@ model-index:
|
|
| 15 |
dataset:
|
| 16 |
name: sst2
|
| 17 |
type: sst2
|
| 18 |
-
config: default
|
| 19 |
-
split: validation
|
| 20 |
args: default
|
| 21 |
metrics:
|
| 22 |
- name: Accuracy
|
| 23 |
type: accuracy
|
| 24 |
-
value: 0.
|
| 25 |
---
|
| 26 |
|
| 27 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
@@ -31,8 +29,8 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 31 |
|
| 32 |
This model is a fine-tuned version of [prajjwal1/bert-tiny](https://huggingface.co/prajjwal1/bert-tiny) on the sst2 dataset.
|
| 33 |
It achieves the following results on the evaluation set:
|
| 34 |
-
- Loss: 0.
|
| 35 |
-
- Accuracy: 0.
|
| 36 |
|
| 37 |
## Model description
|
| 38 |
|
|
@@ -63,14 +61,14 @@ The following hyperparameters were used during training:
|
|
| 63 |
|
| 64 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 65 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
| 66 |
-
| 0.
|
| 67 |
-
| 0.
|
| 68 |
-
| 0.
|
| 69 |
|
| 70 |
|
| 71 |
### Framework versions
|
| 72 |
|
| 73 |
-
- Transformers 4.
|
| 74 |
-
- Pytorch
|
| 75 |
-
- Datasets 2.
|
| 76 |
-
- Tokenizers 0.
|
|
|
|
| 15 |
dataset:
|
| 16 |
name: sst2
|
| 17 |
type: sst2
|
|
|
|
|
|
|
| 18 |
args: default
|
| 19 |
metrics:
|
| 20 |
- name: Accuracy
|
| 21 |
type: accuracy
|
| 22 |
+
value: 0.7916666666666666
|
| 23 |
---
|
| 24 |
|
| 25 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
|
| 29 |
|
| 30 |
This model is a fine-tuned version of [prajjwal1/bert-tiny](https://huggingface.co/prajjwal1/bert-tiny) on the sst2 dataset.
|
| 31 |
It achieves the following results on the evaluation set:
|
| 32 |
+
- Loss: 0.5457
|
| 33 |
+
- Accuracy: 0.7917
|
| 34 |
|
| 35 |
## Model description
|
| 36 |
|
|
|
|
| 61 |
|
| 62 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 63 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
| 64 |
+
| 0.5174 | 1.0 | 1500 | 0.4787 | 0.765 |
|
| 65 |
+
| 0.379 | 2.0 | 3000 | 0.5247 | 0.7867 |
|
| 66 |
+
| 0.3362 | 3.0 | 4500 | 0.5457 | 0.7917 |
|
| 67 |
|
| 68 |
|
| 69 |
### Framework versions
|
| 70 |
|
| 71 |
+
- Transformers 4.18.0
|
| 72 |
+
- Pytorch 1.8.1
|
| 73 |
+
- Datasets 2.12.0
|
| 74 |
+
- Tokenizers 0.12.1
|