DeepAnalyze README

The project's README from github.com/ruc-datalab/DeepAnalyze. As one markdown file: README.md.

DeepAnalyze

ruc-datalab%2FDeepAnalyze | Trendshift

DeepAnalyze: Agentic Large Language Models for Autonomous Data Science

arXiv homepage model data star Badge wechat

twitter twitter twitter twitter twitter twitter

Authors: Shaolei Zhang, Ju Fan*, Meihao Fan, Guoliang Li, Xiaoyong Du

Renmin University of China, Tsinghua University

DeepAnalyze is the first agentic LLM for autonomous data science. It can autonomously complete a wide range of data-centric tasks without human intervention, supporting:

deepanalyze

🔥 News

🖥 Demo

WebUI

https://github.com/user-attachments/assets/04184975-7ee7-4ae0-8761-7a7550c5c8fe

Upload the data, DeepAnalyze can perform data-oriented deep research 🔍 and any data-centric tasks 🛠

WebUI v2

https://github.com/user-attachments/assets/2dd1d2aa-6fb9-4202-bc8d-cbe874844725

Upload the data, DeepAnalyze can perform data-oriented deep research 🔍 and any data-centric tasks 🛠

JupyterUI

https://github.com/user-attachments/assets/a2335f45-be0e-4787-a4c1-e93192891c5f

Familiar with Jupyter Notebook? Try DeepAnalyze through the JupyterUI!

CLI

https://github.com/user-attachments/assets/018acae5-b979-4143-ae1e-5b74da453c1d

Try DeepAnalyze through the command-line interface

[!TIP]

Clone this repository to deploy DeepAnalyze locally as your data analyst, completing any data science tasks without any workflow or closed-source APIs.

🔥 The UI of the demo is an initial version. Welcome to further develop it, and we will include you as a contributor.

🚀 Quick Start

🔑 Use the DeepAnalyze API

API keys are now available!

To request your key, please fill out one of the following application forms:

📚 For comprehensive usage instructions, please refer to the API guide:

Model Download

Download model in RUC-DataLab/DeepAnalyze-8B · Hugging Face or DeepAnalyze-8B · 模型库

GPU Memory Model Type Recommended max-model-len Use FP8 KV Cache
16GB 8-bit Quantized 8192 ✓
16GB 4-bit Quantized 49152 ✓
24GB Original Model 16384 ✓
24GB 8-bit Quantized 98304 ✓
24GB 4-bit Quantized 131072 ✓
40GB Original Model 131072 ✓
40GB 8-bit Quantized 131072
80GB Original Model 131072

To obtain the quantized model, you can use ./quantize.py .

🚀 vLLM Launch Command Template

General Command Template
python -m vllm.entrypoints.openai.api_server \
  --model <model_path> \
  --served-model-name DeepAnalyze-8B \
  --max-model-len <select_from_table_above> \
  --gpu-memory-utilization 0.95 \
  --port 8000 \
  <add_fp8_if_required> \
  --trust-remote-code
Command Examples by Scenario

Scenario 1: 16GB GPU Memory Users (Recommended: 4-bit Quantized Version)

python -m vllm.entrypoints.openai.api_server \
  --model /path/to/deepanalyze/4bit \
  --served-model-name DeepAnalyze-8B \
  --max-model-len 49152 \
  --gpu-memory-utilization 0.95 \
  --port 8000 \
  --kv-cache-dtype fp8 \
  --trust-remote-code

Scenario 2: 24GB GPU Memory Users (For Maximum Context Length)

python -m vllm.entrypoints.openai.api_server \
  --model /path/to/deepanalyze/4bit \
  --served-model-name DeepAnalyze-8B \
  --max-model-len 131072 \
  --gpu-memory-utilization 0.95 \
  --port 8000 \
  --kv-cache-dtype fp8 \
  --trust-remote-code

Scenario 3: 80GB GPU Memory Users (Best Performance)

python -m vllm.entrypoints.openai.api_server \
  --model /path/to/original/model \
  --served-model-name DeepAnalyze-8B \
  --max-model-len 131072 \
  --gpu-memory-utilization 0.95 \
  --port 8000 \
  --trust-remote-code

Quick Selection Guide

After launching, the API service can be accessed via http://localhost:8000/v1/completions.

Requirements

Command Interaction

API

🎈 Develop Your Own DeepAnalyze

1. Download Model and Training Data

2. Curriculum-based Agentic Training

DeepAnalyze (ruc-datalab/DeepAnalyze)

Searching Database…

这是什么?DeepAnalyze 是一个为完全自主的数据科学打造的开源智能体大语言模型:它可以独立完成数据准备、分析、建模、可视化和报告生成,覆盖结构化、半结构化和非结构化数据源。
这是托管的聊天机器人应用,还是我必须自己运行的模型?它是一个开放的 80 亿参数模型(DeepAnalyze-8B),附带训练代码、数据和演示界面:你需要自己部署模型(例如通过 vLLM),然后通过 WebUI、JupyterUI 或 CLI 与它对话,除非你改为申请托管 API 密钥。
怎么让 DeepAnalyze 跑起来?下载 DeepAnalyze-8B,用 'vllm serve DeepAnalyze-8B' 启动服务,然后启动任一提供的演示(WebUI、WebUI v2、JupyterUI 或 CLI)来上传数据并运行任务。
我必须自托管模型才能使用 DeepAnalyze 吗?不必——除了自托管,团队现在还会通过 Google 表单或飞书表格按申请发放 DeepAnalyze API 密钥,让你可以使用托管版本,而不必自己运行 vLLM。
运行 DeepAnalyze-8B 需要多少 GPU 显存?README 列出了几档:4 位量化模型 16GB 即可容纳,24-40GB 可支持更大的上下文窗口,完整未量化模型需要 80GB 才能达到最佳性能;项目提供 quantize.py 脚本,可以缩小模型以适配更小的 GPU。
它能分析哪些类型的数据?DeepAnalyze 可处理结构化数据(数据库、CSV、Excel)、半结构化数据(JSON、XML、YAML)和非结构化数据(TXT、Markdown),并能从这些来源的任意组合生成分析师级的研究报告。
我可以训练自己的 DeepAnalyze 版本吗?可以——你可以使用发布的 DataScience-Instruct-500K 数据集,以及基于 ms-swift 和 SkyRL 构建的课程式训练脚本(单能力、多能力冷启动和多能力 RL),对 DeepSeek-R1-0528-Qwen3-8B(或直接对 DeepAnalyze-8B)进行微调。
CoDA-Bench 是什么?CoDA-Bench 是同一团队推出的配套基准,用于测试代码智能体能否在 Linux 沙箱中发现相关数据文件并正确编写/执行代码,与 DeepAnalyze 所面向的任务类型一致。
DeepPrep 是什么?DeepPrep 是宣布将于 2026 年推出的配套工具,它能自动构建数据准备流水线,在 DeepAnalyze 分析之前对原始表格进行清洗和标准化。
Size
56.6 MB
Stars
4.7K
Updated
CommitOct 13
Age
1y
Commits · 90 Days