#186 · Primary category: NLP Tools & Text Processing
Fast_Sentence_Embeddings
Compute Sentence Embeddings Fast!
Project last updated:03/02/23
GitHub Stars
625
Forks
83
Contributors
7
License
GPL-3.0
Why we included this project
Fast Sentence Embeddings is a Gensim add-on for anyone who needs sentence vectors across a very large corpus and finds transformer models too slow or GPUs out of reach. It converts a pretrained word-embedding model (Word2Vec, FastText, or GloVe) into sentence-level representations using plain averaging, smooth inverse frequency (SIF), and unsupervised SIF. The Cython core supports RAM-to-disk and disk-to-disk training, so corpora much larger than memory still get processed, and it reports hundreds of thousands of sentences per second on modest hardware. Teams doing document similarity, clustering, or retrieval over big text collections can use it as a fast baseline before moving to heavier neural encoders. A hub of pretrained vectors and a simple way to plug in your own Gensim models keep the setup effort low.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
flair
A very simple framework for state-of-the-art Natural Language Processing (NLP)
compromise
modest natural-language processing
tokenizers
💥 Fast State-of-the-Art Tokenizers optimized for Research and Production
CoreNLP
CoreNLP: A Java suite of core NLP tools for tokenization, sentence segmentation, NER, parsing, coreference, sentiment analysis, etc.
Chinese-Word-Vectors
100+ Chinese Word Vectors 上百种预训练中文词向量