Back to Trending
RepositoryPythonUSUnited States
PrashantRanjan09

PrashantRanjan09/WordEmbeddings-Elmo-Fasttext-Word2Vec

Using pre trained word embeddings (Fasttext, Word2Vec)

157stars
31forks
0issues
0views

🧠 Đa dạng mô hình nhúng từ trong một thư viện nhỏ gọn

Chuyển đổi nhanh giữa FastText, Word2Vec, ELMo, GloVe chỉ bằng một dòng cấu hình.

Dự án WordEmbeddings-ELMo, Fasttext, FastText (Gensim) and Word2Vec cung cấp cách lựa chọn và áp dụng các mô hình nhúng từ (word embeddings) đã huấn luyện trước lên bất kỳ tập dữ liệu nào. Hỗ trợ ELMo (biLM, huấn luyện trên văn bản lớn), FastText (bản gốc FAIR và bản Gensim), Word2Vec, và GloVe.

✨ Điểm nổi bật

  • Lựa chọn mô hình nhanh: chỉnh option trong config.json để đổi giữa Word2Vec (0), Gensim FastText (1), FastText FAIR (2), ELMo (3)
  • Chạy thử ngay: python main.py để thử trên bộ dữ liệu Imdb sentiment

💡 Vì sao đáng chú ý

Khác với cách dùng nhúng một kiểu embedding cố định, dự án cho phép so sánh nhanh nhiều mô hình khác nhau. README cho biết ELMo thường cho kết quả tốt hơn FastText, GloVe và Word2Vec khoảng 2–2.5% trên bài toán phân loại cảm xúc.


#WordEmbeddings #ELMo #FastText #Word2Vec #GloVe #TiniX

Similar Projects

Discover other similar projects and AI models.

RepositoryPython
explosion/sense2vec

🦆 Contextually-keyed word vectors

1.7k
Mar 27, 2026
RepositoryPython
giacbrd/ShallowLearn

An experiment about re-implementing supervised learning models based on shallow neural network approaches (e.g. fastText) with some additional exclusive features and nice API. Written in Python and fully compatible with Scikit-learn.

198
Aug 8, 2017
RepositoryPython
vyraun/Half-Size

Code for "Effective Dimensionality Reduction for Word Embeddings".

131
Apr 17, 2021
Repository
mayabot/fastText4j

Implementing Facebook's FastText with java

157
Apr 23, 2020
RepositoryPython
piskvorky/gensim

Topic Modelling for Humans

16.5k
Nov 1, 2025
RepositoryPython
duoergun0729/nlp

兜哥出品 <一本开源的NLP入门书籍>

2.5k
Jan 6, 2025
RepositoryPython
RubensZimbres/Repo-2017

My first Python repo with codes in Machine Learning, NLP and Deep Learning with Keras and Theano

1.2k
Dec 6, 2021
RepositoryPython
oborchers/Fast_Sentence_Embeddings

Compute Sentence Embeddings Fast!

626
Oct 26, 2026
RepositoryPython
natasha/navec

Compact high quality word embeddings for Russian language

221
Apr 13, 2026