38 Commits

Author SHA1 Message Date
Varuna Jayasiri
a5d504c98d pip package readme 2024-06-09 19:55:06 +05:30
Varuna Jayasiri
cc36c7ff49 version 2024-06-09 13:50:34 +05:30
Lakshith Nishshanke
ecf4a54e57 Docs (#3)
* readme init

* fix preview

* add component descriptions

* Update README.md

* Create development.md

* move dev setup to a new file

* update gpt2 notebook

* update custom attention notebook

* update readme

* Update README.md

* remove unnecessary click handler check

* Update README.md

* change preview gif and mention how to select

---------

Co-authored-by: Varuna Jayasiri <vpjayasiri@gmail.com>
2024-06-09 11:18:21 +05:30
lakshith
64e71f4b15 filter tokens in the attention matrix
add shift click on all selected to deselect just that
2024-06-08 12:38:11 +05:30
lakshith
9164fda04c update width of dim heatmap components 2024-06-07 09:12:30 +05:30
lakshith
1b130b1dca break token heatmap into key and query heatmap components 2024-06-07 08:35:58 +05:30
lakshith
d775a058fb break token heatmap into key and query heatmap components 2024-06-07 08:34:00 +05:30
lakshith
67952adc90 style updates 2024-06-06 23:53:45 +05:30
lakshith
6217e15524 send calculated dimensions from backend 2024-06-06 09:15:11 +05:30
lakshith
c3531f42fb change individual chart colors 2024-06-04 01:34:21 +05:30
lakshith
f8b38384a7 Add color option 2024-06-04 00:34:09 +05:30
lakshith
a87d0a0636 fix array reshape 2024-06-02 13:19:39 +05:30
lakshith
40e6087b75 update static files 2024-06-02 05:04:56 +05:30
lakshith
c262ea1a59 merge main 2024-06-02 04:58:09 +05:30
lakshith
8f7059e9a9 use base64 encoding 2024-06-01 23:33:08 +05:30
lakshith
f1e2cf497b Merge remote-tracking branch 'origin/main' 2024-06-01 20:28:12 +05:30
lakshith
3060eca724 fix test asset requirement and update static files 2024-06-01 20:27:37 +05:30
Varuna Jayasiri
afc1be4b0e refractor api 2024-06-01 14:39:00 +01:00
lakshith
1171805404 set names for token heatmaps 2024-05-27 18:13:27 +05:30
lakshith
b8c55ecfe8 update attention docstring and fix typos 2024-05-27 17:15:46 +05:30
lakshith
ecdab9fa61 convert tokens to strings if not 2024-05-27 17:01:01 +05:30
lakshith
bd1c48dd51 set layer and header as 0 for empty
otherwise ui shows undefined
2024-05-27 16:55:39 +05:30
Varuna Jayasiri
7fcdff76f0 version 2024-05-25 17:10:06 +01:00
lakshith
c28620f19d bug fix: token heatmap src attention set 2024-05-24 18:30:18 +05:30
Varuna Jayasiri
b4205e7d89 default charts 2024-05-23 15:47:26 +01:00
lakshith
b0ecf5b929 update static js 2024-05-23 20:06:40 +05:30
lakshith
1608d7e16a use the string instead of enum in argument types 2024-05-23 20:06:28 +05:30
lakshith
5fafa931f1 typo fix 2024-05-23 19:52:40 +05:30
lakshith
5a2d59167f select what charts to render 2024-05-23 17:01:30 +05:30
lakshith
8a96ed1b39 fix exception handling for js and css file loading 2024-05-23 15:59:29 +05:30
Varuna Jayasiri
3d7100c82e work with hugging face 2024-05-22 21:05:11 +01:00
lakshith
a26451f385 try to load js and css from ui build 2024-05-22 21:26:55 +05:30
lakshith
089d6f0283 load js and css from project static files 2024-05-22 21:07:34 +05:30
lakshith
139b4b5c8a rename txt_attn to attn 2024-05-22 19:10:57 +05:30
lakshith
4c5d4bb7b1 render attention for given data 2024-05-22 13:08:50 +05:30
lakshith
6db290132c add typescript code from custom_charts repo 2024-05-22 12:28:26 +05:30
lakshith
992e65b9f1 render sample text attn 2024-05-21 21:10:18 +05:30
Varuna Jayasiri
1e41d9c4cb init 2024-05-20 15:44:52 +01:00