Commit
·
95dfd4a
1
Parent(s):
8f64a26
Upload TFDistilBertForSequenceClassification
Browse files- README.md +21 -21
- config.json +6 -0
- 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 [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) 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: 0.
|
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
|
@@ -43,23 +43,23 @@ More information needed
|
|
43 |
### Training hyperparameters
|
44 |
|
45 |
The following hyperparameters were used during training:
|
46 |
-
- optimizer: {'name': 'Adam', 'weight_decay': None, 'clipnorm': None, 'global_clipnorm': None, 'clipvalue': None, 'use_ema': False, 'ema_momentum': 0.99, 'ema_overwrite_frequency': None, 'jit_compile': True, 'is_legacy_optimizer': False, 'learning_rate': 2e-
|
47 |
- training_precision: float32
|
48 |
|
49 |
### Training results
|
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 |
-
|
|
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 [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on an unknown dataset.
|
16 |
It achieves the following results on the evaluation set:
|
17 |
+
- Train Loss: 0.1548
|
18 |
+
- Train Mae: 0.2765
|
19 |
+
- Train Mse: 0.1336
|
20 |
+
- Train R2-score: 0.7547
|
21 |
+
- Train Accuracy: 0.7462
|
22 |
+
- Validation Loss: 0.1908
|
23 |
+
- Validation Mae: 0.3787
|
24 |
+
- Validation Mse: 0.1894
|
25 |
+
- Validation R2-score: 0.8458
|
26 |
+
- Validation Accuracy: 0.4595
|
27 |
- Epoch: 9
|
28 |
|
29 |
## Model description
|
|
|
43 |
### Training hyperparameters
|
44 |
|
45 |
The following hyperparameters were used during training:
|
46 |
+
- optimizer: {'name': 'Adam', 'weight_decay': None, 'clipnorm': None, 'global_clipnorm': None, 'clipvalue': None, 'use_ema': False, 'ema_momentum': 0.99, 'ema_overwrite_frequency': None, 'jit_compile': True, 'is_legacy_optimizer': False, 'learning_rate': 2e-05, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-07, 'amsgrad': False}
|
47 |
- training_precision: float32
|
48 |
|
49 |
### Training results
|
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.5723 | 0.3984 | 0.2343 | 0.4755 | 0.5923 | 0.1856 | 0.3686 | 0.1843 | 0.8559 | 0.4324 | 0 |
|
54 |
+
| 0.1822 | 0.2906 | 0.1403 | 0.7246 | 0.6538 | 0.1577 | 0.3485 | 0.1561 | 0.8714 | 0.9459 | 1 |
|
55 |
+
| 0.1765 | 0.2865 | 0.1376 | 0.6770 | 0.6538 | 0.1356 | 0.3325 | 0.1337 | 0.8808 | 0.9459 | 2 |
|
56 |
+
| 0.1959 | 0.2945 | 0.1383 | 0.6806 | 0.7308 | 0.2115 | 0.4054 | 0.2104 | 0.8366 | 0.3243 | 3 |
|
57 |
+
| 0.1698 | 0.2906 | 0.1408 | 0.7195 | 0.6231 | 0.1489 | 0.3371 | 0.1472 | 0.8726 | 0.9459 | 4 |
|
58 |
+
| 0.2081 | 0.2687 | 0.1178 | 0.7632 | 0.8385 | 0.2547 | 0.4572 | 0.2539 | 0.8046 | 0.3243 | 5 |
|
59 |
+
| 0.1806 | 0.3087 | 0.1554 | 0.7168 | 0.6462 | 0.1477 | 0.3401 | 0.1460 | 0.8757 | 0.9459 | 6 |
|
60 |
+
| 0.1910 | 0.3102 | 0.1559 | 0.7295 | 0.6308 | 0.1726 | 0.3544 | 0.1711 | 0.8602 | 0.8919 | 7 |
|
61 |
+
| 0.1697 | 0.2609 | 0.1132 | 0.7876 | 0.8538 | 0.1856 | 0.3694 | 0.1843 | 0.8537 | 0.5946 | 8 |
|
62 |
+
| 0.1548 | 0.2765 | 0.1336 | 0.7547 | 0.7462 | 0.1908 | 0.3787 | 0.1894 | 0.8458 | 0.4595 | 9 |
|
63 |
|
64 |
|
65 |
### Framework versions
|
config.json
CHANGED
@@ -8,7 +8,13 @@
|
|
8 |
"dim": 768,
|
9 |
"dropout": 0.1,
|
10 |
"hidden_dim": 3072,
|
|
|
|
|
|
|
11 |
"initializer_range": 0.02,
|
|
|
|
|
|
|
12 |
"max_position_embeddings": 512,
|
13 |
"model_type": "distilbert",
|
14 |
"n_heads": 12,
|
|
|
8 |
"dim": 768,
|
9 |
"dropout": 0.1,
|
10 |
"hidden_dim": 3072,
|
11 |
+
"id2label": {
|
12 |
+
"0": "LABEL_0"
|
13 |
+
},
|
14 |
"initializer_range": 0.02,
|
15 |
+
"label2id": {
|
16 |
+
"LABEL_0": 0
|
17 |
+
},
|
18 |
"max_position_embeddings": 512,
|
19 |
"model_type": "distilbert",
|
20 |
"n_heads": 12,
|
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:b0014d906fdbb1ebe74a86abeb17610a837cb095ef13f2277886ceeec9b51611
|
3 |
+
size 267952072
|