Text Classification
Transformers
TensorBoard
Safetensors
roberta
Generated from Trainer
text-embeddings-inference
Instructions to use DaisyQue/test_trainer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use DaisyQue/test_trainer with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="DaisyQue/test_trainer")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("DaisyQue/test_trainer") model = AutoModelForSequenceClassification.from_pretrained("DaisyQue/test_trainer", device_map="auto") - Notebooks
- Google Colab
- Kaggle
End of training
Browse files
README.md
CHANGED
|
@@ -5,6 +5,9 @@ tags:
|
|
| 5 |
- generated_from_trainer
|
| 6 |
metrics:
|
| 7 |
- accuracy
|
|
|
|
|
|
|
|
|
|
| 8 |
model-index:
|
| 9 |
- name: test_trainer
|
| 10 |
results: []
|
|
@@ -17,11 +20,11 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 17 |
|
| 18 |
This model is a fine-tuned version of [cardiffnlp/twitter-roberta-base-sentiment](https://huggingface.co/cardiffnlp/twitter-roberta-base-sentiment) on an unknown dataset.
|
| 19 |
It achieves the following results on the evaluation set:
|
| 20 |
-
- Loss: 1.
|
| 21 |
-
- Accuracy: 0.
|
| 22 |
-
-
|
| 23 |
-
-
|
| 24 |
-
-
|
| 25 |
|
| 26 |
## Model description
|
| 27 |
|
|
@@ -41,20 +44,28 @@ More information needed
|
|
| 41 |
|
| 42 |
The following hyperparameters were used during training:
|
| 43 |
- learning_rate: 5e-05
|
| 44 |
-
- train_batch_size:
|
| 45 |
-
- eval_batch_size:
|
| 46 |
- seed: 42
|
| 47 |
- optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 48 |
- lr_scheduler_type: linear
|
| 49 |
-
-
|
|
|
|
| 50 |
|
| 51 |
### Training results
|
| 52 |
|
| 53 |
-
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 54 |
-
|:-------------:|:-----:|:----:|:---------------:|:--------:|:------
|
| 55 |
-
|
|
| 56 |
-
| 0.
|
| 57 |
-
| 0.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 58 |
|
| 59 |
|
| 60 |
### Framework versions
|
|
|
|
| 5 |
- generated_from_trainer
|
| 6 |
metrics:
|
| 7 |
- accuracy
|
| 8 |
+
- f1
|
| 9 |
+
- precision
|
| 10 |
+
- recall
|
| 11 |
model-index:
|
| 12 |
- name: test_trainer
|
| 13 |
results: []
|
|
|
|
| 20 |
|
| 21 |
This model is a fine-tuned version of [cardiffnlp/twitter-roberta-base-sentiment](https://huggingface.co/cardiffnlp/twitter-roberta-base-sentiment) on an unknown dataset.
|
| 22 |
It achieves the following results on the evaluation set:
|
| 23 |
+
- Loss: 1.2791
|
| 24 |
+
- Accuracy: 0.794
|
| 25 |
+
- F1: 0.7938
|
| 26 |
+
- Precision: 0.7958
|
| 27 |
+
- Recall: 0.7986
|
| 28 |
|
| 29 |
## Model description
|
| 30 |
|
|
|
|
| 44 |
|
| 45 |
The following hyperparameters were used during training:
|
| 46 |
- learning_rate: 5e-05
|
| 47 |
+
- train_batch_size: 128
|
| 48 |
+
- eval_batch_size: 64
|
| 49 |
- seed: 42
|
| 50 |
- optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 51 |
- lr_scheduler_type: linear
|
| 52 |
+
- lr_scheduler_warmup_ratio: 0.1
|
| 53 |
+
- num_epochs: 10
|
| 54 |
|
| 55 |
### Training results
|
| 56 |
|
| 57 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall |
|
| 58 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|:---------:|:------:|
|
| 59 |
+
| 0.4814 | 1.0 | 55 | 0.5014 | 0.793 | 0.7925 | 0.7935 | 0.8008 |
|
| 60 |
+
| 0.3957 | 2.0 | 110 | 0.5091 | 0.806 | 0.8050 | 0.8120 | 0.8030 |
|
| 61 |
+
| 0.2667 | 3.0 | 165 | 0.6027 | 0.815 | 0.8149 | 0.8195 | 0.8148 |
|
| 62 |
+
| 0.1823 | 4.0 | 220 | 0.7652 | 0.802 | 0.8015 | 0.8021 | 0.8088 |
|
| 63 |
+
| 0.1114 | 5.0 | 275 | 0.8443 | 0.808 | 0.8080 | 0.8105 | 0.8117 |
|
| 64 |
+
| 0.0862 | 6.0 | 330 | 0.9307 | 0.802 | 0.8021 | 0.8043 | 0.8072 |
|
| 65 |
+
| 0.0422 | 7.0 | 385 | 1.0603 | 0.792 | 0.7919 | 0.7943 | 0.7958 |
|
| 66 |
+
| 0.0323 | 8.0 | 440 | 1.1902 | 0.793 | 0.7928 | 0.7948 | 0.7982 |
|
| 67 |
+
| 0.0195 | 9.0 | 495 | 1.2363 | 0.791 | 0.7909 | 0.7941 | 0.7941 |
|
| 68 |
+
| 0.0172 | 10.0 | 550 | 1.2791 | 0.794 | 0.7938 | 0.7958 | 0.7986 |
|
| 69 |
|
| 70 |
|
| 71 |
### Framework versions
|
runs/Nov25_14-35-01_d63214356b26/events.out.tfevents.1732545308.d63214356b26.667.1
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:aabf6b6e3c71aef43273741bedf5d3b5abaf1fa651e476984949994d51a28db7
|
| 3 |
+
size 21926
|
runs/Nov25_14-35-01_d63214356b26/events.out.tfevents.1732546262.d63214356b26.667.2
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:71cda1753dcef6bcfa8fa6578b1d2ac06ce529605bb21b1318b057dca4a3e0d9
|
| 3 |
+
size 560
|