NER Training complete
Browse files- README.md +52 -0
- config.json +113 -0
- model.safetensors +3 -0
- runs/May15_17-43-43_standardnc24adsa100v4al/events.out.tfevents.1715795054.standardnc24adsa100v4al.5293.0 +3 -0
- special_tokens_map.json +19 -0
- spiece.model +3 -0
- tokenizer.json +0 -0
- tokenizer_config.json +93 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
base_model: xlnet-large-cased
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
model-index:
|
7 |
+
- name: xlnet-lg-cased-ms-ner-full
|
8 |
+
results: []
|
9 |
+
---
|
10 |
+
|
11 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
12 |
+
should probably proofread and complete it, then remove this comment. -->
|
13 |
+
|
14 |
+
# xlnet-lg-cased-ms-ner-full
|
15 |
+
|
16 |
+
This model is a fine-tuned version of [xlnet-large-cased](https://huggingface.co/xlnet-large-cased) on an unknown dataset.
|
17 |
+
|
18 |
+
## Model description
|
19 |
+
|
20 |
+
More information needed
|
21 |
+
|
22 |
+
## Intended uses & limitations
|
23 |
+
|
24 |
+
More information needed
|
25 |
+
|
26 |
+
## Training and evaluation data
|
27 |
+
|
28 |
+
More information needed
|
29 |
+
|
30 |
+
## Training procedure
|
31 |
+
|
32 |
+
### Training hyperparameters
|
33 |
+
|
34 |
+
The following hyperparameters were used during training:
|
35 |
+
- learning_rate: 2e-05
|
36 |
+
- train_batch_size: 8
|
37 |
+
- eval_batch_size: 8
|
38 |
+
- seed: 42
|
39 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
40 |
+
- lr_scheduler_type: linear
|
41 |
+
- num_epochs: 3
|
42 |
+
|
43 |
+
### Training results
|
44 |
+
|
45 |
+
|
46 |
+
|
47 |
+
### Framework versions
|
48 |
+
|
49 |
+
- Transformers 4.39.3
|
50 |
+
- Pytorch 1.12.0
|
51 |
+
- Datasets 2.18.0
|
52 |
+
- Tokenizers 0.15.2
|
config.json
ADDED
@@ -0,0 +1,113 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "xlnet-large-cased",
|
3 |
+
"architectures": [
|
4 |
+
"XLNetForTokenClassification"
|
5 |
+
],
|
6 |
+
"attn_type": "bi",
|
7 |
+
"bi_data": false,
|
8 |
+
"bos_token_id": 1,
|
9 |
+
"clamp_len": -1,
|
10 |
+
"d_head": 64,
|
11 |
+
"d_inner": 4096,
|
12 |
+
"d_model": 1024,
|
13 |
+
"dropout": 0.1,
|
14 |
+
"end_n_top": 5,
|
15 |
+
"eos_token_id": 2,
|
16 |
+
"ff_activation": "gelu",
|
17 |
+
"id2label": {
|
18 |
+
"0": "O",
|
19 |
+
"1": "B-BOSS",
|
20 |
+
"2": "I-BOSS",
|
21 |
+
"3": "B-MOB",
|
22 |
+
"4": "I-MOB",
|
23 |
+
"5": "B-MAP",
|
24 |
+
"6": "I-MAP",
|
25 |
+
"7": "B-JOB",
|
26 |
+
"8": "I-JOB",
|
27 |
+
"9": "B-INGAME_ITEM",
|
28 |
+
"10": "I-INGAME_ITEM",
|
29 |
+
"11": "B-QUEST",
|
30 |
+
"12": "I-QUEST",
|
31 |
+
"13": "B-CHANNEL",
|
32 |
+
"14": "I-CHANNEL",
|
33 |
+
"15": "B-SALE_ITEM",
|
34 |
+
"16": "I-SALE_ITEM",
|
35 |
+
"17": "B-EVENT",
|
36 |
+
"18": "I-EVENT",
|
37 |
+
"19": "B-MECHANIC",
|
38 |
+
"20": "I-MECHANIC",
|
39 |
+
"21": "B-FEATURE",
|
40 |
+
"22": "I-FEATURE",
|
41 |
+
"23": "B-NPC",
|
42 |
+
"24": "I-NPC",
|
43 |
+
"25": "B-GAME",
|
44 |
+
"26": "I-GAME",
|
45 |
+
"27": "B-SKILL",
|
46 |
+
"28": "I-SKILL",
|
47 |
+
"29": "B-UPDATE",
|
48 |
+
"30": "I-UPDATE",
|
49 |
+
"31": "B-MISC",
|
50 |
+
"32": "I-MISC"
|
51 |
+
},
|
52 |
+
"initializer_range": 0.02,
|
53 |
+
"label2id": {
|
54 |
+
"B-BOSS": 1,
|
55 |
+
"B-CHANNEL": 13,
|
56 |
+
"B-EVENT": 17,
|
57 |
+
"B-FEATURE": 21,
|
58 |
+
"B-GAME": 25,
|
59 |
+
"B-INGAME_ITEM": 9,
|
60 |
+
"B-JOB": 7,
|
61 |
+
"B-MAP": 5,
|
62 |
+
"B-MECHANIC": 19,
|
63 |
+
"B-MISC": 31,
|
64 |
+
"B-MOB": 3,
|
65 |
+
"B-NPC": 23,
|
66 |
+
"B-QUEST": 11,
|
67 |
+
"B-SALE_ITEM": 15,
|
68 |
+
"B-SKILL": 27,
|
69 |
+
"B-UPDATE": 29,
|
70 |
+
"I-BOSS": 2,
|
71 |
+
"I-CHANNEL": 14,
|
72 |
+
"I-EVENT": 18,
|
73 |
+
"I-FEATURE": 22,
|
74 |
+
"I-GAME": 26,
|
75 |
+
"I-INGAME_ITEM": 10,
|
76 |
+
"I-JOB": 8,
|
77 |
+
"I-MAP": 6,
|
78 |
+
"I-MECHANIC": 20,
|
79 |
+
"I-MISC": 32,
|
80 |
+
"I-MOB": 4,
|
81 |
+
"I-NPC": 24,
|
82 |
+
"I-QUEST": 12,
|
83 |
+
"I-SALE_ITEM": 16,
|
84 |
+
"I-SKILL": 28,
|
85 |
+
"I-UPDATE": 30,
|
86 |
+
"O": 0
|
87 |
+
},
|
88 |
+
"layer_norm_eps": 1e-12,
|
89 |
+
"mem_len": null,
|
90 |
+
"model_type": "xlnet",
|
91 |
+
"n_head": 16,
|
92 |
+
"n_layer": 24,
|
93 |
+
"pad_token_id": 5,
|
94 |
+
"reuse_len": null,
|
95 |
+
"same_length": false,
|
96 |
+
"start_n_top": 5,
|
97 |
+
"summary_activation": "tanh",
|
98 |
+
"summary_last_dropout": 0.1,
|
99 |
+
"summary_type": "last",
|
100 |
+
"summary_use_proj": true,
|
101 |
+
"task_specific_params": {
|
102 |
+
"text-generation": {
|
103 |
+
"do_sample": true,
|
104 |
+
"max_length": 250
|
105 |
+
}
|
106 |
+
},
|
107 |
+
"torch_dtype": "float32",
|
108 |
+
"transformers_version": "4.39.3",
|
109 |
+
"untie_r": true,
|
110 |
+
"use_mems_eval": true,
|
111 |
+
"use_mems_train": false,
|
112 |
+
"vocab_size": 32000
|
113 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d5494ecda52b10d4c9734ba0e82bf8f58e087ca430261e140facd96f6945b9f7
|
3 |
+
size 1441256012
|
runs/May15_17-43-43_standardnc24adsa100v4al/events.out.tfevents.1715795054.standardnc24adsa100v4al.5293.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2e0a82f8573e05183694986d8662aedc7d2da6a04495f97a37718c30bcc39ba5
|
3 |
+
size 11612
|
special_tokens_map.json
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": [
|
3 |
+
"<eop>",
|
4 |
+
"<eod>"
|
5 |
+
],
|
6 |
+
"bos_token": "<s>",
|
7 |
+
"cls_token": "<cls>",
|
8 |
+
"eos_token": "</s>",
|
9 |
+
"mask_token": {
|
10 |
+
"content": "<mask>",
|
11 |
+
"lstrip": true,
|
12 |
+
"normalized": false,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"pad_token": "<pad>",
|
17 |
+
"sep_token": "<sep>",
|
18 |
+
"unk_token": "<unk>"
|
19 |
+
}
|
spiece.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1f8c1c0bc2854d1af911a8550288c1258af5ba50277f3a5c829b98eb86fc5646
|
3 |
+
size 798011
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"0": {
|
4 |
+
"content": "<unk>",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false,
|
9 |
+
"special": true
|
10 |
+
},
|
11 |
+
"1": {
|
12 |
+
"content": "<s>",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false,
|
17 |
+
"special": true
|
18 |
+
},
|
19 |
+
"2": {
|
20 |
+
"content": "</s>",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false,
|
25 |
+
"special": true
|
26 |
+
},
|
27 |
+
"3": {
|
28 |
+
"content": "<cls>",
|
29 |
+
"lstrip": false,
|
30 |
+
"normalized": false,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false,
|
33 |
+
"special": true
|
34 |
+
},
|
35 |
+
"4": {
|
36 |
+
"content": "<sep>",
|
37 |
+
"lstrip": false,
|
38 |
+
"normalized": false,
|
39 |
+
"rstrip": false,
|
40 |
+
"single_word": false,
|
41 |
+
"special": true
|
42 |
+
},
|
43 |
+
"5": {
|
44 |
+
"content": "<pad>",
|
45 |
+
"lstrip": false,
|
46 |
+
"normalized": false,
|
47 |
+
"rstrip": false,
|
48 |
+
"single_word": false,
|
49 |
+
"special": true
|
50 |
+
},
|
51 |
+
"6": {
|
52 |
+
"content": "<mask>",
|
53 |
+
"lstrip": true,
|
54 |
+
"normalized": false,
|
55 |
+
"rstrip": false,
|
56 |
+
"single_word": false,
|
57 |
+
"special": true
|
58 |
+
},
|
59 |
+
"7": {
|
60 |
+
"content": "<eod>",
|
61 |
+
"lstrip": false,
|
62 |
+
"normalized": false,
|
63 |
+
"rstrip": false,
|
64 |
+
"single_word": false,
|
65 |
+
"special": true
|
66 |
+
},
|
67 |
+
"8": {
|
68 |
+
"content": "<eop>",
|
69 |
+
"lstrip": false,
|
70 |
+
"normalized": false,
|
71 |
+
"rstrip": false,
|
72 |
+
"single_word": false,
|
73 |
+
"special": true
|
74 |
+
}
|
75 |
+
},
|
76 |
+
"additional_special_tokens": [
|
77 |
+
"<eop>",
|
78 |
+
"<eod>"
|
79 |
+
],
|
80 |
+
"bos_token": "<s>",
|
81 |
+
"clean_up_tokenization_spaces": true,
|
82 |
+
"cls_token": "<cls>",
|
83 |
+
"do_lower_case": false,
|
84 |
+
"eos_token": "</s>",
|
85 |
+
"keep_accents": false,
|
86 |
+
"mask_token": "<mask>",
|
87 |
+
"model_max_length": 1000000000000000019884624838656,
|
88 |
+
"pad_token": "<pad>",
|
89 |
+
"remove_space": true,
|
90 |
+
"sep_token": "<sep>",
|
91 |
+
"tokenizer_class": "XLNetTokenizer",
|
92 |
+
"unk_token": "<unk>"
|
93 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e0adf8d72086ac5930eaafc81ea11594d09530baec4e779e2193530f2da41c49
|
3 |
+
size 4527
|