Instructions to use aboOod3d/deepanalyze-8b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use aboOod3d/deepanalyze-8b with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf aboOod3d/deepanalyze-8b # Run inference directly in the terminal: llama cli -hf aboOod3d/deepanalyze-8b
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf aboOod3d/deepanalyze-8b # Run inference directly in the terminal: llama cli -hf aboOod3d/deepanalyze-8b
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf aboOod3d/deepanalyze-8b # Run inference directly in the terminal: ./llama-cli -hf aboOod3d/deepanalyze-8b
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf aboOod3d/deepanalyze-8b # Run inference directly in the terminal: ./build/bin/llama-cli -hf aboOod3d/deepanalyze-8b
Use Docker
docker model run hf.co/aboOod3d/deepanalyze-8b
- LM Studio
- Jan
- vLLM
How to use aboOod3d/deepanalyze-8b with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "aboOod3d/deepanalyze-8b" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "aboOod3d/deepanalyze-8b", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/aboOod3d/deepanalyze-8b
- Ollama
How to use aboOod3d/deepanalyze-8b with Ollama:
ollama run hf.co/aboOod3d/deepanalyze-8b
- Unsloth Studio
How to use aboOod3d/deepanalyze-8b with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for aboOod3d/deepanalyze-8b to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for aboOod3d/deepanalyze-8b to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for aboOod3d/deepanalyze-8b to start chatting
- Docker Model Runner
How to use aboOod3d/deepanalyze-8b with Docker Model Runner:
docker model run hf.co/aboOod3d/deepanalyze-8b
- Lemonade
How to use aboOod3d/deepanalyze-8b with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull aboOod3d/deepanalyze-8b
Run and chat with the model
lemonade run user.deepanalyze-8b-{{QUANT_TAG}}List all available models
lemonade list
- Atomic Chat
DeepAnalyze-8B (Q4_K_M GGUF)
DeepAnalyze-8B is a specialized, quantized large language model designed for autonomous in-memory data analytics. It translates natural language instructions into deterministic state-machine logic, executing complex operations on hierarchical spreadsheets, tabular datasets, and SQL databases.
This GGUF distribution is the official backend engine for the DeepAnalyze IPython Extension, an agentic execution harness that handles AST linting, runtime self-repair loops, and zero-copy DuckDB SQL querying directly inside Jupyter/IPython sessions.
Model Details
- Base Architecture: DeepSeek-Coder (8 Billion Parameters)
- Training Corpus: 500,000+ instruction-response pairs focusing on advanced Pandas operations, DuckDB, and code-to-chart synthesis.
- Quantization Format:
Q4_K_M(4-bit Medium) viallama.cpp. - Context Length: 8,192 tokens natively.
- Hardware Requirements: Extremely lightweight footprint requiring ~5.5 GB of RAM/VRAM for inference.
Why Q4_K_M?
The 4-bit medium quantization strikes the optimal balance between high-speed token generation and strict syntax adherence. Because the model operates within a closed-loop AST self-repair environment (via the IPython extension), the engine automatically catches and corrects the marginal syntax degradation introduced by 4-bit quantization, yielding maximum performance with minimal hardware overhead.
Intended Ecosystem & Use Case
While the model can be loaded into standard chat interfaces (like LM Studio or text-generation-webui), it is not designed for generic conversational chat.
DeepAnalyze is explicitly trained to output executable code payloads encased in specialized <Execute> tags. To utilize the model as intended, it must be paired with its agentic execution harness.
Primary Capabilities (via the Agent Harness):
- Autonomous unravelling of multi-row, non-rectangular ERP exports.
- Zero-copy in-memory querying via DuckDB.
- Automated feature engineering and vector transformations.
- Code-to-chart visualization synthesis.
👉 View the full system architecture and setup guide on GitHub
Model Serving (llama.cpp)
Initialize the model locally as an OpenAI-compatible API server using llama-server. This exposes port 8080 for the IPython agent to connect to.
llama-server \
--hf-repo aboOod3d/deepanalyze-8b \
--hf-file deepanalyze-8b.gguf \
--port 8080 \
-c 8192 \
-ngl 99
Prompt Engineering & Chat Template
DeepAnalyze utilizes specific token formatting to trigger its analytical reasoning pathways. If you are building a custom client or API wrapper, you must strictly adhere to this template.
1. The Analytic Trigger
The prompt string must terminate with the <Analyze> token. This acts as a cognitive trigger, forcing the model out of conversational mode and into strict reasoning and code-generation mode.
<|User|> {Your data cleaning instructions} <|Assistant|><Analyze>
2. The Execution Sandbox Block
The model emits executable Python/SQL state-machine code strictly within <Execute> delimiters. The host application is expected to parse these tags, validate the Abstract Syntax Tree (AST), and execute the payload.
I have analyzed the schema. Here is the restructuring logic:
<Execute>
import duckdb
query = """
SELECT
category,
SUM(revenue) AS total_revenue
FROM df
WHERE status = 'Paid'
GROUP BY 1
"""
cleaned_df = duckdb.query(query).df()
</Execute>
Citation & Attribution
This project builds upon the foundational research and dataset provided by RUC-DataLab.
- Base Weights & Research: RUC-DataLab/DeepAnalyze-8B
- Dataset: RUC-DataLab/DataScience-Instruct-500K
- License: MIT License
- Downloads last month
- 12
We're not able to determine the quantization variants.
Model tree for aboOod3d/deepanalyze-8b
Base model
RUC-DataLab/DeepAnalyze-8B