Xessen commited on
Commit
795d42b
·
1 Parent(s): 1231a87

Upload TFBertForMaskedLM

Browse files
Files changed (3) hide show
  1. README.md +61 -0
  2. config.json +23 -0
  3. tf_model.h5 +3 -0
README.md ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - generated_from_keras_callback
4
+ model-index:
5
+ - name: bert-turkish-from-scratch-3
6
+ results: []
7
+ ---
8
+
9
+ <!-- This model card has been generated automatically according to the information Keras had access to. You should
10
+ probably proofread and complete it, then remove this comment. -->
11
+
12
+ # bert-turkish-from-scratch-3
13
+
14
+ This model is a fine-tuned version of [](https://huggingface.co/) on an unknown dataset.
15
+ It achieves the following results on the evaluation set:
16
+ - Train Loss: 0.1112
17
+ - Train Accuracy: 0.9853
18
+ - Epoch: 9
19
+
20
+ ## Model description
21
+
22
+ More information needed
23
+
24
+ ## Intended uses & limitations
25
+
26
+ More information needed
27
+
28
+ ## Training and evaluation data
29
+
30
+ More information needed
31
+
32
+ ## Training procedure
33
+
34
+ ### Training hyperparameters
35
+
36
+ The following hyperparameters were used during training:
37
+ - optimizer: {'name': 'LAMB', 'learning_rate': 0.001, 'weight_decay': 0.0, 'decay': 0.0, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-06, 'exclude_from_weight_decay': None, 'exclude_from_layer_adaptation': None}
38
+ - training_precision: float32
39
+
40
+ ### Training results
41
+
42
+ | Train Loss | Train Accuracy | Epoch |
43
+ |:----------:|:--------------:|:-----:|
44
+ | 0.5533 | 0.9384 | 0 |
45
+ | 0.2784 | 0.9611 | 1 |
46
+ | 0.1598 | 0.9801 | 2 |
47
+ | 0.1423 | 0.9827 | 3 |
48
+ | 0.1348 | 0.9838 | 4 |
49
+ | 0.1292 | 0.9841 | 5 |
50
+ | 0.1238 | 0.9844 | 6 |
51
+ | 0.1186 | 0.9848 | 7 |
52
+ | 0.1145 | 0.9851 | 8 |
53
+ | 0.1112 | 0.9853 | 9 |
54
+
55
+
56
+ ### Framework versions
57
+
58
+ - Transformers 4.26.0.dev0
59
+ - TensorFlow 2.12.0-dev20221226
60
+ - Datasets 2.8.0
61
+ - Tokenizers 0.13.2
config.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "BertForMaskedLM"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.1,
6
+ "classifier_dropout": null,
7
+ "hidden_act": "gelu",
8
+ "hidden_dropout_prob": 0.1,
9
+ "hidden_size": 768,
10
+ "initializer_range": 0.02,
11
+ "intermediate_size": 3072,
12
+ "layer_norm_eps": 1e-12,
13
+ "max_position_embeddings": 512,
14
+ "model_type": "bert",
15
+ "num_attention_heads": 12,
16
+ "num_hidden_layers": 12,
17
+ "pad_token_id": 0,
18
+ "position_embedding_type": "absolute",
19
+ "transformers_version": "4.26.0.dev0",
20
+ "type_vocab_size": 2,
21
+ "use_cache": true,
22
+ "vocab_size": 32000
23
+ }
tf_model.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f26bb1205934c2a98080e8aab337b158b3cb14614cb0bbe15032afbf1f5856c7
3
+ size 542774424