GithubHelp home page GithubHelp logo

fanfannothing / simpler_glove Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bojone/simpler_glove

0.0 1.0 0.0 221 KB

A Simpler GloVe model for distributed word representation

License: Apache License 2.0

Makefile 0.80% Shell 0.90% MATLAB 10.80% Python 17.17% C 70.33%

simpler_glove's Introduction

Simpler GloVe: A Simpler Model for Word Representation from Glove

以互信息为训练目标的词向量模型。

2017.12.16更新:提供多种模型组合

0:上下文向量和中心词向量共用一组词向量,这种词向量在语义捕捉方面效果会比较好;

1:上下文向量和中心词向量用不同的词向量,每个词的向量为两种向量的直接拼接,这种词向量会在语法任务上比较好;

2:上下文向量和中心词向量用不同的词向量,每个词的向量为两种向量的求和,这种词向量表现应该跟0类似。

Oringal glove model: https://github.com/stanfordnlp/GloVe

相比原版glove:修改了cooccur.c和glove.c两个文件。

更别致的词向量模型(一):simpler glove

更别致的词向量模型(二):对语言进行建模

更别致的词向量模型(三):描述相关的模型

更别致的词向量模型(四):模型的求解

更别致的词向量模型(五):有趣的结果

更别致的词向量模型(六):代码、分享与结语

Train word vectors on a new corpus

$ git clone https://github.com/bojone/simpler_glove
$ cd simpler_glove && make
$ ./demo.sh

simpler_glove's People

Contributors

alantian avatar bojone avatar davidnemeskey avatar ferhtaydn avatar hellrich avatar jfrattarola avatar manning avatar sergeydidenko avatar thomas4g avatar vincentxwd avatar

Watchers

 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.