json: spaces in output and unrestricted output spaces
This commit is contained in:
parent
ed24688af8
commit
c5bc1540d8
1 changed files with 3 additions and 3 deletions
|
@ -6,7 +6,7 @@ import sys
|
|||
|
||||
# whitespace is constrained to a single space char to prevent model "running away" in
|
||||
# whitespace. Also maybe improves generation quality?
|
||||
SPACE_RULE = '" "?'
|
||||
SPACE_RULE = '" "*'
|
||||
|
||||
PRIMITIVE_RULES = {
|
||||
'boolean': '("true" | "false") space',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue