Skip to content

Commit

Permalink
remove print statement
Browse files Browse the repository at this point in the history
  • Loading branch information
NourFahmy committed Sep 12, 2023
1 parent bed3ec1 commit 74dadef
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion scripts/c-btmInference.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ def generateSequence(embedder, prompt, end_token, models, tokenizers, maxLength,
currToken, currSequence = None, prompt
while len(currSequence) < maxLength:# or currToken != end_token:
currToken, currTokenProb = findNextToken(embedder, models, tokenizers, currSequence, k, T, clusterCenters)
print("currToken: ", currToken, len(currSequence) < maxLength)
currSequence = currSequence + currToken

return generateSequence
Expand Down

0 comments on commit 74dadef

Please sign in to comment.