Git Product home page Git Product logo

mce's Introduction

Tools for Word Embedding for Contrasting Meaning

Implementations of the Marginal Contrast Embedding (MCE) model presented in the paper "Revisiting word embedding for contrasting meaning" by Zhigang Chen, Wei Lin, Qian Chen, Xiaoping Chen, Si Wei, Hui Jiang and Xiaodan Zhu, ACL 2015

We provide an implementation of the Marginal Contrast Embedding (MCE) and the test scripts. Give a thesaurus of antonym and synonym, the tool learns a vecotr for every word in the vocabulary using MCE model. The user should to specify the following:

  • desired vector dimensionality (default is 200)
  • number of negative sample (default is 100)
  • number of threads to use (default is 12)
  • the learning rate (default is 0.05)

The script run.sh trains a MCE model and test the result on "most contrasting word" questions from Graduate Record Examination(GRE).

The code is based on word2vec (https://code.google.com/p/word2vec/).

For any question or bug with the code, feel free to contact [email protected]

@InProceedings{Chen-Zhigang:2015:ACL,
  author    = {Chen, Zhigang and Lin, Wei and Chen, Qian and Chen, Xiaoping and Wei, Si and Jiang, Hui and Zhu, Xiaodan},
  title     = {Revisiting Word Embedding for Contrasting Meaning},
  booktitle = {Proceedings of the 53rd Annual Meeting of the Association for Computational Linguistics and The 7th International Joint Conference of the Asian Federation of Natural Language Processing (ACL-IJCNLP 2015)},
  month     = {July},
  year      = {2015},
  address   = {Beijing, China},
  publisher = {ACL}
}

Homepage of Qian Chen, http://home.ustc.edu.cn/~cq1231/

mce's People

Contributors

lukecq1231 avatar

Stargazers

Eric avatar Wei He avatar yuanke avatar  avatar Peratham Wiriyathammabhum avatar

Watchers

James Cloos avatar  avatar Chad Atalla avatar  avatar paper2code - bot avatar  avatar

Forkers

xn0507 harveyaot

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.