Spaces:
Sleeping
Sleeping
Priyansh Saxena commited on
Commit Β·
4ef5712
1
Parent(s): 9439512
config: add HF Spaces YAML configuration to README
Browse files
README.md
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
title: LLM Excel Plotter
|
| 3 |
+
emoji: π
|
| 4 |
+
colorFrom: indigo
|
| 5 |
+
colorTo: purple
|
| 6 |
+
sdk: docker
|
| 7 |
+
sdk_version: "1.0"
|
| 8 |
+
app_file: app.py
|
| 9 |
+
pinned: false
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
# LLM Excel Plotter Agent
|
| 13 |
+
|
| 14 |
+
An intelligent Hugging Face Space that uses Large Language Models to process Excel data, generate meaningful charts, and provide automated analysis.
|
| 15 |
+
|
| 16 |
+
## Features
|
| 17 |
+
|
| 18 |
+
- π **Intelligent Chart Generation**: Uses Qwen2.5 and BART models to understand data and generate appropriate visualizations
|
| 19 |
+
- π€ **LLM-Powered Analysis**: Leverages state-of-the-art language models for data interpretation
|
| 20 |
+
- π **Multiple Chart Types**: Supports line charts, bar charts, scatter plots, and more
|
| 21 |
+
- π¨ **Interactive UI**: Clean, modern interface built with React and Plotly.js
|
| 22 |
+
- π **File Upload**: Process CSV files and get instant analysis
|
| 23 |
+
|
| 24 |
+
## Models & APIs
|
| 25 |
+
|
| 26 |
+
### Local Models (Free)
|
| 27 |
+
- **Qwen2.5-1.5B-Instruct**: Local inference for data analysis
|
| 28 |
+
- **BART Fine-tuned**: Custom model for structured text generation
|
| 29 |
+
|
| 30 |
+
### Supported External APIs (Optional)
|
| 31 |
+
- Gemini 2.0 Flash: Add `GEMINI_API_KEY` environment variable
|
| 32 |
+
- Grok-3 Mini: Add `GROK_API_KEY` environment variable
|
| 33 |
+
|
| 34 |
+
## Usage
|
| 35 |
+
|
| 36 |
+
1. Upload a CSV file containing your data
|
| 37 |
+
2. Ask the chatbot to analyze or visualize specific aspects
|
| 38 |
+
3. View generated charts and insights
|
| 39 |
+
4. Export results or ask follow-up questions
|
| 40 |
+
|
| 41 |
+
## Deployment
|
| 42 |
+
|
| 43 |
+
Built with:
|
| 44 |
+
- **Backend**: Flask (Python 3.10)
|
| 45 |
+
- **Frontend**: React 18.3.1
|
| 46 |
+
- **LLM Integration**: Transformers, HuggingFace Inference
|
| 47 |
+
- **Data Processing**: Pandas, Scikit-learn
|
| 48 |
+
|
| 49 |
+
Deploy to Hugging Face Spaces with Docker support enabled.
|
| 50 |
+
|
| 51 |
+
---
|
| 52 |
+
|
| 53 |
+
For more information, visit the [project repository](https://github.com/priyansh-saxena1/LLM-Integrated-Excel-Plotter-App)
|