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
bntrans = BNTransliteration()
model_path = "bntranslit_model.pth"
word = "vaat"
output = bntrans.predict(model_path, 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-1.0.0.tar.gz
(8.4 kB
view hashes)
Built Distribution
Close
Hashes for bntranslit-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0482878d2c38f7a133727fd9925c15839349db8492de2c5e2a6341f98ae5d7bf |
|
MD5 | 57371019ba1d94bc8c4c5b9bb85967fc |
|
BLAKE2b-256 | 65acb594b4264f031d32de3d659962c359f90a0c0de2dc5aea22a3c0df3c603d |