You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 7f1bc29
Browse filesBrowse the repository at this point in the historyBrowse files
Expose the pinned LongMemEval reader's existing `--gen_length` as `gen_length` (Reader output tokens) for Original/model setups. Omit the flag by default, preserve the upstream pin, pass explicit values unchanged, and record the choice in score details. This is a supported upstream option, not a patch or a replacement reader.
Copy file name to clipboardExpand all lines: app/nullius/catalogue/benchmarks/longmemeval/benchmark.json
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,9 @@
17
17
"upstream_limitations": [
18
18
"Scores compare with the paper only with its reader, GPT-4o or GPT-4o-mini, and its judge, GPT-4o.",
19
19
"A reader you choose must take about 126,200 tokens. The history is not cut to fit, so a longer recall fails at the model.",
20
-
"An empty reply from the reader fails the question.",
20
+
"Original memory defaults to 800 reader output tokens. Larger limits reduce history space and differ from the paper.",
21
+
"Empty answers fail, including when reasoning consumes the reader's output budget.",
22
+
"Choose a judge that can return yes/no text within 10 output tokens.",
21
23
"Three combinations fail as published: merge expansion with a full-history retriever, user-only with flat-bm25-turn, and separate notes with chain-of-note reading and nl history.",
22
24
"The judge, a model, rejects about one right answer in twenty, and passes an empty answer now and then.",
{"entry": "src/generation/run_generation.py", "setting": "--gen_length", "values": "an integer", "default": "None (500, or 800 with --cot)", "nullius": "fixed:None - run_generation.sh never passes it, so the answer length follows the reading method"},
37
+
{"entry": "src/generation/run_generation.py", "setting": "--gen_length", "values": "an integer", "default": "None (800: --cot is a nonempty string, including false)", "nullius": "option:gen_length"},
38
38
{"entry": "src/generation/run_generation.py", "setting": "model2maxlength, max_retrieval_length", "values": "128000 for the GPT readers; the window less the answer length less 1000", "default": "", "nullius": "fixed:as published - the history is cut to 126,200 tokens (con) by o200k_base, the start kept"},
| Version | Setups as published, whose model | Options |
36
36
|---|---|---|
37
-
|`longmemeval`| Original · Original memory · Like the paper or Any of your choice |`expansion_join`, `history_format`, `merge_key_expansion`, `question_type`, `reading`, `retriever`, `separate_notes`, `session_expansion`, `topk`, `turn_expansion`, `useronly`|
37
+
|`longmemeval`| Original · Original memory · Like the paper or Any of your choice |`expansion_join`, `gen_length`, `history_format`, `merge_key_expansion`, `question_type`, `reading`, `retriever`, `separate_notes`, `session_expansion`, `topk`, `turn_expansion`, `useronly`|
38
38
39
39
## Options
40
40
41
41
| Option | Values, default in bold | What it sets | Setups |
42
42
|---|---|---|---|
43
43
|`expansion_join`|**`separate`**, `split-separate`, `merge`, `split-merge`, `replace`, `split-replace`| How cached expansions join retrieval keys when expansion is enabled: separate keys, merged text or replacement text. Split modes separate sentences or phrases first. |`original`, `model`|
44
+
|`gen_length`| e.g. `4096`, default `upstream`| Reader output limit; larger values leave less room for history. |`original`, `model`|
44
45
|`history_format`|**`json`**, `nl`| Whether conversation history is shown to the model as JSON or as lines of text labelled by speaker. |`original`, `model`|
45
46
|`merge_key_expansion`|**`none`**, `merge`, `replace`| Whether retrieved conversations are shown in full, replaced by their user text, or combined with that text. |`original`, `model`|
46
47
|`question_type`|**`all`**, `knowledge-update`, `temporal-reasoning`, `multi-session`, `single-session-user`, `single-session-assistant`, `single-session-preference`| Which memory ability the run measures: every question, or only the questions of one type. |`original`, `model`, `yours`|
- Scores compare with the paper only with its reader, GPT-4o or GPT-4o-mini, and its judge, GPT-4o.
80
81
- A reader you choose must take about 126,200 tokens. The history is not cut to fit, so a longer recall fails at the model.
81
-
- An empty reply from the reader fails the question.
82
+
- Original memory defaults to 800 reader output tokens. Larger limits reduce history space and differ from the paper.
83
+
- Empty answers fail, including when reasoning consumes the reader's output budget.
84
+
- Choose a judge that can return yes/no text within 10 output tokens.
82
85
- Three combinations fail as published: merge expansion with a full-history retriever, user-only with flat-bm25-turn, and separate notes with chain-of-note reading and nl history.
83
86
- The judge, a model, rejects about one right answer in twenty, and passes an empty answer now and then.
0 commit comments