How does an overfit model differ from an underfit model?
tap to flip · drag to reviewOverfit: low training error but high test error — too much capacity or too little data. Underfit: high error on both.
Free & open source · your own Gemini key
Lectern reads the whole lecture, maps its concepts, and generates cards that cite the exact pages they came from. You see what's covered, check any card against its slide, and send the deck straight to Anki.
macOS · Windows · Linux · no account, no subscription
How does an overfit model differ from an underfit model?
tap to flip · drag to reviewOverfit: low training error but high test error — too much capacity or too little data. Underfit: high error on both.
What does the learning rate control in gradient descent?
tap to flip · drag to reviewThe size of each update step: too large and the loss diverges, too small and training crawls to a halt.
What tension does the bias–variance trade-off describe?
tap to flip · drag to reviewA model too simple underfits (high bias); one too flexible fits noise (high variance). Total error is lowest in between.
Why does k-fold cross-validation beat a single train/test split?
tap to flip · drag to reviewEvery sample serves in training and validation across folds, so the estimate averages k splits instead of trusting one.
your slides light up as cards cover them
Every card can back itself up
A chatbot will happily invent plausible flashcards. Lectern gates every card on provenance: which pages it came from, which concept it teaches, and a source excerpt to verify it against. Cards without support are rejected.
How does an overfit model differ from an underfit model in terms of training and test error?
One lecture in, one deck out
The pipeline runs entirely on your machine, with no backend and no account. Lectern talks only to the Gemini API, using your key from the OS keychain, and to your local Anki.
1 · map
Gemini builds a concept map of the whole document: objectives, concepts, and relations, page by page.
2 · generate
The model submits batches and steers by the coverage ledger until the gaps are closed.
3 · review
Edit, search, filter by page, and peek at the slide behind any card with a single keystroke.
4 · send
One click via AnkiConnect. Re-running a lecture updates notes instead of duplicating them.
A ~10 MB desktop app
You need Anki with the AnkiConnect add-on and a free Gemini API key. A typical 70-page lecture costs between a few cents and about a dollar in Gemini usage. Lectern itself is free.
brew install --cask stegra05/tap/lectern
macOS (Apple Silicon & Intel) · Windows · Linux · MIT-licensed