No black boxes
We’ll build every layer, from attention mechanisms to the training loop.
原始链接: https://book.humanexperiences.io/
跳到内容 在 NodeJS 中构建 LLM 搜索 Ctrl K 取消 GitHub 选择主题 深色 浅色 自动 在 NodeJS 中构建 LLM 从零开始在 NodeJS 和 TypeScript 中构建大语言模型的指南。 从第 2 章开始 通过在 Node.js 和 TypeScript 中从零构建一个大语言模型,了解大语言模型实际如何工作。 没有黑箱 我们将构建每一层,从注意力机制到训练循环。 从零开始 数据集、数据加载器、注意力、Transformer 块、GPT 和训练循环,逐章构建。 可运行 每一章在 @node-llm/chapters 包中都有一个可运行的入口,全部在 GitHub 上。 交互式 即将推出 来自 @node-llm/playground 包的实时 WebGPU 演示将贯穿嵌入。 下一页 概述

Learn how large language models actually work by building one from scratch in Node.js and TypeScript.
No black boxes
We’ll build every layer, from attention mechanisms to the training loop.
From scratch
Dataset, dataloader, attention, transformer block, GPT, and the training loop built up chapter by chapter.
Runnable
Every chapter has a runnable entry point in the @node-llm/chapters package, all on
GitHub.
Interactive
Live WebGPU demos from the @node-llm/playground package are embedded throughout.