Downloads · 30 days
30
16% of all-time downloads
ChetKao/Bohdi-Qwen2.5-7B-Instruct
Bohdi-Qwen2.5-7B-Instruct is a text generation model from ChetKao. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as mit.
Downloads · 30 days
30
16% of all-time downloads
All-time downloads
192
Public
Parameters
7.6B
15.2 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors15.2 GB · 100%
From the Hugging Face model README
Junqi Gao <sup>1,2</sup>, Zhichang Guo <sup>2</sup>, Dazhi Zhang <sup>2</sup>, Dong Li <sup>1,2 </sup>, Runze Liu <sup>3</sup>, Pengfei Li <sup>2</sup>, Kai Tian <sup>4</sup>, Biqing Qi<sup>1,†</sup>
<sup>1</sup> Shanghai Artificial Intelligence Laboratory
<sup>2</sup> School of Mathematics, Harbin Institute of Technology
<sup>3</sup> Tsinghua Shenzhen International Graduate School, Tsinghua University
<sup>4</sup> Department of Electronic Engineering, Tsinghua University
<sup>†</sup> Corresponding Author
</div>Bohdi is a novel framework for heterogeneous Large Language Model (LLM) fusion that integrates the strengths of multiple source LLMs into a target LLM through adaptive knowledge exploration and automatic data generation. Unlike existing methods that rely on real data from limited domains and use fixed data allocation proportions, Bohdi dynamically adjusts sampling based on the target LLM's performance and generates data automatically through a hierarchical knowledge tree structure. This ensures comprehensive domain coverage and balanced capability enhancement without the need for real data. Our github page is Bohdi.
🚀 Synthetic-Data-Only Fusion: Bohdi operates without relying on real data, making it highly efficient and versatile.
🌳 Dynamic Domain Exploration: Through the hierarchical knowledge tree and Sprout/Harvest operations, Bohdi explores new domains and generates data automatically.
🔄 Adaptive Data Allocation: The DynaBranches mechanism with IR ensures dynamic adjustment of data sampling proportions based on the target LLM’s capabilities.
Main Environment for Distillation
conda env create -f environment_Bohdi.yaml
Environment for Evaluation
conda env create -f opencompass_env.yaml
Preparation for Evaluation Suite
# The version we used: opencompass 0.3.4
git clone https://github.com/open-compass/opencompass opencompass
cd opencompass
pip install -e .
To train the target LLM using Bohdi, follow these steps:
# Source Models
Qwen/Qwen2.5-14B-Instruct
mistralai/Mistral-Small-24B-Instruct-2501
microsoft/phi-4
# Target Models
meta-llama/Llama-3.2-3B-Instruct
meta-llama/Llama-3.1-8B-Instruct
Qwen/Qwen2.5-7B-Instruct
google/gemma-2-9b-it
run_bohdi.sh according to your actual paths, and then run:
source activate bohdi
cd your project path
bash run_bohdi.sh
We use <a href="https://github.com/open-compass/opencompass/tree/main">OpenCompass</a> for evaluation and perform inference based on VLLM. To evaluate your model, please configure the relevant paths in eval_opencompass.sh according to your actual paths, and then run:
source activate opencompass
cd your project path
bash eval_opencompass.sh
@article{gao2025bohdi,
title={Bohdi: Heterogeneous LLM Fusion with Automatic Data Exploration},
author={Junqi Gao and Zhichang Guo and Dazhi Zhang and Dong Li and Runze Liu and Pengfei Li and Kai Tian and Biqing Qi},
journal={arXiv preprint arXiv:2506.15721},
year={2025},
url={https://doi.org/10.48550/arXiv.2506.15721}
}