lilyyellow
commited on
Commit
•
56d48a4
1
Parent(s):
a8f6931
Training in progress, step 11565
Browse files- config.json +93 -0
- model.safetensors +3 -0
- special_tokens_map.json +37 -0
- tokenizer.json +0 -0
- tokenizer_config.json +64 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
config.json
ADDED
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "NlpHUST/ner-vietnamese-electra-base",
|
3 |
+
"architectures": [
|
4 |
+
"ElectraForTokenClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"classifier_dropout": null,
|
8 |
+
"embedding_size": 768,
|
9 |
+
"finetuning_task": "ner",
|
10 |
+
"hidden_act": "gelu",
|
11 |
+
"hidden_dropout_prob": 0.1,
|
12 |
+
"hidden_size": 768,
|
13 |
+
"id2label": {
|
14 |
+
"0": "I-AGE",
|
15 |
+
"1": "I-DISEASE",
|
16 |
+
"2": "B-QUANTITY",
|
17 |
+
"3": "O",
|
18 |
+
"4": "I-LOCATION",
|
19 |
+
"5": "I-ORGANIZATION",
|
20 |
+
"6": "B-EVENT",
|
21 |
+
"7": "B-AGE",
|
22 |
+
"8": "B-DATETIME",
|
23 |
+
"9": "I-GENDER",
|
24 |
+
"10": "B-GENDER",
|
25 |
+
"11": "I-PERSON",
|
26 |
+
"12": "I-DATETIME",
|
27 |
+
"13": "I-LAW",
|
28 |
+
"14": "B-ROLE",
|
29 |
+
"15": "I-ROLE",
|
30 |
+
"16": "B-PRODUCT",
|
31 |
+
"17": "B-LAW",
|
32 |
+
"18": "I-PRODUCT",
|
33 |
+
"19": "I-EVENT",
|
34 |
+
"20": "I-TRANSPORTATION",
|
35 |
+
"21": "B-PHONE",
|
36 |
+
"22": "I-QUANTITY",
|
37 |
+
"23": "B-ORGANIZATION",
|
38 |
+
"24": "B-PERSON",
|
39 |
+
"25": "B-DISEASE",
|
40 |
+
"26": "B-TRANSPORTATION",
|
41 |
+
"27": "I-PHONE",
|
42 |
+
"28": "B-LOCATION"
|
43 |
+
},
|
44 |
+
"initializer_range": 0.02,
|
45 |
+
"intermediate_size": 3072,
|
46 |
+
"label2id": {
|
47 |
+
"B-AGE": 7,
|
48 |
+
"B-DATETIME": 8,
|
49 |
+
"B-DISEASE": 25,
|
50 |
+
"B-EVENT": 6,
|
51 |
+
"B-GENDER": 10,
|
52 |
+
"B-LAW": 17,
|
53 |
+
"B-LOCATION": 28,
|
54 |
+
"B-ORGANIZATION": 23,
|
55 |
+
"B-PERSON": 24,
|
56 |
+
"B-PHONE": 21,
|
57 |
+
"B-PRODUCT": 16,
|
58 |
+
"B-QUANTITY": 2,
|
59 |
+
"B-ROLE": 14,
|
60 |
+
"B-TRANSPORTATION": 26,
|
61 |
+
"I-AGE": 0,
|
62 |
+
"I-DATETIME": 12,
|
63 |
+
"I-DISEASE": 1,
|
64 |
+
"I-EVENT": 19,
|
65 |
+
"I-GENDER": 9,
|
66 |
+
"I-LAW": 13,
|
67 |
+
"I-LOCATION": 4,
|
68 |
+
"I-ORGANIZATION": 5,
|
69 |
+
"I-PERSON": 11,
|
70 |
+
"I-PHONE": 27,
|
71 |
+
"I-PRODUCT": 18,
|
72 |
+
"I-QUANTITY": 22,
|
73 |
+
"I-ROLE": 15,
|
74 |
+
"I-TRANSPORTATION": 20,
|
75 |
+
"O": 3
|
76 |
+
},
|
77 |
+
"layer_norm_eps": 1e-12,
|
78 |
+
"max_position_embeddings": 512,
|
79 |
+
"model_type": "electra",
|
80 |
+
"num_attention_heads": 12,
|
81 |
+
"num_hidden_layers": 12,
|
82 |
+
"pad_token_id": 0,
|
83 |
+
"position_embedding_type": "absolute",
|
84 |
+
"summary_activation": "gelu",
|
85 |
+
"summary_last_dropout": 0.1,
|
86 |
+
"summary_type": "first",
|
87 |
+
"summary_use_proj": true,
|
88 |
+
"torch_dtype": "float32",
|
89 |
+
"transformers_version": "4.41.2",
|
90 |
+
"type_vocab_size": 2,
|
91 |
+
"use_cache": true,
|
92 |
+
"vocab_size": 62000
|
93 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0f519492d5be7eb441ef2b187306e8a70916993e5b7bd43d0c4947912090102f
|
3 |
+
size 532380148
|
special_tokens_map.json
ADDED
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cls_token": {
|
3 |
+
"content": "[CLS]",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": false,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"mask_token": {
|
10 |
+
"content": "[MASK]",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": false,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"pad_token": {
|
17 |
+
"content": "[PAD]",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": false,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
},
|
23 |
+
"sep_token": {
|
24 |
+
"content": "[SEP]",
|
25 |
+
"lstrip": false,
|
26 |
+
"normalized": false,
|
27 |
+
"rstrip": false,
|
28 |
+
"single_word": false
|
29 |
+
},
|
30 |
+
"unk_token": {
|
31 |
+
"content": "[UNK]",
|
32 |
+
"lstrip": false,
|
33 |
+
"normalized": false,
|
34 |
+
"rstrip": false,
|
35 |
+
"single_word": false
|
36 |
+
}
|
37 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": false,
|
48 |
+
"mask_token": "[MASK]",
|
49 |
+
"max_length": 256,
|
50 |
+
"model_max_length": 1000000000000000019884624838656,
|
51 |
+
"never_split": null,
|
52 |
+
"pad_to_multiple_of": null,
|
53 |
+
"pad_token": "[PAD]",
|
54 |
+
"pad_token_type_id": 0,
|
55 |
+
"padding_side": "right",
|
56 |
+
"sep_token": "[SEP]",
|
57 |
+
"stride": 0,
|
58 |
+
"strip_accents": null,
|
59 |
+
"tokenize_chinese_chars": true,
|
60 |
+
"tokenizer_class": "ElectraTokenizer",
|
61 |
+
"truncation_side": "right",
|
62 |
+
"truncation_strategy": "longest_first",
|
63 |
+
"unk_token": "[UNK]"
|
64 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b00b5adb2452372f7b274c8f6fe5d8693f9dc9c2cd2a1fb14c986c4ce906c9f8
|
3 |
+
size 5112
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|