langchain/libs
Lance Martin d5c22b80a5
community[patch]: Fix Ollama for LLaMA3 (#20624)
We see verbose generations w/ LLaMA3 and Ollama - 

https://smith.langchain.com/public/88c4cd21-3d57-4229-96fe-53443398ca99/r

--- 

Fix here implies that when stop was being set to an empty list, the
stream had no conditions under which to stop, which could lead to
excessive or unintended output.

Test LLaMA2 - 

https://smith.langchain.com/public/57dfc64a-591b-46fa-a1cd-8783acaefea2/r

Test LLaMA3 - 

https://smith.langchain.com/public/76ff5f47-ac89-4772-a7d2-5caa907d3fd6/r

https://smith.langchain.com/public/a31d2fad-9094-4c93-949a-964b27630ccb/r

Test Mistral -

https://smith.langchain.com/public/a4fe7114-c308-4317-b9fd-6c86d31f1c5b/r

---------

Co-authored-by: Erick Friis <erick@langchain.dev>
2024-04-19 00:20:32 +00:00
..
cli templates: readme langsmith not private beta (#20173) 2024-04-12 13:08:10 -07:00
community community[patch]: Fix Ollama for LLaMA3 (#20624) 2024-04-19 00:20:32 +00:00
core core: deprecation default to qualname (#20578) 2024-04-18 15:35:17 -07:00
experimental experimental[patch]: prompts import fix (#20534) 2024-04-18 16:09:11 -04:00
langchain experimental[patch]: prompts import fix (#20534) 2024-04-18 16:09:11 -04:00
partners mistral[patch]: Support both model and model_name (#20557) 2024-04-18 16:12:33 -04:00
standard-tests mistral, openai: allow anthropic-style messages in message histories (#20565) 2024-04-17 15:55:45 -04:00
text-splitters text-splitters[minor]: Add lua code splitting (#20421) 2024-04-13 22:42:51 +00:00