benman1 / generative_ai_with_langchain

Build large language model (LLM) apps with Python, ChatGPT and other models. This is the companion repository for the book on generative AI with LangChain.
https://amzn.to/43PuIkQ
MIT License
600 stars 242 forks source link

Summarizing texts : working alternative for ChatOpenAI #41

Closed amscosta closed 3 months ago

amscosta commented 4 months ago

Hi, Can you suggest an working alternative for the summarize texts example given in your book, instead of using ChatOpenAI?

amscosta commented 4 months ago

Using non paid LLMs, of course.

benman1 commented 3 months ago

@amscosta sorry for being late to the party. There are lots of exciting new free LLMs coming out all the time like Llama3, for example. A good way to find the best LLM is searching on HuggingFace or checking on the leaderboard. The new version of the huggingface leaderboard is even better: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard