Skip to content
/ LMSD Public
forked from qsw-code/LMSD

【NCA】Learning Metric Space with Distillation for Large-Scale Multi-Label Text Classification

Notifications You must be signed in to change notification settings

whale-ynu/LMSD

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Reference

If you use the code, please cite the following paper:

@article{DBLP:journals/nca/QinWZLD23,
  author       = {Shaowei Qin and
                  Hao Wu and
                  Lihua Zhou and
                  Jiahui Li and
                  Guowang Du},
  title        = {Learning metric space with distillation for large-scale multi-label
                  text classification},
  journal      = {Neural Comput. Appl.},
  volume       = {35},
  number       = {15},
  pages        = {11445--11458},
  year         = {2023}
}

Requirements

  • python==3.8.8
  • tensorflow==2.7.0

Datasets

Train and Test

Run main.py for train and test datasets with tokenized texts as follows:

python main.py --data 'Wiki10-31K' --la 1.0 --ba 1.0 --emb_num 256 --n_negative 1000

About

【NCA】Learning Metric Space with Distillation for Large-Scale Multi-Label Text Classification

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%