Repository navigation
Eight earlier messages in the prompt (integration 88 to 90 of 96), and train_base / shared-model groundwork - #18
Merged
Conversation
…whose answer spans several turns On LoCoMo sample 0 the top 3 of 8 messages held 25% of the multi-hop evidence turns, the top 8 of 30 hold 42% (bench/locomo_recall.py, build/msg_probe). New [retrieval] msg_pool and msg_k; facts keep pool and rag_k. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01NPVFJHeBeotAKkU7EPbTgn
…er recall 0.25 -> 0.33, 1.6x slower Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01NPVFJHeBeotAKkU7EPbTgn
… msg_k change Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01NPVFJHeBeotAKkU7EPbTgn
…ded model between chat and trainer [consolidate] train_base = f32 (default, unchanged) | model. With model the llama trainer runs on the GGUF as it is instead of a full-precision copy (108 GB for a 27B at 4 bits). LlamaLoadModel now shares one copy per file and device, so with train_base = model on the chat engine's device the trainer uses the engine's weights. [gpu] train defaults to [gpu] infer when unset. Not yet measured. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01NPVFJHeBeotAKkU7EPbTgn
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
List questions such as "What has Melanie painted?" have their answer spread over several turns. The prompt held the top 3 of 8 retrieved messages, so most items never reached the model. The full write-up is in
bench/README.md, in the section "More earlier messages for questions whose answer spans turns".Change
[retrieval] msg_pool(default 30) andmsg_k(default 8). They control how many message candidates the reranker scores, and how many earlier messages go into the prompt.poolandrag_k, unchanged.Measured
Evidence found, without the model. LoCoMo sample 0, share of LoCoMo's evidence turns that reach the prompt (
bench/locomo_recall.py, new probememagent/tests/msg_probe.lpr):LoCoMo with the model. 1.5B, all 152 questions (
locomo-small-s0-msgk.json):integration-small-msgk.json).Also merged here: the first single-GPU commit (cb767f6)
These were unmeasured when this PR was merged, and both are off by default.
[consolidate] train_base = f32 | model. Withmodel, the llama trainer runs on the GGUF as loaded instead of an f32 copy.LlamaLoadModelshares one loaded copy per file and device.[gpu] traindefaults to[gpu] inferwhen unset.The later commits never landed in this PR, because it was merged before they were pushed: the llama.cpp patch, the measurements, the end-to-end test and the docs. They go in a follow-up PR.
Test plan
makeandmake test-pascalpassbench/locomo_recall.pyon sample 0🤖 Generated with Claude Code
https://claude.ai/code/session_01NPVFJHeBeotAKkU7EPbTgn