Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -39,15 +39,19 @@ MAX_HISTORY = 6 # turns to keep in context
|
|
| 39 |
DEMO_TEXT = """The ConjunctionReservoir is a document retrieval system that asks not
|
| 40 |
"do these query terms appear somewhere in this chunk?" but rather
|
| 41 |
"do these query terms appear in the SAME SENTENCE?"
|
|
|
|
| 42 |
This is grounded in auditory neuroscience. Norman-Haignere et al. (2025)
|
| 43 |
showed that auditory cortex integration windows are time-yoked at approximately
|
| 44 |
80ms — they are fixed clocks, not expanding to cover arbitrary structure.
|
| 45 |
The sentence is the text analog of this fixed window.
|
|
|
|
| 46 |
NMDA receptors implement coincidence detection by requiring simultaneous
|
| 47 |
presynaptic glutamate release and postsynaptic depolarization to open.
|
| 48 |
This is a hard AND gate, not a weighted average.
|
|
|
|
| 49 |
The conjunction_threshold parameter mirrors this: below the threshold,
|
| 50 |
a sentence contributes zero score to the chunk — it is absent, not degraded.
|
|
|
|
| 51 |
Benchmark results show ConjunctionReservoir achieves 100% Rank-1 Rate on
|
| 52 |
conjunction-specific queries, compared to 60% for both BM25 and SweepBrain.
|
| 53 |
It intentionally trades broad-query recall for precision on specific
|
|
|
|
| 39 |
DEMO_TEXT = """The ConjunctionReservoir is a document retrieval system that asks not
|
| 40 |
"do these query terms appear somewhere in this chunk?" but rather
|
| 41 |
"do these query terms appear in the SAME SENTENCE?"
|
| 42 |
+
|
| 43 |
This is grounded in auditory neuroscience. Norman-Haignere et al. (2025)
|
| 44 |
showed that auditory cortex integration windows are time-yoked at approximately
|
| 45 |
80ms — they are fixed clocks, not expanding to cover arbitrary structure.
|
| 46 |
The sentence is the text analog of this fixed window.
|
| 47 |
+
|
| 48 |
NMDA receptors implement coincidence detection by requiring simultaneous
|
| 49 |
presynaptic glutamate release and postsynaptic depolarization to open.
|
| 50 |
This is a hard AND gate, not a weighted average.
|
| 51 |
+
|
| 52 |
The conjunction_threshold parameter mirrors this: below the threshold,
|
| 53 |
a sentence contributes zero score to the chunk — it is absent, not degraded.
|
| 54 |
+
|
| 55 |
Benchmark results show ConjunctionReservoir achieves 100% Rank-1 Rate on
|
| 56 |
conjunction-specific queries, compared to 60% for both BM25 and SweepBrain.
|
| 57 |
It intentionally trades broad-query recall for precision on specific
|