Skip to main content

Text2topic loss for bi-encoder models

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

text2topicloss-1.0.0.tar.gz (15.5 kB view hashes)

Uploaded Source

Built Distribution

text2topicloss-1.0.0-py3-none-any.whl (15.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page