Skip to content

Commit 823a279

Browse files
committed
fix: use gpt-4o tokenizer for apertus model
1 parent 114784e commit 823a279

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

daras_ai_v2/text_splitter.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ def default_length_function(text: str, model: str = "gpt-4") -> int:
5151
"claude-",
5252
"google/",
5353
"aisingapore/",
54+
"swiss-ai/",
5455
]
5556
):
5657
model = "gpt-4o"

0 commit comments

Comments
 (0)