2 ms·
It can be used with any open source model (if you can get the logits), and to some extent with OpenAI's API. Here is an example with `transformers`: https://git
by remilouf 3y ago
It can be used with any open source model (if you can get the logits), and to some extent with OpenAI's API. Here is an example with `transformers`: https://github.com/normal-computing/outlines#efficient-json-generation-following-a-pydantic-model https://github.com/normal-computing/outlines#efficient-json-...
We plan on adding more model integrations, but it is completely decoupled from the method implementation.