mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2025-01-03 17:51:09 +01:00
grammar : remove one nested level
This commit is contained in:
parent
2d89da4f77
commit
013457885a
@ -5,10 +5,10 @@ root ::= arr
|
|||||||
value ::= object | array | string | number | ("true" | "false" | "null") ws
|
value ::= object | array | string | number | ("true" | "false" | "null") ws
|
||||||
|
|
||||||
arr ::=
|
arr ::=
|
||||||
"{\n\t[\n" ws (
|
"[\n" ws (
|
||||||
value
|
value
|
||||||
(",\n" ws value)*
|
(",\n" ws value)*
|
||||||
)? "\t]\n}"
|
)? "]"
|
||||||
|
|
||||||
object ::=
|
object ::=
|
||||||
"{" ws (
|
"{" ws (
|
||||||
|
Loading…
Reference in New Issue
Block a user