Section 01
[Introduction] Core Overview of the Phi-4 Legal Domain Fine-tuning Project
This project focuses on the specialized fine-tuning practice of the Phi-4 model in the legal domain. Through training on the SCOTUS 2024 dataset using the LoRA and Unsloth optimization frameworks, it achieves a significant improvement in judicial analysis capabilities (42% increase in F1 score) and provides a complete path for deployment in production environments. This thread will introduce the project background, technical selection, dataset processing, fine-tuning workflow, performance results, deployment solutions, and future outlook in detail across different floors.