Better HN
topnewbestaskshowjobs
Log inSign up

ifz

65 karma · joined Nov 28, 2023 (3y ago) · 10 submissions

Submissions

1.

Implementing the Camera Mechanic from Viewfinder(ishamf.dev ↗)

1 points · by ifz · 2mo ago · discuss

2.

Show HN: Replay an AI Coding Session and Inspect Its Requests(ishamf.dev ↗)

1 points · by ifz · 2mo ago · discuss

comment 2mo ago · link · parent

Oh, I actually didn't know about Bertviz before. That looks interesting as well!

comment 2mo ago · link · parent

Thanks for trying it out! You can hover / click / tap on any word to focus it. I actually intended for this to be main way to use the visualization, I just added the auto-playback later on so it's more eye-catching on page load.

comment 2mo ago · link · parent

Hmm, I might try to add some controls to limit which layers get summed up. It might be able to reveal more patterns.

Right now only simple correlations are visible.

comment 2mo ago · link · parent

It's really simple, basically just the magnitude of the value vector, weighted by QK dot product, summed across all attention heads and layers.

When I started, I expected I'd have to experiment a lot to find something comprehensible. But this simple computation can already show some patterns.

comment 2mo ago · link · parent

I don't disagree with that. I did add an entire caveat paragraph there.

To me, it's more of a neat visualization, not something that can be used to interpret LLM behavior. Even with a lot of simplification, it can show some interesting patterns.

8.

Show HN: LLM Attention Visualization(ishamf.dev ↗)

177 points · by ifz · 2mo ago · 32 comments

9.

Show HN: Timezone Converter in Map Form(ishamf.dev ↗)

2 points · by ifz · 1y ago · discuss

comment 2y ago · link · parent

Nowadays, you can get a free VM from some providers (GCP) and there are lots of sites where you can deploy a static website for free (github pages). I'd argue deploying something for free is easier than ever.