• Stars
    star
    1,616
  • Rank 28,963 (Top 0.6 %)
  • Language
    C
  • License
    Apache License 2.0
  • Created over 11 years ago
  • Updated over 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

This tool provides an efficient implementation of the continuous bag-of-words and skip-gram architectures for computing vector representations of words. These representations can be subsequently used in many natural language processing applications and for further research.

word2vec

Original from https://code.google.com/p/word2vec/

I've copied it to a github project so I can apply and track community patches for my needs (starting with capability for Mac OS X compilation).

There seems to be a segfault in the compute-accuracy utility.

To get started:

cd scripts && ./demo-word.sh

Original README text follows:

This tool provides an efficient implementation of the continuous bag-of-words and skip-gram architectures for computing vector representations of words. These representations can be subsequently used in many natural language processing applications and for further research.

Tools for computing distributed representation of words

We provide an implementation of the Continuous Bag-of-Words (CBOW) and the Skip-gram model (SG), as well as several demo scripts.

Given a text corpus, the word2vec tool learns a vector for every word in the vocabulary using the Continuous Bag-of-Words or the Skip-Gram neural network architectures. The user should to specify the following:

  • desired vector dimensionality
  • the size of the context window for either the Skip-Gram or the Continuous Bag-of-Words model
  • training algorithm: hierarchical softmax and / or negative sampling
  • threshold for downsampling the frequent words
  • number of threads to use
  • the format of the output word vector file (text or binary)

Usually, the other hyper-parameters such as the learning rate do not need to be tuned for different training sets.

The script demo-word.sh downloads a small (100MB) text corpus from the web, and trains a small word vector model. After the training is finished, the user can interactively explore the similarity of the words.

More information about the scripts is provided at https://code.google.com/p/word2vec/

More Repositories

1

Objective-C-Lorem-Ipsum-Generator

A simple class to generate lorem ipsum text in Objective-C.
Objective-C
25
star
2

StackMob-Ruby-Toolkit

A ruby toolkit for working with the StackMob API. Currently allows you to create, read and delete your StackMob data from the command line.
Ruby
6
star
3

EyesOn

An iPhone app for giving things you love a photographic hug
C
4
star
4

latlon

Extremely simple app to get decimal lat,lon in your paste buffer
Objective-C
4
star
5

One-Inch-Train-Tracks

Designs for one-inch train track pieces. Intended to be realized via ShopBot
Ruby
3
star
6

GoodEReads

Some scripts to compare my goodreads.com to-read bookshelf against available Library EBooks
Ruby
2
star
7

exqcor

Exquisite Corpse: The Play
Ruby
2
star
8

iBurn

An iPhone app for the Burning Man Festival.
Objective-C
2
star
9

pebble-longnow

Long Now themed Pebble Watch Face
C
2
star
10

stackmob-ios-sdk

The official repository for the new and improved StackMob iOS SDK
Objective-C
2
star
11

BackDemo

A demo project to illustrate the iOS 4.2.1 back button bug.
Objective-C
1
star
12

ParentVUE-Gem

Ruby gem for accessing ParentVUE
Ruby
1
star
13

Html5Demo

Simple demo of embedding an HTML app in an iOS native app.
Objective-C
1
star
14

StretchyHead

Objective-C
1
star
15

CompositeVideoApp

a toy app to play around with composite video stuff
Objective-C
1
star
16

FlyBeacon

Smartphone visual beacon system
Objective-C
1
star
17

Gem-Compare

A ruby script to help compare the installed gems on two machines.
1
star
18

FlickrVerifier

Script(s) to help verify that photos from your local drive have been uploaded to Flickr (and then optionally delete them from the local drive)
Ruby
1
star
19

userscripts

Just some place where I can store whatever random userscripts I come up with.
JavaScript
1
star