Skip to main content

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 !

Text2topic schema

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)

Source distribution for text2topicloss 1.0.0
File Size Uploaded
text2topicloss-1.0.0.tar.gz 15.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for text2topicloss 1.0.0
File Interpreter ABI Platform
text2topicloss-1.0.0-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page