pub struct ExpertAppend {
pub count: usize,
pub shell_quantile: f32,
pub rank: usize,
}Expand description
Parameters of a kind = "expert_append" record (SkillRecord.experts):
count new experts in EACH of SkillRecord.layers (the grown MoE
layers, any non-empty subset), appended after the experts already
present in that layer. The per-layer index of the new experts is not
stored — the reader computes it (expert_append_base).
Fields§
§count: usizeNew experts per grown layer (≥ 1).
shell_quantile: f32The quantile (in [0, 1]) of the reconstruction errors of the tokens
each expert won on the growth corpus that the trainer wrote into its
desc.shell — provenance of the shell, not used by the reader.
rank: usizeRank of every new expert’s desc.u — must equal the trunk’s expert 0
rank in every grown layer (trunk_expert_rank); 0 when the trunk
carries no desc.u (then the record carries none either).
Trait Implementations§
Source§impl Clone for ExpertAppend
impl Clone for ExpertAppend
Source§impl Debug for ExpertAppend
impl Debug for ExpertAppend
Source§impl<'de> Deserialize<'de> for ExpertAppend
impl<'de> Deserialize<'de> for ExpertAppend
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ExpertAppend
impl PartialEq for ExpertAppend
Source§impl Serialize for ExpertAppend
impl Serialize for ExpertAppend
impl StructuralPartialEq for ExpertAppend
Auto Trait Implementations§
impl Freeze for ExpertAppend
impl RefUnwindSafe for ExpertAppend
impl Send for ExpertAppend
impl Sync for ExpertAppend
impl Unpin for ExpertAppend
impl UnsafeUnpin for ExpertAppend
impl UnwindSafe for ExpertAppend
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