Struct candle_transformers::models::metavoice::tokenizers::BPE
source · pub struct BPE {
pub re: Regex,
pub end_of_text: usize,
pub offset: usize,
pub ranks: HashMap<Vec<u8>, u32>,
/* private fields */
}
Fields§
§re: Regex
§end_of_text: usize
§offset: usize
§ranks: HashMap<Vec<u8>, u32>
Implementations§
Auto Trait Implementations§
impl Freeze for BPE
impl !RefUnwindSafe for BPE
impl Send for BPE
impl Sync for BPE
impl Unpin for BPE
impl !UnwindSafe for BPE
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