pub struct ModelDoc {
pub name: &'static str,
pub exact: bool,
}Expand description
A supported tokenizer/model.
Fields§
§name: &'static strDisplay name (tokenizer family).
exact: boolWhether this build counts it exactly (a real BPE) vs. an estimate.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ModelDoc
impl RefUnwindSafe for ModelDoc
impl Send for ModelDoc
impl Sync for ModelDoc
impl Unpin for ModelDoc
impl UnsafeUnpin for ModelDoc
impl UnwindSafe for ModelDoc
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