Giter Site home page Giter Site logo

aagohary / vector-entailment Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sleepinyourhat/vector-entailment

0.0 1.0 0.0 93.84 MB

A suite of representation learning models for sentence embedding, and some tasks to evaluate them on.

Home Page: http://stanford.edu/~sbowman

MATLAB 10.25% Shell 9.61% Python 1.07% C 0.25% M 0.01% Java 0.30% TeX 28.17% PostScript 50.33% Makefile 0.01% Gnuplot 0.01%

vector-entailment's Introduction

vector-entailment

The code for the experiments reported on in Bowman (2014) and Bowman, Potts and Manning (2014)

WARNING: I have made every effort to ensure that this code is as inefficient as possible and violates every convention of MATLAB style. If the code could be made worse on either count, please contact me ([email protected]) and I will remedy the error.

MORE WARNING: Trees are represented as new-style objects, so you will need a fairly recent copy of MATLAB. R2012b works.

To get started, have a look at the job launch commands in RunExperiments (ideally from a release, since this changes all the time) and the config files in config/.

If you don't want to run jobs using PBS (or can't), you can replace the escaped commas (,) with plain commas in the commands in RunF14Experiments and pipe the commands into MATLAB, as here:

echo "cd quant; dataflag = 'fold5'; lambda = 0.001; dim = 15; td = 1; penult = 75; dropout = 1; tot = 0; name='tj'; relu = 1; TrainModel('', 1, @Join, name, dataflag, dim, penult, td, lambda, tot, relu, dropout, 32);" | matlab

The SICK data is from the SemEval 2014 SICK challenge: http://alt.qcri.org/semeval2014/task1/

minFunc is from Mark Schmidt, here: http://www.cs.ubc.ca/~schmidtm/Software/minFunc.html

The Denotation Graph data (used in this repo, but not distributed with it) is from here: http://shannon.cs.illinois.edu/DenotationGraph/

sick-data/wcmac_data.txt was collected as part of Bill MacCartney's 2009 Stanford dissertation.

sst-data/ contais data from the Stanford Sentiment Treebank. More information can be found in the README.txt file there.

Maintainer and lead author: Samuel Bowman, [email protected]

vector-entailment's People

Contributors

cgpotts avatar manning avatar

Watchers

James Cloos 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.