How to Use PandasAI Agent with Llama 3 using Ollama?
Vložit
- čas přidán 7. 05. 2024
- Today, we'll cover how to perform data analysis and visualization with local Meta Llama 3 using Pandas AI agent and Ollama for free. Happy learning.
▶ Subscribe: bit.ly/subscribe-tirendazai
▶ Join my channel: bit.ly/join-tirendazai
00:01 Introduction
01:12 Setup
02:47 Load the model with Ollama
04:37 Initialize the model
07:43 Build the app
10:54 Inference
13:15 Data visualization
RELATED VIDEOS:
▶ PandasAI Tutorials: bit.ly/pandasai
▶ Ollama Tutorials: bit.ly/ollama-tutorials
▶ Generative AI for DS: bit.ly/genai-for-data-science
▶ LangChain Tutorials: bit.ly/langchain-tutorials
▶ LLMs Tutorials: bit.ly/llm-tutorials
FOLLOW ME:
▶ Medium: / tirendazacademy
▶ X: / tirendazacademy
▶ LinkedIn: / tirendaz-academy
Don't forget to subscribe and turn on notifications so you don't miss the latest videos.
▶ Project files: github.com/TirendazAcademy/Pa...
▶ Dataset: www.kaggle.com/datasets/uom19...
Hi, I am Tirendaz, PhD. I create content on generative AI & data science. My goal is to make the latest technologies understandable for everyone.
#ai #generativeai #datascience - Věda a technologie
Nice 🎉❤
Thanks 🤗
nice 🤩
Thanks 🤗
Unfortunately, I was not able to answer your question, because of the following error:
Connection error.
i am getting this error
Did you start Ollama with the "ollama serve" command in your terminal?
@@TirendazAIYes, I start ollama serve but after that same problem will occur.
I use conda 23 + Python 3.10 , it worked. But use conda 24 + Python 3.12, it's not worked.
This is due to the dependencies of the libraries. I recommend creating a separate virtual environment.
Thanks. Has potential but Still not consistent and robust as you have demonstrated.
If a prompt doesn't work, I try another prompt. You can get the same results with the PandasAI cache. This cache stores the results of previous queries.
@@TirendazAI thanks, i will give it a try then
Happy learning!