Skip to main content

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


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.0.0.tar.gz (7.3 kB view details)

Uploaded Source

Built Distribution

bntranslit-2.0.0-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

Details for the file bntranslit-2.0.0.tar.gz.

File metadata

  • Download URL: bntranslit-2.0.0.tar.gz
  • Upload date:
  • Size: 7.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.6.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5

File hashes

Hashes for bntranslit-2.0.0.tar.gz
Algorithm Hash digest
SHA256 38b5273658739aee0ea7afefd7bc1b775caa18342491117db9407be1b9bc22cf
MD5 07eaa147391a9b9f1b9bf562e5e2c234
BLAKE2b-256 80f8f03c0975efa36fe634c9af157a517aac97fccce0ce286d9e17f191e281b5

See more details on using hashes here.

File details

Details for the file bntranslit-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: bntranslit-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 7.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.6.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5

File hashes

Hashes for bntranslit-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 55d64890b487126ee7daf0515ce90d3d41f63a276b137d4e95fd534c8bb38f81
MD5 d740d7a5729cecbf213b6533c17f4b48
BLAKE2b-256 88ca3f73021c54062c724a4305f152bd757982c62e712fe0fd2f86db75346712

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page