Add the Metaspace PreTokenizer

This commit is contained in:
Anthony MOI
2020-01-07 12:59:59 -05:00
parent 49a67824ce
commit eaa23ac8e6
6 changed files with 147 additions and 2 deletions

View File

@@ -39,6 +39,7 @@ fn pre_tokenizers(_py: Python, m: &PyModule) -> PyResult<()> {
m.add_class::<pre_tokenizers::ByteLevel>()?;
m.add_class::<pre_tokenizers::Whitespace>()?;
m.add_class::<pre_tokenizers::BertPreTokenizer>()?;
m.add_class::<pre_tokenizers::Metaspace>()?;
Ok(())
}