From 6ac252d7d804693a0f7a913dff5ca29bb5a63797 Mon Sep 17 00:00:00 2001 From: Patrick von Platen Date: Thu, 18 Jul 2024 12:07:42 +0000 Subject: [PATCH 1/2] v1.3.0 --- pyproject.toml | 2 +- src/mistral_common/tokens/tokenizers/sentencepiece.py | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index f86d22c..43579fb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "mistral_common" -version = "v1.2.1" +version = "1.3.0" description = "" authors = ["bam4d "] readme = "README.md" diff --git a/src/mistral_common/tokens/tokenizers/sentencepiece.py b/src/mistral_common/tokens/tokenizers/sentencepiece.py index e20e610..036865e 100644 --- a/src/mistral_common/tokens/tokenizers/sentencepiece.py +++ b/src/mistral_common/tokens/tokenizers/sentencepiece.py @@ -159,8 +159,7 @@ def encode_user_message( is_last: bool, is_first: bool, system_prompt: Optional[str] = None, - ) -> List[int]: - ... + ) -> List[int]: ... @abstractmethod def encode_tool_message(self, message: ToolMessage, is_before_last_user_message: bool) -> List[int]: From e62d700169b6c7a671ac08ce0d179723e5ccf42d Mon Sep 17 00:00:00 2001 From: Patrick von Platen Date: Thu, 18 Jul 2024 12:09:03 +0000 Subject: [PATCH 2/2] v1.3.0 --- src/mistral_common/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mistral_common/__init__.py b/src/mistral_common/__init__.py index e69de29..67bc602 100644 --- a/src/mistral_common/__init__.py +++ b/src/mistral_common/__init__.py @@ -0,0 +1 @@ +__version__ = "1.3.0"