How it works
यह कैसे काम करता है
- १
Your words become themes
A small classifier reads your English and picks one of ten subjects Kabir wrote about (ego, death, love, the guru…), plus up to two images he used, such as a lamp or a cuckoo. You can also pick these yourself.
“pride burns out like a lamp” → Ego · Lamp
- २
A tiny model writes, letter by letter
A language model with 1.8 million parameters, built from scratch, starts from those themes and writes one Devanagari letter at a time. It learned from about 2,000 of Kabir's dohe and 5,000 practice dohe written by AI in the same form. It never sees your sentence, only the themes.
- ३
Counting the beats
A doha has two lines, each split into 13 + 11 matras (beats). The page writes several drafts, counts the beats in each, drops any that copy Kabir's real lines, and shows you the best one.
पोथी पढ़ि पढ़ि जग मुआ 13, पंडित भया न कोय 11ढाई आखर प्रेम का 13, पढ़ै सो पंडित होय 11
- ४
All on your device
About 7 MB is downloaded once. After that it works offline, and nothing you type leaves your phone or computer.
It is a very small model, so some verses scan well but wander in meaning. Read them as a playful homage, not as Kabir's words.