r2d4/rellm
View on GitHub ↗ ★ 509 Python
Exact structure out of any language model completion.
4 mentions on Hacker News by 2 people: 0 stories, 4 comments · first 2023-05-05 · latest 2023-08-14
20082026
-
…for * Regex completion for LLMs * Context-free Grammar completion for LLMs https://thiggle.com/ [0] https://github.com/r2d4/rellm [1] https://github.com/r2d4/parserllm [2] https://github.com/thiggle/api There's also another API on Thiggle…
comment by rckrd · 2023-08-14 · in Show HN: LLMs can generate valid JSON 100% of the time -
…examples: - https://github.com/microsoft/guidance - https://github.com/NVIDIA/NeMo-Guardrails/ - https://github.com/r2d4/rellm - https://shreyar.github.io/guardrails/ - https://lmql.ai/ - https://github.com/jbrukh/gpt-jargon
comment by killthebuddha · 2023-06-07 · in Run and create custom ChatGPT-like bots with OpenChat -
…A couple similar projects you might find interesting: - https://github.com/newhouseb/clownfish - https://github.com/r2d4/rellm The first one is JSON only and the second one uses regular expressions, but they both take the same "logit…
comment by killthebuddha · 2023-05-16 · in A guidance language for controlling LLMs -
…at a time -- need to generate all two token pairs, etc.). But otherwise, that's what the code does! https://github.com/r2d4/rellm/blob/main/rellm/rellm.py#L21
comment by rckrd · 2023-05-05 · in ReLLM: Exact Structure for Large Language Model Completions