P0L3 commited on
Commit
8c05dcc
·
verified ·
1 Parent(s): 14cf33d

Upload 10 files

Browse files
README.md CHANGED
@@ -1,3 +1,244 @@
1
  ---
2
- license: mit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ language: en
3
+ license: cc-by-sa-4.0
4
+ tags:
5
+ - span-marker
6
+ - token-classification
7
+ - ner
8
+ - named-entity-recognition
9
+ - generated_from_span_marker_trainer
10
+ widget:
11
+ - text: While a significant positive impact of solid-state cultivation using white
12
+ rot fungi on enzymatic digestibility was reported in some studies [ 68 , 69 ]
13
+ , a negative effect of fungal pretreatment on enzymatic hydrolysis was noted by
14
+ investigators like Shi et al . ( 2009 ) [ 33 ] , who reported a glucose yield
15
+ of 55 . 6 mg g − 1 of cotton stalks pretreated with P . chrysosporium , which
16
+ was approximately 17 % lower than the yield of untreated cotton stalks after enzymatic
17
+ hydrolysis in spite of significant lignin degradation .
18
+ - text: We quantify changes in the properties and amount of bottom water entering
19
+ the basin by combining repeat hydrographic observations , direct velocity measurements
20
+ and flow structure derived from a 0 . 1 ° global ocean sea-ice model that realistically
21
+ simulates AABW formation sites and export pathways .
22
+ - text: The impact of these differences on cloud forcing can be signi or more . cant
23
+ and as high as 30 W m In recent years , observations from satellite data have
24
+ been revised considerably after significant development efforts , especially after
25
+ utilizing new high-quality reference measurements from active sensors in space
26
+ , and some datasets have also improved polar cloud detection .
27
+ - text: If the response is significant , how does the solar forcing impact the EASM
28
+ rainfall variability ? In this study , we will address these questions based on
29
+ the simulation results derived from one AD 850 control experiment ( CTRL ) and
30
+ four solar-only forcing experiments [ spectral solar irradiance ( SSI ) experiments
31
+ ] , which were conducted by the Community Earth System ( CESM-LME ) Model – Last
32
+ Millennium Ensemble modeling project ( Otto-Bliesner et al . 2016 ) .
33
+ - text: Measurements from single moorings at each gateway reveal that the speed of
34
+ bottom water flow into the Australian Antarctic Basin varies with location , season
35
+ and density ( Fig . 3a , c , e ) .
36
+ pipeline_tag: token-classification
37
+ library_name: span-marker
38
+ metrics:
39
+ - precision
40
+ - recall
41
+ - f1
42
+ datasets:
43
+ - P0L3/CliReNER_v_1_1_28_SILVER
44
+ base_model: distilbert/distilroberta-base
45
+ model-index:
46
+ - name: SpanMarker with distilbert/distilroberta-base
47
+ results:
48
+ - task:
49
+ type: token-classification
50
+ name: Named Entity Recognition
51
+ dataset:
52
+ name: Unknown
53
+ type: P0L3/CliReNER_v_1_1_28_SILVER
54
+ split: eval
55
+ metrics:
56
+ - type: f1
57
+ value: 0.6
58
+ name: F1
59
+ - type: precision
60
+ value: 0.6106983655274889
61
+ name: Precision
62
+ - type: recall
63
+ value: 0.5896700143472023
64
+ name: Recall
65
  ---
66
+
67
+ # SpanMarker with distilbert/distilroberta-base
68
+
69
+ This is a [SpanMarker](https://github.com/tomaarsen/SpanMarkerNER) model trained on the [P0L3/CliReNER_v_1_1_28_SILVER](https://huggingface.co/datasets/P0L3/CliReNER_v_1_1_28_SILVER) dataset that can be used for Named Entity Recognition. This SpanMarker model uses [distilbert/distilroberta-base](https://huggingface.co/distilbert/distilroberta-base) as the underlying encoder.
70
+
71
+ ## Model Details
72
+
73
+ ### Model Description
74
+ - **Model Type:** SpanMarker
75
+ - **Encoder:** [distilbert/distilroberta-base](https://huggingface.co/distilbert/distilroberta-base)
76
+ - **Maximum Sequence Length:** 512 tokens
77
+ - **Maximum Entity Length:** 14 words
78
+ - **Training Dataset:** [P0L3/CliReNER_v_1_1_28_SILVER](https://huggingface.co/datasets/P0L3/CliReNER_v_1_1_28_SILVER)
79
+ - **Language:** en
80
+ - **License:** cc-by-sa-4.0
81
+
82
+ ### Model Sources
83
+
84
+ - **Repository:** [SpanMarker on GitHub](https://github.com/tomaarsen/SpanMarkerNER)
85
+ - **Thesis:** [SpanMarker For Named Entity Recognition](https://raw.githubusercontent.com/tomaarsen/SpanMarkerNER/main/thesis.pdf)
86
+
87
+ ### Model Labels
88
+ | Label | Examples |
89
+ |:--------------------------|:--------------------------------------------------------------------------------------------|
90
+ | Asset | "raw material", "water resources", "mental health" |
91
+ | Body Part | "leaves", "plant leaves", "deep tissue compartment" |
92
+ | Body of Water | "rivers", "Dhaleshwari river", "peripheral rivers" |
93
+ | Chemical | "domoic acid", "marine algal toxin", "cathode materials" |
94
+ | Disease | "acute neurologic signs", "chronic epileptic syndrome", "seizures" |
95
+ | Ecosystem | "cloud forests", "Tropical montane cloud forest", "polluted environment" |
96
+ | Energy Source | "fossil fuels", "battery cells", "12-cell series battery-pack prototype" |
97
+ | Field of Study | "veterinary medicine", "study", "reference laboratory" |
98
+ | Geographical Feature | "mountainous regions", "low point", "heterogenous topography" |
99
+ | Intellectual Artefact | "Veterinary medical records", "Daily husbandry records", "data" |
100
+ | Location | "wild", "Westbrook", "beaches" |
101
+ | Mathematical Expression | "difference", "gradient", "Stepwise machine hour constraints" |
102
+ | Measuring Device | "EEG", "MRI scan", "station" |
103
+ | Meteorological Phenomenon | "rainfall", "climate change", "climatic variability" |
104
+ | Method | "clinical efficacy", "dosing", "serum monitoring" |
105
+ | Natural Disaster | "heavy metal contamination", "environmental pollution", "seasonal air pollution" |
106
+ | Natural Phenomenon | "changing ocean conditions", "algal blooms", "biochemical changes" |
107
+ | Organism | "California sea lions", "Zalophus californianus", "species" |
108
+ | Organization | "NOAA National Marine Fisheries Service", "long-term care facility", "reference laboratory" |
109
+ | Other | "reports", "marine mammal health", "normal eating" |
110
+ | Person | "Clinicians", "staff", "clinicians" |
111
+ | Physical Artefact | "paved east – west road", "EVs", "electric vehicle" |
112
+ | Physical Phenomenon | "seasonal changes", "normal food intake", "structural abnormalities" |
113
+ | Policy | "safety", "energy security", "pollution" |
114
+ | Quantity | ">", "200 mAhg − 1", "energy density" |
115
+ | Satellite | "satellites", "TRMM", "Tropical Rainfall Measuring Mission" |
116
+ | System | "system structure", "climate", "global overturning circulation" |
117
+ | Time Period | "several decades", "101 days", "periods of prolonged anorexia" |
118
+
119
+ ## Uses
120
+
121
+ ### Direct Use for Inference
122
+
123
+ ```python
124
+ from span_marker import SpanMarkerModel
125
+
126
+ # Download from the 🤗 Hub
127
+ model = SpanMarkerModel.from_pretrained("span_marker_model_id")
128
+ # Run inference
129
+ entities = model.predict("Measurements from single moorings at each gateway reveal that the speed of bottom water flow into the Australian Antarctic Basin varies with location , season and density ( Fig . 3a , c , e ) .")
130
+ ```
131
+
132
+ ### Downstream Use
133
+ You can finetune this model on your own dataset.
134
+
135
+ <details><summary>Click to expand</summary>
136
+
137
+ ```python
138
+ from span_marker import SpanMarkerModel, Trainer
139
+
140
+ # Download from the 🤗 Hub
141
+ model = SpanMarkerModel.from_pretrained("span_marker_model_id")
142
+
143
+ # Specify a Dataset with "tokens" and "ner_tag" columns
144
+ dataset = load_dataset("conll2003") # For example CoNLL2003
145
+
146
+ # Initialize a Trainer using the pretrained model & dataset
147
+ trainer = Trainer(
148
+ model=model,
149
+ train_dataset=dataset["train"],
150
+ eval_dataset=dataset["validation"],
151
+ )
152
+ trainer.train()
153
+ trainer.save_model("span_marker_model_id-finetuned")
154
+ ```
155
+ </details>
156
+
157
+ <!--
158
+ ### Out-of-Scope Use
159
+
160
+ *List how the model may foreseeably be misused and address what users ought not to do with the model.*
161
+ -->
162
+
163
+ <!--
164
+ ## Bias, Risks and Limitations
165
+
166
+ *What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
167
+ -->
168
+
169
+ <!--
170
+ ### Recommendations
171
+
172
+ *What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
173
+ -->
174
+
175
+ ## Training Details
176
+
177
+ ### Training Set Metrics
178
+ | Training set | Min | Median | Max |
179
+ |:----------------------|:----|:--------|:----|
180
+ | Sentence length | 3 | 31.4819 | 97 |
181
+ | Entities per sentence | 1 | 7.0100 | 22 |
182
+
183
+ ### Training Hyperparameters
184
+ - learning_rate: 5e-05
185
+ - train_batch_size: 8
186
+ - eval_batch_size: 8
187
+ - seed: 3012
188
+ - gradient_accumulation_steps: 2
189
+ - total_train_batch_size: 16
190
+ - optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
191
+ - lr_scheduler_type: linear
192
+ - lr_scheduler_warmup_ratio: 0.1
193
+ - num_epochs: 20
194
+
195
+ ### Training Results
196
+ | Epoch | Step | Validation Loss | Validation Precision | Validation Recall | Validation F1 | Validation Accuracy |
197
+ |:-----:|:----:|:---------------:|:--------------------:|:-----------------:|:-------------:|:-------------------:|
198
+ | 1.0 | 62 | 0.1543 | 0.0 | 0.0 | 0.0 | 0.6075 |
199
+ | 2.0 | 124 | 0.0953 | 0.3810 | 0.0115 | 0.0223 | 0.6096 |
200
+ | 3.0 | 186 | 0.0573 | 0.5535 | 0.2970 | 0.3866 | 0.7244 |
201
+ | 4.0 | 248 | 0.0461 | 0.5996 | 0.4792 | 0.5327 | 0.7932 |
202
+ | 5.0 | 310 | 0.0437 | 0.6058 | 0.5380 | 0.5699 | 0.8192 |
203
+ | 6.0 | 372 | 0.0433 | 0.6036 | 0.5308 | 0.5649 | 0.8174 |
204
+ | 7.0 | 434 | 0.0442 | 0.6121 | 0.5681 | 0.5893 | 0.8268 |
205
+ | 8.0 | 496 | 0.0449 | 0.6196 | 0.5725 | 0.5951 | 0.8310 |
206
+ | 9.0 | 558 | 0.0469 | 0.6107 | 0.5897 | 0.6 | 0.8316 |
207
+
208
+ ### Framework Versions
209
+ - Python: 3.10.19
210
+ - SpanMarker: 1.7.0
211
+ - Transformers: 4.50.0
212
+ - PyTorch: 2.9.1+cu126
213
+ - Datasets: 3.0.0
214
+ - Tokenizers: 0.21.4
215
+
216
+ ## Citation
217
+
218
+ ### BibTeX
219
+ ```
220
+ @software{Aarsen_SpanMarker,
221
+ author = {Aarsen, Tom},
222
+ license = {Apache-2.0},
223
+ title = {{SpanMarker for Named Entity Recognition}},
224
+ url = {https://github.com/tomaarsen/SpanMarkerNER}
225
+ }
226
+ ```
227
+
228
+ <!--
229
+ ## Glossary
230
+
231
+ *Clearly define terms in order to be accessible across audiences.*
232
+ -->
233
+
234
+ <!--
235
+ ## Model Card Authors
236
+
237
+ *Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
238
+ -->
239
+
240
+ <!--
241
+ ## Model Card Contact
242
+
243
+ *Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
244
+ -->
added_tokens.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "<end>": 50266,
3
+ "<start>": 50265
4
+ }
config.json ADDED
@@ -0,0 +1,330 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "SpanMarkerModel"
4
+ ],
5
+ "encoder": {
6
+ "_attn_implementation_autoset": false,
7
+ "_name_or_path": "distilbert/distilroberta-base",
8
+ "add_cross_attention": false,
9
+ "architectures": [
10
+ "RobertaForMaskedLM"
11
+ ],
12
+ "attention_probs_dropout_prob": 0.1,
13
+ "bad_words_ids": null,
14
+ "begin_suppress_tokens": null,
15
+ "bos_token_id": 0,
16
+ "chunk_size_feed_forward": 0,
17
+ "classifier_dropout": null,
18
+ "cross_attention_hidden_size": null,
19
+ "decoder_start_token_id": null,
20
+ "diversity_penalty": 0.0,
21
+ "do_sample": false,
22
+ "early_stopping": false,
23
+ "encoder_no_repeat_ngram_size": 0,
24
+ "eos_token_id": 2,
25
+ "exponential_decay_length_penalty": null,
26
+ "finetuning_task": null,
27
+ "forced_bos_token_id": null,
28
+ "forced_eos_token_id": null,
29
+ "hidden_act": "gelu",
30
+ "hidden_dropout_prob": 0.1,
31
+ "hidden_size": 768,
32
+ "id2label": {
33
+ "0": "O",
34
+ "1": "B-Asset",
35
+ "2": "I-Asset",
36
+ "3": "B-Body Part",
37
+ "4": "I-Body Part",
38
+ "5": "B-Body of Water",
39
+ "6": "I-Body of Water",
40
+ "7": "B-Chemical",
41
+ "8": "I-Chemical",
42
+ "9": "B-Disease",
43
+ "10": "I-Disease",
44
+ "11": "B-Ecosystem",
45
+ "12": "I-Ecosystem",
46
+ "13": "B-Energy Source",
47
+ "14": "I-Energy Source",
48
+ "15": "B-Field of Study",
49
+ "16": "I-Field of Study",
50
+ "17": "B-Geographical Feature",
51
+ "18": "I-Geographical Feature",
52
+ "19": "B-Intellectual Artefact",
53
+ "20": "I-Intellectual Artefact",
54
+ "21": "B-Location",
55
+ "22": "I-Location",
56
+ "23": "B-Mathematical Expression",
57
+ "24": "I-Mathematical Expression",
58
+ "25": "B-Measuring Device",
59
+ "26": "I-Measuring Device",
60
+ "27": "B-Meteorological Phenomenon",
61
+ "28": "I-Meteorological Phenomenon",
62
+ "29": "B-Method",
63
+ "30": "I-Method",
64
+ "31": "B-Natural Disaster",
65
+ "32": "I-Natural Disaster",
66
+ "33": "B-Natural Phenomenon",
67
+ "34": "I-Natural Phenomenon",
68
+ "35": "B-Organism",
69
+ "36": "I-Organism",
70
+ "37": "B-Organization",
71
+ "38": "I-Organization",
72
+ "39": "B-Other",
73
+ "40": "I-Other",
74
+ "41": "B-Person",
75
+ "42": "I-Person",
76
+ "43": "B-Physical Artefact",
77
+ "44": "I-Physical Artefact",
78
+ "45": "B-Physical Phenomenon",
79
+ "46": "I-Physical Phenomenon",
80
+ "47": "B-Policy",
81
+ "48": "I-Policy",
82
+ "49": "B-Quantity",
83
+ "50": "I-Quantity",
84
+ "51": "B-Satellite",
85
+ "52": "I-Satellite",
86
+ "53": "B-System",
87
+ "54": "I-System",
88
+ "55": "B-Time Period",
89
+ "56": "I-Time Period"
90
+ },
91
+ "initializer_range": 0.02,
92
+ "intermediate_size": 3072,
93
+ "is_decoder": false,
94
+ "is_encoder_decoder": false,
95
+ "label2id": {
96
+ "B-Asset": 1,
97
+ "B-Body Part": 3,
98
+ "B-Body of Water": 5,
99
+ "B-Chemical": 7,
100
+ "B-Disease": 9,
101
+ "B-Ecosystem": 11,
102
+ "B-Energy Source": 13,
103
+ "B-Field of Study": 15,
104
+ "B-Geographical Feature": 17,
105
+ "B-Intellectual Artefact": 19,
106
+ "B-Location": 21,
107
+ "B-Mathematical Expression": 23,
108
+ "B-Measuring Device": 25,
109
+ "B-Meteorological Phenomenon": 27,
110
+ "B-Method": 29,
111
+ "B-Natural Disaster": 31,
112
+ "B-Natural Phenomenon": 33,
113
+ "B-Organism": 35,
114
+ "B-Organization": 37,
115
+ "B-Other": 39,
116
+ "B-Person": 41,
117
+ "B-Physical Artefact": 43,
118
+ "B-Physical Phenomenon": 45,
119
+ "B-Policy": 47,
120
+ "B-Quantity": 49,
121
+ "B-Satellite": 51,
122
+ "B-System": 53,
123
+ "B-Time Period": 55,
124
+ "I-Asset": 2,
125
+ "I-Body Part": 4,
126
+ "I-Body of Water": 6,
127
+ "I-Chemical": 8,
128
+ "I-Disease": 10,
129
+ "I-Ecosystem": 12,
130
+ "I-Energy Source": 14,
131
+ "I-Field of Study": 16,
132
+ "I-Geographical Feature": 18,
133
+ "I-Intellectual Artefact": 20,
134
+ "I-Location": 22,
135
+ "I-Mathematical Expression": 24,
136
+ "I-Measuring Device": 26,
137
+ "I-Meteorological Phenomenon": 28,
138
+ "I-Method": 30,
139
+ "I-Natural Disaster": 32,
140
+ "I-Natural Phenomenon": 34,
141
+ "I-Organism": 36,
142
+ "I-Organization": 38,
143
+ "I-Other": 40,
144
+ "I-Person": 42,
145
+ "I-Physical Artefact": 44,
146
+ "I-Physical Phenomenon": 46,
147
+ "I-Policy": 48,
148
+ "I-Quantity": 50,
149
+ "I-Satellite": 52,
150
+ "I-System": 54,
151
+ "I-Time Period": 56,
152
+ "O": 0
153
+ },
154
+ "layer_norm_eps": 1e-05,
155
+ "length_penalty": 1.0,
156
+ "max_length": 20,
157
+ "max_position_embeddings": 514,
158
+ "min_length": 0,
159
+ "model_type": "roberta",
160
+ "no_repeat_ngram_size": 0,
161
+ "num_attention_heads": 12,
162
+ "num_beam_groups": 1,
163
+ "num_beams": 1,
164
+ "num_hidden_layers": 6,
165
+ "num_return_sequences": 1,
166
+ "output_attentions": false,
167
+ "output_hidden_states": false,
168
+ "output_scores": false,
169
+ "pad_token_id": 1,
170
+ "position_embedding_type": "absolute",
171
+ "prefix": null,
172
+ "problem_type": null,
173
+ "pruned_heads": {},
174
+ "remove_invalid_values": false,
175
+ "repetition_penalty": 1.0,
176
+ "return_dict": true,
177
+ "return_dict_in_generate": false,
178
+ "sep_token_id": null,
179
+ "suppress_tokens": null,
180
+ "task_specific_params": null,
181
+ "temperature": 1.0,
182
+ "tf_legacy_loss": false,
183
+ "tie_encoder_decoder": false,
184
+ "tie_word_embeddings": true,
185
+ "tokenizer_class": null,
186
+ "top_k": 50,
187
+ "top_p": 1.0,
188
+ "torch_dtype": null,
189
+ "torchscript": false,
190
+ "transformers_version": "4.50.0",
191
+ "type_vocab_size": 1,
192
+ "typical_p": 1.0,
193
+ "use_bfloat16": false,
194
+ "use_cache": true,
195
+ "vocab_size": 50272
196
+ },
197
+ "entity_max_length": 14,
198
+ "id2label": {
199
+ "0": "O",
200
+ "1": "Asset",
201
+ "2": "Body Part",
202
+ "3": "Body of Water",
203
+ "4": "Chemical",
204
+ "5": "Disease",
205
+ "6": "Ecosystem",
206
+ "7": "Energy Source",
207
+ "8": "Field of Study",
208
+ "9": "Geographical Feature",
209
+ "10": "Intellectual Artefact",
210
+ "11": "Location",
211
+ "12": "Mathematical Expression",
212
+ "13": "Measuring Device",
213
+ "14": "Meteorological Phenomenon",
214
+ "15": "Method",
215
+ "16": "Natural Disaster",
216
+ "17": "Natural Phenomenon",
217
+ "18": "Organism",
218
+ "19": "Organization",
219
+ "20": "Other",
220
+ "21": "Person",
221
+ "22": "Physical Artefact",
222
+ "23": "Physical Phenomenon",
223
+ "24": "Policy",
224
+ "25": "Quantity",
225
+ "26": "Satellite",
226
+ "27": "System",
227
+ "28": "Time Period"
228
+ },
229
+ "id2reduced_id": {
230
+ "0": 0,
231
+ "1": 1,
232
+ "2": 1,
233
+ "3": 2,
234
+ "4": 2,
235
+ "5": 3,
236
+ "6": 3,
237
+ "7": 4,
238
+ "8": 4,
239
+ "9": 5,
240
+ "10": 5,
241
+ "11": 6,
242
+ "12": 6,
243
+ "13": 7,
244
+ "14": 7,
245
+ "15": 8,
246
+ "16": 8,
247
+ "17": 9,
248
+ "18": 9,
249
+ "19": 10,
250
+ "20": 10,
251
+ "21": 11,
252
+ "22": 11,
253
+ "23": 12,
254
+ "24": 12,
255
+ "25": 13,
256
+ "26": 13,
257
+ "27": 14,
258
+ "28": 14,
259
+ "29": 15,
260
+ "30": 15,
261
+ "31": 16,
262
+ "32": 16,
263
+ "33": 17,
264
+ "34": 17,
265
+ "35": 18,
266
+ "36": 18,
267
+ "37": 19,
268
+ "38": 19,
269
+ "39": 20,
270
+ "40": 20,
271
+ "41": 21,
272
+ "42": 21,
273
+ "43": 22,
274
+ "44": 22,
275
+ "45": 23,
276
+ "46": 23,
277
+ "47": 24,
278
+ "48": 24,
279
+ "49": 25,
280
+ "50": 25,
281
+ "51": 26,
282
+ "52": 26,
283
+ "53": 27,
284
+ "54": 27,
285
+ "55": 28,
286
+ "56": 28
287
+ },
288
+ "label2id": {
289
+ "Asset": 1,
290
+ "Body Part": 2,
291
+ "Body of Water": 3,
292
+ "Chemical": 4,
293
+ "Disease": 5,
294
+ "Ecosystem": 6,
295
+ "Energy Source": 7,
296
+ "Field of Study": 8,
297
+ "Geographical Feature": 9,
298
+ "Intellectual Artefact": 10,
299
+ "Location": 11,
300
+ "Mathematical Expression": 12,
301
+ "Measuring Device": 13,
302
+ "Meteorological Phenomenon": 14,
303
+ "Method": 15,
304
+ "Natural Disaster": 16,
305
+ "Natural Phenomenon": 17,
306
+ "O": 0,
307
+ "Organism": 18,
308
+ "Organization": 19,
309
+ "Other": 20,
310
+ "Person": 21,
311
+ "Physical Artefact": 22,
312
+ "Physical Phenomenon": 23,
313
+ "Policy": 24,
314
+ "Quantity": 25,
315
+ "Satellite": 26,
316
+ "System": 27,
317
+ "Time Period": 28
318
+ },
319
+ "marker_max_length": 256,
320
+ "max_next_context": null,
321
+ "max_prev_context": null,
322
+ "model_max_length": 512,
323
+ "model_max_length_default": 512,
324
+ "model_type": "span-marker",
325
+ "span_marker_version": "1.7.0",
326
+ "torch_dtype": "float32",
327
+ "trained_with_document_context": false,
328
+ "transformers_version": "4.50.0",
329
+ "vocab_size": 50272
330
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1a96f869cba75d64e2c8ffae8dcb799c7abe6ab6d0fd53ffb707b8d50c61cd3c
3
+ size 328685916
special_tokens_map.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "<s>",
3
+ "cls_token": "<s>",
4
+ "eos_token": "</s>",
5
+ "mask_token": {
6
+ "content": "<mask>",
7
+ "lstrip": true,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false
11
+ },
12
+ "pad_token": "<pad>",
13
+ "sep_token": "</s>",
14
+ "unk_token": "<unk>"
15
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": true,
3
+ "added_tokens_decoder": {
4
+ "0": {
5
+ "content": "<s>",
6
+ "lstrip": false,
7
+ "normalized": true,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ },
12
+ "1": {
13
+ "content": "<pad>",
14
+ "lstrip": false,
15
+ "normalized": true,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": true
19
+ },
20
+ "2": {
21
+ "content": "</s>",
22
+ "lstrip": false,
23
+ "normalized": true,
24
+ "rstrip": false,
25
+ "single_word": false,
26
+ "special": true
27
+ },
28
+ "3": {
29
+ "content": "<unk>",
30
+ "lstrip": false,
31
+ "normalized": true,
32
+ "rstrip": false,
33
+ "single_word": false,
34
+ "special": true
35
+ },
36
+ "50264": {
37
+ "content": "<mask>",
38
+ "lstrip": true,
39
+ "normalized": false,
40
+ "rstrip": false,
41
+ "single_word": false,
42
+ "special": true
43
+ },
44
+ "50265": {
45
+ "content": "<start>",
46
+ "lstrip": false,
47
+ "normalized": false,
48
+ "rstrip": false,
49
+ "single_word": false,
50
+ "special": true
51
+ },
52
+ "50266": {
53
+ "content": "<end>",
54
+ "lstrip": false,
55
+ "normalized": false,
56
+ "rstrip": false,
57
+ "single_word": false,
58
+ "special": true
59
+ }
60
+ },
61
+ "bos_token": "<s>",
62
+ "clean_up_tokenization_spaces": false,
63
+ "cls_token": "<s>",
64
+ "entity_max_length": 14,
65
+ "eos_token": "</s>",
66
+ "errors": "replace",
67
+ "extra_special_tokens": {},
68
+ "marker_max_length": 256,
69
+ "mask_token": "<mask>",
70
+ "model_max_length": 512,
71
+ "pad_token": "<pad>",
72
+ "sep_token": "</s>",
73
+ "tokenizer_class": "RobertaTokenizer",
74
+ "trim_offsets": true,
75
+ "unk_token": "<unk>"
76
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:33992b5973c0cc487af4189b15c471b3432fba8fa7ea4e33892a3810e850d141
3
+ size 5905
vocab.json ADDED
The diff for this file is too large to render. See raw diff