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 | Provenance | Actions |
|---|---|---|---|---|
| wordtransformer-0.0.5.tar.gz | 67.4 MB | Without provenance | Details for wordtransformer-0.0.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| wordtransformer-0.0.5-py3-none-any.whl | Python 3 | none | any | Details for wordtransformer-0.0.5-py3-none-any.whl |
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
|
Security for WordTransformer 0.0.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.