SuperAPIAI Directory

LLMs-from-scratch vs Actor Framework

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.

Actor Framework

Actor Framework (the Actor model) is a mathematical model of concurrent computation in computer science that treats "actors" as the fundamental unit of concurrent computation. Upon receiving a message, each actor can make local decisions, create more actors, send more messages, and determine how to handle the next message. An actor can modify its own private state but can only influence other actors indirectly through message passing, thereby eliminating the need for lock-based synchronization. The model originated in 1973 and is used both for the theoretical understanding of computation and as the theoretical foundation for implementations of various concurrent systems.

DimensionLLMs-from-scratchActor Framework
CategoryAI developer platformsAI developer platforms
Monthly visits—
3.37B
MoM—-0.1%
Global rank—#13
Avg. visit—3m 07s
AI referrals—0.1%
PricingGitHub 开源项目 · 109,481 Stars—
Platforms—Web
GitHub stars 109,481—
Up/Down to navigate · Enter to open · ESC to closeBrowse all tools