United StatesPrashantRanjan09/WordEmbeddings-Elmo-Fasttext-Word2Vec
Using pre trained word embeddings (Fasttext, Word2Vec)
🧠 Đ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
optiontrongconfig.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.
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.
My first Python repo with codes in Machine Learning, NLP and Deep Learning with Keras and Theano