node-word2vec icon indicating copy to clipboard operation
node-word2vec copied to clipboard

Node.js interface to the Google word2vec tool.

Results 15 node-word2vec issues
Sort by recently updated
recently updated
newest added

Hi there, I trained a model on the google news corpus and was able to successfully create an output to load, however when I use the loadModel function with the...

warning "@tensorflow/tfjs > @tensorflow/[email protected]" has unmet peer dependency "seedrandom@^3.0.5". [4/4] Building fresh packages... error C:\Users\lenov\Desktop\apps\test\s\a\node_modules\word2vec: Command failed. Exit code: 1 Command: make --directory=src Arguments: Directory: C:\Users\lenov\Desktop\apps\test\s\a\node_modules\word2vec Output: 'make' is not...

Is it possible to call the word2vec method and pass training data in raw and get the vectors out as raw also ? The documentation seems to suggest you can...

Hi Philipp, I downloaded from https://code.google.com/p/word2vec/ the file GoogleNews-vectors-negative300.bin.gz > w2v = require('word2vec'); > { word2vec: [Function: word2vec], > word2phrase: [Function: word2phrase], > loadModel: [Function: loadModel], > WordVector: [Function: WordVector]...

I download from 'Word2Vec' http://nilc.icmc.usp.br/embeddings this http://143.107.183.175:22980/download.php?file=embeddings/word2vec/cbow_s50.zip And try to load ``` var w2v2 = require( 'word2vec' ); w2v2.loadModel( 'C:\Users\Ranieri\Documents\Projetos\playground\datas.txt', function( error, model ) { console.log(error) console.log( model ); });...

I downloaded a file which used the extension `.vec` for the ASCII vectors instead of `.txt` and it just silently failed, which is not a good user experience. So this...

**When I ran:** const w2v = require( 'word2vec' ); const corpusFilePath = 'cleared_words.txt'; w2v.word2vec(corpusFilePath, "vectors.txt", { size: 300 }, () => { console.log("DONE"); }); **It returns:** Child process exited with...

Great implementation! I didn't understand from the description if I have to train the model on an existing corpus or if I can also use the default values to calculate...

Hi, First of all, thanks for the awesome work! I am trying to import the pre-trained files from the fasttext repo: https://github.com/facebookresearch/fastText/blob/master/pretrained-vectors.md The model loads without a problem; however, when...

Hello, When I start node, I get this error Error: spawn ./word2vec ENOENT at _errnoException (util.js:1024:11) at Process.ChildProcess._handle.onexit (internal/child_process.js:190:19) at onErrorNT (internal/child_process.js:372:16) at _combinedTickCallback (internal/process/next_tick.js:138:11) at process._tickCallback (internal/process/next_tick.js:180:9) at Function.Module.runMain...