agentusecases.aiAll 2,553 use cases
Research & Knowledge

Run data analysis with a Python agent on a local model

A commenter says LangChain's create_python_agent works reasonably well with the Nous Hermes model for data analysis. · Aug 5, 2023

Done with a custom-built or unnamed agent

What they did
The thread is very thin: the original poster asked about using Llama 2 with LangChain to analyze a CSV, after finding LangChain’s pandas-capable Python agent worked well with OpenAI models but poorly with a quantized 7B Llama. In replies, the same user said to use LangChain’s create_python_agent instead of the pandas agent, and said it worked reasonably well with the nous-hermes-llama2 13B model.
How it went
The only reported outcome is qualitative: the quantized 7B Llama gave disappointing results, while create_python_agent with Hermes/Nous Llama 2 13B worked reasonably well. The thread gives no example task, metrics, or failure details.
Worth knowing
The main catch is that the source does not include a workflow, prompt, or benchmark; it only names create_python_agent and the Nous Hermes Llama 2 13B model.

Try it yourself with Hermes Agent

I have a dataset at [path to CSV or data file] and I want to understand [question, e.g. which products drive the most revenue by month]. Load the file, check for missing or odd values, then run the analysis by writing and executing Python code, showing me the code and results at each step. Finish with a short plain-language summary of the findings and one chart saved to [output folder]. Do not modify or delete the original data file.

Want help getting this working? Join the Vibe Coding Academy ↗ Run by Alex Finn, who also runs this site.

Read the original ↗

Source: Reddit · Aug 5, 2023

Related use cases

  • CC

    Find connections across 100 non-fiction books

    Claude Code browses a personal library with CLI tools and surfaces trails of related excerpts across books.

    Claude Code

  • PC

    Research conference speakers and organize tabs

    Comet researched 50 HumanX speakers, surfaced themes and podcast guests, built a camera spec table, and cleaned up tabs.

    Perplexity Comet

  • PC

    Research on X, summarize YouTube transcripts, build decks

    @Tape_Vector uses Comet for X research, summarizing YouTube video transcripts and building presentations.

    Perplexity Comet

  • CC

    Run data cleaning to executive summary with agent pipeline

    Built five Claude Code agents (cleaner, analyzer, visualizer, report writer, summarizer) chained by an orchestrator for end-to-end data analysis.

    Submitted by Bronson Elliott

    Claude Code

  • GE

    Look up and summarize web content from a browser extension

    A commenter built an agentic browser extension using Gemini that handles lookups on selected text or images and summarizes articles on a webpage.

    Gemini

  • GA

    Read books, PDFs, and blogs with agent mode

    A user has been using ChatGPT Agent mode to read books, PDFs, and blogs and to scan content generally, and says it does a great job.

    ChatGPT Agent

Keep browsing

All 441 use cases from custom-built, lesser-known and unnamed agentsAll 163 Research & Knowledge use cases

Get 5 like this every morning

The best things people got an AI agent to do, each with the prompt to try it.

All use casesAgentsTopicsJobsNewRSSAboutContactSponsorPrivacy
Sponsors
VCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor usVCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor usVCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor usVCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor usVCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor us
VCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor usVCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor usVCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor usVCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor usVCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor us