End of training
Browse files
README.md
ADDED
|
@@ -0,0 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
base_model: roberta-base
|
| 4 |
+
tags:
|
| 5 |
+
- generated_from_trainer
|
| 6 |
+
metrics:
|
| 7 |
+
- accuracy
|
| 8 |
+
- f1
|
| 9 |
+
model-index:
|
| 10 |
+
- name: roberta-base-topic_classification_simple2
|
| 11 |
+
results: []
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 15 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 16 |
+
|
| 17 |
+
# roberta-base-topic_classification_simple2
|
| 18 |
+
|
| 19 |
+
This model is a fine-tuned version of [roberta-base](https://huggingface.co/roberta-base) on the None dataset.
|
| 20 |
+
It achieves the following results on the evaluation set:
|
| 21 |
+
- Loss: 1.1250
|
| 22 |
+
- Accuracy: {'accuracy': 0.866996699669967}
|
| 23 |
+
- F1: {'f1': 0.8657113367537151}
|
| 24 |
+
|
| 25 |
+
## Model description
|
| 26 |
+
|
| 27 |
+
More information needed
|
| 28 |
+
|
| 29 |
+
## Intended uses & limitations
|
| 30 |
+
|
| 31 |
+
More information needed
|
| 32 |
+
|
| 33 |
+
## Training and evaluation data
|
| 34 |
+
|
| 35 |
+
More information needed
|
| 36 |
+
|
| 37 |
+
## Training procedure
|
| 38 |
+
|
| 39 |
+
### Training hyperparameters
|
| 40 |
+
|
| 41 |
+
The following hyperparameters were used during training:
|
| 42 |
+
- learning_rate: 2e-05
|
| 43 |
+
- train_batch_size: 32
|
| 44 |
+
- eval_batch_size: 32
|
| 45 |
+
- seed: 42
|
| 46 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 47 |
+
- lr_scheduler_type: linear
|
| 48 |
+
- num_epochs: 20
|
| 49 |
+
|
| 50 |
+
### Training results
|
| 51 |
+
|
| 52 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
|
| 53 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------------------------------:|:--------------------------:|
|
| 54 |
+
| No log | 1.0 | 313 | 0.5920 | {'accuracy': 0.8158415841584158} | {'f1': 0.8063426391052376} |
|
| 55 |
+
| 0.7507 | 2.0 | 626 | 0.5183 | {'accuracy': 0.8419141914191419} | {'f1': 0.8450438669495921} |
|
| 56 |
+
| 0.7507 | 3.0 | 939 | 0.5089 | {'accuracy': 0.8514851485148515} | {'f1': 0.8522994355907825} |
|
| 57 |
+
| 0.3199 | 4.0 | 1252 | 0.6030 | {'accuracy': 0.8508250825082508} | {'f1': 0.8484331857141633} |
|
| 58 |
+
| 0.1504 | 5.0 | 1565 | 0.6894 | {'accuracy': 0.8617161716171617} | {'f1': 0.8599694556754336} |
|
| 59 |
+
| 0.1504 | 6.0 | 1878 | 0.8381 | {'accuracy': 0.8448844884488449} | {'f1': 0.8461993387843019} |
|
| 60 |
+
| 0.0822 | 7.0 | 2191 | 0.8515 | {'accuracy': 0.8554455445544554} | {'f1': 0.8542784950089077} |
|
| 61 |
+
| 0.0551 | 8.0 | 2504 | 0.9319 | {'accuracy': 0.8531353135313532} | {'f1': 0.853451943641699} |
|
| 62 |
+
| 0.0551 | 9.0 | 2817 | 0.9478 | {'accuracy': 0.8577557755775578} | {'f1': 0.8565849659994866} |
|
| 63 |
+
| 0.0377 | 10.0 | 3130 | 0.9998 | {'accuracy': 0.8554455445544554} | {'f1': 0.8550659197552203} |
|
| 64 |
+
| 0.0377 | 11.0 | 3443 | 1.0025 | {'accuracy': 0.8554455445544554} | {'f1': 0.8550137537621838} |
|
| 65 |
+
| 0.0279 | 12.0 | 3756 | 1.0728 | {'accuracy': 0.8574257425742574} | {'f1': 0.8566278925949554} |
|
| 66 |
+
| 0.0132 | 13.0 | 4069 | 1.0873 | {'accuracy': 0.8623762376237624} | {'f1': 0.8610125122049608} |
|
| 67 |
+
| 0.0132 | 14.0 | 4382 | 1.0989 | {'accuracy': 0.8653465346534653} | {'f1': 0.863969705278768} |
|
| 68 |
+
| 0.0124 | 15.0 | 4695 | 1.1379 | {'accuracy': 0.8643564356435643} | {'f1': 0.8630599594036119} |
|
| 69 |
+
| 0.0095 | 16.0 | 5008 | 1.1207 | {'accuracy': 0.8653465346534653} | {'f1': 0.8639194427774014} |
|
| 70 |
+
| 0.0095 | 17.0 | 5321 | 1.1053 | {'accuracy': 0.866006600660066} | {'f1': 0.8652013668499585} |
|
| 71 |
+
| 0.0074 | 18.0 | 5634 | 1.1296 | {'accuracy': 0.863036303630363} | {'f1': 0.8615189712315606} |
|
| 72 |
+
| 0.0074 | 19.0 | 5947 | 1.1099 | {'accuracy': 0.8689768976897689} | {'f1': 0.867663744149239} |
|
| 73 |
+
| 0.0046 | 20.0 | 6260 | 1.1250 | {'accuracy': 0.866996699669967} | {'f1': 0.8657113367537151} |
|
| 74 |
+
|
| 75 |
+
|
| 76 |
+
### Framework versions
|
| 77 |
+
|
| 78 |
+
- Transformers 4.35.2
|
| 79 |
+
- Pytorch 2.1.0+cu121
|
| 80 |
+
- Datasets 2.16.1
|
| 81 |
+
- Tokenizers 0.15.1
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 725458760
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cfb3b6355e0cfc7944d43a8bc6ce6f2adb100259ea0686785b97aa1b584d1f27
|
| 3 |
size 725458760
|
runs/Jan27_19-44-39_f88a4aa5a720/events.out.tfevents.1706384680.f88a4aa5a720.1702.0
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:20242a63bfb22e78f456ba24392b0d04cb85e0763192a5a62ca740a790ae6f98
|
| 3 |
+
size 12388
|