Repository navigation
Spike S2: go with conditions — local 4B notes drafted during recording - #21
Merged
Merged
Conversation
Screened six local models (Qwen3-4B, Qwen3.5-4B, SmolLM3-3B, Phi-4-mini, Ministral-3-3B, Gemma-4-E4B; Q4_0, CPU, 4 threads) on the synthetic care and legal transcripts with three strategies, judged blind (36 packets, 4 judges). Timed the two finalists on AMI 15/45/60/90 and both synthetic transcripts, and measured peak memory with macOS footprint. - Sectioned notes drafted during recording meet the bar: 14 s to 2.7 min after stop for 60-90 min recordings. Single pass or map-reduce at stop take 7-47 min. - The reduce step loses about half the facts; the note is the section facts grouped by template heading for now. - Peak memory 4.4-4.7 GB at 8k context; with live ASR about 6 GB, so the PRD's "never resident together" changes. - Finalists: Qwen3-4B-Instruct-2507 and Qwen3.5-4B (Apache-2.0); S3/S4 choose. Harness: transcript lookup accepts note ids; memory.py measures footprint. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… measured - memory.py exits when footprint fails or gives no reading, instead of recording 0 GB, which would pass the memory budget. Reproduced with a failing footprint stub first; a real reading still records (4.41 GB). - The write-up marks "no rise in omissions from 15 to 60 min" as not measured: weak support only checks sentences the model wrote, and facts were judged only at 46 and 61 min. Measuring it is now condition 6. From the Codex review of PR #21. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
billlyzhaoyh
added a commit
that referenced
this pull request
Nov 13, 2026
… measured - memory.py exits when footprint fails or gives no reading, instead of recording 0 GB, which would pass the memory budget. Reproduced with a failing footprint stub first; a real reading still records (4.41 GB). - The write-up marks "no rise in omissions from 15 to 60 min" as not measured: weak support only checks sentences the model wrote, and facts were judged only at 46 and 61 min. Measuring it is now condition 6. From the Codex review of PR #21. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The quality scores rest on the Claude judges alone; S3's blind human review is the first human check of note quality. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
billlyzhaoyh
force-pushed
the
spike/s2-finish
branch
from
November 23, 2026 11:20
8424fa7 to
7e8caaf
Compare
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.
Finishes spike S2 (local LLM notes on long transcripts). Write-up:
docs/spikes/s2-local-llm-notes.md.Verdict: go, with conditions (Mac proxy; reference Windows laptop still to run).
What ran
footprintpeak, weights loaded without mmap (memory.py);psRSS was unreliable.Findings that change the PRD
Caveats
Also
run.py: transcript lookup accepts note ids (synthetic-care-assessment) as well as file stems.🤖 Generated with Claude Code