From 5ce564f1f3e9d10000b2d580049971bb06a649c5 Mon Sep 17 00:00:00 2001 From: Asaf Gardin Date: Sun, 7 Jan 2024 13:40:41 +0200 Subject: [PATCH] fix: re-ordered parameters in ctor to avoid a breaking change --- ai21_tokenizer/jurassic_tokenizer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ai21_tokenizer/jurassic_tokenizer.py b/ai21_tokenizer/jurassic_tokenizer.py index 54878de..cbcac35 100644 --- a/ai21_tokenizer/jurassic_tokenizer.py +++ b/ai21_tokenizer/jurassic_tokenizer.py @@ -20,8 +20,8 @@ class JurassicTokenizer(BaseTokenizer): def __init__( self, model_path: Optional[PathLike] = None, - model_file_handle: Optional[BinaryIO] = None, config: Optional[Dict[str, Any]] = None, + model_file_handle: Optional[BinaryIO] = None, ): self._validate_init(model_path=model_path, model_file_handle=model_file_handle)