update model card README.md
Browse files
README.md
ADDED
@@ -0,0 +1,96 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
datasets:
|
6 |
+
- poem_sentiment
|
7 |
+
metrics:
|
8 |
+
- accuracy
|
9 |
+
model-index:
|
10 |
+
- name: Bert_uncased_fine_tuned_Reward_Model
|
11 |
+
results:
|
12 |
+
- task:
|
13 |
+
name: Text Classification
|
14 |
+
type: text-classification
|
15 |
+
dataset:
|
16 |
+
name: poem_sentiment
|
17 |
+
type: poem_sentiment
|
18 |
+
config: default
|
19 |
+
split: test
|
20 |
+
args: default
|
21 |
+
metrics:
|
22 |
+
- name: Accuracy
|
23 |
+
type: accuracy
|
24 |
+
value: 0.875
|
25 |
+
---
|
26 |
+
|
27 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
28 |
+
should probably proofread and complete it, then remove this comment. -->
|
29 |
+
|
30 |
+
# Bert_uncased_fine_tuned_Reward_Model
|
31 |
+
|
32 |
+
This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on the poem_sentiment dataset.
|
33 |
+
It achieves the following results on the evaluation set:
|
34 |
+
- Loss: 0.0876
|
35 |
+
- Mse: 0.0876
|
36 |
+
- Mae: 0.1403
|
37 |
+
- R2: 0.7389
|
38 |
+
- Accuracy: 0.875
|
39 |
+
|
40 |
+
## Model description
|
41 |
+
|
42 |
+
More information needed
|
43 |
+
|
44 |
+
## Intended uses & limitations
|
45 |
+
|
46 |
+
More information needed
|
47 |
+
|
48 |
+
## Training and evaluation data
|
49 |
+
|
50 |
+
More information needed
|
51 |
+
|
52 |
+
## Training procedure
|
53 |
+
|
54 |
+
### Training hyperparameters
|
55 |
+
|
56 |
+
The following hyperparameters were used during training:
|
57 |
+
- learning_rate: 2e-05
|
58 |
+
- train_batch_size: 16
|
59 |
+
- eval_batch_size: 16
|
60 |
+
- seed: 42
|
61 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
62 |
+
- lr_scheduler_type: linear
|
63 |
+
- num_epochs: 20
|
64 |
+
|
65 |
+
### Training results
|
66 |
+
|
67 |
+
| Training Loss | Epoch | Step | Validation Loss | Mse | Mae | R2 | Accuracy |
|
68 |
+
|:-------------:|:-----:|:----:|:---------------:|:------:|:------:|:------:|:--------:|
|
69 |
+
| No log | 1.0 | 53 | 0.1744 | 0.1744 | 0.2973 | 0.4805 | 0.7885 |
|
70 |
+
| No log | 2.0 | 106 | 0.1074 | 0.1074 | 0.2333 | 0.6801 | 0.8846 |
|
71 |
+
| No log | 3.0 | 159 | 0.1026 | 0.1026 | 0.2134 | 0.6943 | 0.8654 |
|
72 |
+
| No log | 4.0 | 212 | 0.0877 | 0.0877 | 0.1841 | 0.7388 | 0.8942 |
|
73 |
+
| No log | 5.0 | 265 | 0.1000 | 0.1000 | 0.2007 | 0.7021 | 0.8942 |
|
74 |
+
| No log | 6.0 | 318 | 0.0863 | 0.0863 | 0.1738 | 0.7429 | 0.8942 |
|
75 |
+
| No log | 7.0 | 371 | 0.0966 | 0.0966 | 0.1827 | 0.7122 | 0.8846 |
|
76 |
+
| No log | 8.0 | 424 | 0.0946 | 0.0946 | 0.1701 | 0.7183 | 0.8846 |
|
77 |
+
| No log | 9.0 | 477 | 0.0978 | 0.0978 | 0.1658 | 0.7088 | 0.875 |
|
78 |
+
| 0.0516 | 10.0 | 530 | 0.0854 | 0.0854 | 0.1639 | 0.7457 | 0.875 |
|
79 |
+
| 0.0516 | 11.0 | 583 | 0.0947 | 0.0947 | 0.1620 | 0.7181 | 0.8846 |
|
80 |
+
| 0.0516 | 12.0 | 636 | 0.0907 | 0.0907 | 0.1516 | 0.7297 | 0.8846 |
|
81 |
+
| 0.0516 | 13.0 | 689 | 0.0885 | 0.0885 | 0.1546 | 0.7364 | 0.875 |
|
82 |
+
| 0.0516 | 14.0 | 742 | 0.0849 | 0.0849 | 0.1452 | 0.7471 | 0.8942 |
|
83 |
+
| 0.0516 | 15.0 | 795 | 0.0823 | 0.0823 | 0.1428 | 0.7548 | 0.8846 |
|
84 |
+
| 0.0516 | 16.0 | 848 | 0.0864 | 0.0864 | 0.1429 | 0.7427 | 0.8846 |
|
85 |
+
| 0.0516 | 17.0 | 901 | 0.0854 | 0.0854 | 0.1427 | 0.7457 | 0.8846 |
|
86 |
+
| 0.0516 | 18.0 | 954 | 0.0860 | 0.0860 | 0.1429 | 0.7437 | 0.875 |
|
87 |
+
| 0.0059 | 19.0 | 1007 | 0.0871 | 0.0871 | 0.1438 | 0.7406 | 0.875 |
|
88 |
+
| 0.0059 | 20.0 | 1060 | 0.0876 | 0.0876 | 0.1403 | 0.7389 | 0.875 |
|
89 |
+
|
90 |
+
|
91 |
+
### Framework versions
|
92 |
+
|
93 |
+
- Transformers 4.26.1
|
94 |
+
- Pytorch 1.13.1+cu116
|
95 |
+
- Datasets 2.10.1
|
96 |
+
- Tokenizers 0.13.2
|