Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check the full vocab for grammar only if necessary #4306

Merged
merged 8 commits into from
Dec 23, 2023
Merged
Prev Previous commit
common : fix final newline
  • Loading branch information
ggerganov authored Dec 23, 2023
commit 88fd22c3fc0469c8b1157df10d6e9cbd5c5cc601
2 changes: 1 addition & 1 deletion common/sampling.h
Original file line number Diff line number Diff line change
Expand Up @@ -111,4 +111,4 @@ void llama_sampling_accept(
struct llama_sampling_context * ctx_sampling,
struct llama_context * ctx_main,
llama_token id,
bool apply_grammar);
bool apply_grammar);
Loading