Skip to content

Commit

Permalink
Update vllm/transformers_utils/tokenizer_group/__init__.py
Browse files Browse the repository at this point in the history
Co-authored-by: Maximilien de Bayser <[email protected]>
  • Loading branch information
flaviabeo and maxdebayser authored Oct 24, 2024
1 parent b84acfb commit 68ddf14
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions vllm/transformers_utils/tokenizer_group/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,10 @@ def init_tokenizer_from_configs(model_config: ModelConfig,
max_input_length=None,
tokenizer_mode=model_config.tokenizer_mode,
trust_remote_code=model_config.trust_remote_code,
revision=model_config.tokenizer_revision,
do_lower_case=model_config.do_lower_case)
revision=model_config.tokenizer_revision)

if model_config.do_lower_case is not None:
init_kwargs["do_lower_case"] = model_config.do_lower_case

return get_tokenizer_group(parallel_config.tokenizer_pool_config,
**init_kwargs)
Expand Down

0 comments on commit 68ddf14

Please sign in to comment.