How to Use PandasAI Agent with Llama 3 using Ollama?

Sdílet
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

Komentáře • 13

  • @nguyenngothuong
    @nguyenngothuong Před 12 dny +1

    Nice 🎉❤

  • @thrashassault1
    @thrashassault1 Před 15 dny +2

    nice 🤩

  • @satvikbisht
    @satvikbisht Před 14 dny +1

    Unfortunately, I was not able to answer your question, because of the following error:
    Connection error.
    i am getting this error

    • @TirendazAI
      @TirendazAI  Před 14 dny

      Did you start Ollama with the "ollama serve" command in your terminal?

    • @amanporwal6748
      @amanporwal6748 Před 9 dny

      ​@@TirendazAIYes, I start ollama serve but after that same problem will occur.

  • @dangya3481
    @dangya3481 Před 6 dny

    I use conda 23 + Python 3.10 , it worked. But use conda 24 + Python 3.12, it's not worked.

    • @TirendazAI
      @TirendazAI  Před 6 dny

      This is due to the dependencies of the libraries. I recommend creating a separate virtual environment.

  • @stanTrX
    @stanTrX Před 11 dny +1

    Thanks. Has potential but Still not consistent and robust as you have demonstrated.

    • @TirendazAI
      @TirendazAI  Před 11 dny +1

      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.

    • @stanTrX
      @stanTrX Před 11 dny +1

      @@TirendazAI thanks, i will give it a try then

    • @TirendazAI
      @TirendazAI  Před 11 dny +1

      Happy learning!