FareedKhan-dev/Building-llama3-from-scratch
LLaMA 3 is one of the most promising open-source model after Mistral, we will recreate it's architecture in a simpler manner.
This project helps machine learning engineers and researchers understand the inner workings of large language models by guiding them through the process of building a LLaMA 3-like model from scratch. It takes foundational knowledge of neural networks and Transformer architecture as input, and outputs a working, simplified implementation of LLaMA 3. This is ideal for those looking to demystify how these advanced models are constructed.
203 stars. No commits in the last 6 months.
Use this if you want to learn the practical steps of implementing a large language model architecture like LLaMA 3, focusing on its core components without needing a GPU.
Not ideal if you are looking for a pre-trained model to use directly, or if you do not have at least 17GB of RAM available for processing the model files.
Stars
203
Forks
46
Language
Jupyter Notebook
License
—
Category
Last pushed
Aug 23, 2024
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/FareedKhan-dev/Building-llama3-from-scratch"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
Lightning-AI/litgpt
20+ high-performance LLMs with recipes to pretrain, finetune and deploy at scale.
liangyuwang/Tiny-DeepSpeed
Tiny-DeepSpeed, a minimalistic re-implementation of the DeepSpeed library
catherinesyeh/attention-viz
Visualizing query-key interactions in language + vision transformers (VIS 2023)
microsoft/Text2Grad
🚀 Text2Grad: Converting natural language feedback into gradient signals for precise model...
huangjia2019/llm-gpt
From classic NLP to modern LLMs: building language models step by step. 异æ¥å›¾ä¹¦ï¼šã€Š GPT图解 å¤§æ¨¡åž‹æ˜¯æ€Žæ ·æž„å»ºçš„ã€‹-...