Commit ·
40ea54f
1
Parent(s): d9dbb04
Upload TFBertForSequenceClassification
Browse files- README.md +20 -20
- config.json +20 -2
- tf_model.h5 +2 -2
README.md
CHANGED
|
@@ -14,16 +14,16 @@ probably proofread and complete it, then remove this comment. -->
|
|
| 14 |
|
| 15 |
This model is a fine-tuned version of [bert-base-cased](https://huggingface.co/bert-base-cased) on an unknown dataset.
|
| 16 |
It achieves the following results on the evaluation set:
|
| 17 |
-
- Train Loss: 0.
|
| 18 |
-
- Train Mae: 0.
|
| 19 |
-
- Train Mse: 0.
|
| 20 |
-
- Train R2-score:
|
| 21 |
-
- Train Accuracy: 0.
|
| 22 |
-
- Validation Loss: 0.
|
| 23 |
-
- Validation Mae: 0.
|
| 24 |
-
- Validation Mse: 0.
|
| 25 |
-
- Validation R2-score: 0.
|
| 26 |
-
- Validation Accuracy: 0.
|
| 27 |
- Epoch: 9
|
| 28 |
|
| 29 |
## Model description
|
|
@@ -50,16 +50,16 @@ The following hyperparameters were used during training:
|
|
| 50 |
|
| 51 |
| Train Loss | Train Mae | Train Mse | Train R2-score | Train Accuracy | Validation Loss | Validation Mae | Validation Mse | Validation R2-score | Validation Accuracy | Epoch |
|
| 52 |
|:----------:|:---------:|:---------:|:--------------:|:--------------:|:---------------:|:--------------:|:--------------:|:-------------------:|:-------------------:|:-----:|
|
| 53 |
-
| 0.
|
| 54 |
-
| 0.
|
| 55 |
-
| 0.
|
| 56 |
-
| 0.
|
| 57 |
-
| 0.
|
| 58 |
-
| 0.
|
| 59 |
-
| 0.
|
| 60 |
-
| 0.
|
| 61 |
-
| 0.
|
| 62 |
-
| 0.
|
| 63 |
|
| 64 |
|
| 65 |
### Framework versions
|
|
|
|
| 14 |
|
| 15 |
This model is a fine-tuned version of [bert-base-cased](https://huggingface.co/bert-base-cased) on an unknown dataset.
|
| 16 |
It achieves the following results on the evaluation set:
|
| 17 |
+
- Train Loss: 0.5177
|
| 18 |
+
- Train Mae: 0.3287
|
| 19 |
+
- Train Mse: 0.1635
|
| 20 |
+
- Train R2-score: -3.2462
|
| 21 |
+
- Train Accuracy: 0.5354
|
| 22 |
+
- Validation Loss: 0.1634
|
| 23 |
+
- Validation Mae: 0.3519
|
| 24 |
+
- Validation Mse: 0.1614
|
| 25 |
+
- Validation R2-score: -0.4800
|
| 26 |
+
- Validation Accuracy: 0.4459
|
| 27 |
- Epoch: 9
|
| 28 |
|
| 29 |
## Model description
|
|
|
|
| 50 |
|
| 51 |
| Train Loss | Train Mae | Train Mse | Train R2-score | Train Accuracy | Validation Loss | Validation Mae | Validation Mse | Validation R2-score | Validation Accuracy | Epoch |
|
| 52 |
|:----------:|:---------:|:---------:|:--------------:|:--------------:|:---------------:|:--------------:|:--------------:|:-------------------:|:-------------------:|:-----:|
|
| 53 |
+
| 0.5954 | 0.3730 | 0.2146 | -3.4803 | 0.4931 | 0.2190 | 0.4056 | 0.2174 | -0.8845 | 0.3622 | 0 |
|
| 54 |
+
| 0.8021 | 0.3763 | 0.2082 | -2.7115 | 0.4777 | 0.1827 | 0.3730 | 0.1810 | -0.5508 | 0.3838 | 1 |
|
| 55 |
+
| 0.6147 | 0.3404 | 0.1752 | -2.1219 | 0.5223 | 0.2622 | 0.4567 | 0.2613 | -0.9969 | 0.2811 | 2 |
|
| 56 |
+
| 0.6303 | 0.3447 | 0.1768 | -2.9520 | 0.5154 | 0.2331 | 0.4248 | 0.2321 | -0.7839 | 0.2811 | 3 |
|
| 57 |
+
| 0.3887 | 0.3369 | 0.1734 | -2.7189 | 0.5262 | 0.2114 | 0.4056 | 0.2101 | -0.6812 | 0.2865 | 4 |
|
| 58 |
+
| 0.3735 | 0.3176 | 0.1515 | -5.1147 | 0.5292 | 0.1646 | 0.3546 | 0.1630 | -0.3295 | 0.2703 | 5 |
|
| 59 |
+
| 0.4549 | 0.3358 | 0.1716 | -1.5835 | 0.5323 | 0.1803 | 0.3670 | 0.1786 | -0.5113 | 0.3108 | 6 |
|
| 60 |
+
| 0.5800 | 0.3221 | 0.1587 | -2.4273 | 0.5385 | 0.2369 | 0.4334 | 0.2358 | -0.8347 | 0.2919 | 7 |
|
| 61 |
+
| 0.4042 | 0.3339 | 0.1714 | -3.7265 | 0.5300 | 0.1818 | 0.3766 | 0.1804 | -0.4590 | 0.2703 | 8 |
|
| 62 |
+
| 0.5177 | 0.3287 | 0.1635 | -3.2462 | 0.5354 | 0.1634 | 0.3519 | 0.1614 | -0.4800 | 0.4459 | 9 |
|
| 63 |
|
| 64 |
|
| 65 |
### Framework versions
|
config.json
CHANGED
|
@@ -10,12 +10,30 @@
|
|
| 10 |
"hidden_dropout_prob": 0.1,
|
| 11 |
"hidden_size": 768,
|
| 12 |
"id2label": {
|
| 13 |
-
"0": "LABEL_0"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
},
|
| 15 |
"initializer_range": 0.02,
|
| 16 |
"intermediate_size": 3072,
|
| 17 |
"label2id": {
|
| 18 |
-
"LABEL_0": 0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
},
|
| 20 |
"layer_norm_eps": 1e-12,
|
| 21 |
"max_position_embeddings": 512,
|
|
|
|
| 10 |
"hidden_dropout_prob": 0.1,
|
| 11 |
"hidden_size": 768,
|
| 12 |
"id2label": {
|
| 13 |
+
"0": "LABEL_0",
|
| 14 |
+
"1": "LABEL_1",
|
| 15 |
+
"2": "LABEL_2",
|
| 16 |
+
"3": "LABEL_3",
|
| 17 |
+
"4": "LABEL_4",
|
| 18 |
+
"5": "LABEL_5",
|
| 19 |
+
"6": "LABEL_6",
|
| 20 |
+
"7": "LABEL_7",
|
| 21 |
+
"8": "LABEL_8",
|
| 22 |
+
"9": "LABEL_9"
|
| 23 |
},
|
| 24 |
"initializer_range": 0.02,
|
| 25 |
"intermediate_size": 3072,
|
| 26 |
"label2id": {
|
| 27 |
+
"LABEL_0": 0,
|
| 28 |
+
"LABEL_1": 1,
|
| 29 |
+
"LABEL_2": 2,
|
| 30 |
+
"LABEL_3": 3,
|
| 31 |
+
"LABEL_4": 4,
|
| 32 |
+
"LABEL_5": 5,
|
| 33 |
+
"LABEL_6": 6,
|
| 34 |
+
"LABEL_7": 7,
|
| 35 |
+
"LABEL_8": 8,
|
| 36 |
+
"LABEL_9": 9
|
| 37 |
},
|
| 38 |
"layer_norm_eps": 1e-12,
|
| 39 |
"max_position_embeddings": 512,
|
tf_model.h5
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e22a4ec42198041fd75037b5d17133f4323ecdc6e32db4ea73cb46e0a0da8de7
|
| 3 |
+
size 433559864
|