syabusyabu0141 commited on
Commit
29c106f
1 Parent(s): d4d0f5a

Training in progress epoch 0

Browse files
Files changed (4) hide show
  1. README.md +9 -10
  2. config.json +18 -6
  3. tf_model.h5 +2 -2
  4. tokenizer_config.json +5 -7
README.md CHANGED
@@ -1,6 +1,6 @@
1
  ---
2
  license: apache-2.0
3
- base_model: google/electra-base-generator
4
  tags:
5
  - generated_from_keras_callback
6
  model-index:
@@ -13,11 +13,11 @@ probably proofread and complete it, then remove this comment. -->
13
 
14
  # syabusyabu0141/test2
15
 
16
- This model is a fine-tuned version of [google/electra-base-generator](https://huggingface.co/google/electra-base-generator) on an unknown dataset.
17
  It achieves the following results on the evaluation set:
18
- - Train Loss: 1.9064
19
- - Validation Loss: 1.9879
20
- - Epoch: 1
21
 
22
  ## Model description
23
 
@@ -43,13 +43,12 @@ The following hyperparameters were used during training:
43
 
44
  | Train Loss | Validation Loss | Epoch |
45
  |:----------:|:---------------:|:-----:|
46
- | 2.1386 | 2.0232 | 0 |
47
- | 1.9064 | 1.9879 | 1 |
48
 
49
 
50
  ### Framework versions
51
 
52
- - Transformers 4.34.0
53
- - TensorFlow 2.13.0
54
- - Datasets 2.14.5
55
  - Tokenizers 0.14.1
 
1
  ---
2
  license: apache-2.0
3
+ base_model: google/electra-base-discriminator
4
  tags:
5
  - generated_from_keras_callback
6
  model-index:
 
13
 
14
  # syabusyabu0141/test2
15
 
16
+ This model is a fine-tuned version of [google/electra-base-discriminator](https://huggingface.co/google/electra-base-discriminator) on an unknown dataset.
17
  It achieves the following results on the evaluation set:
18
+ - Train Loss: 0.0691
19
+ - Validation Loss: 0.0361
20
+ - Epoch: 0
21
 
22
  ## Model description
23
 
 
43
 
44
  | Train Loss | Validation Loss | Epoch |
45
  |:----------:|:---------------:|:-----:|
46
+ | 0.0691 | 0.0361 | 0 |
 
47
 
48
 
49
  ### Framework versions
50
 
51
+ - Transformers 4.35.0
52
+ - TensorFlow 2.14.0
53
+ - Datasets 2.14.6
54
  - Tokenizers 0.14.1
config.json CHANGED
@@ -1,20 +1,32 @@
1
  {
2
- "_name_or_path": "google/electra-base-generator",
3
  "architectures": [
4
- "ElectraForMaskedLM"
5
  ],
6
  "attention_probs_dropout_prob": 0.1,
7
  "classifier_dropout": null,
8
  "embedding_size": 768,
9
  "hidden_act": "gelu",
10
  "hidden_dropout_prob": 0.1,
11
- "hidden_size": 256,
 
 
 
 
 
 
12
  "initializer_range": 0.02,
13
- "intermediate_size": 1024,
 
 
 
 
 
 
14
  "layer_norm_eps": 1e-12,
15
  "max_position_embeddings": 512,
16
  "model_type": "electra",
17
- "num_attention_heads": 4,
18
  "num_hidden_layers": 12,
19
  "pad_token_id": 0,
20
  "position_embedding_type": "absolute",
@@ -22,7 +34,7 @@
22
  "summary_last_dropout": 0.1,
23
  "summary_type": "first",
24
  "summary_use_proj": true,
25
- "transformers_version": "4.34.0",
26
  "type_vocab_size": 2,
27
  "use_cache": true,
28
  "vocab_size": 30522
 
1
  {
2
+ "_name_or_path": "google/electra-base-discriminator",
3
  "architectures": [
4
+ "ElectraForTokenClassification"
5
  ],
6
  "attention_probs_dropout_prob": 0.1,
7
  "classifier_dropout": null,
8
  "embedding_size": 768,
9
  "hidden_act": "gelu",
10
  "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 768,
12
+ "id2label": {
13
+ "0": "other_pos",
14
+ "1": "cha_miss",
15
+ "2": "ins_miss",
16
+ "3": "true_prep"
17
+ },
18
  "initializer_range": 0.02,
19
+ "intermediate_size": 3072,
20
+ "label2id": {
21
+ "cha_miss": 1,
22
+ "ins_miss": 2,
23
+ "other_pos": 0,
24
+ "true_prep": 3
25
+ },
26
  "layer_norm_eps": 1e-12,
27
  "max_position_embeddings": 512,
28
  "model_type": "electra",
29
+ "num_attention_heads": 12,
30
  "num_hidden_layers": 12,
31
  "pad_token_id": 0,
32
  "position_embedding_type": "absolute",
 
34
  "summary_last_dropout": 0.1,
35
  "summary_type": "first",
36
  "summary_use_proj": true,
37
+ "transformers_version": "4.35.0",
38
  "type_vocab_size": 2,
39
  "use_cache": true,
40
  "vocab_size": 30522
tf_model.h5 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:47dc58f6e4c88f6c1051512b5a5e9f1cb05a764357b029fa45db150392e0aada
3
- size 230595504
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:48f32660b6212551e9e72e8c82c454a6d33dc737294bb6359842737895dcbe85
3
+ size 435867104
tokenizer_config.json CHANGED
@@ -6,7 +6,7 @@
6
  "normalized": false,
7
  "rstrip": false,
8
  "single_word": false,
9
- "special": false
10
  },
11
  "100": {
12
  "content": "[UNK]",
@@ -14,7 +14,7 @@
14
  "normalized": false,
15
  "rstrip": false,
16
  "single_word": false,
17
- "special": false
18
  },
19
  "101": {
20
  "content": "[CLS]",
@@ -22,7 +22,7 @@
22
  "normalized": false,
23
  "rstrip": false,
24
  "single_word": false,
25
- "special": false
26
  },
27
  "102": {
28
  "content": "[SEP]",
@@ -30,7 +30,7 @@
30
  "normalized": false,
31
  "rstrip": false,
32
  "single_word": false,
33
- "special": false
34
  },
35
  "103": {
36
  "content": "[MASK]",
@@ -38,10 +38,9 @@
38
  "normalized": false,
39
  "rstrip": false,
40
  "single_word": false,
41
- "special": false
42
  }
43
  },
44
- "additional_special_tokens": [],
45
  "clean_up_tokenization_spaces": true,
46
  "cls_token": "[CLS]",
47
  "do_basic_tokenize": true,
@@ -54,6 +53,5 @@
54
  "strip_accents": null,
55
  "tokenize_chinese_chars": true,
56
  "tokenizer_class": "ElectraTokenizer",
57
- "tokenizer_file": "/root/.cache/huggingface/hub/models--google--electra-base-generator/snapshots/1c65e3f5f4597679b87620707df5774c08c6606d/tokenizer.json",
58
  "unk_token": "[UNK]"
59
  }
 
6
  "normalized": false,
7
  "rstrip": false,
8
  "single_word": false,
9
+ "special": true
10
  },
11
  "100": {
12
  "content": "[UNK]",
 
14
  "normalized": false,
15
  "rstrip": false,
16
  "single_word": false,
17
+ "special": true
18
  },
19
  "101": {
20
  "content": "[CLS]",
 
22
  "normalized": false,
23
  "rstrip": false,
24
  "single_word": false,
25
+ "special": true
26
  },
27
  "102": {
28
  "content": "[SEP]",
 
30
  "normalized": false,
31
  "rstrip": false,
32
  "single_word": false,
33
+ "special": true
34
  },
35
  "103": {
36
  "content": "[MASK]",
 
38
  "normalized": false,
39
  "rstrip": false,
40
  "single_word": false,
41
+ "special": true
42
  }
43
  },
 
44
  "clean_up_tokenization_spaces": true,
45
  "cls_token": "[CLS]",
46
  "do_basic_tokenize": true,
 
53
  "strip_accents": null,
54
  "tokenize_chinese_chars": true,
55
  "tokenizer_class": "ElectraTokenizer",
 
56
  "unk_token": "[UNK]"
57
  }