zanetworker commited on
Commit
ad0a520
·
verified ·
1 Parent(s): 7444caf

Upload TFBertForSequenceClassification

Browse files
Files changed (3) hide show
  1. README.md +4 -12
  2. config.json +8 -0
  3. 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: zanetworker/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
- # zanetworker/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
- - Train Loss: 0.2655
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: {'name': 'Adam', 'learning_rate': {'class_name': 'PolynomialDecay', 'config': {'initial_learning_rate': 5e-05, 'decay_steps': 1377, 'end_learning_rate': 0.0, 'power': 1.0, 'cycle': False, 'name': None}}, 'decay': 0.0, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-07, 'amsgrad': False}
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:7674677b7159fde804d2a9ae4add163160f7c897d59891c241c6d7b6078ca9fd
3
  size 438223128
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6d7db882fa0deff51549b4cac48b4e1ef4af3d123b7d85db03c281b83c4a53b0
3
  size 438223128