Text / WORKFLOW

Build private search with Qwen3 Embedding

Build a local browser search tool for your text and Markdown documents. Get ranked source passages, keep a reusable index, and export results for the reranking workflow.

EstimatedSource checked 9/29/2026
LOCAL
Freshness 15 out of 100. Repository age: 499 days old, Jun 3, 2025. Measures age, not quality.
Popularity 92 out of 100. 8,605,583 downloads in 30 days; 1,291 lifetime likes. Checked Oct 15, 2026. Measures adoption, not quality.
What do these scores mean?

Two ways to compare models. Neither score measures answer quality, benchmark performance, or whether a model fits your machine.

Freshness · release age

A new release starts at 100. The score halves every 180 days: 100 × 2^(−age in days / 180). When the release date is unavailable, a repository date is a fallback—not proof of when the model was released. Missing dates stay unscored.

Check the date source
Popularity · adoption

Downloads over the past 30 days carry 80% of the score; lifetime likes carry 20%. Both use a logarithmic scale, capped at 10 million downloads and 100,000 likes. If likes are unavailable, downloads carry all the weight. Missing download statistics stay unscored.

round(80 × min(1, log10(1 + downloads) / 7) + 20 × min(1, log10(1 + likes) / 5))

Check the statistics source
Scores as of Oct 15, 2026. Statistics checked Oct 15, 2026. Statistics are marked for refresh after 72 hours.Full scoring method

Before you begin

Hardware

Conservative starting points for this small CPU-first app. GPU memory is not required; the listed memory is system/unified RAM.

MachineQwen3 Embedding 0.6B
NVIDIA PC · 8 GB RAMRuns on CPU; 16 GB RAM gives more room for other apps
AMD PC · 8 GB RAMRuns on CPU; no ROCm or Vulkan dependency
Intel PC · 8 GB RAMRuns on CPU; an Arc GPU is not required
Apple Silicon · 8 GB unified memoryRuns on CPU; 16 GB unified memory gives more headroom
CPU only · 8 GB RAMSuitable for the supplied small collection; larger batches use more memory

These are memory estimates for short passages and one local user, not speed measurements. The guide uses CPU on every OS for a consistent first run.

Context window

MachineQwen3 Embedding 0.6B
CPU / Apple Silicon · 8–16 GB RAMStart at 1,024 tokens per passage; 200-word chunks, batch 4

The published model supports longer inputs. This starter chooses short passages for useful search and modest memory use; increasing the limit raises RAM use.

LOCAL PRIVATE SEARCHSOURCE-LINKED SETUP

Build private search with Qwen3 Embedding

Build a local browser search tool for your text and Markdown documents. Get ranked source passages, keep a reusable index, and export results for the reranking workflow.

Choose a package Run its commands Check the result
01
BEFORE YOU BEGIN

The documented package

This setup uses the package documented for this task. Review its source and supported platforms before starting.

Save your machine in My Hardware to get an automatic starting choice. You can always choose any package yourself.

CURRENT SETUP

Qwen3 Embedding 0.6B · official

Start at 1,024 tokens per passage. Batch size 4 keeps memory modest; larger batches and longer passages consume more RAM.

Freshness 15 out of 100. Repository age: 499 days old, Jun 3, 2025. Measures age, not quality.
Popularity 92 out of 100. 8,605,583 downloads in 30 days; 1,291 lifetime likes. Checked Oct 15, 2026. Measures adoption, not quality.
What do these scores mean?

Two ways to compare models. Neither score measures answer quality, benchmark performance, or whether a model fits your machine.

Freshness · release age

A new release starts at 100. The score halves every 180 days: 100 × 2^(−age in days / 180). When the release date is unavailable, a repository date is a fallback—not proof of when the model was released. Missing dates stay unscored.

Check the date source
Popularity · adoption

Downloads over the past 30 days carry 80% of the score; lifetime likes carry 20%. Both use a logarithmic scale, capped at 10 million downloads and 100,000 likes. If likes are unavailable, downloads carry all the weight. Missing download statistics stay unscored.

round(80 × min(1, log10(1 + downloads) / 7) + 20 × min(1, log10(1 + likes) / 5))

Check the statistics source
Scores as of Oct 15, 2026. Statistics checked Oct 15, 2026. Statistics are marked for refresh after 72 hours.Full scoring method
View weight source
02
THE WORKFLOW

Set up Qwen3 Embedding 0.6B on your machine

Choose where you want to run it. The instructions below update to match your selection.

CHOOSE YOUR SETUPWindows

CPU inference on this route. Short local documents and one user; no GPU-specific driver setup.

01

Install uv · PowerShell

Install uv from its official instructions, then open a new PowerShell window. The commands below create an isolated Python 3.11 environment; there is no need to change your system Python.

uv installation
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
02

Create the project and install its dependencies

Use a new folder named yourunai-search in your home directory. These commands run in PowerShell. This starter deliberately uses CPU inference: its small model works with NVIDIA, AMD, Intel, Apple or no GPU. No CUDA installation is needed. Leave this window in the project folder for the remaining commands.

uv virtual environments PyTorch installation choices
New-Item -ItemType Directory -Force -Path "$env:USERPROFILE\yourunai-search" | Out-Null Set-Location "$env:USERPROFILE\yourunai-search" uv venv --python 3.11 uv pip install --python .\.venv\Scripts\python.exe torch --index-url https://download.pytorch.org/whl/cpu uv pip install --python .\.venv\Scripts\python.exe sentence-transformers==6.1.0 gradio==6.28.0
03

Download the complete starter app

Right-click the download link below and choose Save Link As. Save the .py file directly in the project folder created above; keep its .py extension, not .txt. This complete YouRunAI starter creates the browser interface and output folders. You can inspect it in a text editor. Model weights download separately when the runtime needs them.

Download private-search.py
04

Start the local search app

In PowerShell, run the app and leave it open. It downloads Qwen/Qwen3-Embedding-0.6B, creates three sample documents, and builds a persistent index. Open http://127.0.0.1:7860 after the local URL appears.

.\.venv\Scripts\python.exe private-search.py
05

Search the supplied collection

Click Search with “How do I return an item?” in the question box. Confirm returns.md is the most relevant passage and that it includes the 30-day return rule. Similarity scores compare results within this query; they are not confidence percentages.

06

Add your own documents and rebuild

Open the documents folder inside yourunai-search. Add UTF-8 .txt or .md files, then click Rebuild index. Search again with a question answered by one of your files. This app splits files into 200-word passages with overlap and bounds them to 1,024 tokens. PDFs, scans and Word files must first be converted to text; the app does not silently skip their extraction.

07

Inspect and export the sources

Read the returned filename and source passage against your original document. Click Download candidates for reranking to save candidates.json. The persistent files are search-index/passages.json and search-index/vectors.npy; the last query is search-index/candidates.json. Results are retrieved text, not a generated answer.

08

Stop and return to the same project later

Press Ctrl+C in the running PowerShell window to stop the app. Your files stay in yourunai-search. Next time run the commands below, then reopen http://127.0.0.1:7860. Dependencies and downloaded weights are reused. Keep this address local; there is no public sharing link.

Set-Location "$env:USERPROFILE\yourunai-search" .\.venv\Scripts\python.exe private-search.py
03
SUCCESS CHECK · Qwen3 Embedding 0.6B

You can find and reopen the source

A query returns a relevant filename and exact passage from your collection. New files appear after rebuilding, and restarting reuses the saved index. You can hand candidates.json to the reranker.

Back to setup steps

When it doesn’t go to plan

The browser cannot connect

Keep the Python process open and wait until it prints the local URL. If another app uses that port, stop that app or run these examples one at a time.

The first launch appears slow

The first run downloads the publisher model to the Hugging Face cache. Watch the Terminal/PowerShell progress and allow the download to finish; later starts reuse it.

A dependency is missing

Run the installation command from this guide again in the project folder. Launch with the .venv Python path shown here so you use the same environment.

The model runs out of memory

Close memory-heavy apps and other models. Keep the supplied short input limits and batch size. The small-model CPU route needs system RAM, not GPU VRAM.

Search says the documents changed

Click Rebuild index after adding, editing or deleting a document. The app prevents stale results from being presented as current.

A PDF or Word file is missing

Export it to UTF-8 text or Markdown first. Scanned documents need OCR/vision extraction; this example indexes text files only.

REFERENCE LIBRARY

Sources and files

Original instructions, model files, and compatibility notes behind this setup.

5 SOURCES

The model behind this workflow

Qwen3 Embedding · 0.6B

Keep exploring

Text
SETUP GUIDE

Qwen3.5 · 9B private chat setup

Source-backed package and platform-route plan for private local chat with Qwen3.5 · 9B. Preserves the official Ollama 9B package, a smaller 4B family fallback, and a clearly labeled community uncensored GGUF option.

Freshness 41 out of 100. Release age: 230 days old, Feb 27, 2026. Measures age, not quality.
Popularity 93 out of 100. 8,591,266 downloads in 30 days; 2,171 lifetime likes. Checked Oct 15, 2026. Measures adoption, not quality.
SOFTWAREOllama
Coding
SETUP GUIDE

Build a private coding assistant with Qwen3.8 27B

Run Qwen3.8 27B with Ollama, connect it to Cline in VS Code, and make one reviewable code change in a tiny local project.

Freshness 76 out of 100. Repository age: 71 days old, Aug 5, 2026. Measures age, not quality.
Popularity 95 out of 100. 7,363,968 downloads in 30 days; 17,749 lifetime likes. Checked Oct 15, 2026. Measures adoption, not quality.
Arena Open Source Web coding: rank 10 of 55. Ranked model: qwen3.8-27b. Original model ranking, not a benchmark of this package. Export dated Oct 13, 2026. Source checked Oct 15, 2026. Human preference ranking, not hardware suitability.+3
SOFTWAREOllama + Visual Studio Code + Cline + Python
Images
SETUP GUIDE

Create images locally with FLUX.2 Klein

Generate images from text prompts in ComfyUI with the fast distilled or more adjustable base 4B model. Save your results and reuse the visual workflow.

Freshness 35 out of 100. Release age: 273 days old, Jan 15, 2026. Measures age, not quality.
Popularity 76 out of 100. 423,736 downloads in 30 days; 1,043 lifetime likes. Checked Oct 15, 2026. Measures adoption, not quality.
SOFTWAREComfyUI