pub struct DatasetStats {
pub total_samples: usize,
pub avg_prompt_length: f64,
pub avg_completion_length: f64,
pub field_coverage: HashMap<String, f64>,
pub quality_score: Option<f64>,
}
Expand description
Dataset statistics for quality assessment
Fields§
§total_samples: usize
§avg_prompt_length: f64
§avg_completion_length: f64
§field_coverage: HashMap<String, f64>
§quality_score: Option<f64>
Trait Implementations§
Source§impl Clone for DatasetStats
impl Clone for DatasetStats
Source§fn clone(&self) -> DatasetStats
fn clone(&self) -> DatasetStats
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 DatasetStats
impl Debug for DatasetStats
Source§impl<'de> Deserialize<'de> for DatasetStats
impl<'de> Deserialize<'de> for DatasetStats
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
Auto Trait Implementations§
impl Freeze for DatasetStats
impl RefUnwindSafe for DatasetStats
impl Send for DatasetStats
impl Sync for DatasetStats
impl Unpin for DatasetStats
impl UnwindSafe for DatasetStats
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