Skip to content

Commit

Permalink
fix stopping test
Browse files Browse the repository at this point in the history
  • Loading branch information
lbeurerkellner committed Feb 14, 2024
1 parent b6d2dc1 commit a9bd191
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lmql/tests/test_stopping.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ async def test_conditional_stopping():
from
lmql.model("local:llama.cpp:/lmql/llama-2-7b-chat.Q2_K.gguf", tokenizer="AyyYOO/Luna-AI-Llama2-Uncensored-FP16-sharded")
where
len(TOKENS(OUTPUT)) > 21 and STOPS_AT(OUTPUT, "review")
len(TOKENS(OUTPUT)) > 80 and STOPS_AT(OUTPUT, "review")
'''

@lmql.query
Expand Down

0 comments on commit a9bd191

Please sign in to comment.