parnia-naghavi
commited on
Commit
•
acf1b84
1
Parent(s):
e409f74
End of training
Browse files- README.md +46 -0
- added_tokens.json +13 -0
- config.json +105 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +14 -0
- tokenizer.json +0 -0
- tokenizer_config.json +112 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
README.md
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- generated_from_trainer
|
4 |
+
model-index:
|
5 |
+
- name: unified_skill_ner_echo
|
6 |
+
results: []
|
7 |
+
---
|
8 |
+
|
9 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
10 |
+
should probably proofread and complete it, then remove this comment. -->
|
11 |
+
|
12 |
+
# unified_skill_ner_echo
|
13 |
+
|
14 |
+
This model was trained from scratch on an unknown dataset.
|
15 |
+
|
16 |
+
## Model description
|
17 |
+
|
18 |
+
More information needed
|
19 |
+
|
20 |
+
## Intended uses & limitations
|
21 |
+
|
22 |
+
More information needed
|
23 |
+
|
24 |
+
## Training and evaluation data
|
25 |
+
|
26 |
+
More information needed
|
27 |
+
|
28 |
+
## Training procedure
|
29 |
+
|
30 |
+
### Training hyperparameters
|
31 |
+
|
32 |
+
The following hyperparameters were used during training:
|
33 |
+
- learning_rate: 4e-05
|
34 |
+
- train_batch_size: 4
|
35 |
+
- eval_batch_size: 16
|
36 |
+
- seed: 123
|
37 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
38 |
+
- lr_scheduler_type: linear
|
39 |
+
- num_epochs: 2
|
40 |
+
|
41 |
+
### Framework versions
|
42 |
+
|
43 |
+
- Transformers 4.34.0
|
44 |
+
- Pytorch 2.3.0+cu121
|
45 |
+
- Datasets 2.14.7
|
46 |
+
- Tokenizers 0.14.1
|
added_tokens.json
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
".N": 50327,
|
3 |
+
".n": 50328,
|
4 |
+
"C#": 50330,
|
5 |
+
"C++": 50325,
|
6 |
+
"[CLS]": 2,
|
7 |
+
"[MASK]": 4,
|
8 |
+
"[PAD]": 0,
|
9 |
+
"[SEP]": 3,
|
10 |
+
"[UNK]": 1,
|
11 |
+
"c#": 50329,
|
12 |
+
"c++": 50326
|
13 |
+
}
|
config.json
ADDED
@@ -0,0 +1,105 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "io/output/unified_skill_ner/model",
|
3 |
+
"architectures": [
|
4 |
+
"BertForTokenClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"classifier_dropout": null,
|
8 |
+
"gradient_checkpointing": false,
|
9 |
+
"hidden_act": "gelu",
|
10 |
+
"hidden_dropout_prob": 0.1,
|
11 |
+
"hidden_size": 768,
|
12 |
+
"id2label": {
|
13 |
+
"0": "LABEL_0",
|
14 |
+
"1": "LABEL_1",
|
15 |
+
"2": "LABEL_2",
|
16 |
+
"3": "LABEL_3",
|
17 |
+
"4": "LABEL_4",
|
18 |
+
"5": "LABEL_5",
|
19 |
+
"6": "LABEL_6",
|
20 |
+
"7": "LABEL_7",
|
21 |
+
"8": "LABEL_8",
|
22 |
+
"9": "LABEL_9",
|
23 |
+
"10": "LABEL_10",
|
24 |
+
"11": "LABEL_11",
|
25 |
+
"12": "LABEL_12",
|
26 |
+
"13": "LABEL_13",
|
27 |
+
"14": "LABEL_14",
|
28 |
+
"15": "LABEL_15",
|
29 |
+
"16": "LABEL_16",
|
30 |
+
"17": "LABEL_17",
|
31 |
+
"18": "LABEL_18",
|
32 |
+
"19": "LABEL_19",
|
33 |
+
"20": "LABEL_20",
|
34 |
+
"21": "LABEL_21",
|
35 |
+
"22": "LABEL_22",
|
36 |
+
"23": "LABEL_23",
|
37 |
+
"24": "LABEL_24",
|
38 |
+
"25": "LABEL_25",
|
39 |
+
"26": "LABEL_26",
|
40 |
+
"27": "LABEL_27",
|
41 |
+
"28": "LABEL_28",
|
42 |
+
"29": "LABEL_29",
|
43 |
+
"30": "LABEL_30",
|
44 |
+
"31": "LABEL_31",
|
45 |
+
"32": "LABEL_32",
|
46 |
+
"33": "LABEL_33",
|
47 |
+
"34": "LABEL_34",
|
48 |
+
"35": "LABEL_35",
|
49 |
+
"36": "LABEL_36"
|
50 |
+
},
|
51 |
+
"initializer_range": 0.02,
|
52 |
+
"intermediate_size": 3072,
|
53 |
+
"label2id": {
|
54 |
+
"LABEL_0": 0,
|
55 |
+
"LABEL_1": 1,
|
56 |
+
"LABEL_10": 10,
|
57 |
+
"LABEL_11": 11,
|
58 |
+
"LABEL_12": 12,
|
59 |
+
"LABEL_13": 13,
|
60 |
+
"LABEL_14": 14,
|
61 |
+
"LABEL_15": 15,
|
62 |
+
"LABEL_16": 16,
|
63 |
+
"LABEL_17": 17,
|
64 |
+
"LABEL_18": 18,
|
65 |
+
"LABEL_19": 19,
|
66 |
+
"LABEL_2": 2,
|
67 |
+
"LABEL_20": 20,
|
68 |
+
"LABEL_21": 21,
|
69 |
+
"LABEL_22": 22,
|
70 |
+
"LABEL_23": 23,
|
71 |
+
"LABEL_24": 24,
|
72 |
+
"LABEL_25": 25,
|
73 |
+
"LABEL_26": 26,
|
74 |
+
"LABEL_27": 27,
|
75 |
+
"LABEL_28": 28,
|
76 |
+
"LABEL_29": 29,
|
77 |
+
"LABEL_3": 3,
|
78 |
+
"LABEL_30": 30,
|
79 |
+
"LABEL_31": 31,
|
80 |
+
"LABEL_32": 32,
|
81 |
+
"LABEL_33": 33,
|
82 |
+
"LABEL_34": 34,
|
83 |
+
"LABEL_35": 35,
|
84 |
+
"LABEL_36": 36,
|
85 |
+
"LABEL_4": 4,
|
86 |
+
"LABEL_5": 5,
|
87 |
+
"LABEL_6": 6,
|
88 |
+
"LABEL_7": 7,
|
89 |
+
"LABEL_8": 8,
|
90 |
+
"LABEL_9": 9
|
91 |
+
},
|
92 |
+
"layer_norm_eps": 1e-12,
|
93 |
+
"max_position_embeddings": 512,
|
94 |
+
"model_type": "bert",
|
95 |
+
"num_attention_heads": 12,
|
96 |
+
"num_hidden_layers": 12,
|
97 |
+
"output_past": true,
|
98 |
+
"pad_token_id": 0,
|
99 |
+
"position_embedding_type": "absolute",
|
100 |
+
"torch_dtype": "float32",
|
101 |
+
"transformers_version": "4.34.0",
|
102 |
+
"type_vocab_size": 2,
|
103 |
+
"use_cache": true,
|
104 |
+
"vocab_size": 50331
|
105 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:75b280ef600c4df320b17dc2e46dc1a5ec43640f47124729b2d0c09fa0571f94
|
3 |
+
size 496601830
|
special_tokens_map.json
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": [
|
3 |
+
"[PAD]",
|
4 |
+
"[UNK]",
|
5 |
+
"[CLS]",
|
6 |
+
"[SEP]",
|
7 |
+
"[MASK]"
|
8 |
+
],
|
9 |
+
"cls_token": "[CLS]",
|
10 |
+
"mask_token": "[MASK]",
|
11 |
+
"pad_token": "[PAD]",
|
12 |
+
"sep_token": "[SEP]",
|
13 |
+
"unk_token": "[UNK]"
|
14 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,112 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
"50325": {
|
44 |
+
"content": "C++",
|
45 |
+
"lstrip": false,
|
46 |
+
"normalized": true,
|
47 |
+
"rstrip": false,
|
48 |
+
"single_word": false,
|
49 |
+
"special": false
|
50 |
+
},
|
51 |
+
"50326": {
|
52 |
+
"content": "c++",
|
53 |
+
"lstrip": false,
|
54 |
+
"normalized": true,
|
55 |
+
"rstrip": false,
|
56 |
+
"single_word": false,
|
57 |
+
"special": false
|
58 |
+
},
|
59 |
+
"50327": {
|
60 |
+
"content": ".N",
|
61 |
+
"lstrip": false,
|
62 |
+
"normalized": true,
|
63 |
+
"rstrip": false,
|
64 |
+
"single_word": false,
|
65 |
+
"special": false
|
66 |
+
},
|
67 |
+
"50328": {
|
68 |
+
"content": ".n",
|
69 |
+
"lstrip": false,
|
70 |
+
"normalized": true,
|
71 |
+
"rstrip": false,
|
72 |
+
"single_word": false,
|
73 |
+
"special": false
|
74 |
+
},
|
75 |
+
"50329": {
|
76 |
+
"content": "c#",
|
77 |
+
"lstrip": false,
|
78 |
+
"normalized": true,
|
79 |
+
"rstrip": false,
|
80 |
+
"single_word": false,
|
81 |
+
"special": false
|
82 |
+
},
|
83 |
+
"50330": {
|
84 |
+
"content": "C#",
|
85 |
+
"lstrip": false,
|
86 |
+
"normalized": true,
|
87 |
+
"rstrip": false,
|
88 |
+
"single_word": false,
|
89 |
+
"special": false
|
90 |
+
}
|
91 |
+
},
|
92 |
+
"additional_special_tokens": [
|
93 |
+
"[PAD]",
|
94 |
+
"[UNK]",
|
95 |
+
"[CLS]",
|
96 |
+
"[SEP]",
|
97 |
+
"[MASK]"
|
98 |
+
],
|
99 |
+
"clean_up_tokenization_spaces": true,
|
100 |
+
"cls_token": "[CLS]",
|
101 |
+
"do_basic_tokenize": true,
|
102 |
+
"do_lower_case": false,
|
103 |
+
"mask_token": "[MASK]",
|
104 |
+
"model_max_length": 1000000000000000019884624838656,
|
105 |
+
"never_split": null,
|
106 |
+
"pad_token": "[PAD]",
|
107 |
+
"sep_token": "[SEP]",
|
108 |
+
"strip_accents": false,
|
109 |
+
"tokenize_chinese_chars": true,
|
110 |
+
"tokenizer_class": "BertTokenizer",
|
111 |
+
"unk_token": "[UNK]"
|
112 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a61e56c250b96a422c0c4ce6ce2d53552af8ee732b6248c3cebc4dd982193b21
|
3 |
+
size 4664
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|