Provide a visualization for the norms of different parts of a transformer model
未关闭
@AAlberich8 已经在做这个了。
开始于 2024年8月29日。
评估
这个 Issue 还没有评估数据。
描述
enhancement
project:TTP
A common debugging method is to monitor the norm of some part of a ML model's weight and activation space.
Goal:
- Create a visualization component for norms of a set of vectors and/or weights. Allow the norms to be tracked over time, like we do with loss/accuracy.
- The code and implementation should be reusable and clean.
Code pointers:
- NPM project for animated transformers: https://github.com/PAIR-code/tiny-transformers/tree/main/animated-transformer
- the current line-chart component (in case we can make this nicer, e.g. allow clicking on points to see exact values, user-changable colors, etc). https://github.com/PAIR-code/tiny-transformers/tree/main/animated-transformer/src/app/d3-line-chart
- The Angular subdirectory of that for the animated transformer tool vis: https://github.com/PAIR-code/tiny-transformers/tree/main/animated-transformer/src/app/animated-transformer
- HTML file for current plots during training: https://github.com/PAIR-code/tiny-transformers/blob/main/animated-transformer/src/app/animated-transformer/model-task-trainer/model-task-trainer.component.html#L57
- 主要语言
- Jupyter Notebook
- 星标
- 24
- 派生
- 6
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
PAIR-code/tiny-transformers 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 45/100
-
难度 5/5 一周以上 新手友好度 25/100
-
Add support for cross-entropy loss with integer labels可能重新可做 @aliciafmachado 于 603 天前认领,目前没有进行中的 PR。 未关闭enhancement
PAIR-code/tiny-transformers#60 · 已指派 1 人 ·
-
Refactor transformer_gtensor.ts and gpt2.ts to share functions in a common file可能重新可做 @aliciafmachado 于 636 天前认领,目前没有进行中的 PR。 未关闭enhancement
PAIR-code/tiny-transformers#54 · 已指派 1 人 ·
-
Add GPT2 tokenizer可能重新可做 @aliciafmachado 于 636 天前认领,目前没有进行中的 PR。 未关闭
PAIR-code/tiny-transformers#52 · 已指派 1 人 ·