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
Pre-0.8.0 cleanup following the midi_training merge.
- Cache the inference model + thresholds in a LazyLock instead of
reloading config/state/thresholds on every infer() call.
- Decode pitch classes via a note_offset so inference supports both
ml_target_folded and ml_target_folded_bass; reject ml_target_full.
- Merge the duplicate full/folded logits helpers behind any(...) gates
and drop dead helpers (binary_to_u16, Sigmoid, logits_to_binary_predictions).
- Propagate errors from create_dir_all and tensor->vec conversions
instead of swallowing them.
- Fix hyper-parameter tuning `total` double-counting mha_heads.
- Assert INPUT_SPACE_SIZE / chunk_size divisibility in KordModel::new.
- Make ml_loader_include_deterministic_guess pull in analyze_base.
- Enable ml_infer + mel loader/folded target by default; sync docs.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014b36jZYPfvNrb1AKaguFUq
Copy file name to clipboardExpand all lines: AGENTS.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,10 +9,10 @@ This guide focuses on comprehensive build workflows, testing procedures, and det
9
9
## Workspace Overview
10
10
-`kord/` (aka `klib`): Core music theory/audio/ML library and CLI. Pest grammar at `kord/chord.pest`; parser at `kord/src/core/parser.rs`.
11
11
-`kord-web/`: Leptos 0.8 SSR app with client hydration (Axum SSR). Also builds to WASI/WASM for edge-like SSR.
12
-
- Loader/target features are forwarded explicitly: default `kord_loader_note_binned` enables `ml_loader_note_binned_convolution` + `ml_target_full` on `klib`. Disable defaults and opt into `kord_loader_frequency` when you need the folded-bass path (`ml_loader_frequency` + `ml_target_folded_bass`).
12
+
- Loader/target features are forwarded explicitly: default `kord_loader_mel` enables `ml_loader_mel` + `ml_target_folded` on `klib`. Disable defaults and opt into `kord_loader_frequency` when you need the raw-frequency path (`ml_loader_frequency` + `ml_target_folded`).
*`cli`: enables the CLI features, and can be removed if only compiling the library.
328
328
*`analyze = ["analyze_mic", "analyze_file"]`: enables the `analyze` subcommand, which allows for analyzing audio data (and the underlying library features).
329
329
*`analyze_mic`: enables the `analyze mic` subcommand, which allows for analyzing audio from a microphone (and the underlying library features).
0 commit comments