spneshaei commited on
Commit
f73f3f0
1 Parent(s): 7549438

Upload TFBertForSequenceClassification

Browse files
Files changed (3) hide show
  1. README.md +27 -29
  2. config.json +40 -0
  3. tf_model.h5 +3 -0
README.md CHANGED
@@ -1,7 +1,22 @@
1
  ---
2
- library_name: keras
 
 
 
 
 
 
3
  ---
4
 
 
 
 
 
 
 
 
 
 
5
  ## Model description
6
 
7
  More information needed
@@ -19,32 +34,15 @@ More information needed
19
  ### Training hyperparameters
20
 
21
  The following hyperparameters were used during training:
 
 
 
 
 
 
 
 
22
 
23
- | Hyperparameters | Value |
24
- | :-- | :-- |
25
- | name | Adam |
26
- | weight_decay | None |
27
- | clipnorm | None |
28
- | global_clipnorm | None |
29
- | clipvalue | None |
30
- | use_ema | False |
31
- | ema_momentum | 0.99 |
32
- | ema_overwrite_frequency | None |
33
- | jit_compile | True |
34
- | is_legacy_optimizer | False |
35
- | learning_rate | 2.9999999242136255e-05 |
36
- | beta_1 | 0.9 |
37
- | beta_2 | 0.999 |
38
- | epsilon | 1e-07 |
39
- | amsgrad | False |
40
- | training_precision | float32 |
41
-
42
-
43
- ## Model Plot
44
-
45
- <details>
46
- <summary>View Model Plot</summary>
47
-
48
- ![Model Image](./model.png)
49
-
50
- </details>
 
1
  ---
2
+ license: mit
3
+ base_model: bert-base-german-cased
4
+ tags:
5
+ - generated_from_keras_callback
6
+ model-index:
7
+ - name: mindmate-f1-original-equal-cont-0-0
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
+ # mindmate-f1-original-equal-cont-0-0
15
+
16
+ This model is a fine-tuned version of [bert-base-german-cased](https://huggingface.co/bert-base-german-cased) on an unknown dataset.
17
+ It achieves the following results on the evaluation set:
18
+
19
+
20
  ## Model description
21
 
22
  More information needed
 
34
  ### Training hyperparameters
35
 
36
  The following hyperparameters were used during training:
37
+ - 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': True, 'is_legacy_optimizer': False, 'learning_rate': 3e-05, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-07, 'amsgrad': False}
38
+ - training_precision: float32
39
+
40
+ ### Training results
41
+
42
+
43
+
44
+ ### Framework versions
45
 
46
+ - Transformers 4.40.0
47
+ - TensorFlow 2.15.0
48
+ - Tokenizers 0.19.1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
config.json ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "bert-base-german-cased",
3
+ "architectures": [
4
+ "BertForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.0,
7
+ "classifier_dropout": 0.0,
8
+ "hidden_act": "gelu",
9
+ "hidden_dropout_prob": 0.0,
10
+ "hidden_size": 768,
11
+ "id2label": {
12
+ "0": "LABEL_0",
13
+ "1": "LABEL_1",
14
+ "2": "LABEL_2",
15
+ "3": "LABEL_3",
16
+ "4": "LABEL_4",
17
+ "5": "LABEL_5"
18
+ },
19
+ "initializer_range": 0.02,
20
+ "intermediate_size": 3072,
21
+ "label2id": {
22
+ "LABEL_0": 0,
23
+ "LABEL_1": 1,
24
+ "LABEL_2": 2,
25
+ "LABEL_3": 3,
26
+ "LABEL_4": 4,
27
+ "LABEL_5": 5
28
+ },
29
+ "layer_norm_eps": 1e-12,
30
+ "max_position_embeddings": 512,
31
+ "model_type": "bert",
32
+ "num_attention_heads": 12,
33
+ "num_hidden_layers": 12,
34
+ "pad_token_id": 0,
35
+ "position_embedding_type": "absolute",
36
+ "transformers_version": "4.40.0",
37
+ "type_vocab_size": 2,
38
+ "use_cache": true,
39
+ "vocab_size": 30000
40
+ }
tf_model.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:35b1e6b014306d915cea200973e113be0e09191b9836477984f4b56a78586565
3
+ size 436631848