Downloads · 30 days
0
sagorsarker/bangla-glove-vectors
bangla-glove-vectors is a machine learning model from sagorsarker. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
This is a collection of pre-trained glove vectors for the Bengali language. You can find details training in this repository.
Downloads · 30 days
0
Access
Public
Updated Nov 12, 2022
Repo size
461 MB
Likes
1
Public
Click a slice to open those files.
.zip461 MB · 100%
From the Hugging Face model README
This is a collection of pre-trained glove vectors for the Bengali language. You can find details training in this repository.
This model is build for bnlp package.
wikipedia+crawl_news_articles (39M(39055685) tokens, 0.18M(178152) vocab size, 195.4MB download): bn_glove.39M.300d.zip
wikipeida+crawl_news_articles (39M(39055685) tokens, 0.18M(178152) vocab size, 100d vectors, 65MB download): bn_glove.39M.100d.zip
Wikipedia (20M(19965328) tokens, 0.13M(134255) vocab, 300d vectors, 145.9MB download): bn_glove.300d.zip
Wikipedia (20M(19965328) tokens, 0.13M(134255), 100d vectors, 51.2MB download): bn_glove.100d.zip
from bnlp import BengaliGlove
glove_path = "bn_glove.39M.100d.txt"
word = "গ্রাম"
bng = BengaliGlove()
res = bng.closest_word(glove_path, word)
print(res)
vec = bng.word2vec(glove_path, word)
print(vec)