mirror of
https://github.com/katanemo/plano.git
synced 2026-06-17 15:25:17 +02:00
fix precommit
This commit is contained in:
parent
b7916ce192
commit
5bd991e97b
1 changed files with 1 additions and 1 deletions
|
|
@ -224,7 +224,7 @@ class HallucinationState:
|
|||
Processes the current token and updates the state and mask accordingly.
|
||||
Detects hallucinations based on the token type and log probabilities.
|
||||
"""
|
||||
content = "".join(self.tokens).replace(" ", "").replace("Ġ",'')
|
||||
content = "".join(self.tokens).replace(" ", "")
|
||||
|
||||
# Function name extraction logic
|
||||
# If the state is function name and the token is not an end token, add to the mask
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue