From 0d1d46ef1de18f3dfe2f2cfcc3e15ae540a9ea82 Mon Sep 17 00:00:00 2001 From: ochafik Date: Mon, 8 Apr 2024 20:10:15 +0100 Subject: [PATCH] grammars: add troubleshooting section to readme --- grammars/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grammars/README.md b/grammars/README.md index c924e8d46..5c210de4c 100644 --- a/grammars/README.md +++ b/grammars/README.md @@ -98,4 +98,4 @@ Grammars currently have performance gotchas (see https://github.com/ggerganov/ll A common pattern is to allow repetitions of a pattern `x` up to N times. -While semantically correct, the syntax `x? x? x?.... x?` (with N repetitions) will result in extremely slow inference. Instead, you can write `(x (x (x ... (x)?...)?)?)?` (w/ N-deep nesting) +While semantically correct, the syntax `x? x? x?.... x?` (with N repetitions) will result in extremely slow inference. Instead, you can write `(x (x (x ... (x)?...)?)?)?` (w/ N-deep nesting) \ No newline at end of file