mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-31 10:23:18 +00:00
Update libs/text-splitters/langchain_text_splitters/transformers_token.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -71,7 +71,7 @@ class TransformersTokenTextSplitter(TextSplitter):
|
||||
|
||||
if self.tokens_per_chunk > self.maximum_tokens_per_chunk:
|
||||
msg = (
|
||||
f"The token limit of the models '{self.model_name}'"
|
||||
f"The token limit of the model '{self.model_name}'"
|
||||
f" is: {self.maximum_tokens_per_chunk}."
|
||||
f" Argument tokens_per_chunk={self.tokens_per_chunk}"
|
||||
f" > maximum token limit."
|
||||
|
Reference in New Issue
Block a user