added files
Browse files- .gitattributes +2 -0
- README.md +72 -1
- config.yaml +4 -0
- documents.jsonl +3 -0
- embeddings.pt +3 -0
.gitattributes
CHANGED
@@ -33,3 +33,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
documents.jsonl filter=lfs diff=lfs merge=lfs -text
|
37 |
+
embeddings.pt filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
@@ -1,3 +1,74 @@
|
|
1 |
---
|
2 |
-
license:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
+
license:
|
3 |
+
- cc-by-nc-sa-4.0
|
4 |
+
source_datasets:
|
5 |
+
- original
|
6 |
+
task_ids:
|
7 |
+
- word-sense-disambiguation
|
8 |
+
pretty_name: word-sense-linking-dataset
|
9 |
+
tags:
|
10 |
+
- word-sense-linking
|
11 |
+
- word-sense-disambiguation
|
12 |
+
- lexical-semantics
|
13 |
+
size_categories:
|
14 |
+
- 10K<n<100K
|
15 |
+
extra_gated_fields:
|
16 |
+
Email: text
|
17 |
+
Company: text
|
18 |
+
Country: country
|
19 |
+
I want to use this dataset for:
|
20 |
+
type: select
|
21 |
+
options:
|
22 |
+
- Research
|
23 |
+
- Education
|
24 |
+
- label: Other
|
25 |
+
value: other
|
26 |
+
I agree to use this dataset for non-commercial use ONLY: checkbox
|
27 |
+
extra_gated_heading: "Acknowledge our [Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License (CC BY-NC-SA 4.0)](https://github.com/Babelscape/WSL/wsl_data_license.txt) to access the repository"
|
28 |
+
extra_gated_description: "Our team may take 2-3 days to process your request"
|
29 |
+
extra_gated_button_content: "Acknowledge license"
|
30 |
---
|
31 |
+
---
|
32 |
+
|
33 |
+
|
34 |
+
# Word Sense Linking: Disambiguating Outside the Sandbox
|
35 |
+
|
36 |
+
[![Conference](http://img.shields.io/badge/ACL-2024-4b44ce.svg)](https://2024.aclweb.org/)
|
37 |
+
[![Paper](http://img.shields.io/badge/paper-ACL--anthology-B31B1B.svg)](https://aclanthology.org/)
|
38 |
+
[![Hugging Face Collection](https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-FCD21D)](https://huggingface.co/collections/Babelscape/word-sense-linking-66ace2182bc45680964cefcb)
|
39 |
+
|
40 |
+
## Model Description
|
41 |
+
|
42 |
+
The Word Sense Linking model is designed to identify and disambiguate spans of text to their most suitable senses from a reference inventory. The annotations are provided as sense keys from WordNet, a large lexical database of English.
|
43 |
+
|
44 |
+
## Installation
|
45 |
+
|
46 |
+
Installation from PyPI:
|
47 |
+
|
48 |
+
```bash
|
49 |
+
git clone https://github.com/Babelscape/WSL
|
50 |
+
cd WSL
|
51 |
+
pip install -r requirements.txt
|
52 |
+
```
|
53 |
+
|
54 |
+
|
55 |
+
|
56 |
+
## Additional Information
|
57 |
+
**Licensing Information**: Contents of this repository are restricted to only non-commercial research purposes under the [Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License (CC BY-NC-SA 4.0)](https://creativecommons.org/licenses/by-nc-sa/4.0/). Copyright of the dataset contents belongs to Babelscape.
|
58 |
+
|
59 |
+
## Citation Information
|
60 |
+
|
61 |
+
|
62 |
+
```bibtex
|
63 |
+
@inproceedings{bejgu-etal-2024-wsl,
|
64 |
+
title = "Word Sense Linking: Disambiguating Outside the Sandbox",
|
65 |
+
author = "Bejgu, Andrei Stefan and Barba, Edoardo and Procopio, Luigi and Fern{\'a}ndez-Castro, Alberte and Navigli, Roberto",
|
66 |
+
booktitle = "Findings of the Association for Computational Linguistics: ACL 2024",
|
67 |
+
month = aug,
|
68 |
+
year = "2024",
|
69 |
+
address = "Bangkok, Thailand",
|
70 |
+
publisher = "Association for Computational Linguistics",
|
71 |
+
}
|
72 |
+
```
|
73 |
+
|
74 |
+
**Contributions**: Thanks to [@andreim14](https://github.com/andreim14), [@edobobo](https://github.com/edobobo), [@poccio](https://github.com/poccio) and [@navigli](https://github.com/navigli) for adding this dataset.
|
config.yaml
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
_target_: wsl.retriever.indexers.inmemory.InMemoryDocumentIndex
|
2 |
+
metadata_fields: []
|
3 |
+
separator: null
|
4 |
+
name_or_path: Babelscape/wsl-retriever-e5-base-v2-worndnet-index
|
documents.jsonl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d679940fddc08a357cf10f5d3505ccc4ae60d7c4dae12cc9f2225bd7c921a01e
|
3 |
+
size 27695126
|
embeddings.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2402f53c015a292ea9dba534c7673d7a5d645f37ed0f2d0bea053ec11d1f9001
|
3 |
+
size 635748523
|