SuperAPIAI Directory

LLMs-from-scratch vs How AI chatbots like ChatGPT or Bard work

Metrics & specs comparison

LLMs-from-scratch

LLMs-from-scratch is the official code repository for the book "Build a Large Language Model (From Scratch)," maintained by Sebastian Raschka and hosted on GitHub. The repository provides complete code for developing, pretraining, and fine-tuning a GPT-like large language model from scratch using PyTorch, implementing a ChatGPT-like LLM step by step. It requires no external LLM libraries and is suitable for developers with a Python foundation who want to deeply understand the inner workings of LLMs. The code is designed to run on an ordinary laptop and automatically utilizes an available GPU.

How AI chatbots like ChatGPT or Bard work

This is a visual explainer article from The Guardian that explains how the large language models (LLMs) behind AI chatbots such as ChatGPT and Bard work. Through visualizations, the article explains core concepts such as the basic architecture of LLMs, nodes and connections, token and vector representations, Transformers, and attention mechanisms, and explains how the model predicts the next most likely word based on context. The content is aimed at general readers and does not involve product features or usage steps.

DimensionLLMs-from-scratchHow AI chatbots like ChatGPT or Bard work
CategoryAI developer platformsAI developer platforms
Monthly visits—
278.2M
MoM—+2.1%
Global rank—#168
Avg. visit—3m 05s
AI referrals—0.3%
PricingGitHub 开源项目 · 109,481 Stars—
Platforms—Web
GitHub stars 109,481—
Commonly praised—[知乎] 除了ChatGPT,还有哪些好用的AI工具?
Up/Down to navigate · Enter to open · ESC to closeBrowse all tools