hesamsheikh/llm-mechanics

Coding an LLM and its building blocks from scratch.

34
/ 100
Emerging

This project is a personal learning environment for those who want to understand the foundational mechanics of large language models (LLMs). It helps you learn how LLMs and their core components are built from the ground up using PyTorch. This is for machine learning engineers, researchers, or students who are curious about the inner workings of AI language models.

116 stars. No commits in the last 6 months.

Use this if you are a machine learning practitioner who wants to deeply understand the theoretical and practical implementation details of LLMs by building them from first principles.

Not ideal if you are looking to apply pre-built LLMs for specific tasks like content generation, data summarization, or chatbot development.

Machine Learning Education Deep Learning Fundamentals AI Model Development Natural Language Processing Research
No License Stale 6m No Package No Dependents
Maintenance 0 / 25
Adoption 10 / 25
Maturity 8 / 25
Community 16 / 25

How are scores calculated?

Stars

116

Forks

17

Language

Jupyter Notebook

License

Last pushed

Mar 27, 2025

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/transformers/hesamsheikh/llm-mechanics"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.