Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -39,19 +39,15 @@ 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 |
-
|
| 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
|
|
@@ -325,6 +321,7 @@ Grounded in auditory neuroscience (Norman-Haignere 2025, Vollan 2025). Zero embe
|
|
| 325 |
label="",
|
| 326 |
height=480,
|
| 327 |
show_label=False,
|
|
|
|
| 328 |
)
|
| 329 |
|
| 330 |
retrieval_info = gr.Markdown("", elem_id="retrieval-info")
|
|
|
|
| 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
|
|
|
|
| 321 |
label="",
|
| 322 |
height=480,
|
| 323 |
show_label=False,
|
| 324 |
+
type="tuples",
|
| 325 |
)
|
| 326 |
|
| 327 |
retrieval_info = gr.Markdown("", elem_id="retrieval-info")
|