mirror of
https://github.com/mii443/tokenizers.git
synced 2025-12-05 20:28:22 +00:00
Rust - serialization fixes + loading/saving methods
This commit is contained in:
@@ -605,7 +605,7 @@ impl Tokenizer {
|
||||
}
|
||||
}
|
||||
|
||||
#[args(pretty = true)]
|
||||
#[args(pretty = false)]
|
||||
fn save(&self, path: &str, pretty: bool) -> PyResult<()> {
|
||||
ToPyResult(self.tokenizer.save(path, pretty)).into()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user