Spaces:
Running on Zero
Running on Zero
Commit History
23 days ago
-
feat(search): relevance reranking with Laya, and restore files the last commit clobbered
Adds the reranker, and puts back what 4dba37a overwrote. 4dba37a was a mistake: it synced the whole of backend/space/ over the Space, and this repo's copy of that folder is a STALE FORK. It reverted app.py's _KEY_HEADERS alias (the x-respite-key / x-ael-key fix), its _is_protected fix, the raised request_timeout in searxng_settings.yml, and the explicit mojeek/marginalia/rightdao/mwmbl/presearch engine list. Restored here from 17b0658; this commit touches only the three files it meant to. The reranker itself: - rerank.py scores each (query, passage) pair with convaiinnovations/laya, a non-autoregressive System 1 decision model (421M English / 322M multilingual, Apache-2.0), using a `noul` question for the calibrated P(yes) that the passage contains what the query needs. - The race only ever asked "is this set big enough", so the winner was whoever answered first and a small index won on speed alone. "what is the capital of Peru" came back as NPR transcripts about mummy lice…184d40c
-
Add Node runtime capability probe (userspace, no root)
Buffy- node_runtime.py: downloads official Node tarball to local cache, starts the Next.js standalone backend on 127.0.0.1:3210 as a child process - node_probe.py: /respite/v2/node/{status,version,server,proxy} routes to prove bootstrap, child exec, localhost HTTP, and reverse-proxying - app.py: wire probe routes into the monkey-patched create_app - drop committed __pycache__ noiseba9ed6e
-
Add torchvision for Qwen processor
Verified signature5be5b50 -
Add Transformers runtime for TinyLlama
Verified signaturefeb9a9b
-
Remove llama-cpp-python from requirements (installed at runtime)
Verified signature6e19d95 -
Add llama-cpp-python for CPU inference
Verified signaturee135e67
-
Switch to ddgs
Verified signature10821eb -
Add duckduckgo_search dep
Verified signaturede4169f -
Remove searxng deps
Verified signature3c1c18c -
Add SearXNG deps
Verified signature93b0b82
-
Fix ZeroGPU compatibility and auth
Verified signature242c5fa
-
Update requirements.txt
Verified signature7402b0c -
Upload 3 files
Verified signature9dccb71