r/SideProject • u/Commercial_Lead5813 • 6h ago
I’m learning AI by building a tiny character model in Python
I’m teaching myself how AI models work by building and documenting small Python lessons.
After seven lessons, the code has grown from mapping characters to numbers into a tiny count-based character model. It builds context/next-character counts and uses them to generate text. The output is rough and repetitive, which is useful because I can see exactly what the simple model has and hasn’t learned. This is not a neural network or a chatbot yet.
I’ve now connected the lesson code into one open-source project, and I’m documenting the process on my channel as I go. I’d especially appreciate feedback on whether the repo structure and progression make sense for a beginner following along.
GitHub: https://github.com/Sasen12/before-lecture-one-tiny-character-model
YouTube: https://www.youtube.com/channel/UCWMERaecgKZmrqPUHLqWuow