Datasets:
Tasks:
Token Classification
Modalities:
Text
Languages:
English
Size:
100K - 1M
ArXiv:
Tags:
abbreviation-detection
License:
Commit
·
348eba9
1
Parent(s):
1ae1e14
Update parquet files
Browse files- .gitattributes +0 -39
- LICENSE +0 -427
- PLOD-unfiltered.py +0 -115
- data/PLOS-test15-unfiltered-pos_bio.json → PLODunfiltered/plod-unfiltered-test.parquet +2 -2
- data/PLOS-train70-unfiltered-pos_bio.json → PLODunfiltered/plod-unfiltered-train.parquet +2 -2
- data/PLOS-val15-unfiltered-pos_bio.json → PLODunfiltered/plod-unfiltered-validation.parquet +2 -2
- README.md +0 -173
- imgs/plod.png +0 -0
.gitattributes
DELETED
@@ -1,39 +0,0 @@
|
|
1 |
-
*.7z filter=lfs diff=lfs merge=lfs -text
|
2 |
-
*.arrow filter=lfs diff=lfs merge=lfs -text
|
3 |
-
*.bin filter=lfs diff=lfs merge=lfs -text
|
4 |
-
*.bin.* filter=lfs diff=lfs merge=lfs -text
|
5 |
-
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
6 |
-
*.ftz filter=lfs diff=lfs merge=lfs -text
|
7 |
-
*.gz filter=lfs diff=lfs merge=lfs -text
|
8 |
-
*.h5 filter=lfs diff=lfs merge=lfs -text
|
9 |
-
*.joblib filter=lfs diff=lfs merge=lfs -text
|
10 |
-
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
11 |
-
*.model filter=lfs diff=lfs merge=lfs -text
|
12 |
-
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
13 |
-
*.onnx filter=lfs diff=lfs merge=lfs -text
|
14 |
-
*.ot filter=lfs diff=lfs merge=lfs -text
|
15 |
-
*.parquet filter=lfs diff=lfs merge=lfs -text
|
16 |
-
*.pb filter=lfs diff=lfs merge=lfs -text
|
17 |
-
*.pt filter=lfs diff=lfs merge=lfs -text
|
18 |
-
*.pth filter=lfs diff=lfs merge=lfs -text
|
19 |
-
*.rar filter=lfs diff=lfs merge=lfs -text
|
20 |
-
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
21 |
-
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
22 |
-
*.tflite filter=lfs diff=lfs merge=lfs -text
|
23 |
-
*.tgz filter=lfs diff=lfs merge=lfs -text
|
24 |
-
*.wasm filter=lfs diff=lfs merge=lfs -text
|
25 |
-
*.xz filter=lfs diff=lfs merge=lfs -text
|
26 |
-
*.zip filter=lfs diff=lfs merge=lfs -text
|
27 |
-
*.zstandard filter=lfs diff=lfs merge=lfs -text
|
28 |
-
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
29 |
-
# Audio files - uncompressed
|
30 |
-
*.pcm filter=lfs diff=lfs merge=lfs -text
|
31 |
-
*.sam filter=lfs diff=lfs merge=lfs -text
|
32 |
-
*.raw filter=lfs diff=lfs merge=lfs -text
|
33 |
-
# Audio files - compressed
|
34 |
-
*.aac filter=lfs diff=lfs merge=lfs -text
|
35 |
-
*.flac filter=lfs diff=lfs merge=lfs -text
|
36 |
-
*.mp3 filter=lfs diff=lfs merge=lfs -text
|
37 |
-
*.ogg filter=lfs diff=lfs merge=lfs -text
|
38 |
-
*.wav filter=lfs diff=lfs merge=lfs -text
|
39 |
-
*.json filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
LICENSE
DELETED
@@ -1,427 +0,0 @@
|
|
1 |
-
Attribution-ShareAlike 4.0 International
|
2 |
-
|
3 |
-
=======================================================================
|
4 |
-
|
5 |
-
Creative Commons Corporation ("Creative Commons") is not a law firm and
|
6 |
-
does not provide legal services or legal advice. Distribution of
|
7 |
-
Creative Commons public licenses does not create a lawyer-client or
|
8 |
-
other relationship. Creative Commons makes its licenses and related
|
9 |
-
information available on an "as-is" basis. Creative Commons gives no
|
10 |
-
warranties regarding its licenses, any material licensed under their
|
11 |
-
terms and conditions, or any related information. Creative Commons
|
12 |
-
disclaims all liability for damages resulting from their use to the
|
13 |
-
fullest extent possible.
|
14 |
-
|
15 |
-
Using Creative Commons Public Licenses
|
16 |
-
|
17 |
-
Creative Commons public licenses provide a standard set of terms and
|
18 |
-
conditions that creators and other rights holders may use to share
|
19 |
-
original works of authorship and other material subject to copyright
|
20 |
-
and certain other rights specified in the public license below. The
|
21 |
-
following considerations are for informational purposes only, are not
|
22 |
-
exhaustive, and do not form part of our licenses.
|
23 |
-
|
24 |
-
Considerations for licensors: Our public licenses are
|
25 |
-
intended for use by those authorized to give the public
|
26 |
-
permission to use material in ways otherwise restricted by
|
27 |
-
copyright and certain other rights. Our licenses are
|
28 |
-
irrevocable. Licensors should read and understand the terms
|
29 |
-
and conditions of the license they choose before applying it.
|
30 |
-
Licensors should also secure all rights necessary before
|
31 |
-
applying our licenses so that the public can reuse the
|
32 |
-
material as expected. Licensors should clearly mark any
|
33 |
-
material not subject to the license. This includes other CC-
|
34 |
-
licensed material, or material used under an exception or
|
35 |
-
limitation to copyright. More considerations for licensors:
|
36 |
-
wiki.creativecommons.org/Considerations_for_licensors
|
37 |
-
|
38 |
-
Considerations for the public: By using one of our public
|
39 |
-
licenses, a licensor grants the public permission to use the
|
40 |
-
licensed material under specified terms and conditions. If
|
41 |
-
the licensor's permission is not necessary for any reason--for
|
42 |
-
example, because of any applicable exception or limitation to
|
43 |
-
copyright--then that use is not regulated by the license. Our
|
44 |
-
licenses grant only permissions under copyright and certain
|
45 |
-
other rights that a licensor has authority to grant. Use of
|
46 |
-
the licensed material may still be restricted for other
|
47 |
-
reasons, including because others have copyright or other
|
48 |
-
rights in the material. A licensor may make special requests,
|
49 |
-
such as asking that all changes be marked or described.
|
50 |
-
Although not required by our licenses, you are encouraged to
|
51 |
-
respect those requests where reasonable. More_considerations
|
52 |
-
for the public:
|
53 |
-
wiki.creativecommons.org/Considerations_for_licensees
|
54 |
-
|
55 |
-
=======================================================================
|
56 |
-
|
57 |
-
Creative Commons Attribution-ShareAlike 4.0 International Public
|
58 |
-
License
|
59 |
-
|
60 |
-
By exercising the Licensed Rights (defined below), You accept and agree
|
61 |
-
to be bound by the terms and conditions of this Creative Commons
|
62 |
-
Attribution-ShareAlike 4.0 International Public License ("Public
|
63 |
-
License"). To the extent this Public License may be interpreted as a
|
64 |
-
contract, You are granted the Licensed Rights in consideration of Your
|
65 |
-
acceptance of these terms and conditions, and the Licensor grants You
|
66 |
-
such rights in consideration of benefits the Licensor receives from
|
67 |
-
making the Licensed Material available under these terms and
|
68 |
-
conditions.
|
69 |
-
|
70 |
-
|
71 |
-
Section 1 -- Definitions.
|
72 |
-
|
73 |
-
a. Adapted Material means material subject to Copyright and Similar
|
74 |
-
Rights that is derived from or based upon the Licensed Material
|
75 |
-
and in which the Licensed Material is translated, altered,
|
76 |
-
arranged, transformed, or otherwise modified in a manner requiring
|
77 |
-
permission under the Copyright and Similar Rights held by the
|
78 |
-
Licensor. For purposes of this Public License, where the Licensed
|
79 |
-
Material is a musical work, performance, or sound recording,
|
80 |
-
Adapted Material is always produced where the Licensed Material is
|
81 |
-
synched in timed relation with a moving image.
|
82 |
-
|
83 |
-
b. Adapter's License means the license You apply to Your Copyright
|
84 |
-
and Similar Rights in Your contributions to Adapted Material in
|
85 |
-
accordance with the terms and conditions of this Public License.
|
86 |
-
|
87 |
-
c. BY-SA Compatible License means a license listed at
|
88 |
-
creativecommons.org/compatiblelicenses, approved by Creative
|
89 |
-
Commons as essentially the equivalent of this Public License.
|
90 |
-
|
91 |
-
d. Copyright and Similar Rights means copyright and/or similar rights
|
92 |
-
closely related to copyright including, without limitation,
|
93 |
-
performance, broadcast, sound recording, and Sui Generis Database
|
94 |
-
Rights, without regard to how the rights are labeled or
|
95 |
-
categorized. For purposes of this Public License, the rights
|
96 |
-
specified in Section 2(b)(1)-(2) are not Copyright and Similar
|
97 |
-
Rights.
|
98 |
-
|
99 |
-
e. Effective Technological Measures means those measures that, in the
|
100 |
-
absence of proper authority, may not be circumvented under laws
|
101 |
-
fulfilling obligations under Article 11 of the WIPO Copyright
|
102 |
-
Treaty adopted on December 20, 1996, and/or similar international
|
103 |
-
agreements.
|
104 |
-
|
105 |
-
f. Exceptions and Limitations means fair use, fair dealing, and/or
|
106 |
-
any other exception or limitation to Copyright and Similar Rights
|
107 |
-
that applies to Your use of the Licensed Material.
|
108 |
-
|
109 |
-
g. License Elements means the license attributes listed in the name
|
110 |
-
of a Creative Commons Public License. The License Elements of this
|
111 |
-
Public License are Attribution and ShareAlike.
|
112 |
-
|
113 |
-
h. Licensed Material means the artistic or literary work, database,
|
114 |
-
or other material to which the Licensor applied this Public
|
115 |
-
License.
|
116 |
-
|
117 |
-
i. Licensed Rights means the rights granted to You subject to the
|
118 |
-
terms and conditions of this Public License, which are limited to
|
119 |
-
all Copyright and Similar Rights that apply to Your use of the
|
120 |
-
Licensed Material and that the Licensor has authority to license.
|
121 |
-
|
122 |
-
j. Licensor means the individual(s) or entity(ies) granting rights
|
123 |
-
under this Public License.
|
124 |
-
|
125 |
-
k. Share means to provide material to the public by any means or
|
126 |
-
process that requires permission under the Licensed Rights, such
|
127 |
-
as reproduction, public display, public performance, distribution,
|
128 |
-
dissemination, communication, or importation, and to make material
|
129 |
-
available to the public including in ways that members of the
|
130 |
-
public may access the material from a place and at a time
|
131 |
-
individually chosen by them.
|
132 |
-
|
133 |
-
l. Sui Generis Database Rights means rights other than copyright
|
134 |
-
resulting from Directive 96/9/EC of the European Parliament and of
|
135 |
-
the Council of 11 March 1996 on the legal protection of databases,
|
136 |
-
as amended and/or succeeded, as well as other essentially
|
137 |
-
equivalent rights anywhere in the world.
|
138 |
-
|
139 |
-
m. You means the individual or entity exercising the Licensed Rights
|
140 |
-
under this Public License. Your has a corresponding meaning.
|
141 |
-
|
142 |
-
|
143 |
-
Section 2 -- Scope.
|
144 |
-
|
145 |
-
a. License grant.
|
146 |
-
|
147 |
-
1. Subject to the terms and conditions of this Public License,
|
148 |
-
the Licensor hereby grants You a worldwide, royalty-free,
|
149 |
-
non-sublicensable, non-exclusive, irrevocable license to
|
150 |
-
exercise the Licensed Rights in the Licensed Material to:
|
151 |
-
|
152 |
-
a. reproduce and Share the Licensed Material, in whole or
|
153 |
-
in part; and
|
154 |
-
|
155 |
-
b. produce, reproduce, and Share Adapted Material.
|
156 |
-
|
157 |
-
2. Exceptions and Limitations. For the avoidance of doubt, where
|
158 |
-
Exceptions and Limitations apply to Your use, this Public
|
159 |
-
License does not apply, and You do not need to comply with
|
160 |
-
its terms and conditions.
|
161 |
-
|
162 |
-
3. Term. The term of this Public License is specified in Section
|
163 |
-
6(a).
|
164 |
-
|
165 |
-
4. Media and formats; technical modifications allowed. The
|
166 |
-
Licensor authorizes You to exercise the Licensed Rights in
|
167 |
-
all media and formats whether now known or hereafter created,
|
168 |
-
and to make technical modifications necessary to do so. The
|
169 |
-
Licensor waives and/or agrees not to assert any right or
|
170 |
-
authority to forbid You from making technical modifications
|
171 |
-
necessary to exercise the Licensed Rights, including
|
172 |
-
technical modifications necessary to circumvent Effective
|
173 |
-
Technological Measures. For purposes of this Public License,
|
174 |
-
simply making modifications authorized by this Section 2(a)
|
175 |
-
(4) never produces Adapted Material.
|
176 |
-
|
177 |
-
5. Downstream recipients.
|
178 |
-
|
179 |
-
a. Offer from the Licensor -- Licensed Material. Every
|
180 |
-
recipient of the Licensed Material automatically
|
181 |
-
receives an offer from the Licensor to exercise the
|
182 |
-
Licensed Rights under the terms and conditions of this
|
183 |
-
Public License.
|
184 |
-
|
185 |
-
b. Additional offer from the Licensor -- Adapted Material.
|
186 |
-
Every recipient of Adapted Material from You
|
187 |
-
automatically receives an offer from the Licensor to
|
188 |
-
exercise the Licensed Rights in the Adapted Material
|
189 |
-
under the conditions of the Adapter's License You apply.
|
190 |
-
|
191 |
-
c. No downstream restrictions. You may not offer or impose
|
192 |
-
any additional or different terms or conditions on, or
|
193 |
-
apply any Effective Technological Measures to, the
|
194 |
-
Licensed Material if doing so restricts exercise of the
|
195 |
-
Licensed Rights by any recipient of the Licensed
|
196 |
-
Material.
|
197 |
-
|
198 |
-
6. No endorsement. Nothing in this Public License constitutes or
|
199 |
-
may be construed as permission to assert or imply that You
|
200 |
-
are, or that Your use of the Licensed Material is, connected
|
201 |
-
with, or sponsored, endorsed, or granted official status by,
|
202 |
-
the Licensor or others designated to receive attribution as
|
203 |
-
provided in Section 3(a)(1)(A)(i).
|
204 |
-
|
205 |
-
b. Other rights.
|
206 |
-
|
207 |
-
1. Moral rights, such as the right of integrity, are not
|
208 |
-
licensed under this Public License, nor are publicity,
|
209 |
-
privacy, and/or other similar personality rights; however, to
|
210 |
-
the extent possible, the Licensor waives and/or agrees not to
|
211 |
-
assert any such rights held by the Licensor to the limited
|
212 |
-
extent necessary to allow You to exercise the Licensed
|
213 |
-
Rights, but not otherwise.
|
214 |
-
|
215 |
-
2. Patent and trademark rights are not licensed under this
|
216 |
-
Public License.
|
217 |
-
|
218 |
-
3. To the extent possible, the Licensor waives any right to
|
219 |
-
collect royalties from You for the exercise of the Licensed
|
220 |
-
Rights, whether directly or through a collecting society
|
221 |
-
under any voluntary or waivable statutory or compulsory
|
222 |
-
licensing scheme. In all other cases the Licensor expressly
|
223 |
-
reserves any right to collect such royalties.
|
224 |
-
|
225 |
-
|
226 |
-
Section 3 -- License Conditions.
|
227 |
-
|
228 |
-
Your exercise of the Licensed Rights is expressly made subject to the
|
229 |
-
following conditions.
|
230 |
-
|
231 |
-
a. Attribution.
|
232 |
-
|
233 |
-
1. If You Share the Licensed Material (including in modified
|
234 |
-
form), You must:
|
235 |
-
|
236 |
-
a. retain the following if it is supplied by the Licensor
|
237 |
-
with the Licensed Material:
|
238 |
-
|
239 |
-
i. identification of the creator(s) of the Licensed
|
240 |
-
Material and any others designated to receive
|
241 |
-
attribution, in any reasonable manner requested by
|
242 |
-
the Licensor (including by pseudonym if
|
243 |
-
designated);
|
244 |
-
|
245 |
-
ii. a copyright notice;
|
246 |
-
|
247 |
-
iii. a notice that refers to this Public License;
|
248 |
-
|
249 |
-
iv. a notice that refers to the disclaimer of
|
250 |
-
warranties;
|
251 |
-
|
252 |
-
v. a URI or hyperlink to the Licensed Material to the
|
253 |
-
extent reasonably practicable;
|
254 |
-
|
255 |
-
b. indicate if You modified the Licensed Material and
|
256 |
-
retain an indication of any previous modifications; and
|
257 |
-
|
258 |
-
c. indicate the Licensed Material is licensed under this
|
259 |
-
Public License, and include the text of, or the URI or
|
260 |
-
hyperlink to, this Public License.
|
261 |
-
|
262 |
-
2. You may satisfy the conditions in Section 3(a)(1) in any
|
263 |
-
reasonable manner based on the medium, means, and context in
|
264 |
-
which You Share the Licensed Material. For example, it may be
|
265 |
-
reasonable to satisfy the conditions by providing a URI or
|
266 |
-
hyperlink to a resource that includes the required
|
267 |
-
information.
|
268 |
-
|
269 |
-
3. If requested by the Licensor, You must remove any of the
|
270 |
-
information required by Section 3(a)(1)(A) to the extent
|
271 |
-
reasonably practicable.
|
272 |
-
|
273 |
-
b. ShareAlike.
|
274 |
-
|
275 |
-
In addition to the conditions in Section 3(a), if You Share
|
276 |
-
Adapted Material You produce, the following conditions also apply.
|
277 |
-
|
278 |
-
1. The Adapter's License You apply must be a Creative Commons
|
279 |
-
license with the same License Elements, this version or
|
280 |
-
later, or a BY-SA Compatible License.
|
281 |
-
|
282 |
-
2. You must include the text of, or the URI or hyperlink to, the
|
283 |
-
Adapter's License You apply. You may satisfy this condition
|
284 |
-
in any reasonable manner based on the medium, means, and
|
285 |
-
context in which You Share Adapted Material.
|
286 |
-
|
287 |
-
3. You may not offer or impose any additional or different terms
|
288 |
-
or conditions on, or apply any Effective Technological
|
289 |
-
Measures to, Adapted Material that restrict exercise of the
|
290 |
-
rights granted under the Adapter's License You apply.
|
291 |
-
|
292 |
-
|
293 |
-
Section 4 -- Sui Generis Database Rights.
|
294 |
-
|
295 |
-
Where the Licensed Rights include Sui Generis Database Rights that
|
296 |
-
apply to Your use of the Licensed Material:
|
297 |
-
|
298 |
-
a. for the avoidance of doubt, Section 2(a)(1) grants You the right
|
299 |
-
to extract, reuse, reproduce, and Share all or a substantial
|
300 |
-
portion of the contents of the database;
|
301 |
-
|
302 |
-
b. if You include all or a substantial portion of the database
|
303 |
-
contents in a database in which You have Sui Generis Database
|
304 |
-
Rights, then the database in which You have Sui Generis Database
|
305 |
-
Rights (but not its individual contents) is Adapted Material,
|
306 |
-
|
307 |
-
including for purposes of Section 3(b); and
|
308 |
-
c. You must comply with the conditions in Section 3(a) if You Share
|
309 |
-
all or a substantial portion of the contents of the database.
|
310 |
-
|
311 |
-
For the avoidance of doubt, this Section 4 supplements and does not
|
312 |
-
replace Your obligations under this Public License where the Licensed
|
313 |
-
Rights include other Copyright and Similar Rights.
|
314 |
-
|
315 |
-
|
316 |
-
Section 5 -- Disclaimer of Warranties and Limitation of Liability.
|
317 |
-
|
318 |
-
a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE
|
319 |
-
EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS
|
320 |
-
AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF
|
321 |
-
ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,
|
322 |
-
IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,
|
323 |
-
WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR
|
324 |
-
PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,
|
325 |
-
ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT
|
326 |
-
KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT
|
327 |
-
ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.
|
328 |
-
|
329 |
-
b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE
|
330 |
-
TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
|
331 |
-
NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,
|
332 |
-
INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,
|
333 |
-
COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR
|
334 |
-
USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN
|
335 |
-
ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR
|
336 |
-
DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR
|
337 |
-
IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.
|
338 |
-
|
339 |
-
c. The disclaimer of warranties and limitation of liability provided
|
340 |
-
above shall be interpreted in a manner that, to the extent
|
341 |
-
possible, most closely approximates an absolute disclaimer and
|
342 |
-
waiver of all liability.
|
343 |
-
|
344 |
-
|
345 |
-
Section 6 -- Term and Termination.
|
346 |
-
|
347 |
-
a. This Public License applies for the term of the Copyright and
|
348 |
-
Similar Rights licensed here. However, if You fail to comply with
|
349 |
-
this Public License, then Your rights under this Public License
|
350 |
-
terminate automatically.
|
351 |
-
|
352 |
-
b. Where Your right to use the Licensed Material has terminated under
|
353 |
-
Section 6(a), it reinstates:
|
354 |
-
|
355 |
-
1. automatically as of the date the violation is cured, provided
|
356 |
-
it is cured within 30 days of Your discovery of the
|
357 |
-
violation; or
|
358 |
-
|
359 |
-
2. upon express reinstatement by the Licensor.
|
360 |
-
|
361 |
-
For the avoidance of doubt, this Section 6(b) does not affect any
|
362 |
-
right the Licensor may have to seek remedies for Your violations
|
363 |
-
of this Public License.
|
364 |
-
|
365 |
-
c. For the avoidance of doubt, the Licensor may also offer the
|
366 |
-
Licensed Material under separate terms or conditions or stop
|
367 |
-
distributing the Licensed Material at any time; however, doing so
|
368 |
-
will not terminate this Public License.
|
369 |
-
|
370 |
-
d. Sections 1, 5, 6, 7, and 8 survive termination of this Public
|
371 |
-
License.
|
372 |
-
|
373 |
-
|
374 |
-
Section 7 -- Other Terms and Conditions.
|
375 |
-
|
376 |
-
a. The Licensor shall not be bound by any additional or different
|
377 |
-
terms or conditions communicated by You unless expressly agreed.
|
378 |
-
|
379 |
-
b. Any arrangements, understandings, or agreements regarding the
|
380 |
-
Licensed Material not stated herein are separate from and
|
381 |
-
independent of the terms and conditions of this Public License.
|
382 |
-
|
383 |
-
|
384 |
-
Section 8 -- Interpretation.
|
385 |
-
|
386 |
-
a. For the avoidance of doubt, this Public License does not, and
|
387 |
-
shall not be interpreted to, reduce, limit, restrict, or impose
|
388 |
-
conditions on any use of the Licensed Material that could lawfully
|
389 |
-
be made without permission under this Public License.
|
390 |
-
|
391 |
-
b. To the extent possible, if any provision of this Public License is
|
392 |
-
deemed unenforceable, it shall be automatically reformed to the
|
393 |
-
minimum extent necessary to make it enforceable. If the provision
|
394 |
-
cannot be reformed, it shall be severed from this Public License
|
395 |
-
without affecting the enforceability of the remaining terms and
|
396 |
-
conditions.
|
397 |
-
|
398 |
-
c. No term or condition of this Public License will be waived and no
|
399 |
-
failure to comply consented to unless expressly agreed to by the
|
400 |
-
Licensor.
|
401 |
-
|
402 |
-
d. Nothing in this Public License constitutes or may be interpreted
|
403 |
-
as a limitation upon, or waiver of, any privileges and immunities
|
404 |
-
that apply to the Licensor or You, including from the legal
|
405 |
-
processes of any jurisdiction or authority.
|
406 |
-
|
407 |
-
|
408 |
-
=======================================================================
|
409 |
-
|
410 |
-
Creative Commons is not a party to its public
|
411 |
-
licenses. Notwithstanding, Creative Commons may elect to apply one of
|
412 |
-
its public licenses to material it publishes and in those instances
|
413 |
-
will be considered the “Licensor.” The text of the Creative Commons
|
414 |
-
public licenses is dedicated to the public domain under the CC0 Public
|
415 |
-
Domain Dedication. Except for the limited purpose of indicating that
|
416 |
-
material is shared under a Creative Commons public license or as
|
417 |
-
otherwise permitted by the Creative Commons policies published at
|
418 |
-
creativecommons.org/policies, Creative Commons does not authorize the
|
419 |
-
use of the trademark "Creative Commons" or any other trademark or logo
|
420 |
-
of Creative Commons without its prior written consent including,
|
421 |
-
without limitation, in connection with any unauthorized modifications
|
422 |
-
to any of its public licenses or any other arrangements,
|
423 |
-
understandings, or agreements concerning use of licensed material. For
|
424 |
-
the avoidance of doubt, this paragraph does not form part of the
|
425 |
-
public licenses.
|
426 |
-
|
427 |
-
Creative Commons may be contacted at creativecommons.org.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
PLOD-unfiltered.py
DELETED
@@ -1,115 +0,0 @@
|
|
1 |
-
import os
|
2 |
-
|
3 |
-
import datasets
|
4 |
-
from typing import List
|
5 |
-
import json
|
6 |
-
|
7 |
-
logger = datasets.logging.get_logger(__name__)
|
8 |
-
|
9 |
-
|
10 |
-
_CITATION = """
|
11 |
-
"""
|
12 |
-
|
13 |
-
_DESCRIPTION = """
|
14 |
-
This is the dataset repository for PLOD Dataset accepted to be published at LREC 2022.
|
15 |
-
The dataset can help build sequence labelling models for the task Abbreviation Detection.
|
16 |
-
"""
|
17 |
-
|
18 |
-
class PLODunfilteredConfig(datasets.BuilderConfig):
|
19 |
-
"""BuilderConfig for Conll2003"""
|
20 |
-
|
21 |
-
def __init__(self, **kwargs):
|
22 |
-
"""BuilderConfig forConll2003.
|
23 |
-
Args:
|
24 |
-
**kwargs: keyword arguments forwarded to super.
|
25 |
-
"""
|
26 |
-
super(PLODunfilteredConfig, self).__init__(**kwargs)
|
27 |
-
|
28 |
-
|
29 |
-
class PLODunfilteredConfig(datasets.GeneratorBasedBuilder):
|
30 |
-
"""PLOD Unfiltered dataset."""
|
31 |
-
|
32 |
-
BUILDER_CONFIGS = [
|
33 |
-
PLODunfilteredConfig(name="PLODunfiltered", version=datasets.Version("0.0.2"), description="PLOD unfiltered dataset"),
|
34 |
-
]
|
35 |
-
|
36 |
-
def _info(self):
|
37 |
-
return datasets.DatasetInfo(
|
38 |
-
description=_DESCRIPTION,
|
39 |
-
features=datasets.Features(
|
40 |
-
{
|
41 |
-
"id": datasets.Value("string"),
|
42 |
-
"tokens": datasets.Sequence(datasets.Value("string")),
|
43 |
-
"pos_tags": datasets.Sequence(
|
44 |
-
datasets.features.ClassLabel(
|
45 |
-
names=[
|
46 |
-
"ADJ",
|
47 |
-
"ADP",
|
48 |
-
"ADV",
|
49 |
-
"AUX",
|
50 |
-
"CONJ",
|
51 |
-
"CCONJ",
|
52 |
-
"DET",
|
53 |
-
"INTJ",
|
54 |
-
"NOUN",
|
55 |
-
"NUM",
|
56 |
-
"PART",
|
57 |
-
"PRON",
|
58 |
-
"PROPN",
|
59 |
-
"PUNCT",
|
60 |
-
"SCONJ",
|
61 |
-
"SYM",
|
62 |
-
"VERB",
|
63 |
-
"X",
|
64 |
-
"SPACE"
|
65 |
-
]
|
66 |
-
)
|
67 |
-
),
|
68 |
-
"ner_tags": datasets.Sequence(
|
69 |
-
datasets.features.ClassLabel(
|
70 |
-
names=[
|
71 |
-
"B-O",
|
72 |
-
"B-AC",
|
73 |
-
"I-AC",
|
74 |
-
"B-LF",
|
75 |
-
"I-LF"
|
76 |
-
]
|
77 |
-
)
|
78 |
-
),
|
79 |
-
}
|
80 |
-
),
|
81 |
-
supervised_keys=None,
|
82 |
-
homepage="https://github.com/surrey-nlp/PLOD-AbbreviationDetection",
|
83 |
-
citation=_CITATION,
|
84 |
-
)
|
85 |
-
|
86 |
-
_URL = "https://huggingface.co/datasets/surrey-nlp/PLOD-unfiltered/resolve/main/data/"
|
87 |
-
_URLS = {
|
88 |
-
"train": _URL + "PLOS-train70-unfiltered-pos_bio.json",
|
89 |
-
"dev": _URL + "PLOS-val15-unfiltered-pos_bio.json",
|
90 |
-
"test": _URL + "PLOS-test15-unfiltered-pos_bio.json"
|
91 |
-
}
|
92 |
-
|
93 |
-
def _split_generators(self, dl_manager: datasets.DownloadManager) -> List[datasets.SplitGenerator]:
|
94 |
-
urls_to_download = self._URLS
|
95 |
-
downloaded_files = dl_manager.download_and_extract(urls_to_download)
|
96 |
-
|
97 |
-
return [
|
98 |
-
datasets.SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={"filepath": downloaded_files["train"]}),
|
99 |
-
datasets.SplitGenerator(name=datasets.Split.VALIDATION, gen_kwargs={"filepath": downloaded_files["dev"]}),
|
100 |
-
datasets.SplitGenerator(name=datasets.Split.TEST, gen_kwargs={"filepath": downloaded_files["test"]})
|
101 |
-
]
|
102 |
-
|
103 |
-
def _generate_examples(self, filepath):
|
104 |
-
"""This function returns the examples in the raw (text) form."""
|
105 |
-
logger.info("generating examples from = %s", filepath)
|
106 |
-
with open(filepath) as f:
|
107 |
-
plod = json.load(f)
|
108 |
-
for object in plod:
|
109 |
-
id_ = int(object['id'])
|
110 |
-
yield id_, {
|
111 |
-
"id": str(id_),
|
112 |
-
"tokens": object['tokens'],
|
113 |
-
"pos_tags": object['pos_tags'],
|
114 |
-
"ner_tags": object['ner_tags'],
|
115 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
data/PLOS-test15-unfiltered-pos_bio.json → PLODunfiltered/plod-unfiltered-test.parquet
RENAMED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b325a30ca52a05bf375a2ab82de18bee1a2f2d4cc16c39bf3c68c261265679d6
|
3 |
+
size 5118142
|
data/PLOS-train70-unfiltered-pos_bio.json → PLODunfiltered/plod-unfiltered-train.parquet
RENAMED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cc65ad6092bb80caa0d63b89bb3947e7068fb20888d35cf5edb8d9c3c2efbf4d
|
3 |
+
size 23911685
|
data/PLOS-val15-unfiltered-pos_bio.json → PLODunfiltered/plod-unfiltered-validation.parquet
RENAMED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9a304abdf894a2722c3aff855ce3e7218681150cf01faac3bb482e9ec3abc079
|
3 |
+
size 5144784
|
README.md
DELETED
@@ -1,173 +0,0 @@
|
|
1 |
-
---
|
2 |
-
annotations_creators:
|
3 |
-
- Leonardo Zilio, Hadeel Saadany, Prashant Sharma, Diptesh Kanojia, Constantin Orasan
|
4 |
-
language_creators:
|
5 |
-
- found
|
6 |
-
language:
|
7 |
-
- en
|
8 |
-
license:
|
9 |
-
- cc-by-sa-4.0
|
10 |
-
multilinguality:
|
11 |
-
- monolingual
|
12 |
-
paperswithcode_id: plod-an-abbreviation-detection-dataset-for
|
13 |
-
pretty_name: 'PLOD: An Abbreviation Detection Dataset'
|
14 |
-
size_categories:
|
15 |
-
- 100K<n<1M
|
16 |
-
source_datasets:
|
17 |
-
- original
|
18 |
-
task_categories:
|
19 |
-
- token-classification
|
20 |
-
task_ids:
|
21 |
-
- abbreviation-detection
|
22 |
-
---
|
23 |
-
|
24 |
-
# PLOD: An Abbreviation Detection Dataset
|
25 |
-
|
26 |
-
This is the repository for PLOD Dataset published at LREC 2022. The dataset can help build sequence labelling models for the task Abbreviation Detection.
|
27 |
-
|
28 |
-
### Dataset
|
29 |
-
|
30 |
-
We provide two variants of our dataset - Filtered and Unfiltered. They are described in our paper here.
|
31 |
-
|
32 |
-
1. The Filtered version can be accessed via [Huggingface Datasets here](https://huggingface.co/datasets/surrey-nlp/PLOD-filtered) and a [CONLL format is present here](https://github.com/surrey-nlp/PLOD-AbbreviationDetection).<br/>
|
33 |
-
|
34 |
-
2. The Unfiltered version can be accessed via [Huggingface Datasets here](https://huggingface.co/datasets/surrey-nlp/PLOD-unfiltered) and a [CONLL format is present here](https://github.com/surrey-nlp/PLOD-AbbreviationDetection).<br/>
|
35 |
-
|
36 |
-
3. The [SDU Shared Task](https://sites.google.com/view/sdu-aaai22/home) data we use for zero-shot testing is [available here](https://huggingface.co/datasets/surrey-nlp/SDU-test).
|
37 |
-
|
38 |
-
# Dataset Card for PLOD-unfiltered
|
39 |
-
|
40 |
-
## Table of Contents
|
41 |
-
- [Dataset Description](#dataset-description)
|
42 |
-
- [Dataset Summary](#dataset-summary)
|
43 |
-
- [Supported Tasks](#supported-tasks-and-leaderboards)
|
44 |
-
- [Languages](#languages)
|
45 |
-
- [Dataset Structure](#dataset-structure)
|
46 |
-
- [Data Instances](#data-instances)
|
47 |
-
- [Data Fields](#data-instances)
|
48 |
-
- [Data Splits](#data-instances)
|
49 |
-
- [Dataset Creation](#dataset-creation)
|
50 |
-
- [Curation Rationale](#curation-rationale)
|
51 |
-
- [Source Data](#source-data)
|
52 |
-
- [Annotations](#annotations)
|
53 |
-
- [Personal and Sensitive Information](#personal-and-sensitive-information)
|
54 |
-
- [Considerations for Using the Data](#considerations-for-using-the-data)
|
55 |
-
- [Social Impact of Dataset](#social-impact-of-dataset)
|
56 |
-
- [Discussion of Biases](#discussion-of-biases)
|
57 |
-
- [Other Known Limitations](#other-known-limitations)
|
58 |
-
- [Additional Information](#additional-information)
|
59 |
-
- [Dataset Curators](#dataset-curators)
|
60 |
-
- [Licensing Information](#licensing-information)
|
61 |
-
- [Citation Information](#citation-information)
|
62 |
-
|
63 |
-
## Dataset Description
|
64 |
-
|
65 |
-
- **Homepage:** [Needs More Information]
|
66 |
-
- **Repository:** https://github.com/surrey-nlp/PLOD-AbbreviationDetection
|
67 |
-
- **Paper:** https://arxiv.org/abs/2204.12061
|
68 |
-
- **Leaderboard:** https://paperswithcode.com/sota/abbreviationdetection-on-plod-an-abbreviation
|
69 |
-
- **Point of Contact:** [Diptesh Kanojia](mailto:d.kanojia@surrey.ac.uk)
|
70 |
-
|
71 |
-
### Dataset Summary
|
72 |
-
|
73 |
-
This PLOD Dataset is an English-language dataset of abbreviations and their long-forms tagged in text. The dataset has been collected for research from the PLOS journals indexing of abbreviations and long-forms in the text. This dataset was created to support the Natural Language Processing task of abbreviation detection and covers the scientific domain.
|
74 |
-
|
75 |
-
### Supported Tasks and Leaderboards
|
76 |
-
|
77 |
-
This dataset primarily supports the Abbreviation Detection Task. It has also been tested on a train+dev split provided by the Acronym Detection Shared Task organized as a part of the Scientific Document Understanding (SDU) workshop at AAAI 2022.
|
78 |
-
|
79 |
-
|
80 |
-
### Languages
|
81 |
-
|
82 |
-
English
|
83 |
-
|
84 |
-
## Dataset Structure
|
85 |
-
|
86 |
-
### Data Instances
|
87 |
-
|
88 |
-
A typical data point comprises an ID, a set of `tokens` present in the text, a set of `pos_tags` for the corresponding tokens obtained via Spacy NER, and a set of `ner_tags` which are limited to `AC` for `Acronym` and `LF` for `long-forms`.
|
89 |
-
|
90 |
-
An example from the dataset:
|
91 |
-
{'id': '1',
|
92 |
-
'tokens': ['Study', '-', 'specific', 'risk', 'ratios', '(', 'RRs', ')', 'and', 'mean', 'BW', 'differences', 'were', 'calculated', 'using', 'linear', 'and', 'log', '-', 'binomial', 'regression', 'models', 'controlling', 'for', 'confounding', 'using', 'inverse', 'probability', 'of', 'treatment', 'weights', '(', 'IPTW', ')', 'truncated', 'at', 'the', '1st', 'and', '99th', 'percentiles', '.'],
|
93 |
-
'pos_tags': [8, 13, 0, 8, 8, 13, 12, 13, 5, 0, 12, 8, 3, 16, 16, 0, 5, 0, 13, 0, 8, 8, 16, 1, 8, 16, 0, 8, 1, 8, 8, 13, 12, 13, 16, 1, 6, 0, 5, 0, 8, 13],
|
94 |
-
'ner_tags': [0, 0, 0, 3, 4, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 4, 4, 4, 4, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0]
|
95 |
-
}
|
96 |
-
|
97 |
-
### Data Fields
|
98 |
-
|
99 |
-
- id: the row identifier for the dataset point.
|
100 |
-
- tokens: The tokens contained in the text.
|
101 |
-
- pos_tags: the Part-of-Speech tags obtained for the corresponding token above from Spacy NER.
|
102 |
-
- ner_tags: The tags for abbreviations and long-forms.
|
103 |
-
|
104 |
-
|
105 |
-
### Data Splits
|
106 |
-
|
107 |
-
| | Train | Valid | Test |
|
108 |
-
| ----- | ------ | ----- | ---- |
|
109 |
-
| Filtered | 112652 | 24140 | 24140|
|
110 |
-
| Unfiltered | 113860 | 24399 | 24399|
|
111 |
-
|
112 |
-
|
113 |
-
## Dataset Creation
|
114 |
-
|
115 |
-
### Source Data
|
116 |
-
|
117 |
-
#### Initial Data Collection and Normalization
|
118 |
-
|
119 |
-
Extracting the data from PLOS Journals online and then tokenization, normalization.
|
120 |
-
|
121 |
-
#### Who are the source language producers?
|
122 |
-
|
123 |
-
PLOS Journal
|
124 |
-
|
125 |
-
## Additional Information
|
126 |
-
|
127 |
-
### Dataset Curators
|
128 |
-
|
129 |
-
The dataset was initially created by Leonardo Zilio, Hadeel Saadany, Prashant Sharma,
|
130 |
-
Diptesh Kanojia, Constantin Orasan.
|
131 |
-
|
132 |
-
### Licensing Information
|
133 |
-
|
134 |
-
CC-BY-SA 4.0
|
135 |
-
|
136 |
-
### Citation Information
|
137 |
-
|
138 |
-
[Needs More Information]
|
139 |
-
|
140 |
-
### Installation
|
141 |
-
|
142 |
-
We use the custom NER pipeline in the [spaCy transformers](https://spacy.io/universe/project/spacy-transformers) library to train our models. This library supports training via any pre-trained language models available at the :rocket: [HuggingFace repository](https://huggingface.co/).<br/>
|
143 |
-
Please see the instructions at these websites to setup your own custom training with our dataset to reproduce the experiments using Spacy.
|
144 |
-
|
145 |
-
OR<br/>
|
146 |
-
|
147 |
-
However, you can also reproduce the experiments via the Python notebook we [provide here](https://github.com/surrey-nlp/PLOD-AbbreviationDetection/blob/main/nbs/fine_tuning_abbr_det.ipynb) which uses HuggingFace Trainer class to perform the same experiments. The exact hyperparameters can be obtained from the models readme cards linked below. Before starting, please perform the following steps:
|
148 |
-
|
149 |
-
```bash
|
150 |
-
git clone https://github.com/surrey-nlp/PLOD-AbbreviationDetection
|
151 |
-
cd PLOD-AbbreviationDetection
|
152 |
-
pip install -r requirements.txt
|
153 |
-
```
|
154 |
-
|
155 |
-
Now, you can use the notebook to reproduce the experiments.
|
156 |
-
|
157 |
-
### Model(s)
|
158 |
-
|
159 |
-
Our best performing models are hosted on the HuggingFace models repository:
|
160 |
-
|
161 |
-
| Models | [`PLOD - Unfiltered`](https://huggingface.co/datasets/surrey-nlp/PLOD-unfiltered) | [`PLOD - Filtered`](https://huggingface.co/datasets/surrey-nlp/PLOD-filtered) | Description |
|
162 |
-
| --- | :---: | :---: | --- |
|
163 |
-
| [RoBERTa<sub>large</sub>](https://huggingface.co/roberta-large) | [RoBERTa<sub>large</sub>-finetuned-abbr](https://huggingface.co/surrey-nlp/roberta-large-finetuned-abbr) | -soon- | Fine-tuning on the RoBERTa<sub>large</sub> language model |
|
164 |
-
| [RoBERTa<sub>base</sub>](https://huggingface.co/roberta-base) | -soon- | [RoBERTa<sub>base</sub>-finetuned-abbr](https://huggingface.co/surrey-nlp/roberta-large-finetuned-abbr) | Fine-tuning on the RoBERTa<sub>base</sub> language model |
|
165 |
-
| [AlBERT<sub>large-v2</sub>](https://huggingface.co/albert-large-v2) | [AlBERT<sub>large-v2</sub>-finetuned-abbDet](https://huggingface.co/surrey-nlp/albert-large-v2-finetuned-abbDet) | -soon- | Fine-tuning on the AlBERT<sub>large-v2</sub> language model |
|
166 |
-
|
167 |
-
|
168 |
-
On the link provided above, the model(s) can be used with the help of the Inference API via the web-browser itself. We have placed some examples with the API for testing.<br/>
|
169 |
-
|
170 |
-
### Usage
|
171 |
-
|
172 |
-
You can use the HuggingFace Model link above to find the instructions for using this model in Python locally using the notebook provided in the Git repo.
|
173 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
imgs/plod.png
DELETED
Binary file (37.4 kB)
|
|