Coder Social home page Coder Social logo

cltc_sl's Introduction

Leveraging Adversarial Training in Self-Learning for Cross-Lingual Text Classification

This is Pytorch implemenation of our papers: A Robust Self-Learning Framework for Cross-Lingual Text Classification, Leveraging Adversarial Training in Self-Learning for Cross-Lingual Text Classification, introduced by Xin Dong, Gerard de Melo.

Requirements

python 3.7
pytorch 1.0

Datasets

This sample code uses MLDoc dataset which is not public because of the privacy. You can request it on your own. Besides, you can create new data_processor for you own dataset in run_ld.py.

Training

Please run

./run_ld.sh

To run adversarial training, Plese add

--adv_training 

in run_ld.sh

Citation

If you found this code/work to be useful in your own research, please considering citing the following:

@inproceedings{dong2019robust,
  title={A robust self-learning framework for cross-lingual text classification},
  author={Dong, Xin and de Melo, Gerard},
  booktitle={Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP)},
  pages={6307--6311},
  year={2019}
}
@inproceedings{dong2020leveraging,
  title={Leveraging Adversarial Training in Self-Learning for Cross-Lingual Text Classification},
  author={Dong, Xin and Zhu, Yaxin and Zhang, Yupeng and Fu, Zuohui and Xu, Dongkuan and Yang, Sen and de Melo, Gerard},
  booktitle={Proceedings of the 43rd International ACM SIGIR Conference on Research and Development in Information Retrieval},
  pages={1541--1544},
  year={2020}
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.