Skip to content

Latest commit

 

History

History
32 lines (25 loc) · 1.03 KB

README.md

File metadata and controls

32 lines (25 loc) · 1.03 KB

LightXML

LightXML: Transformer with dynamic negative sampling for High-Performance Extreme Multi-label Text Classification

Requirements

pip install -r requirements.txt

Please also install apex as follows

git clone https://github.com/NVIDIA/apex
cd apex
pip install -v --disable-pip-version-check --no-cache-dir --global-option="--cpp_ext" --global-option="--cuda_ext" ./

Datasets

LightXML uses the same dataset with AttentionXML and X-Transform.

please download them from the following links.

Experiments

train and eval

./run.sh [eurlex4k|wiki31k|amazon13k|amazon670k|wiki500k]