Upload TFBertForSequenceClassification
Browse files- README.md +4 -12
- config.json +8 -0
- tf_model.h5 +1 -1
README.md
CHANGED
|
@@ -4,22 +4,18 @@ base_model: bert-base-uncased
|
|
| 4 |
tags:
|
| 5 |
- generated_from_keras_callback
|
| 6 |
model-index:
|
| 7 |
-
- name:
|
| 8 |
results: []
|
| 9 |
---
|
| 10 |
|
| 11 |
<!-- This model card has been generated automatically according to the information Keras had access to. You should
|
| 12 |
probably proofread and complete it, then remove this comment. -->
|
| 13 |
|
| 14 |
-
#
|
| 15 |
|
| 16 |
This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on an unknown dataset.
|
| 17 |
It achieves the following results on the evaluation set:
|
| 18 |
-
|
| 19 |
-
- Train Accuracy: 0.8948
|
| 20 |
-
- Validation Loss: 0.3810
|
| 21 |
-
- Validation Accuracy: 0.8480
|
| 22 |
-
- Epoch: 1
|
| 23 |
|
| 24 |
## Model description
|
| 25 |
|
|
@@ -38,15 +34,11 @@ More information needed
|
|
| 38 |
### Training hyperparameters
|
| 39 |
|
| 40 |
The following hyperparameters were used during training:
|
| 41 |
-
- optimizer:
|
| 42 |
- training_precision: float32
|
| 43 |
|
| 44 |
### Training results
|
| 45 |
|
| 46 |
-
| Train Loss | Train Accuracy | Validation Loss | Validation Accuracy | Epoch |
|
| 47 |
-
|:----------:|:--------------:|:---------------:|:-------------------:|:-----:|
|
| 48 |
-
| 0.5277 | 0.7380 | 0.3773 | 0.8431 | 0 |
|
| 49 |
-
| 0.2655 | 0.8948 | 0.3810 | 0.8480 | 1 |
|
| 50 |
|
| 51 |
|
| 52 |
### Framework versions
|
|
|
|
| 4 |
tags:
|
| 5 |
- generated_from_keras_callback
|
| 6 |
model-index:
|
| 7 |
+
- name: quick-model
|
| 8 |
results: []
|
| 9 |
---
|
| 10 |
|
| 11 |
<!-- This model card has been generated automatically according to the information Keras had access to. You should
|
| 12 |
probably proofread and complete it, then remove this comment. -->
|
| 13 |
|
| 14 |
+
# quick-model
|
| 15 |
|
| 16 |
This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on an unknown dataset.
|
| 17 |
It achieves the following results on the evaluation set:
|
| 18 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
|
| 20 |
## Model description
|
| 21 |
|
|
|
|
| 34 |
### Training hyperparameters
|
| 35 |
|
| 36 |
The following hyperparameters were used during training:
|
| 37 |
+
- optimizer: None
|
| 38 |
- training_precision: float32
|
| 39 |
|
| 40 |
### Training results
|
| 41 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 42 |
|
| 43 |
|
| 44 |
### Framework versions
|
config.json
CHANGED
|
@@ -9,8 +9,16 @@
|
|
| 9 |
"hidden_act": "gelu",
|
| 10 |
"hidden_dropout_prob": 0.1,
|
| 11 |
"hidden_size": 768,
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
"initializer_range": 0.02,
|
| 13 |
"intermediate_size": 3072,
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
"layer_norm_eps": 1e-12,
|
| 15 |
"max_position_embeddings": 512,
|
| 16 |
"model_type": "bert",
|
|
|
|
| 9 |
"hidden_act": "gelu",
|
| 10 |
"hidden_dropout_prob": 0.1,
|
| 11 |
"hidden_size": 768,
|
| 12 |
+
"id2label": {
|
| 13 |
+
"0": "not_equivalent",
|
| 14 |
+
"1": "equivalent"
|
| 15 |
+
},
|
| 16 |
"initializer_range": 0.02,
|
| 17 |
"intermediate_size": 3072,
|
| 18 |
+
"label2id": {
|
| 19 |
+
"equivalent": 1,
|
| 20 |
+
"not_equivalent": 0
|
| 21 |
+
},
|
| 22 |
"layer_norm_eps": 1e-12,
|
| 23 |
"max_position_embeddings": 512,
|
| 24 |
"model_type": "bert",
|
tf_model.h5
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 438223128
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6d7db882fa0deff51549b4cac48b4e1ef4af3d123b7d85db03c281b83c4a53b0
|
| 3 |
size 438223128
|