Ensure
that your working directory is set to the
eval
folder in a virtual environment.
If you have more questions, feel free to open an issue with us.
If you need to use local model, you need to deploy it according to
(Optional)
local_model.sh
.
Step 1: Prepare the parameter configuration
The evaluation datasets we used are in
QRData
and
DiscoveryBench
. The script expects data to be at
data/QRData/benchmark/data/*.csv
and
data/DiscoveryBench/*.csv
.
api_key:your_api_key# your API key for the model with API service. No need for open-source models.data_root:/path/to/your/project/DataMind/eval/data# Root directory for data. (absolute path)
run_eval.sh
python do_generate.py \
--model_name DataMind-Qwen2.5-7B \ # Model name to use.
--check_model gpt-4o-mini \ # Check model to use.
--output results \ # Output directory path.
--dataset_name QRData \ # Dataset name to use, chosen from QRData, DiscoveryBench.
--max_round 25 \ # Maximum number of steps.
--api_port 8000 \ # API port number, it is necessary if the local model is used.
--bidx 0 \ # Begin index (inclusive), `None` indicates that there is no restriction.
--eidx None \ # End index (exclusive), `None` indicates that there is no restriction.
--temperature 0.0 \ # Temperature for sampling.
--top_p 1 \ # Top p for sampling.
--add_random False \ # Whether to add random files.
(Optional)
local_model.sh
CUDA_VISIBLE_DEVICES=$i python -m vllm.entrypoints.openai.api_server \
--model $MODEL_PATH \ # Local model path.
--served-model-name $MODEL_NAME \ # The model name specified by you.
--tensor-parallel-size $i \ # Set the size of tensor parallel processing.
--port $port# API port number, which is consistent with the `api_port` above.
Step 2: Run the shell script
(Optional)
Deploy the local model if you need.
bash local_model.sh
Run the shell script to start the process.
bash run_eval.sh
✍️ Citation
If you find our work helpful, please use the following citations.
@article{zhu2025open,
title={Why Do Open-Source LLMs Struggle with Data Analysis? A Systematic Empirical Study},
author={Zhu, Yuqi and Zhong, Yi and Zhang, Jintian and Zhang, Ziheng and Qiao, Shuofei and Luo, Yujie and Du, Lun and Zheng, Da and Chen, Huajun and Zhang, Ningyu},
journal={arXiv preprint arXiv:2506.19794},
year={2025}
}
Runs of zjunlp DataMind-Qwen2.5-7B on huggingface.co
4
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
0
30-day runs
More Information About DataMind-Qwen2.5-7B huggingface.co Model
DataMind-Qwen2.5-7B huggingface.co is an AI model on huggingface.co that provides DataMind-Qwen2.5-7B's model effect (), which can be used instantly with this zjunlp DataMind-Qwen2.5-7B model. huggingface.co supports a free trial of the DataMind-Qwen2.5-7B model, and also provides paid use of the DataMind-Qwen2.5-7B. Support call DataMind-Qwen2.5-7B model through api, including Node.js, Python, http.
DataMind-Qwen2.5-7B huggingface.co is an online trial and call api platform, which integrates DataMind-Qwen2.5-7B's modeling effects, including api services, and provides a free online trial of DataMind-Qwen2.5-7B, you can try DataMind-Qwen2.5-7B online for free by clicking the link below.
zjunlp DataMind-Qwen2.5-7B online free url in huggingface.co:
DataMind-Qwen2.5-7B is an open source model from GitHub that offers a free installation service, and any user can find DataMind-Qwen2.5-7B on GitHub to install. At the same time, huggingface.co provides the effect of DataMind-Qwen2.5-7B install, users can directly use DataMind-Qwen2.5-7B installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
DataMind-Qwen2.5-7B install url in huggingface.co: