Text2Topic
Implementation of bi-encoder Text2Topic architecture describe in Text2Topic: Multi-Label Text Classification System for Efficient Topic Detection in User Generated Content with Zero-Shot Capabilities
Read the paper & the original repository for details about the algorithm !
Installation
pip install text2topicloss
or
git clone
python -m pip install .
Citations
I'm not the author of the original paper, so if you use this library, please cite the original paper :
@inproceedings{wang-etal-2023-text2topic,
title = "{T}ext2{T}opic: Multi-Label Text Classification System for Efficient Topic Detection in User Generated Content with Zero-Shot Capabilities",
author = "Wang, Fengjun and
Beladev, Moran and
Kleinfeld, Ofri and
Frayerman, Elina and
Shachar, Tal and
Fainman, Eran and
Lastmann Assaraf, Karen and
Mizrachi, Sarai and
Wang, Benjamin",
editor = "Wang, Mingxuan and
Zitouni, Imed",
booktitle = "Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing: Industry Track",
month = dec,
year = "2023",
address = "Singapore",
publisher = "Association for Computational Linguistics",
url = "https://aclanthology.org/2023.emnlp-industry.10",
doi = "10.18653/v1/2023.emnlp-industry.10",
pages = "93--103",
}
License
GNU General Public License v3.0
Metadata
Release files for text2topicloss 1.0.0
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 |
|---|---|---|---|---|
| text2topicloss-1.0.0.tar.gz | 15.5 kB | Without provenance | Details for text2topicloss-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| text2topicloss-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for text2topicloss-1.0.0-py3-none-any.whl |
Total release size: 31.2 kB
Release files / text2topicloss-1.0.0.tar.gz
| Download URL | text2topicloss-1.0.0.tar.gz |
|---|---|
| Size | 15.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
35a1767340306f975bd51fd8d9ea85794d4c8993f3c41b9adf97541d63bdc5c8
|
|
BLAKE2b-256 checksum How to use checksums |
c6d5131143d064a55dba69bf29ad720e9ee4e8b98b9a304991af3bb1ff113798
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.10.12
|
Release files / text2topicloss-1.0.0-py3-none-any.whl
| Download URL | text2topicloss-1.0.0-py3-none-any.whl |
|---|---|
| Size | 15.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bd70f4c377cde2877dbc633e89512343a139b6d3788392115b7f0328e0c48897
|
|
BLAKE2b-256 checksum How to use checksums |
9e42cc1bda6de73ecfdd5fdf0ffd91f7d3c86aa4805082515c538820a63f17c7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.10.12
|
Security for text2topicloss 1.0.0
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.