Spaces:
Running
Running
Delete readme.md
Browse files
readme.md
DELETED
|
@@ -1,44 +0,0 @@
|
|
| 1 |
-
---
|
| 2 |
-
title: ConjunctionReservoir Document Chat
|
| 3 |
-
emoji: 🧠
|
| 4 |
-
colorFrom: blue
|
| 5 |
-
colorTo: indigo
|
| 6 |
-
sdk: gradio
|
| 7 |
-
sdk_version: "4.44.0"
|
| 8 |
-
app_file: app.py
|
| 9 |
-
pinned: false
|
| 10 |
-
license: mit
|
| 11 |
-
short_description: Chat with docs via sentence-level retrieval
|
| 12 |
-
tags:
|
| 13 |
-
- rag
|
| 14 |
-
- retrieval
|
| 15 |
-
- nlp
|
| 16 |
-
- neuroscience
|
| 17 |
-
- document-qa
|
| 18 |
-
---
|
| 19 |
-
|
| 20 |
-
# ConjunctionReservoir Document Chat
|
| 21 |
-
|
| 22 |
-
Github is at: https://github.com/anttiluode/conjunctionreservoir
|
| 23 |
-
|
| 24 |
-
Upload any `.txt` or `.pdf` document and chat with it.
|
| 25 |
-
|
| 26 |
-
**What makes this different from standard RAG:**
|
| 27 |
-
|
| 28 |
-
Instead of asking *"do query terms appear somewhere in this chunk?"*, ConjunctionReservoir asks *"do query terms appear in the **same sentence**?"*
|
| 29 |
-
|
| 30 |
-
This is grounded in auditory neuroscience:
|
| 31 |
-
- **Norman-Haignere et al. (2025):** auditory cortex integration windows are time-yoked (~80ms fixed clocks)
|
| 32 |
-
- **NMDA receptor logic:** hard AND gate — both inputs must arrive simultaneously
|
| 33 |
-
- **Vollan et al. (2025):** coverage-maximizing theta sweep for exploration
|
| 34 |
-
|
| 35 |
-
**Benchmark:** 100% Rank-1 rate on conjunction queries vs 60% for BM25 and SweepBrain.
|
| 36 |
-
|
| 37 |
-
## Usage
|
| 38 |
-
|
| 39 |
-
1. Upload a `.txt` or `.pdf`, or paste text directly
|
| 40 |
-
2. Ask questions — works best for queries requiring two concepts together
|
| 41 |
-
3. Adjust the **conjunction threshold** slider to tune precision vs recall
|
| 42 |
-
4. Use `:coverage`, `:summary`, `:threshold N` commands in chat
|
| 43 |
-
|
| 44 |
-
## No dependencies beyond NumPy for retrieval. Generation via HuggingFace Inference API (free).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|