Skip to content

Commit 5e9dd65

Browse files
author
Marta
committed
remove line
1 parent fac0a48 commit 5e9dd65

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

structured_logprobs/helpers.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,6 @@ def start(self, meta: Meta, children: list[dict[str, Any]]) -> dict[str, Any]:
9797
return children[0]
9898

9999

100-
json_parser = Lark(json_grammar, parser="lalr", propagate_positions=True, maybe_placeholders=False)
101-
102-
103100
def extract_json_data(json_string: str, tokens: list[ChatCompletionTokenLogprob], token_indices: list[int]) -> PyTree:
104101
json_parser = Lark(json_grammar, parser="lalr", propagate_positions=True, maybe_placeholders=False)
105102
tree = json_parser.parse(json_string)

0 commit comments

Comments
 (0)