langchain
d85b04be - Add RELLM and JSONFormer experimental LLM decoding (#4185)

Commit
2 years ago
Add RELLM and JSONFormer experimental LLM decoding (#4185) [RELLM](https://github.com/r2d4/rellm) is a library that wraps local HuggingFace pipeline models for structured decoding. RELLM works by generating tokens one at a time. At each step, it masks tokens that don't conform to the provided partial regular expression. [JSONFormer](https://github.com/1rgs/jsonformer) is a bit different, where it sequentially adds the keys then decodes each value directly
Author
Parents
Loading