pub struct TrainingConfig {
pub enabled: bool,
pub min_quality_score: f32,
pub max_samples: usize,
pub auto_save_interval: u64,
pub output_dir: PathBuf,
pub default_format: TrainingFormat,
pub include_thoughts: bool,
pub include_negative_examples: bool,
pub negative_example_ratio: f32,
pub enable_rlhf: bool,
pub auto_label: bool,
}Expand description
Training configuration
Fields§
§enabled: boolEnable training data collection
min_quality_score: f32Minimum quality score to include (0.0 - 1.0)
max_samples: usizeMaximum training samples to keep in memory
auto_save_interval: u64Auto-save interval in seconds (0 = disabled)
output_dir: PathBufOutput directory for training data
default_format: TrainingFormatDefault export format
include_thoughts: boolInclude thought processes in training data
include_negative_examples: boolInclude negative examples (low quality interactions)
negative_example_ratio: f32Negative example ratio (0.0 - 1.0)
enable_rlhf: boolEnable reinforcement learning feedback
auto_label: boolAuto-label data based on quality metrics
Trait Implementations§
Source§impl Clone for TrainingConfig
impl Clone for TrainingConfig
Source§fn clone(&self) -> TrainingConfig
fn clone(&self) -> TrainingConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TrainingConfig
impl Debug for TrainingConfig
Auto Trait Implementations§
impl Freeze for TrainingConfig
impl RefUnwindSafe for TrainingConfig
impl Send for TrainingConfig
impl Sync for TrainingConfig
impl Unpin for TrainingConfig
impl UnwindSafe for TrainingConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more