ungai banner

ungai

4 devlogs
11h 49m 46s

A high-performance unique name generator based on Markov Chains

This project uses AI

Used Gemini and ChatGPT for code completion.

Demo Repository

Loading README...

lalit

Shipped this project!

Hours: 11.83
Cookies: 🍪 46
Multiplier: 3.9 cookies/hr

I built a unique name generator in Rust. It can generate quite amazing names sometimes but sometimes it might not generate good names(just adjust the model’s creativity at these times and you may generate amazing names again).
The hardest part was thinking about which dataset to use (though I think the hardest part is always getting thinks working).
At last I am proud that this generator may influence some names of my next projects, or while I am giving names to other things.

lalit

Lots of work was done.

  • Now users can provide their own data(provided that it is formatted correctly)
  • Added a default dataset which would be quite useful
  • users can provide min & max length of names
  • users can provide number of reruns to generate a single name
    and more….
0
lalit

Published ungai to github.
Now you can install it on your machine with the command below, provided that you have cargo installed on your system

cargo install ungai

Next Step

Now I need to work on the cli and add a way for users to generate names with a pre-trained model and also be able to provide their own dataset.

0
lalit

A lot of things happened during this iteration. Some of them are -

  • Some performance improvements
  • Implemented 2nd Order Markov Chain (so that the generator doesn’t output nonsense)
  • Implemented smoothing in the 2nd Order Markov Chain (so that the generator can generate combinations which it hasn’t seen in the training dataset)

Now I am working to publish this as a cli tool and also implementing 3rd Order Markov Chain.

(In the following video, you can see it has repeated some names, I am working to fix that.)

0
lalit

Made a working Markov Chain that can generate simple(actually weird names) on a given set of names.
This was just basic implementation of Markov Chain, right now it can’t generate convincing or realistic names.
(I have two same videos, one was too short and I don’t know how to remove that so added one more.)

0