Git Product home page Git Product logo

mcfa's Introduction

MCFA

Translations as Additional Contexts for Sentence Classification

This TensorFlow code was used in the experiments of the research paper

Reinald Kim Amplayo, Kyungjae Lee, Jinyoung Yeo, and Seung-won Hwang. Translations as Additional Contexts for Sentence Classification. IJCAI, 2018.

We provided the MR dataset and its translations to 10 other languages in the data folder to try the code.

Additionally, you will need two create three other folders which should contain the following:

  • pickles folder: should contain nothing; the code automatically puts the pickled dataset files here
  • vectors folder: should contain nothing; the code automatically puts the pickled word vector files here
  • pretrained folder: should contain word vectors for all the languages that is used; these can be downloaded here: https://github.com/facebookresearch/fastText/blob/master/pretrained-vectors.md

To run the code, generate the pickle files by executing the following:

python src/CreateDataset.py

To train and test the model, execute the following code:

python src/mcfa.py

To cite the paper/code, please use this BibTex:

@inproceedings{amplayo2017translations,
	Author = {Reinald Kim Amplayo and Kyungjae Lee and Jinyoung Yeo and Seung-won Hwang},
	Booktitle = {IJCAI},
	Location = {Stockholm, Sweden},
	Year = {2018},
	Title = {Translations as Additional Contexts for Sentence Classification},
}

If you have questions, send me an email: rktamplayo at yonsei dot ac dot kr

mcfa's People

Contributors

rktamplayo avatar

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.