bert-base-case-financial-news-twitter-sentiment
Browse files- README.md +17 -2
- model.safetensors +1 -1
- training_args.bin +1 -1
README.md
CHANGED
@@ -4,6 +4,9 @@ license: apache-2.0
|
|
4 |
base_model: bert-base-cased
|
5 |
tags:
|
6 |
- generated_from_trainer
|
|
|
|
|
|
|
7 |
model-index:
|
8 |
- name: twitter_trainer
|
9 |
results: []
|
@@ -15,6 +18,12 @@ should probably proofread and complete it, then remove this comment. -->
|
|
15 |
# twitter_trainer
|
16 |
|
17 |
This model is a fine-tuned version of [bert-base-cased](https://huggingface.co/bert-base-cased) on an unknown dataset.
|
|
|
|
|
|
|
|
|
|
|
|
|
18 |
|
19 |
## Model description
|
20 |
|
@@ -42,13 +51,19 @@ The following hyperparameters were used during training:
|
|
42 |
- optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
43 |
- lr_scheduler_type: linear
|
44 |
- lr_scheduler_warmup_ratio: 0.1
|
45 |
-
- num_epochs:
|
46 |
|
47 |
### Training results
|
48 |
|
49 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy | P | R | F1 |
|
50 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|:-------:|:--------:|:--------:|
|
51 |
-
| No log | 0
|
|
|
|
|
|
|
|
|
|
|
|
|
52 |
|
53 |
|
54 |
### Framework versions
|
|
|
4 |
base_model: bert-base-cased
|
5 |
tags:
|
6 |
- generated_from_trainer
|
7 |
+
metrics:
|
8 |
+
- accuracy
|
9 |
+
- f1
|
10 |
model-index:
|
11 |
- name: twitter_trainer
|
12 |
results: []
|
|
|
18 |
# twitter_trainer
|
19 |
|
20 |
This model is a fine-tuned version of [bert-base-cased](https://huggingface.co/bert-base-cased) on an unknown dataset.
|
21 |
+
It achieves the following results on the evaluation set:
|
22 |
+
- Loss: 0.6231
|
23 |
+
- Accuracy: 79.1
|
24 |
+
- P: 97.2874
|
25 |
+
- R: 107.8862
|
26 |
+
- F1: 102.3130
|
27 |
|
28 |
## Model description
|
29 |
|
|
|
51 |
- optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
52 |
- lr_scheduler_type: linear
|
53 |
- lr_scheduler_warmup_ratio: 0.1
|
54 |
+
- num_epochs: 7
|
55 |
|
56 |
### Training results
|
57 |
|
58 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy | P | R | F1 |
|
59 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|:-------:|:--------:|:--------:|
|
60 |
+
| No log | 1.0 | 63 | 1.0913 | 64.3 | 89.9301 | 138.4284 | 109.0292 |
|
61 |
+
| No log | 2.0 | 126 | 0.8107 | 67.3 | 90.5817 | 128.2353 | 106.1688 |
|
62 |
+
| No log | 3.0 | 189 | 0.6766 | 74.6 | 92.8424 | 112.6984 | 101.8113 |
|
63 |
+
| No log | 4.0 | 252 | 0.6369 | 76.4 | 95.0107 | 108.6390 | 101.3688 |
|
64 |
+
| No log | 5.0 | 315 | 0.6300 | 78.3 | 97.6935 | 106.8348 | 102.0599 |
|
65 |
+
| No log | 6.0 | 378 | 0.6253 | 79.3 | 97.4302 | 107.4494 | 102.1948 |
|
66 |
+
| No log | 6.896 | 434 | 0.6231 | 79.1 | 97.2874 | 107.8862 | 102.3130 |
|
67 |
|
68 |
|
69 |
### Framework versions
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 433279996
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:310eddb0465f9774bcfeb5e877d8cdf8b68c0309b5678a61284e5e0b993ac60c
|
3 |
size 433279996
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 5304
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8d9c2891c8e61f86ed749859cfbf3997b8f566b91234a2ddf00e4cd04386c2b2
|
3 |
size 5304
|