Skip to content

Commit

Permalink
Fix revision parameter to vllm get_tokenizer (#2492)
Browse files Browse the repository at this point in the history
  • Loading branch information
OyvindTafjord authored Nov 15, 2024
1 parent 4259a6d commit e20e1dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lm_eval/models/vllm_causallms.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def __init__(
tokenizer if tokenizer else pretrained,
tokenizer_mode=tokenizer_mode,
trust_remote_code=trust_remote_code,
tokenizer_revision=tokenizer_revision,
revision=tokenizer_revision,
)
self.tokenizer = configure_pad_token(self.tokenizer)
self.add_bos_token = add_bos_token
Expand Down

0 comments on commit e20e1dd

Please sign in to comment.