dhanishetty/bert-base-uncased_adapters
Browse files- README.md +101 -0
- config.json +280 -0
- model.safetensors +3 -0
- special_tokens_map.json +7 -0
- tokenizer.json +0 -0
- tokenizer_config.json +55 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
README.md
ADDED
@@ -0,0 +1,101 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: google-bert/bert-base-uncased
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
model-index:
|
7 |
+
- name: my_awesome_wnut_model
|
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 |
+
[<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="200" height="32"/>](https://wandb.ai/dhanishetty-personaluse/huggingface/runs/5uvs4op2)
|
15 |
+
# my_awesome_wnut_model
|
16 |
+
|
17 |
+
This model is a fine-tuned version of [google-bert/bert-base-uncased](https://huggingface.co/google-bert/bert-base-uncased) on an unknown dataset.
|
18 |
+
It achieves the following results on the evaluation set:
|
19 |
+
- Loss: 0.0596
|
20 |
+
|
21 |
+
## Model description
|
22 |
+
|
23 |
+
More information needed
|
24 |
+
|
25 |
+
## Intended uses & limitations
|
26 |
+
|
27 |
+
More information needed
|
28 |
+
|
29 |
+
## Training and evaluation data
|
30 |
+
|
31 |
+
More information needed
|
32 |
+
|
33 |
+
## Training procedure
|
34 |
+
|
35 |
+
### Training hyperparameters
|
36 |
+
|
37 |
+
The following hyperparameters were used during training:
|
38 |
+
- learning_rate: 5e-05
|
39 |
+
- train_batch_size: 8
|
40 |
+
- eval_batch_size: 8
|
41 |
+
- seed: 42
|
42 |
+
- gradient_accumulation_steps: 4
|
43 |
+
- total_train_batch_size: 32
|
44 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
45 |
+
- lr_scheduler_type: inverse_sqrt
|
46 |
+
- lr_scheduler_warmup_ratio: 0.1
|
47 |
+
- num_epochs: 1
|
48 |
+
|
49 |
+
### Training results
|
50 |
+
|
51 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
52 |
+
|:-------------:|:-----:|:----:|:---------------:|
|
53 |
+
| 2.2234 | 0.024 | 30 | 0.9557 |
|
54 |
+
| 0.4601 | 0.048 | 60 | 0.4359 |
|
55 |
+
| 0.3149 | 0.072 | 90 | 0.2795 |
|
56 |
+
| 0.2403 | 0.096 | 120 | 0.2142 |
|
57 |
+
| 0.1876 | 0.12 | 150 | 0.1714 |
|
58 |
+
| 0.1691 | 0.144 | 180 | 0.1488 |
|
59 |
+
| 0.1394 | 0.168 | 210 | 0.1273 |
|
60 |
+
| 0.1264 | 0.192 | 240 | 0.1160 |
|
61 |
+
| 0.1113 | 0.216 | 270 | 0.1079 |
|
62 |
+
| 0.1148 | 0.24 | 300 | 0.0992 |
|
63 |
+
| 0.0995 | 0.264 | 330 | 0.0940 |
|
64 |
+
| 0.096 | 0.288 | 360 | 0.0941 |
|
65 |
+
| 0.0954 | 0.312 | 390 | 0.0854 |
|
66 |
+
| 0.089 | 0.336 | 420 | 0.0899 |
|
67 |
+
| 0.0826 | 0.36 | 450 | 0.0841 |
|
68 |
+
| 0.0872 | 0.384 | 480 | 0.0811 |
|
69 |
+
| 0.0794 | 0.408 | 510 | 0.0759 |
|
70 |
+
| 0.0756 | 0.432 | 540 | 0.0766 |
|
71 |
+
| 0.0826 | 0.456 | 570 | 0.0729 |
|
72 |
+
| 0.0841 | 0.48 | 600 | 0.0715 |
|
73 |
+
| 0.076 | 0.504 | 630 | 0.0737 |
|
74 |
+
| 0.0746 | 0.528 | 660 | 0.0691 |
|
75 |
+
| 0.0719 | 0.552 | 690 | 0.0697 |
|
76 |
+
| 0.0722 | 0.576 | 720 | 0.0673 |
|
77 |
+
| 0.0713 | 0.6 | 750 | 0.0656 |
|
78 |
+
| 0.0671 | 0.624 | 780 | 0.0652 |
|
79 |
+
| 0.0741 | 0.648 | 810 | 0.0675 |
|
80 |
+
| 0.0723 | 0.672 | 840 | 0.0663 |
|
81 |
+
| 0.0687 | 0.696 | 870 | 0.0649 |
|
82 |
+
| 0.067 | 0.72 | 900 | 0.0637 |
|
83 |
+
| 0.0623 | 0.744 | 930 | 0.0643 |
|
84 |
+
| 0.0599 | 0.768 | 960 | 0.0643 |
|
85 |
+
| 0.0686 | 0.792 | 990 | 0.0624 |
|
86 |
+
| 0.0638 | 0.816 | 1020 | 0.0623 |
|
87 |
+
| 0.0565 | 0.84 | 1050 | 0.0626 |
|
88 |
+
| 0.0614 | 0.864 | 1080 | 0.0615 |
|
89 |
+
| 0.063 | 0.888 | 1110 | 0.0592 |
|
90 |
+
| 0.0592 | 0.912 | 1140 | 0.0618 |
|
91 |
+
| 0.0687 | 0.936 | 1170 | 0.0618 |
|
92 |
+
| 0.0577 | 0.96 | 1200 | 0.0600 |
|
93 |
+
| 0.0629 | 0.984 | 1230 | 0.0596 |
|
94 |
+
|
95 |
+
|
96 |
+
### Framework versions
|
97 |
+
|
98 |
+
- Transformers 4.42.3
|
99 |
+
- Pytorch 2.3.1+cu118
|
100 |
+
- Datasets 2.20.0
|
101 |
+
- Tokenizers 0.19.1
|
config.json
ADDED
@@ -0,0 +1,280 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "google-bert/bert-base-uncased",
|
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": "O",
|
14 |
+
"1": "B-GENERAL__product-software",
|
15 |
+
"2": "I-GENERAL__product-software",
|
16 |
+
"3": "B-GENERAL__person-scholar",
|
17 |
+
"4": "I-GENERAL__person-scholar",
|
18 |
+
"5": "B-GENERAL__event-attack/battle/war/militaryconflict",
|
19 |
+
"6": "I-GENERAL__event-attack/battle/war/militaryconflict",
|
20 |
+
"7": "B-DATETIME__range",
|
21 |
+
"8": "I-DATETIME__range",
|
22 |
+
"9": "B-GENERAL__other-award",
|
23 |
+
"10": "I-GENERAL__other-award",
|
24 |
+
"11": "B-GENERAL__other-disease",
|
25 |
+
"12": "I-GENERAL__other-disease",
|
26 |
+
"13": "B-GENERAL__building-sportsfacility",
|
27 |
+
"14": "I-GENERAL__building-sportsfacility",
|
28 |
+
"15": "B-DATETIME__authored",
|
29 |
+
"16": "I-DATETIME__authored",
|
30 |
+
"17": "B-GENERAL__location-bodiesofwater",
|
31 |
+
"18": "I-GENERAL__location-bodiesofwater",
|
32 |
+
"19": "B-GENERAL__art-writtenart",
|
33 |
+
"20": "I-GENERAL__art-writtenart",
|
34 |
+
"21": "B-GENERAL__other-god",
|
35 |
+
"22": "I-GENERAL__other-god",
|
36 |
+
"23": "B-DATETIME__relative",
|
37 |
+
"24": "I-DATETIME__relative",
|
38 |
+
"25": "B-GENERAL__organization-government/governmentagency",
|
39 |
+
"26": "I-GENERAL__organization-government/governmentagency",
|
40 |
+
"27": "B-GENERAL__product-weapon",
|
41 |
+
"28": "I-GENERAL__product-weapon",
|
42 |
+
"29": "B-GENERAL__other-language",
|
43 |
+
"30": "I-GENERAL__other-language",
|
44 |
+
"31": "B-GENERAL__event-other",
|
45 |
+
"32": "I-GENERAL__event-other",
|
46 |
+
"33": "B-GENERAL__building-restaurant",
|
47 |
+
"34": "I-GENERAL__building-restaurant",
|
48 |
+
"35": "B-GENERAL__location-mountain",
|
49 |
+
"36": "I-GENERAL__location-mountain",
|
50 |
+
"37": "B-GENERAL__organization-religion",
|
51 |
+
"38": "I-GENERAL__organization-religion",
|
52 |
+
"39": "B-GENERAL__location-park",
|
53 |
+
"40": "I-GENERAL__location-park",
|
54 |
+
"41": "B-GENERAL__event-sportsevent",
|
55 |
+
"42": "I-GENERAL__event-sportsevent",
|
56 |
+
"43": "B-GENERAL__other-livingthing",
|
57 |
+
"44": "I-GENERAL__other-livingthing",
|
58 |
+
"45": "B-GENERAL__product-food",
|
59 |
+
"46": "I-GENERAL__product-food",
|
60 |
+
"47": "B-GENERAL__other-currency",
|
61 |
+
"48": "I-GENERAL__other-currency",
|
62 |
+
"49": "B-GENERAL__location-island",
|
63 |
+
"50": "I-GENERAL__location-island",
|
64 |
+
"51": "B-GENERAL__organization-education",
|
65 |
+
"52": "I-GENERAL__organization-education",
|
66 |
+
"53": "B-GENERAL__other-astronomything",
|
67 |
+
"54": "I-GENERAL__other-astronomything",
|
68 |
+
"55": "B-GENERAL__other-chemicalthing",
|
69 |
+
"56": "I-GENERAL__other-chemicalthing",
|
70 |
+
"57": "B-GENERAL__other-law",
|
71 |
+
"58": "I-GENERAL__other-law",
|
72 |
+
"59": "B-GENERAL__building-library",
|
73 |
+
"60": "I-GENERAL__building-library",
|
74 |
+
"61": "B-GENERAL__organization-media/newspaper",
|
75 |
+
"62": "I-GENERAL__organization-media/newspaper",
|
76 |
+
"63": "B-GENERAL__location-GPE",
|
77 |
+
"64": "I-GENERAL__location-GPE",
|
78 |
+
"65": "B-GENERAL__art-music",
|
79 |
+
"66": "I-GENERAL__art-music",
|
80 |
+
"67": "B-GENERAL__art-broadcastprogram",
|
81 |
+
"68": "I-GENERAL__art-broadcastprogram",
|
82 |
+
"69": "B-GENERAL__person-soldier",
|
83 |
+
"70": "I-GENERAL__person-soldier",
|
84 |
+
"71": "B-GENERAL__building-airport",
|
85 |
+
"72": "I-GENERAL__building-airport",
|
86 |
+
"73": "B-GENERAL__other-biologything",
|
87 |
+
"74": "I-GENERAL__other-biologything",
|
88 |
+
"75": "B-GENERAL__art-other",
|
89 |
+
"76": "I-GENERAL__art-other",
|
90 |
+
"77": "B-GENERAL__person-other",
|
91 |
+
"78": "I-GENERAL__person-other",
|
92 |
+
"79": "B-GENERAL__organization-other",
|
93 |
+
"80": "I-GENERAL__organization-other",
|
94 |
+
"81": "B-GENERAL__product-game",
|
95 |
+
"82": "I-GENERAL__product-game",
|
96 |
+
"83": "B-DATETIME__absolute",
|
97 |
+
"84": "I-DATETIME__absolute",
|
98 |
+
"85": "B-GENERAL__organization-sportsteam",
|
99 |
+
"86": "I-GENERAL__organization-sportsteam",
|
100 |
+
"87": "B-GENERAL__product-train",
|
101 |
+
"88": "I-GENERAL__product-train",
|
102 |
+
"89": "B-GENERAL__product-car",
|
103 |
+
"90": "I-GENERAL__product-car",
|
104 |
+
"91": "B-GENERAL__other-medical",
|
105 |
+
"92": "I-GENERAL__other-medical",
|
106 |
+
"93": "B-GENERAL__building-theater",
|
107 |
+
"94": "I-GENERAL__building-theater",
|
108 |
+
"95": "B-GENERAL__art-film",
|
109 |
+
"96": "I-GENERAL__art-film",
|
110 |
+
"97": "B-GENERAL__art-painting",
|
111 |
+
"98": "I-GENERAL__art-painting",
|
112 |
+
"99": "B-GENERAL__location-other",
|
113 |
+
"100": "I-GENERAL__location-other",
|
114 |
+
"101": "B-GENERAL__building-hospital",
|
115 |
+
"102": "I-GENERAL__building-hospital",
|
116 |
+
"103": "B-GENERAL__product-airplane",
|
117 |
+
"104": "I-GENERAL__product-airplane",
|
118 |
+
"105": "B-GENERAL__product-ship",
|
119 |
+
"106": "I-GENERAL__product-ship",
|
120 |
+
"107": "B-GENERAL__person-politician",
|
121 |
+
"108": "I-GENERAL__person-politician",
|
122 |
+
"109": "B-GENERAL__other-educationaldegree",
|
123 |
+
"110": "I-GENERAL__other-educationaldegree",
|
124 |
+
"111": "B-GENERAL__product-other",
|
125 |
+
"112": "I-GENERAL__product-other",
|
126 |
+
"113": "B-GENERAL__building-other",
|
127 |
+
"114": "I-GENERAL__building-other",
|
128 |
+
"115": "B-GENERAL__person-artist/author",
|
129 |
+
"116": "I-GENERAL__person-artist/author",
|
130 |
+
"117": "B-GENERAL__organization-showorganization",
|
131 |
+
"118": "I-GENERAL__organization-showorganization",
|
132 |
+
"119": "B-GENERAL__location-road/railway/highway/transit",
|
133 |
+
"120": "I-GENERAL__location-road/railway/highway/transit",
|
134 |
+
"121": "B-GENERAL__building-hotel",
|
135 |
+
"122": "I-GENERAL__building-hotel",
|
136 |
+
"123": "B-GENERAL__organization-company",
|
137 |
+
"124": "I-GENERAL__organization-company"
|
138 |
+
},
|
139 |
+
"initializer_range": 0.02,
|
140 |
+
"intermediate_size": 3072,
|
141 |
+
"label2id": {
|
142 |
+
"B-DATETIME__absolute": 83,
|
143 |
+
"B-DATETIME__authored": 15,
|
144 |
+
"B-DATETIME__range": 7,
|
145 |
+
"B-DATETIME__relative": 23,
|
146 |
+
"B-GENERAL__art-broadcastprogram": 67,
|
147 |
+
"B-GENERAL__art-film": 95,
|
148 |
+
"B-GENERAL__art-music": 65,
|
149 |
+
"B-GENERAL__art-other": 75,
|
150 |
+
"B-GENERAL__art-painting": 97,
|
151 |
+
"B-GENERAL__art-writtenart": 19,
|
152 |
+
"B-GENERAL__building-airport": 71,
|
153 |
+
"B-GENERAL__building-hospital": 101,
|
154 |
+
"B-GENERAL__building-hotel": 121,
|
155 |
+
"B-GENERAL__building-library": 59,
|
156 |
+
"B-GENERAL__building-other": 113,
|
157 |
+
"B-GENERAL__building-restaurant": 33,
|
158 |
+
"B-GENERAL__building-sportsfacility": 13,
|
159 |
+
"B-GENERAL__building-theater": 93,
|
160 |
+
"B-GENERAL__event-attack/battle/war/militaryconflict": 5,
|
161 |
+
"B-GENERAL__event-other": 31,
|
162 |
+
"B-GENERAL__event-sportsevent": 41,
|
163 |
+
"B-GENERAL__location-GPE": 63,
|
164 |
+
"B-GENERAL__location-bodiesofwater": 17,
|
165 |
+
"B-GENERAL__location-island": 49,
|
166 |
+
"B-GENERAL__location-mountain": 35,
|
167 |
+
"B-GENERAL__location-other": 99,
|
168 |
+
"B-GENERAL__location-park": 39,
|
169 |
+
"B-GENERAL__location-road/railway/highway/transit": 119,
|
170 |
+
"B-GENERAL__organization-company": 123,
|
171 |
+
"B-GENERAL__organization-education": 51,
|
172 |
+
"B-GENERAL__organization-government/governmentagency": 25,
|
173 |
+
"B-GENERAL__organization-media/newspaper": 61,
|
174 |
+
"B-GENERAL__organization-other": 79,
|
175 |
+
"B-GENERAL__organization-religion": 37,
|
176 |
+
"B-GENERAL__organization-showorganization": 117,
|
177 |
+
"B-GENERAL__organization-sportsteam": 85,
|
178 |
+
"B-GENERAL__other-astronomything": 53,
|
179 |
+
"B-GENERAL__other-award": 9,
|
180 |
+
"B-GENERAL__other-biologything": 73,
|
181 |
+
"B-GENERAL__other-chemicalthing": 55,
|
182 |
+
"B-GENERAL__other-currency": 47,
|
183 |
+
"B-GENERAL__other-disease": 11,
|
184 |
+
"B-GENERAL__other-educationaldegree": 109,
|
185 |
+
"B-GENERAL__other-god": 21,
|
186 |
+
"B-GENERAL__other-language": 29,
|
187 |
+
"B-GENERAL__other-law": 57,
|
188 |
+
"B-GENERAL__other-livingthing": 43,
|
189 |
+
"B-GENERAL__other-medical": 91,
|
190 |
+
"B-GENERAL__person-artist/author": 115,
|
191 |
+
"B-GENERAL__person-other": 77,
|
192 |
+
"B-GENERAL__person-politician": 107,
|
193 |
+
"B-GENERAL__person-scholar": 3,
|
194 |
+
"B-GENERAL__person-soldier": 69,
|
195 |
+
"B-GENERAL__product-airplane": 103,
|
196 |
+
"B-GENERAL__product-car": 89,
|
197 |
+
"B-GENERAL__product-food": 45,
|
198 |
+
"B-GENERAL__product-game": 81,
|
199 |
+
"B-GENERAL__product-other": 111,
|
200 |
+
"B-GENERAL__product-ship": 105,
|
201 |
+
"B-GENERAL__product-software": 1,
|
202 |
+
"B-GENERAL__product-train": 87,
|
203 |
+
"B-GENERAL__product-weapon": 27,
|
204 |
+
"I-DATETIME__absolute": 84,
|
205 |
+
"I-DATETIME__authored": 16,
|
206 |
+
"I-DATETIME__range": 8,
|
207 |
+
"I-DATETIME__relative": 24,
|
208 |
+
"I-GENERAL__art-broadcastprogram": 68,
|
209 |
+
"I-GENERAL__art-film": 96,
|
210 |
+
"I-GENERAL__art-music": 66,
|
211 |
+
"I-GENERAL__art-other": 76,
|
212 |
+
"I-GENERAL__art-painting": 98,
|
213 |
+
"I-GENERAL__art-writtenart": 20,
|
214 |
+
"I-GENERAL__building-airport": 72,
|
215 |
+
"I-GENERAL__building-hospital": 102,
|
216 |
+
"I-GENERAL__building-hotel": 122,
|
217 |
+
"I-GENERAL__building-library": 60,
|
218 |
+
"I-GENERAL__building-other": 114,
|
219 |
+
"I-GENERAL__building-restaurant": 34,
|
220 |
+
"I-GENERAL__building-sportsfacility": 14,
|
221 |
+
"I-GENERAL__building-theater": 94,
|
222 |
+
"I-GENERAL__event-attack/battle/war/militaryconflict": 6,
|
223 |
+
"I-GENERAL__event-other": 32,
|
224 |
+
"I-GENERAL__event-sportsevent": 42,
|
225 |
+
"I-GENERAL__location-GPE": 64,
|
226 |
+
"I-GENERAL__location-bodiesofwater": 18,
|
227 |
+
"I-GENERAL__location-island": 50,
|
228 |
+
"I-GENERAL__location-mountain": 36,
|
229 |
+
"I-GENERAL__location-other": 100,
|
230 |
+
"I-GENERAL__location-park": 40,
|
231 |
+
"I-GENERAL__location-road/railway/highway/transit": 120,
|
232 |
+
"I-GENERAL__organization-company": 124,
|
233 |
+
"I-GENERAL__organization-education": 52,
|
234 |
+
"I-GENERAL__organization-government/governmentagency": 26,
|
235 |
+
"I-GENERAL__organization-media/newspaper": 62,
|
236 |
+
"I-GENERAL__organization-other": 80,
|
237 |
+
"I-GENERAL__organization-religion": 38,
|
238 |
+
"I-GENERAL__organization-showorganization": 118,
|
239 |
+
"I-GENERAL__organization-sportsteam": 86,
|
240 |
+
"I-GENERAL__other-astronomything": 54,
|
241 |
+
"I-GENERAL__other-award": 10,
|
242 |
+
"I-GENERAL__other-biologything": 74,
|
243 |
+
"I-GENERAL__other-chemicalthing": 56,
|
244 |
+
"I-GENERAL__other-currency": 48,
|
245 |
+
"I-GENERAL__other-disease": 12,
|
246 |
+
"I-GENERAL__other-educationaldegree": 110,
|
247 |
+
"I-GENERAL__other-god": 22,
|
248 |
+
"I-GENERAL__other-language": 30,
|
249 |
+
"I-GENERAL__other-law": 58,
|
250 |
+
"I-GENERAL__other-livingthing": 44,
|
251 |
+
"I-GENERAL__other-medical": 92,
|
252 |
+
"I-GENERAL__person-artist/author": 116,
|
253 |
+
"I-GENERAL__person-other": 78,
|
254 |
+
"I-GENERAL__person-politician": 108,
|
255 |
+
"I-GENERAL__person-scholar": 4,
|
256 |
+
"I-GENERAL__person-soldier": 70,
|
257 |
+
"I-GENERAL__product-airplane": 104,
|
258 |
+
"I-GENERAL__product-car": 90,
|
259 |
+
"I-GENERAL__product-food": 46,
|
260 |
+
"I-GENERAL__product-game": 82,
|
261 |
+
"I-GENERAL__product-other": 112,
|
262 |
+
"I-GENERAL__product-ship": 106,
|
263 |
+
"I-GENERAL__product-software": 2,
|
264 |
+
"I-GENERAL__product-train": 88,
|
265 |
+
"I-GENERAL__product-weapon": 28,
|
266 |
+
"O": 0
|
267 |
+
},
|
268 |
+
"layer_norm_eps": 1e-12,
|
269 |
+
"max_position_embeddings": 512,
|
270 |
+
"model_type": "bert",
|
271 |
+
"num_attention_heads": 12,
|
272 |
+
"num_hidden_layers": 12,
|
273 |
+
"pad_token_id": 0,
|
274 |
+
"position_embedding_type": "absolute",
|
275 |
+
"torch_dtype": "float32",
|
276 |
+
"transformers_version": "4.42.3",
|
277 |
+
"type_vocab_size": 2,
|
278 |
+
"use_cache": true,
|
279 |
+
"vocab_size": 30522
|
280 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9266b764f26d0eb755b6e776e08a7f137e21b7c8852331654427b35e8612ebbf
|
3 |
+
size 435974436
|
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,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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_lower_case": true,
|
47 |
+
"mask_token": "[MASK]",
|
48 |
+
"model_max_length": 512,
|
49 |
+
"pad_token": "[PAD]",
|
50 |
+
"sep_token": "[SEP]",
|
51 |
+
"strip_accents": null,
|
52 |
+
"tokenize_chinese_chars": true,
|
53 |
+
"tokenizer_class": "BertTokenizer",
|
54 |
+
"unk_token": "[UNK]"
|
55 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1e65be79e61a6d700406132550d6d41d9406e83c680954dba6996cc9a865c91a
|
3 |
+
size 5112
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|