data-silence/rating-classifier
Browse files
README.md
ADDED
|
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
base_model: bert-base-uncased
|
| 4 |
+
tags:
|
| 5 |
+
- generated_from_trainer
|
| 6 |
+
metrics:
|
| 7 |
+
- f1
|
| 8 |
+
- accuracy
|
| 9 |
+
- precision
|
| 10 |
+
- recall
|
| 11 |
+
model-index:
|
| 12 |
+
- name: rating-classifier
|
| 13 |
+
results: []
|
| 14 |
+
---
|
| 15 |
+
|
| 16 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 17 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 18 |
+
|
| 19 |
+
# rating-classifier
|
| 20 |
+
|
| 21 |
+
This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on the None dataset.
|
| 22 |
+
It achieves the following results on the evaluation set:
|
| 23 |
+
- F1: 0.6729
|
| 24 |
+
- Loss: 0.8373
|
| 25 |
+
- Accuracy: 0.6710
|
| 26 |
+
- Precision: 0.6774
|
| 27 |
+
- Recall: 0.6710
|
| 28 |
+
|
| 29 |
+
## Model description
|
| 30 |
+
|
| 31 |
+
More information needed
|
| 32 |
+
|
| 33 |
+
## Intended uses & limitations
|
| 34 |
+
|
| 35 |
+
More information needed
|
| 36 |
+
|
| 37 |
+
## Training and evaluation data
|
| 38 |
+
|
| 39 |
+
More information needed
|
| 40 |
+
|
| 41 |
+
## Training procedure
|
| 42 |
+
|
| 43 |
+
### Training hyperparameters
|
| 44 |
+
|
| 45 |
+
The following hyperparameters were used during training:
|
| 46 |
+
- learning_rate: 2e-05
|
| 47 |
+
- train_batch_size: 16
|
| 48 |
+
- eval_batch_size: 16
|
| 49 |
+
- seed: 42
|
| 50 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 51 |
+
- lr_scheduler_type: linear
|
| 52 |
+
- lr_scheduler_warmup_steps: 500
|
| 53 |
+
- num_epochs: 5
|
| 54 |
+
|
| 55 |
+
### Training results
|
| 56 |
+
|
| 57 |
+
| Training Loss | Epoch | Step | F1 | Validation Loss | Accuracy | Precision | Recall |
|
| 58 |
+
|:-------------:|:-----:|:----:|:------:|:---------------:|:--------:|:---------:|:------:|
|
| 59 |
+
| 1.0326 | 1.0 | 984 | 0.6354 | 0.8096 | 0.6707 | 0.6383 | 0.6707 |
|
| 60 |
+
| 0.6801 | 2.0 | 1968 | 0.6668 | 0.7508 | 0.6888 | 0.6667 | 0.6888 |
|
| 61 |
+
| 0.5313 | 3.0 | 2952 | 0.6729 | 0.8373 | 0.6710 | 0.6774 | 0.6710 |
|
| 62 |
+
| 0.3895 | 4.0 | 3936 | 0.6678 | 0.9705 | 0.6730 | 0.6649 | 0.6730 |
|
| 63 |
+
| 0.2857 | 5.0 | 4920 | 0.6708 | 1.0989 | 0.6745 | 0.6684 | 0.6745 |
|
| 64 |
+
|
| 65 |
+
|
| 66 |
+
### Framework versions
|
| 67 |
+
|
| 68 |
+
- Transformers 4.42.4
|
| 69 |
+
- Pytorch 2.3.1+cu121
|
| 70 |
+
- Datasets 2.21.0
|
| 71 |
+
- Tokenizers 0.19.1
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 437967876
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6b1a503d0e3d41ec03bf5f4d96877aa6d4999a7a1dc0ad762f09fefae2e8ab01
|
| 3 |
size 437967876
|
runs/Aug24_21-15-46_9fa1dcb15539/events.out.tfevents.1724535239.9fa1dcb15539.2980.4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4c67c2f815f1d1e0529c65fc932c5e0165cf453340f807b66b617e648933821a
|
| 3 |
+
size 560
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 5176
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:722208677f04d743ce8ac3124cdb2042b23059fa1279becc338ab00c0404ccc9
|
| 3 |
size 5176
|