pub struct TrainedModel {
pub id: LoraModelId,
pub base_model: String,
pub adapter_path: PathBuf,
pub learn_model_name: String,
pub episode_ids: Vec<EpisodeId>,
pub sample_count: usize,
pub created_at: u64,
pub metrics: Option<TrainingMetrics>,
}Expand description
学習済みモデル
Fields§
§id: LoraModelIdモデル ID
base_model: Stringベースモデル
adapter_path: PathBufアダプタのパス
learn_model_name: String使用した LearnModel の名前
episode_ids: Vec<EpisodeId>学習に使用した Episode の ID リスト
sample_count: usize学習データサンプル数
created_at: u64作成日時(Unix timestamp ms)
metrics: Option<TrainingMetrics>学習メトリクス
Trait Implementations§
Source§impl Clone for TrainedModel
impl Clone for TrainedModel
Source§fn clone(&self) -> TrainedModel
fn clone(&self) -> TrainedModel
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 TrainedModel
impl Debug for TrainedModel
Source§impl From<&TrainedModel> for TrainedModelDto
impl From<&TrainedModel> for TrainedModelDto
Source§fn from(model: &TrainedModel) -> Self
fn from(model: &TrainedModel) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TrainedModel
impl RefUnwindSafe for TrainedModel
impl Send for TrainedModel
impl Sync for TrainedModel
impl Unpin for TrainedModel
impl UnwindSafe for TrainedModel
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