bkr969 commited on
Commit
75b8331
·
verified ·
1 Parent(s): 75bb03c

Upload TFBertForSequenceClassification

Browse files
Files changed (2) hide show
  1. README.md +57 -52
  2. tf_model.h5 +1 -1
README.md CHANGED
@@ -1,52 +1,57 @@
1
- ---
2
- library_name: transformers
3
- license: apache-2.0
4
- base_model: bert-base-cased
5
- tags:
6
- - generated_from_keras_callback
7
- model-index:
8
- - name: bert-base-cased
9
- results: []
10
- datasets:
11
- - bkr969/fake_news
12
- ---
13
-
14
- <!-- This model card has been generated automatically according to the information Keras had access to. You should
15
- probably proofread and complete it, then remove this comment. -->
16
-
17
- # bert-base-cased
18
-
19
- This model is a fine-tuned version of [bert-base-cased](https://huggingface.co/bert-base-cased) on Fakenews dataset.
20
- It achieves the following results on the evaluation set:
21
-
22
-
23
- ## Model description
24
-
25
- More information needed
26
-
27
- ## Intended uses & limitations
28
-
29
- More information needed
30
-
31
- ## Training and evaluation data
32
-
33
- More information needed
34
-
35
- ## Training procedure
36
-
37
- ### Training hyperparameters
38
-
39
- The following hyperparameters were used during training:
40
- - 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': False, 'is_legacy_optimizer': False, 'learning_rate': 5e-05, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-07, 'amsgrad': False}
41
- - training_precision: float32
42
-
43
- ### Training results
44
-
45
-
46
-
47
- ### Framework versions
48
-
49
- - Transformers 4.46.3
50
- - TensorFlow 2.18.0
51
- - Datasets 3.2.0
52
- - Tokenizers 0.20.3
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: bert-base-cased
5
+ tags:
6
+ - generated_from_keras_callback
7
+ model-index:
8
+ - name: bert-base-cased
9
+ results: []
10
+ ---
11
+
12
+ <!-- This model card has been generated automatically according to the information Keras had access to. You should
13
+ probably proofread and complete it, then remove this comment. -->
14
+
15
+ # bert-base-cased
16
+
17
+ This model is a fine-tuned version of [bert-base-cased](https://huggingface.co/bert-base-cased) on an unknown dataset.
18
+ It achieves the following results on the evaluation set:
19
+ - Train Loss: 0.3251
20
+ - Train Sparse Categorical Accuracy: 0.8883
21
+ - Validation Loss: 0.2651
22
+ - Validation Sparse Categorical Accuracy: 0.9080
23
+ - Epoch: 0
24
+
25
+ ## Model description
26
+
27
+ More information needed
28
+
29
+ ## Intended uses & limitations
30
+
31
+ More information needed
32
+
33
+ ## Training and evaluation data
34
+
35
+ More information needed
36
+
37
+ ## Training procedure
38
+
39
+ ### Training hyperparameters
40
+
41
+ The following hyperparameters were used during training:
42
+ - 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': False, 'is_legacy_optimizer': False, 'learning_rate': 5e-05, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-07, 'amsgrad': False}
43
+ - training_precision: float32
44
+
45
+ ### Training results
46
+
47
+ | Train Loss | Train Sparse Categorical Accuracy | Validation Loss | Validation Sparse Categorical Accuracy | Epoch |
48
+ |:----------:|:---------------------------------:|:---------------:|:--------------------------------------:|:-----:|
49
+ | 0.3251 | 0.8883 | 0.2651 | 0.9080 | 0 |
50
+
51
+
52
+ ### Framework versions
53
+
54
+ - Transformers 4.46.3
55
+ - TensorFlow 2.18.0
56
+ - Datasets 3.2.0
57
+ - Tokenizers 0.20.3
tf_model.h5 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a5e77ff4c2010117af35b3872ca2b6c686210504ca709fa3ad07cf6c91588dfc
3
  size 433538332
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:32b2e8f31ad917aa977f632f56ef7abf169813d05c45a293b8e23bb4fa714dd5
3
  size 433538332