AlienKevin commited on
Commit
7d96dd4
1 Parent(s): 2101f59

End of training

Browse files
README.md ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: toastynews/electra-hongkongese-small-discriminator
4
+ tags:
5
+ - generated_from_trainer
6
+ datasets:
7
+ - hkcancor
8
+ model-index:
9
+ - name: electra_hongkongese_small_pos_hkcancor
10
+ results: []
11
+ ---
12
+
13
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
14
+ should probably proofread and complete it, then remove this comment. -->
15
+
16
+ # electra_hongkongese_small_pos_hkcancor
17
+
18
+ This model is a fine-tuned version of [toastynews/electra-hongkongese-small-discriminator](https://huggingface.co/toastynews/electra-hongkongese-small-discriminator) on the hkcancor dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 0.2846
21
+
22
+ ## Model description
23
+
24
+ More information needed
25
+
26
+ ## Intended uses & limitations
27
+
28
+ More information needed
29
+
30
+ ## Training and evaluation data
31
+
32
+ More information needed
33
+
34
+ ## Training procedure
35
+
36
+ ### Training hyperparameters
37
+
38
+ The following hyperparameters were used during training:
39
+ - learning_rate: 2e-05
40
+ - train_batch_size: 16
41
+ - eval_batch_size: 16
42
+ - seed: 42
43
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
44
+ - lr_scheduler_type: linear
45
+ - num_epochs: 3
46
+
47
+ ### Training results
48
+
49
+ | Training Loss | Epoch | Step | Validation Loss |
50
+ |:-------------:|:------:|:----:|:---------------:|
51
+ | 1.475 | 0.3004 | 201 | 1.3204 |
52
+ | 0.8403 | 0.6009 | 402 | 0.7444 |
53
+ | 0.6056 | 0.9013 | 603 | 0.5415 |
54
+ | 0.486 | 1.2018 | 804 | 0.4398 |
55
+ | 0.4053 | 1.5022 | 1005 | 0.3744 |
56
+ | 0.3702 | 1.8027 | 1206 | 0.3419 |
57
+ | 0.3413 | 2.1031 | 1407 | 0.3125 |
58
+ | 0.3239 | 2.4036 | 1608 | 0.2950 |
59
+ | 0.3098 | 2.7040 | 1809 | 0.2846 |
60
+
61
+
62
+ ### Framework versions
63
+
64
+ - Transformers 4.43.3
65
+ - Pytorch 2.4.0
66
+ - Datasets 2.20.0
67
+ - Tokenizers 0.19.1
config.json ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "toastynews/electra-hongkongese-small-discriminator",
3
+ "architectures": [
4
+ "ElectraForTokenClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "embedding_size": 128,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 256,
12
+ "id2label": {
13
+ "0": "V",
14
+ "1": "NOUN",
15
+ "2": "ADP",
16
+ "3": "AUX",
17
+ "4": "VERB",
18
+ "5": "X",
19
+ "6": "PRON",
20
+ "7": "PROPN",
21
+ "8": "PART",
22
+ "9": "PUNCT",
23
+ "10": "CCONJ",
24
+ "11": "ADV",
25
+ "12": "NUM",
26
+ "13": "INTJ",
27
+ "14": "DET",
28
+ "15": "ADJ"
29
+ },
30
+ "initializer_range": 0.02,
31
+ "intermediate_size": 1024,
32
+ "label2id": {
33
+ "ADJ": 15,
34
+ "ADP": 2,
35
+ "ADV": 11,
36
+ "AUX": 3,
37
+ "CCONJ": 10,
38
+ "DET": 14,
39
+ "INTJ": 13,
40
+ "NOUN": 1,
41
+ "NUM": 12,
42
+ "PART": 8,
43
+ "PRON": 6,
44
+ "PROPN": 7,
45
+ "PUNCT": 9,
46
+ "V": 0,
47
+ "VERB": 4,
48
+ "X": 5
49
+ },
50
+ "layer_norm_eps": 1e-12,
51
+ "max_position_embeddings": 512,
52
+ "model_type": "electra",
53
+ "num_attention_heads": 4,
54
+ "num_hidden_layers": 12,
55
+ "pad_token_id": 0,
56
+ "position_embedding_type": "absolute",
57
+ "summary_activation": "gelu",
58
+ "summary_last_dropout": 0.1,
59
+ "summary_type": "first",
60
+ "summary_use_proj": true,
61
+ "torch_dtype": "float32",
62
+ "transformers_version": "4.43.3",
63
+ "type_vocab_size": 2,
64
+ "use_cache": true,
65
+ "vocab_size": 30000
66
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f59ed42da1120c70347056f437599c8077d89440526689ce4c0e79217de45989
3
+ size 53704960
special_tokens_map.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": "[CLS]",
3
+ "mask_token": "[MASK]",
4
+ "pad_token": "[PAD]",
5
+ "sep_token": "[SEP]",
6
+ "unk_token": "[UNK]"
7
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "1": {
12
+ "content": "[UNK]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "2": {
20
+ "content": "[CLS]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "3": {
28
+ "content": "[SEP]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "4": {
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": 1000000000000000019884624838656,
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
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:535ed751160e22350d713f01f4273cf944f35ab64bafc42df56e660015ce8e40
3
+ size 5176
vocab.txt ADDED
The diff for this file is too large to render. See raw diff