Hacker GitHub

← All repos

1rgs/jsonformer

View on GitHub ↗ ★ 4,938 Jupyter Notebook

A Bulletproof Way to Generate Structured JSON from Language Models

17 mentions on Hacker News by 15 people: 2 stories, 15 comments · first 2023-05-02 · latest 2024-08-06

Mentions per year 17 mentions · busiest year 2023 (16)
20082026
  1. …actually, we do sort of know -- they call out jsonformer as an inspiration in the acknowledgements https://github.com/1rgs/jsonformer
    comment by dilap · 2024-08-06 · in Structured Outputs in the API
  2. …tried them myself but they look very promising. [0]: https://github.com/outlines-dev/outlines [1]: https://github.com/1rgs/jsonformer
  3. …with "As a large language model...", especially with uncensored models. - Tools like jsonformer https://github.com/1rgs/jsonformer are not possible with OpenAIs API. - It's also just really cool, let's be honest.
  4. How does this compare in terms of latency, cost, and effectiveness to jsonformer? https://github.com/1rgs/jsonformer
  5. I'm not sure how this is different than: https://github.com/1rgs/jsonformer or https://github.com/newhouseb/clownfish or https://github.com/mkuchnik/relm or https://github.com/ggerganov/llama.cpp/pull/1773 or…
  6. …to respond with only "yes" or "no", I recommend looking into how the jsonformers library works: https://github.com/1rgs/jsonformer . Essentially, you still let the model generate many tokens for the next position, and only accept the ones…
  7. Jsonformer - https://github.com/1rgs/jsonformer-claude , https://github.com/1rgs/jsonformer
  8. Anyone knows in what situations this approach is superior to jsonformer ( https://github.com/1rgs/jsonformer ) and vice versa? Or are they solving different problems? It seems jsonformer has some advantages such as only generating tokens…
    comment by geysersam · 2023-07-20 · in TypeChat
  9. …getting anywhere, it can show the user its attempts (in case they give the user any idea). [0] https://github.com/1rgs/jsonformer
  10. …allowed characters and truncate if needed. It’s pretty efficient, there’s an implementation here: https://github.com/1rgs/jsonformer
    comment by yunyu · 2023-06-15 · in Native JSON Output from GPT-4
  11. This is the best implementation I've seen, but only for Hugging Face models: https://github.com/1rgs/jsonformer
    comment by DougBTX · 2023-06-15 · in Native JSON Output from GPT-4
  12. …implemented this for JSON Schema (limited subset) on llama.cpp. See also e.g. this implementation: https://github.com/1rgs/jsonformer
    comment by misterdata · 2023-06-13 · in Function calling and other API updates
  13. …Guidance then takes over again to finish the blob { "name": "bob", "job": "programmer" } [1] https://github.com/1rgs/jsonformer https://github.com/newhouseb/clownfish Note: guidance is way more general of a tool than these Edit: spacing
    comment by evanmays · 2023-05-16 · in A guidance language for controlling LLMs
  14. …positives or to task boundaries. There’s also RHLF-derived coercion which is hilarious. [2] [0] https://github.com/1rgs/jsonformer [1] https://news.ycombinator.com/item?id=35790092 [2] https://twitter.com/goodside/status/1657396491676164096
  15. Ah, this one: https://github.com/1rgs/jsonformer