prashantranjan09 / wordembeddings-elmo-fasttext-word2vec Goto Github PK
View Code? Open in Web Editor NEWUsing pre trained word embeddings (Fasttext, Word2Vec)
Using pre trained word embeddings (Fasttext, Word2Vec)
Hi,
I get the following error when I run the code. Any workaround for this?
2019-01-25 18:56:48.821520: W tensorflow/core/framework/allocator.cc:101] Allocation of 18454937600 exceeds 10% of system memory.
2019-01-25 18:56:48.821663: W tensorflow/core/framework/allocator.cc:101] Allocation of 1258291200 exceeds 10% of system memory.
Killed
.
I have already tried decreasing batch size but didn't help.
Hello, i tried to run your code with my dataset, i am able to word2vec/fasttext gensim with my dataset but unable to understand how u r handling word vectors for Elmo. in below screenshot.
how to change these values in below elmo function ( in my case x_text, y is a X Y form )
(train_x,train_y,test_x,test_y,max_len)
Do we have to change anything other then dataset to train elmo embedding in urdu language corpus?is it neccessary to use GPU to train model and any preprocessing of data required before training ?
1
Hi everyone,
I would like to use German align vectors to train a crosslingual classification model (https://fasttext.cc/docs/en/aligned-vectors.html). If I got it right, wiki.de.align.vec is the file I need? I tried to implement it using word2vec_format, but ran into a problem of out of vocabulary words.
I know that this problem has been solved by fasttext. It obtaines semantic similar word vectors by breaking words into ngrams and it sounds awesome. To load the fasttext model I need a .bin file, which is not provided for aligned vectors. Do you have any ideas of solving the problem?
Thank you!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.