代码拉取完成,页面将自动刷新
A React app that hosts TDB as well as pages with information about individual model components (MLP neurons, attention heads and autoencoder latents for both).
First, install the app:
npm install
Then run the frontend:
npm start
http://localhost:1234
.http://localhost:1234/gpt2-small/tdb_alpha
.http://localhost:1234/gpt2-small_ae-resid-delta-mlp-v4_ae-resid-delta-attn-v4/tdb_alpha
(where ae-resid-delta-mlp-v4
and ae-resid-delta-attn-v4
must match the autoencoder names that are used in the activation server).To check whether the code is correctly formatted:
npm run check-code-format
To format the code:
npm run format-code
If you decide to run your activation server on a different host or port than the default, you can
point neuron viewer at it by setting the NEURON_VIEWER_ACTIVATION_SERVER_URL
environment variable:
NEURON_VIEWER_ACTIVATION_SERVER_URL=https://some.url:port npm start
Be sure to run the following to validate any changes you make:
npm run check-type-warnings && npm run check-code-format && npm run build
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。