--- license: mit tags: - transformers.js - transformers - semanticsearch - SemanticFinder ---

SemanticFinder

Frontend-only live semantic search with transformers.js

- **App: [SemanticFinder](https://do-me.github.io/SemanticFinder/)** - **GitHub: [do-me/SemanticFinder](https://github.com/do-me/SemanticFinder)** This is the HF data repo for indexed texts, ready-to-import in SemanticFinder. The files contain the original text, text chunks and their embeddings. ### Catalogue | Title | Source | Model | Quantized | Characters | Lines | Split Type | Split Num | Chunks | Decimals | Filesize [Mb] | URL | |-------------------|--------|----------|-----------|------------|-------|------------|-----------|--------|----------|---------------|-----| | King James Bible | [holybooks.com](https://www.holybooks.com/wp-content/uploads/2010/05/The-Holy-Bible-King-James-Version.pdf) | gte-tiny | true | 4,640,737 | 80,496 | chars | 200 | 23,055 | 2 | 11.7 | https://huggingface.co/datasets/do-me/SemanticFinder/resolve/main/king-james-bible_gte-tiny_q_200-chars_2-dec.json.gz | | King James Bible | [holybooks.com](https://www.holybooks.com/wp-content/uploads/2010/05/The-Holy-Bible-King-James-Version.pdf) | gte-tiny | true | 4,640,737 | 80,496 | chars | 200 | 23,055 | 4 | 26.17 | https://huggingface.co/datasets/do-me/SemanticFinder/resolve/main/king-james-bible_gte-tiny_q_200-chars_4-dec.json.gz | | IPCC Report 2022 | [ipcc.ch](https://report.ipcc.ch/ar6syr/pdf/IPCC_AR6_SYR_LongerReport.pdf) | bge-small-en | true | 311,979 | 3230 | chars | 200 | 23,055 | 5 | 1.8 | https://huggingface.co/datasets/do-me/SemanticFinder/resolve/main/ipcc-2023_bge-small-en_q_200-chars_5-dec.json.gz | ### Example Once loaded in SemanticFinder it takes less than 3 seconds to search through the whole bible! Try it out. 1. Copy the URL, e.g. `https://huggingface.co/datasets/do-me/SemanticFinder/resolve/main/king-james-bible_gte-tiny_q_200-chars_2-dec.json.gz` to the "Import URL" field and load it. Depending on your connection this might be instant or take a couple of seconds. 2. Once loaded, simply enter something you want to search for and hit "Find". The result appear instantly. ### Create SemanticFinder files 1. Just use SemanticFinder as usual and run at least one search so that the index is created. This might take a while if your input is large. E.g. indexing the bible with 200 chars results in ~23k embeddings and takes 15-30 mins with a quantized gte-tiny model. 2. Export the index file. Note that you have the freedom to reduce decimals to reduce file size; usually 5 is more than enough. 3. Create a PR here if you want to see it added in the official collection!