Skip to content

Commit

Permalink
Add stop_token_ids in SamplingParams.__repr__ (vllm-project#1745)
Browse files Browse the repository at this point in the history
  • Loading branch information
chenxu2048 authored Nov 22, 2023
1 parent 7d761fe commit 094f716
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vllm/sampling_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@ def __repr__(self) -> str:
f"length_penalty={self.length_penalty}, "
f"early_stopping={self.early_stopping}, "
f"stop={self.stop}, "
f"stop_token_ids={self.stop_token_ids}, "
f"ignore_eos={self.ignore_eos}, "
f"max_tokens={self.max_tokens}, "
f"logprobs={self.logprobs}, "
Expand Down

0 comments on commit 094f716

Please sign in to comment.