Show HN:用 TypeScript 从零构建大语言模型
Show HN: Building an LLM from Scratch in TypeScript

原始链接: 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 演示将贯穿嵌入。 下一页 概述

Hacker News 最新 | 往期 | 评论 | 提问 | 展示 | 招聘 | 提交 登录 Show HN:用 TypeScript 从零构建 LLM ( humanexperiences.io ) 8 分 作者 baraa_ 30 分钟前 | 隐藏 | 往期 | 收藏 | 讨论 我想理解
相关文章

原文
Skip to content
Building an LLM in NodeJS book cover

Building an LLM in NodeJS

The from-scratch guide to building large language models in NodeJS and TypeScript.

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

Soon

Live WebGPU demos from the @node-llm/playground package are embedded throughout.

联系我们 contact @ memedata.com