Skip to content

marica05gabriel/nlu

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Natural Language Understanding

Wit.ai HTTP API docs

Rasa NLU documentation

SpaCy training language models

#Loading faster the fasttext models

There are 2 types of files you can download from fasttext

.vec - file, imported like:

from gensim.models.keyedvectors import KeyedVectors

w2v = KeyedVectors.load_word2vec_format(file_name, binary=False)

.bin - file, imported like:

from gensim.models import FastText

w2v = FastText.load_fasttext_format(file_name)
w2v.wv # use it like this

The latter method loads the word vector model in ~ 130 - 150 seconds on my machine while the first method loads the vectors in around 10 mins.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 76.3%
  • Python 22.2%
  • Perl 1.5%