update model card README.md
Browse files
README.md
ADDED
@@ -0,0 +1,210 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: bert-base-uncased
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- accuracy
|
8 |
+
model-index:
|
9 |
+
- name: best_model-yelp_polarity-16-87
|
10 |
+
results: []
|
11 |
+
---
|
12 |
+
|
13 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
14 |
+
should probably proofread and complete it, then remove this comment. -->
|
15 |
+
|
16 |
+
# best_model-yelp_polarity-16-87
|
17 |
+
|
18 |
+
This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on an unknown dataset.
|
19 |
+
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 0.2887
|
21 |
+
- Accuracy: 0.8438
|
22 |
+
|
23 |
+
## Model description
|
24 |
+
|
25 |
+
More information needed
|
26 |
+
|
27 |
+
## Intended uses & limitations
|
28 |
+
|
29 |
+
More information needed
|
30 |
+
|
31 |
+
## Training and evaluation data
|
32 |
+
|
33 |
+
More information needed
|
34 |
+
|
35 |
+
## Training procedure
|
36 |
+
|
37 |
+
### Training hyperparameters
|
38 |
+
|
39 |
+
The following hyperparameters were used during training:
|
40 |
+
- learning_rate: 1e-05
|
41 |
+
- train_batch_size: 32
|
42 |
+
- eval_batch_size: 32
|
43 |
+
- seed: 42
|
44 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
45 |
+
- lr_scheduler_type: linear
|
46 |
+
- lr_scheduler_warmup_steps: 500
|
47 |
+
- num_epochs: 150
|
48 |
+
|
49 |
+
### Training results
|
50 |
+
|
51 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
52 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
53 |
+
| No log | 1.0 | 1 | 0.3259 | 0.875 |
|
54 |
+
| No log | 2.0 | 2 | 0.3259 | 0.875 |
|
55 |
+
| No log | 3.0 | 3 | 0.3257 | 0.875 |
|
56 |
+
| No log | 4.0 | 4 | 0.3256 | 0.875 |
|
57 |
+
| No log | 5.0 | 5 | 0.3254 | 0.875 |
|
58 |
+
| No log | 6.0 | 6 | 0.3251 | 0.875 |
|
59 |
+
| No log | 7.0 | 7 | 0.3247 | 0.875 |
|
60 |
+
| No log | 8.0 | 8 | 0.3243 | 0.875 |
|
61 |
+
| No log | 9.0 | 9 | 0.3238 | 0.875 |
|
62 |
+
| 0.2717 | 10.0 | 10 | 0.3233 | 0.875 |
|
63 |
+
| 0.2717 | 11.0 | 11 | 0.3227 | 0.875 |
|
64 |
+
| 0.2717 | 12.0 | 12 | 0.3220 | 0.875 |
|
65 |
+
| 0.2717 | 13.0 | 13 | 0.3212 | 0.875 |
|
66 |
+
| 0.2717 | 14.0 | 14 | 0.3204 | 0.875 |
|
67 |
+
| 0.2717 | 15.0 | 15 | 0.3195 | 0.875 |
|
68 |
+
| 0.2717 | 16.0 | 16 | 0.3185 | 0.875 |
|
69 |
+
| 0.2717 | 17.0 | 17 | 0.3174 | 0.875 |
|
70 |
+
| 0.2717 | 18.0 | 18 | 0.3161 | 0.875 |
|
71 |
+
| 0.2717 | 19.0 | 19 | 0.3148 | 0.875 |
|
72 |
+
| 0.2339 | 20.0 | 20 | 0.3134 | 0.875 |
|
73 |
+
| 0.2339 | 21.0 | 21 | 0.3119 | 0.875 |
|
74 |
+
| 0.2339 | 22.0 | 22 | 0.3103 | 0.875 |
|
75 |
+
| 0.2339 | 23.0 | 23 | 0.3087 | 0.875 |
|
76 |
+
| 0.2339 | 24.0 | 24 | 0.3072 | 0.875 |
|
77 |
+
| 0.2339 | 25.0 | 25 | 0.3056 | 0.875 |
|
78 |
+
| 0.2339 | 26.0 | 26 | 0.3038 | 0.875 |
|
79 |
+
| 0.2339 | 27.0 | 27 | 0.3021 | 0.875 |
|
80 |
+
| 0.2339 | 28.0 | 28 | 0.3003 | 0.875 |
|
81 |
+
| 0.2339 | 29.0 | 29 | 0.2985 | 0.875 |
|
82 |
+
| 0.1912 | 30.0 | 30 | 0.2967 | 0.875 |
|
83 |
+
| 0.1912 | 31.0 | 31 | 0.2948 | 0.875 |
|
84 |
+
| 0.1912 | 32.0 | 32 | 0.2931 | 0.875 |
|
85 |
+
| 0.1912 | 33.0 | 33 | 0.2913 | 0.875 |
|
86 |
+
| 0.1912 | 34.0 | 34 | 0.2895 | 0.875 |
|
87 |
+
| 0.1912 | 35.0 | 35 | 0.2876 | 0.875 |
|
88 |
+
| 0.1912 | 36.0 | 36 | 0.2858 | 0.875 |
|
89 |
+
| 0.1912 | 37.0 | 37 | 0.2840 | 0.875 |
|
90 |
+
| 0.1912 | 38.0 | 38 | 0.2822 | 0.875 |
|
91 |
+
| 0.1912 | 39.0 | 39 | 0.2803 | 0.875 |
|
92 |
+
| 0.115 | 40.0 | 40 | 0.2785 | 0.875 |
|
93 |
+
| 0.115 | 41.0 | 41 | 0.2767 | 0.9062 |
|
94 |
+
| 0.115 | 42.0 | 42 | 0.2750 | 0.9062 |
|
95 |
+
| 0.115 | 43.0 | 43 | 0.2732 | 0.9062 |
|
96 |
+
| 0.115 | 44.0 | 44 | 0.2713 | 0.9062 |
|
97 |
+
| 0.115 | 45.0 | 45 | 0.2694 | 0.9062 |
|
98 |
+
| 0.115 | 46.0 | 46 | 0.2676 | 0.9062 |
|
99 |
+
| 0.115 | 47.0 | 47 | 0.2658 | 0.9062 |
|
100 |
+
| 0.115 | 48.0 | 48 | 0.2640 | 0.9062 |
|
101 |
+
| 0.115 | 49.0 | 49 | 0.2625 | 0.9062 |
|
102 |
+
| 0.0852 | 50.0 | 50 | 0.2612 | 0.9062 |
|
103 |
+
| 0.0852 | 51.0 | 51 | 0.2604 | 0.875 |
|
104 |
+
| 0.0852 | 52.0 | 52 | 0.2601 | 0.875 |
|
105 |
+
| 0.0852 | 53.0 | 53 | 0.2607 | 0.8438 |
|
106 |
+
| 0.0852 | 54.0 | 54 | 0.2623 | 0.8438 |
|
107 |
+
| 0.0852 | 55.0 | 55 | 0.2655 | 0.8438 |
|
108 |
+
| 0.0852 | 56.0 | 56 | 0.2683 | 0.8438 |
|
109 |
+
| 0.0852 | 57.0 | 57 | 0.2702 | 0.8438 |
|
110 |
+
| 0.0852 | 58.0 | 58 | 0.2712 | 0.875 |
|
111 |
+
| 0.0852 | 59.0 | 59 | 0.2724 | 0.875 |
|
112 |
+
| 0.0595 | 60.0 | 60 | 0.2739 | 0.875 |
|
113 |
+
| 0.0595 | 61.0 | 61 | 0.2749 | 0.875 |
|
114 |
+
| 0.0595 | 62.0 | 62 | 0.2746 | 0.8438 |
|
115 |
+
| 0.0595 | 63.0 | 63 | 0.2741 | 0.875 |
|
116 |
+
| 0.0595 | 64.0 | 64 | 0.2728 | 0.875 |
|
117 |
+
| 0.0595 | 65.0 | 65 | 0.2725 | 0.875 |
|
118 |
+
| 0.0595 | 66.0 | 66 | 0.2714 | 0.875 |
|
119 |
+
| 0.0595 | 67.0 | 67 | 0.2707 | 0.875 |
|
120 |
+
| 0.0595 | 68.0 | 68 | 0.2710 | 0.875 |
|
121 |
+
| 0.0595 | 69.0 | 69 | 0.2717 | 0.875 |
|
122 |
+
| 0.0512 | 70.0 | 70 | 0.2730 | 0.875 |
|
123 |
+
| 0.0512 | 71.0 | 71 | 0.2744 | 0.875 |
|
124 |
+
| 0.0512 | 72.0 | 72 | 0.2770 | 0.875 |
|
125 |
+
| 0.0512 | 73.0 | 73 | 0.2799 | 0.875 |
|
126 |
+
| 0.0512 | 74.0 | 74 | 0.2819 | 0.875 |
|
127 |
+
| 0.0512 | 75.0 | 75 | 0.2848 | 0.875 |
|
128 |
+
| 0.0512 | 76.0 | 76 | 0.2876 | 0.875 |
|
129 |
+
| 0.0512 | 77.0 | 77 | 0.2896 | 0.875 |
|
130 |
+
| 0.0512 | 78.0 | 78 | 0.2917 | 0.875 |
|
131 |
+
| 0.0512 | 79.0 | 79 | 0.2941 | 0.875 |
|
132 |
+
| 0.0434 | 80.0 | 80 | 0.2939 | 0.875 |
|
133 |
+
| 0.0434 | 81.0 | 81 | 0.2912 | 0.875 |
|
134 |
+
| 0.0434 | 82.0 | 82 | 0.2886 | 0.875 |
|
135 |
+
| 0.0434 | 83.0 | 83 | 0.2858 | 0.875 |
|
136 |
+
| 0.0434 | 84.0 | 84 | 0.2824 | 0.875 |
|
137 |
+
| 0.0434 | 85.0 | 85 | 0.2793 | 0.875 |
|
138 |
+
| 0.0434 | 86.0 | 86 | 0.2744 | 0.875 |
|
139 |
+
| 0.0434 | 87.0 | 87 | 0.2724 | 0.875 |
|
140 |
+
| 0.0434 | 88.0 | 88 | 0.2710 | 0.875 |
|
141 |
+
| 0.0434 | 89.0 | 89 | 0.2697 | 0.875 |
|
142 |
+
| 0.0369 | 90.0 | 90 | 0.2690 | 0.875 |
|
143 |
+
| 0.0369 | 91.0 | 91 | 0.2681 | 0.875 |
|
144 |
+
| 0.0369 | 92.0 | 92 | 0.2665 | 0.875 |
|
145 |
+
| 0.0369 | 93.0 | 93 | 0.2653 | 0.875 |
|
146 |
+
| 0.0369 | 94.0 | 94 | 0.2647 | 0.875 |
|
147 |
+
| 0.0369 | 95.0 | 95 | 0.2633 | 0.875 |
|
148 |
+
| 0.0369 | 96.0 | 96 | 0.2627 | 0.875 |
|
149 |
+
| 0.0369 | 97.0 | 97 | 0.2625 | 0.875 |
|
150 |
+
| 0.0369 | 98.0 | 98 | 0.2644 | 0.875 |
|
151 |
+
| 0.0369 | 99.0 | 99 | 0.2635 | 0.875 |
|
152 |
+
| 0.0322 | 100.0 | 100 | 0.2641 | 0.875 |
|
153 |
+
| 0.0322 | 101.0 | 101 | 0.2578 | 0.875 |
|
154 |
+
| 0.0322 | 102.0 | 102 | 0.2545 | 0.875 |
|
155 |
+
| 0.0322 | 103.0 | 103 | 0.2523 | 0.875 |
|
156 |
+
| 0.0322 | 104.0 | 104 | 0.2487 | 0.875 |
|
157 |
+
| 0.0322 | 105.0 | 105 | 0.2455 | 0.875 |
|
158 |
+
| 0.0322 | 106.0 | 106 | 0.2446 | 0.875 |
|
159 |
+
| 0.0322 | 107.0 | 107 | 0.2448 | 0.875 |
|
160 |
+
| 0.0322 | 108.0 | 108 | 0.2457 | 0.875 |
|
161 |
+
| 0.0322 | 109.0 | 109 | 0.2491 | 0.875 |
|
162 |
+
| 0.029 | 110.0 | 110 | 0.2533 | 0.875 |
|
163 |
+
| 0.029 | 111.0 | 111 | 0.2583 | 0.875 |
|
164 |
+
| 0.029 | 112.0 | 112 | 0.2636 | 0.875 |
|
165 |
+
| 0.029 | 113.0 | 113 | 0.2695 | 0.875 |
|
166 |
+
| 0.029 | 114.0 | 114 | 0.2741 | 0.875 |
|
167 |
+
| 0.029 | 115.0 | 115 | 0.2807 | 0.8438 |
|
168 |
+
| 0.029 | 116.0 | 116 | 0.2901 | 0.8438 |
|
169 |
+
| 0.029 | 117.0 | 117 | 0.2972 | 0.8438 |
|
170 |
+
| 0.029 | 118.0 | 118 | 0.3048 | 0.8438 |
|
171 |
+
| 0.029 | 119.0 | 119 | 0.3109 | 0.8438 |
|
172 |
+
| 0.025 | 120.0 | 120 | 0.3177 | 0.8438 |
|
173 |
+
| 0.025 | 121.0 | 121 | 0.3216 | 0.8438 |
|
174 |
+
| 0.025 | 122.0 | 122 | 0.3244 | 0.8438 |
|
175 |
+
| 0.025 | 123.0 | 123 | 0.3253 | 0.8438 |
|
176 |
+
| 0.025 | 124.0 | 124 | 0.3263 | 0.8438 |
|
177 |
+
| 0.025 | 125.0 | 125 | 0.3257 | 0.8438 |
|
178 |
+
| 0.025 | 126.0 | 126 | 0.3258 | 0.8438 |
|
179 |
+
| 0.025 | 127.0 | 127 | 0.3259 | 0.8438 |
|
180 |
+
| 0.025 | 128.0 | 128 | 0.3269 | 0.8438 |
|
181 |
+
| 0.025 | 129.0 | 129 | 0.3269 | 0.8125 |
|
182 |
+
| 0.0213 | 130.0 | 130 | 0.3278 | 0.8125 |
|
183 |
+
| 0.0213 | 131.0 | 131 | 0.3265 | 0.8125 |
|
184 |
+
| 0.0213 | 132.0 | 132 | 0.3268 | 0.8125 |
|
185 |
+
| 0.0213 | 133.0 | 133 | 0.3242 | 0.8125 |
|
186 |
+
| 0.0213 | 134.0 | 134 | 0.3193 | 0.8438 |
|
187 |
+
| 0.0213 | 135.0 | 135 | 0.3127 | 0.8438 |
|
188 |
+
| 0.0213 | 136.0 | 136 | 0.3047 | 0.8438 |
|
189 |
+
| 0.0213 | 137.0 | 137 | 0.2973 | 0.8438 |
|
190 |
+
| 0.0213 | 138.0 | 138 | 0.2891 | 0.8438 |
|
191 |
+
| 0.0213 | 139.0 | 139 | 0.2836 | 0.8438 |
|
192 |
+
| 0.0196 | 140.0 | 140 | 0.2794 | 0.8438 |
|
193 |
+
| 0.0196 | 141.0 | 141 | 0.2769 | 0.8438 |
|
194 |
+
| 0.0196 | 142.0 | 142 | 0.2762 | 0.8438 |
|
195 |
+
| 0.0196 | 143.0 | 143 | 0.2764 | 0.8438 |
|
196 |
+
| 0.0196 | 144.0 | 144 | 0.2776 | 0.8438 |
|
197 |
+
| 0.0196 | 145.0 | 145 | 0.2806 | 0.8438 |
|
198 |
+
| 0.0196 | 146.0 | 146 | 0.2858 | 0.8438 |
|
199 |
+
| 0.0196 | 147.0 | 147 | 0.2876 | 0.8438 |
|
200 |
+
| 0.0196 | 148.0 | 148 | 0.2899 | 0.8438 |
|
201 |
+
| 0.0196 | 149.0 | 149 | 0.2893 | 0.8438 |
|
202 |
+
| 0.0171 | 150.0 | 150 | 0.2887 | 0.8438 |
|
203 |
+
|
204 |
+
|
205 |
+
### Framework versions
|
206 |
+
|
207 |
+
- Transformers 4.32.0.dev0
|
208 |
+
- Pytorch 2.0.1+cu118
|
209 |
+
- Datasets 2.4.0
|
210 |
+
- Tokenizers 0.13.3
|