Skip to content

kongds/LightXML

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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]

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published