Skip to content

Commit

Permalink
removing broken image
Browse files Browse the repository at this point in the history
  • Loading branch information
TuanaCelik committed Nov 10, 2023
1 parent 2a4e92f commit a94958f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions integrations/lmformatenforcer.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ version: Haystack 2.0

# LM Format Enforcer Haystack Integration Layer

![LM Format enforcer](../logos/lmformatenforcer.png)

Use the [LM Format Enforcer](https://github.com/noamgat/lm-format-enforcer) to enforce JSON Schema / Regex output of your local models in your haystack pipelines.

Language models are able to generate text, but when requiring a precise output format, they do not always perform as instructed. Various prompt engineering techniques have been introduced to improve the robustness of the generated text, but they are not always sufficient. [LM Format Enforcer](https://github.com/noamgat/lm-format-enforcer) solves the issues by filtering the tokens that the language model is allowed to generate at every timestep, thus ensuring that the output format is respected, while minimizing the limitations on the language model.
Expand Down

0 comments on commit a94958f

Please sign in to comment.