srhm-ca/docplot

Semantic search in your browser, privately

0

stars

10

commits

Svelte

primary language

Oct 17, 2023

updated

srhm-ca.github.io/docplot/
language-model
svelte
sveltekit
transformers

README

DocPlot

DocPlot lets you rank documents by how closely they match arbitrary search queries. You can drag and drop in text files or PDFs from your computer and the web app will encode them with a small language model running on your device. Note: works best with English documents.

DocPlot is written in Svelte and transformers.js.

To Do

  • run tokenizer/model in service worker to prevent UI blocking
  • support PDF, .docx, etc.
  • per-chunk distance vs. averaged CLS distance
  • model selector

Example

Screenshot 2023-10-17 at 15 04 11

Contributors

srhm-ca

10 commits

srhm-ca/docplot

Semantic search in your browser, privately

0

stars

10

commits

Svelte

primary language

Oct 17, 2023

updated

srhm-ca.github.io/docplot/
language-model
svelte
sveltekit
transformers

README

DocPlot

DocPlot lets you rank documents by how closely they match arbitrary search queries. You can drag and drop in text files or PDFs from your computer and the web app will encode them with a small language model running on your device. Note: works best with English documents.

DocPlot is written in Svelte and transformers.js.

To Do

  • run tokenizer/model in service worker to prevent UI blocking
  • support PDF, .docx, etc.
  • per-chunk distance vs. averaged CLS distance
  • model selector

Example

Screenshot 2023-10-17 at 15 04 11

Contributors

srhm-ca

10 commits

Languages

Svelte

80.5%

JavaScript

16.6%

HTML

3.0%