Git Product home page Git Product logo

lmthang / bivec Goto Github PK

View Code? Open in Web Editor NEW
76.0 76.0 28.0 2.87 MB

Train bilingual embeddings as described in our NAACL 2015 workshop paper "Bilingual Word Representations with Monolingual Quality in Mind". Besides, it has all the functionalities of word2vec with added features and code clarity. See README for more info.

Home Page: http://stanford.edu/~lmthang/bivec/

License: Apache License 2.0

MATLAB 80.91% Shell 1.33% C 12.85% Makefile 0.10% Python 0.63% C++ 3.98% Charity 0.20%

bivec's Issues

Segmentation fault (core dumped)

Got core dumped when trying to run the script: ./run_bi.sh.
It seems to point to the line: eval $cmd.
I've already set the -eval to 0 on that script. Any help will be greatly appreciated thank you!

./run_bi.sh: line 77: 28275 Segmentation fault      (core dumped) /storage/proj/geraldzakwan/bivec/bivec -align data/data.10k.de-en -align-opt 1 -src-train data/data.10k.de -tgt-train data/data.10k.en -src-lang de -tgt-lang en -output outputDir/out -cbow 0 -size 200 -window 5 -negative 10 -hs 0 -threads 1 -binary 0 -iter 5 -eval 0 -sample 1e-5 -tgt-sample 1e-5 -bi-weight 1

CLDC explanation

Would it be possible to have some more guidance on how to run cldc part?

Thank you.

word align

If i want to train another bilingual embedding,what should i do?the file which is called data.10k.align really make me confused.

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.