pub struct ModelArchitecture {
pub input_modalities: Option<Vec<String>>,
pub output_modalities: Option<Vec<String>>,
pub tokenizer: Option<String>,
pub instruct_type: Option<String>,
}Expand description
Model architecture metadata returned by /models/catalog.
Fields§
§input_modalities: Option<Vec<String>>Supported input modalities (e.g., “text”, “image”).
output_modalities: Option<Vec<String>>Supported output modalities (e.g., “text”).
tokenizer: Option<String>Tokenizer used by the model.
instruct_type: Option<String>Instruction type supported by the model.
Trait Implementations§
Source§impl Clone for ModelArchitecture
impl Clone for ModelArchitecture
Source§fn clone(&self) -> ModelArchitecture
fn clone(&self) -> ModelArchitecture
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 ModelArchitecture
impl Debug for ModelArchitecture
Source§impl Default for ModelArchitecture
impl Default for ModelArchitecture
Source§fn default() -> ModelArchitecture
fn default() -> ModelArchitecture
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ModelArchitecture
impl<'de> Deserialize<'de> for ModelArchitecture
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 ModelArchitecture
impl RefUnwindSafe for ModelArchitecture
impl Send for ModelArchitecture
impl Sync for ModelArchitecture
impl Unpin for ModelArchitecture
impl UnsafeUnpin for ModelArchitecture
impl UnwindSafe for ModelArchitecture
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