Title: Invalid json produced with JSON Grammar · Issue #171 · structuredllm/syncode · GitHub
Open Graph Title: Invalid json produced with JSON Grammar · Issue #171 · structuredllm/syncode
X Title: Invalid json produced with JSON Grammar · Issue #171 · structuredllm/syncode
Description: When testing the JSON grammer with Gemma3-12B-IT, the model produces a json which ends like this "] \xa0}". The entire json structure is { "key": [ {"inner_key":"value"}, {"inner_key":"value"} ] \xa0} Using logits processor in "grammar_s...
Open Graph Description: When testing the JSON grammer with Gemma3-12B-IT, the model produces a json which ends like this "] \xa0}". The entire json structure is { "key": [ {"inner_key":"value"}, {"inner_key":"value"} ] \x...
X Description: When testing the JSON grammer with Gemma3-12B-IT, the model produces a json which ends like this "] \xa0}". The entire json structure is { "key": [ {"inner_key":"...
Opengraph URL: https://github.com/structuredllm/syncode/issues/171
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Invalid json produced with JSON Grammar","articleBody":"When testing the JSON grammer with Gemma3-12B-IT, the model produces a json which ends like this \"] \\xa0}\".\nThe entire json structure is \n```json\n{\n \"key\": [\n {\"inner_key\":\"value\"},\n {\"inner_key\":\"value\"}\n ] \\xa0}\n```\n\nUsing logits processor in \"grammar_strict\" mode.","author":{"url":"https://github.com/HJJ256","@type":"Person","name":"HJJ256"},"datePublished":"2025-03-20T21:41:35.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":11},"url":"https://github.com/171/syncode/issues/171"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:51aa3220-d28a-e88c-b2e1-6938e898a874 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E2AE:FFF42:1F12E06:289AA20:6990A9E7 |
| html-safe-nonce | fbee27b4ec01b1554deb054af5fe1e7d7d280bd904b6c3f3e6b7252cb459d40b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMkFFOkZGRjQyOjFGMTJFMDY6Mjg5QUEyMDo2OTkwQTlFNyIsInZpc2l0b3JfaWQiOiI2MTA4MDczMDM1ODA5NDY2ODU1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 6247f5ff0605bc01d6270e2c70d54078973ab83d8d589721d72d97cc2a73aa59 |
| hovercard-subject-tag | issue:2936716865 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/structuredllm/syncode/171/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c104180dc674aa302116879154b972368177ce217cc8f8afe0d8ce06ca5829d2/structuredllm/syncode/issues/171 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c104180dc674aa302116879154b972368177ce217cc8f8afe0d8ce06ca5829d2/structuredllm/syncode/issues/171 |
| og:image:alt | When testing the JSON grammer with Gemma3-12B-IT, the model produces a json which ends like this "] \xa0}". The entire json structure is { "key": [ {"inner_key":"value"}, {"inner_key":"value"} ] \x... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | HJJ256 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/structuredllm/syncode git https://github.com/structuredllm/syncode.git |
| octolytics-dimension-user_id | 204232273 |
| octolytics-dimension-user_login | structuredllm |
| octolytics-dimension-repository_id | 687211074 |
| octolytics-dimension-repository_nwo | structuredllm/syncode |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 687211074 |
| octolytics-dimension-repository_network_root_nwo | structuredllm/syncode |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3b33c5aedc9808f45bc5fcf0b1e4404cf749dac7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width