Open LLaMa in LangChain and Hugging Face
We'll explore how to use the Open-LLaMa model in Hugging Face and LangChain. Including prompts to get a simple chain working for the model and how we can easily transform this into a chatbot / conversational AI agent. 📌 Notebook Code: https://github.com/pinecone-io/examples/blob/master/learn/generation/llm-field-guide/open-llama/open-llama-huggingface-langchain.ipynb 🌲 Subscribe for Latest Articles and Videos: https://www.pinecone.io/newsletter-signup/ 👋🏼 AI Consulting: https://aurelio.ai 👾 Discord: https://discord.gg/c5QtDB9RAP Twitter: https://twitter.com/jamescalam LinkedIn: https://www.linkedin.com/in/jamescalam/ 00:00 Open Source LLaMa 00:46 Prerequisites and Hugging Face Model 02:15 Tokenizers and Tokenization 03:20 Model Stopping Criteria 06:58 Fixing the End of Speech Token 08:15 Setting the Stopping Criteria 11:45 Hugging Face Open-Llama Pipeline 14:07 Improving Generation Parameters 15:34 Open-Llama as a Chatbot with LangChain 17:43 Post Processing the LLM Output 21:41 Making Queries to Open-Llama #artificialintelligence #nlp #opensource #huggingface #langchain #ai