Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
黄宇扬 committed Jul 25, 2024
1 parent 637e50d commit 9d79e50
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/fastllm_pytools/llm.py
Original file line number Diff line number Diff line change
Expand Up @@ -660,6 +660,7 @@ def token_healing(self,
for l in range(len(common_token)):
if (l >= len(cur_token) or cur_token[l] != common_token[l]):
common_token = common_token[:l]
break

last_ret = ""
max_prob = -1e5
Expand Down

0 comments on commit 9d79e50

Please sign in to comment.