r/PythonProjects2 • • 1d 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

1 Upvotes

4 comments sorted by

0

u/[deleted] 13h ago

[deleted] — view deleted comment

1

u/Commercial_Lead5813 13h ago

Thank you so much!

1

u/Commercial_Lead5813 13h ago

Did you want to collab on a video?

1

u/shailendra_codes 13h ago

Thanks for asking! I really like how you are explaining AI and Python concepts step-by-step from scratch. Right now I am focused on writing and building beginner-friendly Hinglish coding resources for Indian students, so I'm keeping my schedule simple, but I'd love to stay connected and support your channel's growth!