BNTRANSLIT is a deep learning based transliteration app for Bangla word
Project description
BNTRANSLIT
BNTRANSLIT is a deep learning based transliteration app for Bangla word.
Installation
pip install bntranslit
Dependency
- pytorch 1.7.0 or 1.7.0+
NB: No GPU
Needed. Totally CPU
based
Pre-trained Model
Usage
from bntranslit import BNTransliteration
model_path = "bntranslit_model.pth"
bntrans = BNTransliteration(model_path)
word = "aami"
output = bntrans.predict(word, topk=10)
# output: ['আমি', 'আমী', 'অ্যামি', 'আমিই', 'এমি', 'আমির', 'আমিদ', 'আমই', 'আমে', 'আমিতে']
Datasets and Training Details
- We used Google Dakshina Dataset
- Thanks to AI4Bharat for providing training notebook with details explanation
- We trained Google Bangla Dakshina lexicons train datasets for 10 epochs with batch size 128, 1e-3, embedding dim = 300, hidden dim = 512, lstm, used attention
- We evaluated our trained model with Google Bangla Dakshina lexicon test data using AI4Bharat evaluation script and our evaluation results insides
docs/evaluation_summary.txt
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
bntranslit-2.1.0.tar.gz
(8.6 kB
view hashes)
Built Distribution
Close
Hashes for bntranslit-2.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 166368a3fcecb362075dcc5d7804c949c7798ff92f5421342e59bd242694c694 |
|
MD5 | 706087fa9b0d512a5614da5f1cced82c |
|
BLAKE2b-256 | 2838325ad0d05ff79e59cfa7dec11108f42588d4e8d04fcb5acda2da04855d07 |