pub struct GenGateCfg {
pub prompts: Vec<Vec<u32>>,
pub gen_tokens: usize,
pub threshold: f64,
pub baseline_slack: f64,
}Expand description
Generation-gate configuration (Patent 16 draft, claim 13: checkpoint selection gated on generation-behavior metrics measured through the SERVED kernel, not on the training objective alone).
Fields§
§prompts: Vec<Vec<u32>>Fixed long-context prompts (token ids), greedy-decoded at every eval checkpoint.
gen_tokens: usize§threshold: f64A checkpoint fails if ANY prompt’s loop score exceeds this.
baseline_slack: f64…or exceeds its zero-shot baseline by more than this.
Implementations§
Trait Implementations§
Source§impl Clone for GenGateCfg
impl Clone for GenGateCfg
Source§fn clone(&self) -> GenGateCfg
fn clone(&self) -> GenGateCfg
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for GenGateCfg
impl RefUnwindSafe for GenGateCfg
impl Send for GenGateCfg
impl Sync for GenGateCfg
impl Unpin for GenGateCfg
impl UnsafeUnpin for GenGateCfg
impl UnwindSafe for GenGateCfg
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more