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 !
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file text2topicloss-1.0.0.tar.gz.
File metadata
- Download URL: text2topicloss-1.0.0.tar.gz
- Upload date:
- Size: 15.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
35a1767340306f975bd51fd8d9ea85794d4c8993f3c41b9adf97541d63bdc5c8
|
|
| MD5 |
3f336a3724be83cd141e61a0418e3873
|
|
| BLAKE2b-256 |
c6d5131143d064a55dba69bf29ad720e9ee4e8b98b9a304991af3bb1ff113798
|
File details
Details for the file text2topicloss-1.0.0-py3-none-any.whl.
File metadata
- Download URL: text2topicloss-1.0.0-py3-none-any.whl
- Upload date:
- Size: 15.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bd70f4c377cde2877dbc633e89512343a139b6d3788392115b7f0328e0c48897
|
|
| MD5 |
8df3f6cba2d966c75df21079d24ded5c
|
|
| BLAKE2b-256 |
9e42cc1bda6de73ecfdd5fdf0ffd91f7d3c86aa4805082515c538820a63f17c7
|