syabusyabu0141 commited on
Commit
97adf02
1 Parent(s): bd4ccf3

Training in progress epoch 0

Browse files
Files changed (7) hide show
  1. README.md +9 -13
  2. config.json +20 -13
  3. merges.txt +0 -0
  4. special_tokens_map.json +49 -5
  5. tf_model.h5 +2 -2
  6. tokenizer_config.json +24 -25
  7. vocab.json +0 -0
README.md CHANGED
@@ -1,6 +1,6 @@
1
  ---
2
- license: apache-2.0
3
- base_model: google/electra-base-discriminator
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/test3
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.8176
19
- - Validation Loss: 1.0889
20
- - Epoch: 4
21
 
22
  ## Model description
23
 
@@ -43,16 +43,12 @@ The following hyperparameters were used during training:
43
 
44
  | Train Loss | Validation Loss | Epoch |
45
  |:----------:|:---------------:|:-----:|
46
- | 3.1947 | 2.7392 | 0 |
47
- | 2.1824 | 1.3094 | 1 |
48
- | 1.2590 | 1.1239 | 2 |
49
- | 0.9942 | 1.0794 | 3 |
50
- | 0.8176 | 1.0889 | 4 |
51
 
52
 
53
  ### Framework versions
54
 
55
  - Transformers 4.34.1
56
- - TensorFlow 2.13.0
57
- - Datasets 2.14.5
58
  - Tokenizers 0.14.1
 
1
  ---
2
+ license: mit
3
+ base_model: roberta-base
4
  tags:
5
  - generated_from_keras_callback
6
  model-index:
 
13
 
14
  # syabusyabu0141/test3
15
 
16
+ This model is a fine-tuned version of [roberta-base](https://huggingface.co/roberta-base) on an unknown dataset.
17
  It achieves the following results on the evaluation set:
18
+ - Train Loss: 0.0502
19
+ - Validation Loss: 0.0308
20
+ - Epoch: 0
21
 
22
  ## Model description
23
 
 
43
 
44
  | Train Loss | Validation Loss | Epoch |
45
  |:----------:|:---------------:|:-----:|
46
+ | 0.0502 | 0.0308 | 0 |
 
 
 
 
47
 
48
 
49
  ### Framework versions
50
 
51
  - Transformers 4.34.1
52
+ - TensorFlow 2.14.0
53
+ - Datasets 2.14.6
54
  - Tokenizers 0.14.1
config.json CHANGED
@@ -1,29 +1,36 @@
1
  {
2
- "_name_or_path": "google/electra-base-discriminator",
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": 768,
 
 
 
 
 
12
  "initializer_range": 0.02,
13
  "intermediate_size": 3072,
14
- "layer_norm_eps": 1e-12,
15
- "max_position_embeddings": 512,
16
- "model_type": "electra",
 
 
 
 
 
17
  "num_attention_heads": 12,
18
  "num_hidden_layers": 12,
19
- "pad_token_id": 0,
20
  "position_embedding_type": "absolute",
21
- "summary_activation": "gelu",
22
- "summary_last_dropout": 0.1,
23
- "summary_type": "first",
24
- "summary_use_proj": true,
25
  "transformers_version": "4.34.1",
26
- "type_vocab_size": 2,
27
  "use_cache": true,
28
- "vocab_size": 30522
29
  }
 
1
  {
2
+ "_name_or_path": "roberta-base",
3
  "architectures": [
4
+ "RobertaForTokenClassification"
5
  ],
6
  "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 0,
8
  "classifier_dropout": null,
9
+ "eos_token_id": 2,
10
  "hidden_act": "gelu",
11
  "hidden_dropout_prob": 0.1,
12
  "hidden_size": 768,
13
+ "id2label": {
14
+ "0": "TRUE",
15
+ "1": "cha_miss",
16
+ "2": "ins_miss"
17
+ },
18
  "initializer_range": 0.02,
19
  "intermediate_size": 3072,
20
+ "label2id": {
21
+ "FALSE": 1,
22
+ "TRUE": 0,
23
+ "ins_miss": 2
24
+ },
25
+ "layer_norm_eps": 1e-05,
26
+ "max_position_embeddings": 514,
27
+ "model_type": "roberta",
28
  "num_attention_heads": 12,
29
  "num_hidden_layers": 12,
30
+ "pad_token_id": 1,
31
  "position_embedding_type": "absolute",
 
 
 
 
32
  "transformers_version": "4.34.1",
33
+ "type_vocab_size": 1,
34
  "use_cache": true,
35
+ "vocab_size": 50265
36
  }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
special_tokens_map.json CHANGED
@@ -1,7 +1,51 @@
1
  {
2
- "cls_token": "[CLS]",
3
- "mask_token": "[MASK]",
4
- "pad_token": "[PAD]",
5
- "sep_token": "[SEP]",
6
- "unk_token": "[UNK]"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  }
 
1
  {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": true,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "cls_token": {
10
+ "content": "<s>",
11
+ "lstrip": false,
12
+ "normalized": true,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "eos_token": {
17
+ "content": "</s>",
18
+ "lstrip": false,
19
+ "normalized": true,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "mask_token": {
24
+ "content": "<mask>",
25
+ "lstrip": true,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "pad_token": {
31
+ "content": "<pad>",
32
+ "lstrip": false,
33
+ "normalized": true,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ },
37
+ "sep_token": {
38
+ "content": "</s>",
39
+ "lstrip": false,
40
+ "normalized": true,
41
+ "rstrip": false,
42
+ "single_word": false
43
+ },
44
+ "unk_token": {
45
+ "content": "<unk>",
46
+ "lstrip": false,
47
+ "normalized": true,
48
+ "rstrip": false,
49
+ "single_word": false
50
+ }
51
  }
tf_model.h5 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:419bad19f91156c718c4f619643701af251936da009cf5da00f904e2c03d73ab
3
- size 533687688
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4c2c99aa70f8d14127af9df4af96649447ddc945a9edeb2861f59443668abf72
3
+ size 496517200
tokenizer_config.json CHANGED
@@ -1,57 +1,56 @@
1
  {
 
2
  "added_tokens_decoder": {
3
  "0": {
4
- "content": "[PAD]",
5
  "lstrip": false,
6
- "normalized": false,
7
  "rstrip": false,
8
  "single_word": false,
9
  "special": true
10
  },
11
- "100": {
12
- "content": "[UNK]",
13
  "lstrip": false,
14
- "normalized": false,
15
  "rstrip": false,
16
  "single_word": false,
17
  "special": true
18
  },
19
- "101": {
20
- "content": "[CLS]",
21
  "lstrip": false,
22
- "normalized": false,
23
  "rstrip": false,
24
  "single_word": false,
25
  "special": true
26
  },
27
- "102": {
28
- "content": "[SEP]",
29
  "lstrip": false,
30
- "normalized": false,
31
  "rstrip": false,
32
  "single_word": false,
33
  "special": true
34
  },
35
- "103": {
36
- "content": "[MASK]",
37
- "lstrip": false,
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,
47
- "do_lower_case": true,
48
- "mask_token": "[MASK]",
49
  "model_max_length": 512,
50
- "never_split": null,
51
- "pad_token": "[PAD]",
52
- "sep_token": "[SEP]",
53
- "strip_accents": null,
54
- "tokenize_chinese_chars": true,
55
- "tokenizer_class": "ElectraTokenizer",
56
- "unk_token": "[UNK]"
57
  }
 
1
  {
2
+ "add_prefix_space": false,
3
  "added_tokens_decoder": {
4
  "0": {
5
+ "content": "<s>",
6
  "lstrip": false,
7
+ "normalized": true,
8
  "rstrip": false,
9
  "single_word": false,
10
  "special": true
11
  },
12
+ "1": {
13
+ "content": "<pad>",
14
  "lstrip": false,
15
+ "normalized": true,
16
  "rstrip": false,
17
  "single_word": false,
18
  "special": true
19
  },
20
+ "2": {
21
+ "content": "</s>",
22
  "lstrip": false,
23
+ "normalized": true,
24
  "rstrip": false,
25
  "single_word": false,
26
  "special": true
27
  },
28
+ "3": {
29
+ "content": "<unk>",
30
  "lstrip": false,
31
+ "normalized": true,
32
  "rstrip": false,
33
  "single_word": false,
34
  "special": true
35
  },
36
+ "50264": {
37
+ "content": "<mask>",
38
+ "lstrip": true,
39
  "normalized": false,
40
  "rstrip": false,
41
  "single_word": false,
42
  "special": true
43
  }
44
  },
45
+ "bos_token": "<s>",
46
  "clean_up_tokenization_spaces": true,
47
+ "cls_token": "<s>",
48
+ "eos_token": "</s>",
49
+ "errors": "replace",
50
+ "mask_token": "<mask>",
51
  "model_max_length": 512,
52
+ "pad_token": "<pad>",
53
+ "sep_token": "</s>",
54
+ "tokenizer_class": "RobertaTokenizer",
55
+ "unk_token": "<unk>"
 
 
 
56
  }
vocab.json ADDED
The diff for this file is too large to render. See raw diff