From a94958fe3278830c864b9b3d58fda579842312c5 Mon Sep 17 00:00:00 2001 From: Tuana Celik Date: Fri, 10 Nov 2023 15:25:11 +0100 Subject: [PATCH] removing broken image --- integrations/lmformatenforcer.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/integrations/lmformatenforcer.md b/integrations/lmformatenforcer.md index 0db1756f..f305489b 100644 --- a/integrations/lmformatenforcer.md +++ b/integrations/lmformatenforcer.md @@ -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.