XL-LEXEME
WiC Pretrained Model for Cross-Lingual LEXical sEMantic changE (https://aclanthology.org/2023.acl-short.135.pdf)
Install the library:
git clone git@github.com:pierluigic/xl-lexeme.git
cd xl-lexeme
pip3 install .
Load the model (the model is available in the Hugging Face Model Hub https://huggingface.co/pierluigic/xl-lexeme):
from WordTransformer import WordTransformer,InputExample
model = WordTransformer('pierluigic/xl-lexeme')
examples = InputExample(texts="the quick fox jumps over the lazy dog", positions=[10,13])
fox_embedding = model.encode(examples) #The embedding of the target word "fox"
Citation
@inproceedings{cassotti-etal-2023-xl,
title = "{XL}-{LEXEME}: {W}i{C} Pretrained Model for Cross-Lingual {LEX}ical s{EM}antic chang{E}",
author = "Cassotti, Pierluigi and
Siciliani, Lucia and
DeGemmis, Marco and
Semeraro, Giovanni and
Basile, Pierpaolo",
booktitle = "Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers)",
month = jul,
year = "2023",
address = "Toronto, Canada",
publisher = "Association for Computational Linguistics",
url = "https://aclanthology.org/2023.acl-short.135",
pages = "1577--1585"
}
Metadata
Release files for WordTransformer 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| wordtransformer-0.0.5.tar.gz | 67.4 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| wordtransformer-0.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 67.4 MB
Release files / wordtransformer-0.0.5.tar.gz
| Download URL | wordtransformer-0.0.5.tar.gz |
|---|---|
| Size | 67.4 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0c98c5eb0081179bd59f5e76d5a69f4903c797a8306816e075aeddcac5abb6ff
|
|
BLAKE2b-256 checksum How to use checksums |
35711c617ed22dbf3bd023cab73097cc059519d3875f570e8d7f066c25dda361
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.1
|
Release files / wordtransformer-0.0.5-py3-none-any.whl
| Download URL | wordtransformer-0.0.5-py3-none-any.whl |
|---|---|
| Size | 14.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fc869e57d18b41cdb277a5cf538406b55c99ef5fdd204a8bd12dd4ee5a567bb5
|
|
BLAKE2b-256 checksum How to use checksums |
7997443011251a044644d15330d67732b82ac0b5d7ecbc2d1090f50f719d92b7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.1
|