json: revert space to 1 at most
This commit is contained in:
parent
ade339d55e
commit
e8b78c28eb
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ from typing import Any, Dict, List, Set, Tuple
|
||||||
|
|
||||||
# whitespace is constrained to a single space char to prevent model "running away" in
|
# whitespace is constrained to a single space char to prevent model "running away" in
|
||||||
# whitespace. Also maybe improves generation quality?
|
# whitespace. Also maybe improves generation quality?
|
||||||
SPACE_RULE = '" "*'
|
SPACE_RULE = '" "?'
|
||||||
|
|
||||||
PRIMITIVE_RULES = {
|
PRIMITIVE_RULES = {
|
||||||
'boolean': '("true" | "false") space',
|
'boolean': '("true" | "false") space',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue