{"id":13467848,"url":"https://github.com/bbycroft/llm-viz","last_synced_at":"2025-03-26T03:31:12.495Z","repository":{"id":170899073,"uuid":"608057177","full_name":"bbycroft/llm-viz","owner":"bbycroft","description":"3D Visualization of an GPT-style LLM","archived":false,"fork":false,"pushed_at":"2024-08-24T23:41:32.000Z","size":6028,"stargazers_count":3958,"open_issues_count":11,"forks_count":431,"subscribers_count":32,"default_branch":"main","last_synced_at":"2024-10-29T21:59:06.123Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://bbycroft.net","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bbycroft.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-03-01T08:24:43.000Z","updated_at":"2024-10-29T21:41:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"d09633a2-89d0-45db-8cc1-fc4dcc5d9c77","html_url":"https://github.com/bbycroft/llm-viz","commit_stats":null,"previous_names":["bbycroft/llm-viz"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbycroft%2Fllm-viz","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbycroft%2Fllm-viz/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbycroft%2Fllm-viz/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbycroft%2Fllm-viz/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bbycroft","download_url":"https://codeload.github.com/bbycroft/llm-viz/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245584709,"owners_count":20639611,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-31T15:01:01.381Z","updated_at":"2025-03-26T03:31:10.912Z","avatar_url":"https://github.com/bbycroft.png","language":"TypeScript","funding_links":[],"categories":["TypeScript","NLP","A01_文本生成_文本对话","Projects","LLM Visualization","Computer Science"],"sub_categories":["大语言对话模型及数据"],"readme":"\n# Brendan Bycroft's Home Page \u0026 Projects\n\nThis repository contains my (Brendan's) homepage, as well as a number of non-trivial projects.\n\nThey are kept in a single repository for ease of deployment, as well as sharing a bunch of js utils\nwhich are otherwise a pain to share around.\n\n## Projects\n\nThe main projects are:\n* LLM Visualization: 3D interactive model of a GPT-style LLM network running inference.\n* [WIP] CPU Simulation: A 2D digital schematic editor with full a execution model, showcasing a simple\n  RISC-V based CPU\n\n### LLM Visualization\n\nThis project displays a 3D model of a working implementation of a GPT-style network. That\nis, the network topology that's used in OpenAI's GPT-2, GPT-3, (and maybe GPT-4).\n\nThe first network displayed with working weights is a tiny such network, which sorts a small list\nof the letters A, B, and C. This is the demo example model from Andrej Karpathy's\n[minGPT](https://github.com/karpathy/minGPT) implementation.\n\nThe renderer also supports visualizing arbitrary sized networks, and works with the smaller gpt2\nsize, although the weights aren't downloaded (it's 100's of MBs).\n\n### CPU Simulation (WIP; not exposed yet!)\n\nThis project runs 2D schematic digital circuits, with a fully fledged editor. The intent is to\nadd a number of walkthroughs, showing things such as:\n  * how a simple RISC-V CPU is constructed\n  * the constituent parts down to gate level: instruction decode, ALU, add, etc\n  * higher level CPU ideas, like various levels of pipelining, caching, etc\n\n## Running Locally\n\n1. Install dependencies: `yarn`\n1. Start the dev server: `yarn dev`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbbycroft%2Fllm-viz","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbbycroft%2Fllm-viz","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbbycroft%2Fllm-viz/lists"}