We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8c8195 commit b0f19deCopy full SHA for b0f19de
src/vllm_tgis_adapter/grpc/grpc_server.py
@@ -844,9 +844,7 @@ async def Tokenize(
844
raise ValueError(
845
f"{type(tokenizer)} doesn't support the return_offsets option"
846
)
847
- token_ids = tokenizer.encode(
848
- prompt=req.text,
849
- )
+ token_ids = tokenizer.encode(req.text)
850
else:
851
batch_encoding = tokenizer.encode_plus(
852
text=req.text,
0 commit comments