Downloads · 30 days
50
65% of all-time downloads
chaos24/kaman-asan-chatbot
kaman-asan-chatbot is a machine learning model from chaos24. 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 apache-2.0.
A small Banglish chatbot. You write a message in standard Banglish or in Hooman Dialect; it replies in Hooman Dialect.
Downloads · 30 days
50
65% of all-time downloads
All-time downloads
77
Public
Parameters
300M
2.4 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors1.2 GB · 100%
From the Hugging Face model README
A small Banglish chatbot. You write a message in standard Banglish or in Hooman Dialect; it replies in Hooman Dialect.
kaman asan -> Ame valo asi, apnar ki kobor
kemon achen -> Alhamdulillah valo asi, apnar ki kobor
bhat khaisen -> Ame to kai, sobsomoi kayacan
apnar basha kothay -> Basa nae, rastai taki
apni ki manush -> Ame manus, apna ki
dhonnobad -> Oilcome
Try it: Chat with Hooman
google/byt5-small (300M), fine-tuned in two stages:
Byte-level tokenisation matters here: Banglish has no standard spelling, so khaisen,
khaichen and kaisen are all the same word, and a subword tokeniser splits them
inconsistently.
from transformers import AutoModelForSeq2SeqLM, AutoTokenizer
tok = AutoTokenizer.from_pretrained("chaos24/kaman-asan-chatbot")
net = AutoModelForSeq2SeqLM.from_pretrained("chaos24/kaman-asan-chatbot")
enc = tok("kaman asan", return_tensors="pt")
out = net.generate(**enc, do_sample=True, temperature=0.8, top_p=0.92, max_new_tokens=128)
print(tok.decode(out[0], skip_special_tokens=True))
Sample rather than decode greedily — greedy gives the same answer every time, which reads like a lookup table instead of a conversation.
A language made up for this project — not Noakhali, Sylheti, Chittagonian, or any real
region's speech, and not a claim about how anyone talks. Roughly: aspirates lose their h
(bhat→bat), j→g (kaj→kag), e→a (achen→asan), and ai→aya inside a word
(khaisen→kayasan).
Training data came from a private conversation with names and locations removed.