pub struct SentenceEmbeddingsTokenizerConfig {
pub add_prefix_space: Option<bool>,
pub strip_accents: Option<bool>,
pub do_lower_case: Option<bool>,
}Expand description
Configuration for transformer’s tokenizer
Fields§
§add_prefix_space: Option<bool>§strip_accents: Option<bool>§do_lower_case: Option<bool>Trait Implementations§
source§impl Clone for SentenceEmbeddingsTokenizerConfig
impl Clone for SentenceEmbeddingsTokenizerConfig
source§fn clone(&self) -> SentenceEmbeddingsTokenizerConfig
fn clone(&self) -> SentenceEmbeddingsTokenizerConfig
Returns a copy 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<'de> Deserialize<'de> for SentenceEmbeddingsTokenizerConfig
impl<'de> Deserialize<'de> for SentenceEmbeddingsTokenizerConfig
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 RefUnwindSafe for SentenceEmbeddingsTokenizerConfig
impl Send for SentenceEmbeddingsTokenizerConfig
impl Sync for SentenceEmbeddingsTokenizerConfig
impl Unpin for SentenceEmbeddingsTokenizerConfig
impl UnwindSafe for SentenceEmbeddingsTokenizerConfig
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