pub struct GgufFacts {
pub architecture: Option<String>,
pub context_length: Option<i64>,
pub has_chat_template: bool,
}Expand description
Facts read from a GGUF header.
Fields§
§architecture: Option<String>The general.architecture value, if present.
context_length: Option<i64>The resolved context length, if the header declared one.
has_chat_template: boolWhether the header carries a chat template.
Trait Implementations§
impl StructuralPartialEq for GgufFacts
Auto Trait Implementations§
impl Freeze for GgufFacts
impl RefUnwindSafe for GgufFacts
impl Send for GgufFacts
impl Sync for GgufFacts
impl Unpin for GgufFacts
impl UnsafeUnpin for GgufFacts
impl UnwindSafe for GgufFacts
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