tKah commited on
Commit
f6f75e3
·
1 Parent(s): 7dd7af0

Upload TFBertForSequenceClassification

Browse files
Files changed (3) hide show
  1. README.md +10 -9
  2. config.json +1 -1
  3. tf_model.h5 +1 -1
README.md CHANGED
@@ -12,10 +12,11 @@ probably proofread and complete it, then remove this comment. -->
12
 
13
  # Textclassification-Bert
14
 
15
- This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on CoLA dataset.
16
  It achieves the following results on the evaluation set:
17
- - Train Loss: 0.1482
18
- - Validation Loss: 0.5542
 
19
  - Epoch: 2
20
 
21
  ## Model description
@@ -40,16 +41,16 @@ The following hyperparameters were used during training:
40
 
41
  ### Training results
42
 
43
- | Train Loss | Validation Loss | Epoch |
44
- |:----------:|:---------------:|:-----:|
45
- | 0.4836 | 0.3981 | 0 |
46
- | 0.2721 | 0.4357 | 1 |
47
- | 0.1482 | 0.5542 | 2 |
48
 
49
 
50
  ### Framework versions
51
 
52
- - Transformers 4.28.1
53
  - TensorFlow 2.12.0
54
  - Datasets 2.12.0
55
  - Tokenizers 0.13.3
 
12
 
13
  # Textclassification-Bert
14
 
15
+ This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on an unknown dataset.
16
  It achieves the following results on the evaluation set:
17
+ - Train Loss: 0.1439
18
+ - Validation Loss: 0.5583
19
+ - Train Matthews Correlation: 0.5803
20
  - Epoch: 2
21
 
22
  ## Model description
 
41
 
42
  ### Training results
43
 
44
+ | Train Loss | Validation Loss | Train Matthews Correlation | Epoch |
45
+ |:----------:|:---------------:|:--------------------------:|:-----:|
46
+ | 0.4792 | 0.4276 | 0.5446 | 0 |
47
+ | 0.2664 | 0.4445 | 0.5602 | 1 |
48
+ | 0.1439 | 0.5583 | 0.5803 | 2 |
49
 
50
 
51
  ### Framework versions
52
 
53
+ - Transformers 4.29.2
54
  - TensorFlow 2.12.0
55
  - Datasets 2.12.0
56
  - Tokenizers 0.13.3
config.json CHANGED
@@ -26,7 +26,7 @@
26
  "num_hidden_layers": 12,
27
  "pad_token_id": 0,
28
  "position_embedding_type": "absolute",
29
- "transformers_version": "4.28.1",
30
  "type_vocab_size": 2,
31
  "use_cache": true,
32
  "vocab_size": 30522
 
26
  "num_hidden_layers": 12,
27
  "pad_token_id": 0,
28
  "position_embedding_type": "absolute",
29
+ "transformers_version": "4.29.2",
30
  "type_vocab_size": 2,
31
  "use_cache": true,
32
  "vocab_size": 30522
tf_model.h5 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a1d93d8bf4a3e56435ff7be40fa7499fcfe5dee41a69eaa42d9776a4e9c73d2a
3
  size 438223128
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4895e0b15c6a6074e9538c3898c55ef70b923f0eb59981f8169d7d83975cba8c
3
  size 438223128