rlucas7 / code-searcher

1 stars 0 forks source link

[FEATURE] implement a visualization for query SERPs #2

Closed rlucas7 closed 2 days ago

rlucas7 commented 2 days ago

A human might wonder why the given input query returns the particular results.

The ordering of the returned SERPs is explained by the distance field in the rendered page.

The particulars of a search query can be investigated by looking at attention details.

This feature is implemented when a view is enabled for a human to look at

(query, SERP) and grok the tokens which the model attends.