We use the LLaMA-Factory framework for fine-tuning. It offers a flexible and efficient pipeline for supervised fine-tuning, LoRA, and multi-stage training strategies.
🚀 Usage
🛠️ Step 1: Prepare Conda Environment
Make sure you have a working conda environment with the necessary dependencies installed. We recommend:
To compute scores, generate plots, or view reasoning outputs, refer to:
s03.inference.ipynb
Citation
bibtex
1@article {Cao2025.05.20.655112,
2 author = {Cao, Guangshuo and Shen, Yi and Wu, Jianghong and Chao, Haoyu and Chen, Ming and Chen, Dijun},
3 title = {CellReasoner: A reasoning-enhanced large language model for cell type annotation},
4 elocation-id = {2025.05.20.655112},
5 year = {2025},
6 doi = {10.1101/2025.05.20.655112},
7 URL = {https://www.biorxiv.org/content/early/2025/05/26/2025.05.20.655112},
8 eprint = {https://www.biorxiv.org/content/early/2025/05/26/2025.05.20.655112.full.pdf},
9 journal = {bioRxiv}
10}