TGViewer
GitHub Trends GitHub Trends @githubtrending · 11.8K subscribers
Post #15717 744
#jupyter_notebook #gemini #large_language_models #llm #openai #training #transformers

This project shows how to build and train a transformer language model from scratch in PyTorch. It uses the Pile dataset, tokenizes text with tiktoken, and stores tokens in HDF5 files for faster training. The code includes attention, MLP, transformer blocks, training, saving, and text generation. The benefit is that you can learn how LLMs work and train your own small or large model on a single GPU, then use it to generate text for your own tasks.

https://github.com/FareedKhan-dev/train-llm-from-scratch
GitHub GitHub - FareedKhan-dev/train-llm-from-scratch: A straightforward method for training your LLM, from downloading data to generating… A straightforward method for training your LLM, from downloading data to generating text. - FareedKhan-dev/train-llm-from-scratch
  • ❤ 1
More from @githubtrending
  1. Sep 23, 2026#python #a_share #agent #ai #ai_agent #akshare #deepseek #fastapi #fintech #langgraph #llm…
  2. Sep 23, 2026#python #agent_framework #agentic #agentic_ai #agents #ai #ai_agents #anthropic #autonomou…
  3. Sep 23, 2026#cplusplus #360_camera #3d_gaussian_splatting #3d_reconstruction #3dgs #3dgs_acceleration…
  4. Sep 22, 2026#python #agents #api_keys #cli #credentials #developer_tools #dsh_plugin #mcp #proxy #pyth…
  5. Sep 22, 2026#go AX is a Kubernetes-like system for running many AI agent tasks safely and at scale. It…
  6. Sep 22, 2026#c_lang #syntax_highlighting Notepad3 is a free, small, and fast text editor for Windows w…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →