Skip to content

Commit

Permalink
Merge branch 'update-stuff' of https://github.com/ArthurZucker/tokeni…
Browse files Browse the repository at this point in the history
…zers into update-stuff
  • Loading branch information
ArthurZucker committed Nov 14, 2023
2 parents e68bcc3 + cc55193 commit 4b9840b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bindings/python/src/pre_tokenizers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ impl PyMetaspace {
#[setter]
fn set_prepend_scheme(self_: PyRef<Self>, prepend_scheme: &str) -> PyResult<()> {
// Assuming Metaspace has a method to set the prepend_scheme from a string
let scheme = match prepend_scheme.to_lowercase().as_str() {
let scheme = match prepend_scheme.as_str() {
"first" => PrependScheme::First,
"never" => PrependScheme::Never,
"always" => PrependScheme::Always,
Expand Down

0 comments on commit 4b9840b

Please sign in to comment.