AQIT 0.1.0
Loading...
Searching...
No Matches
aquin.info_sae_display Namespace Reference

Functions

str _sae_slug (dict[str, Any] r)
str _fmt_value (str key, Any value)
list[tuple[str, str, str]] _rows (dict[str, Any] r)
dict[str, Any] info_sae_payload (dict[str, Any] r)
None render_info_sae_quiet (dict[str, Any] r)
None render_info_sae (dict[str, Any] r)

Variables

 _SKIP
list _FIELDS

Function Documentation

◆ _fmt_value()

str _fmt_value ( str key,
Any value )
protected

Definition at line 43 of file info_sae_display.py.

Referenced by _rows().

◆ _rows()

list[tuple[str, str, str]] _rows ( dict[str, Any] r)
protected
(api_key, label, formatted_value) in display order, then leftover keys.

Definition at line 54 of file info_sae_display.py.

References _fmt_value().

Referenced by info_sae_payload(), render_info_sae(), and render_info_sae_quiet().

◆ _sae_slug()

str _sae_slug ( dict[str, Any] r)
protected

Definition at line 35 of file info_sae_display.py.

Referenced by info_sae_payload(), and render_info_sae().

◆ info_sae_payload()

dict[str, Any] info_sae_payload ( dict[str, Any] r)

Definition at line 70 of file info_sae_display.py.

References _rows(), and _sae_slug().

Referenced by render_info_sae_quiet().

◆ render_info_sae()

None render_info_sae ( dict[str, Any] r)
Legacy Rich SIMPLE layout (`--plain`).

Definition at line 107 of file info_sae_display.py.

References _rows(), and _sae_slug().

◆ render_info_sae_quiet()

None render_info_sae_quiet ( dict[str, Any] r)

Definition at line 90 of file info_sae_display.py.

References _rows(), and info_sae_payload().

Variable Documentation

◆ _FIELDS

list aquin.info_sae_display._FIELDS
protected
Initial value:
= [
("model_slug", "model"),
("model_name", "name"),
("layer", "layer"),
("d_model", "d_model"),
("d_sae", "d_sae"),
("k", "k"),
("arch", "arch"),
("interp_score", "interp"),
]

Definition at line 23 of file info_sae_display.py.

◆ _SKIP

aquin.info_sae_display._SKIP
protected
Initial value:
= frozenset({
"id", "r2_key", "meta_key", "umap_key",
"train_steps", "final_loss", "l0", "dead_pct", "created_at",
})

Definition at line 17 of file info_sae_display.py.