Shunian Chen
commited on
Commit
•
f52d165
1
Parent(s):
55cb3b1
update model card README.md
Browse files
README.md
ADDED
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- generated_from_trainer
|
4 |
+
datasets:
|
5 |
+
- yelp_review_full
|
6 |
+
metrics:
|
7 |
+
- accuracy
|
8 |
+
model-index:
|
9 |
+
- name: yelp_review_rating_reberta_base
|
10 |
+
results:
|
11 |
+
- task:
|
12 |
+
name: Text Classification
|
13 |
+
type: text-classification
|
14 |
+
dataset:
|
15 |
+
name: yelp_review_full
|
16 |
+
type: yelp_review_full
|
17 |
+
config: yelp_review_full
|
18 |
+
split: train
|
19 |
+
args: yelp_review_full
|
20 |
+
metrics:
|
21 |
+
- name: Accuracy
|
22 |
+
type: accuracy
|
23 |
+
value: 0.67188
|
24 |
+
---
|
25 |
+
|
26 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
27 |
+
should probably proofread and complete it, then remove this comment. -->
|
28 |
+
|
29 |
+
# yelp_review_rating_reberta_base
|
30 |
+
|
31 |
+
This model was trained from scratch on the yelp_review_full dataset.
|
32 |
+
It achieves the following results on the evaluation set:
|
33 |
+
- Loss: 0.8026
|
34 |
+
- Accuracy: 0.6719
|
35 |
+
|
36 |
+
## Model description
|
37 |
+
|
38 |
+
More information needed
|
39 |
+
|
40 |
+
## Intended uses & limitations
|
41 |
+
|
42 |
+
More information needed
|
43 |
+
|
44 |
+
## Training and evaluation data
|
45 |
+
|
46 |
+
More information needed
|
47 |
+
|
48 |
+
## Training procedure
|
49 |
+
|
50 |
+
### Training hyperparameters
|
51 |
+
|
52 |
+
The following hyperparameters were used during training:
|
53 |
+
- learning_rate: 2e-05
|
54 |
+
- train_batch_size: 16
|
55 |
+
- eval_batch_size: 16
|
56 |
+
- seed: 42
|
57 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
58 |
+
- lr_scheduler_type: cosine
|
59 |
+
- num_epochs: 5
|
60 |
+
|
61 |
+
### Training results
|
62 |
+
|
63 |
+
| Training Loss | Epoch | Step | Accuracy | Validation Loss |
|
64 |
+
|:-------------:|:-----:|:------:|:--------:|:---------------:|
|
65 |
+
| 0.8355 | 1.0 | 40625 | 0.6449 | 0.8211 |
|
66 |
+
| 0.7709 | 2.0 | 81250 | 0.6615 | 0.7877 |
|
67 |
+
| 0.7141 | 3.0 | 121875 | 0.6712 | 0.7689 |
|
68 |
+
| 0.6511 | 4.0 | 162500 | 0.6724 | 0.7845 |
|
69 |
+
| 0.6229 | 5.0 | 203125 | 0.8026 | 0.6719 |
|
70 |
+
|
71 |
+
|
72 |
+
### Framework versions
|
73 |
+
|
74 |
+
- Transformers 4.22.2
|
75 |
+
- Pytorch 1.12.1+cu102
|
76 |
+
- Datasets 2.5.2
|
77 |
+
- Tokenizers 0.12.1
|