OptimalScale / LMFlow

An Extensible Toolkit for Finetuning and Inference of Large Foundation Models. Large Models for All.
https://optimalscale.github.io/LMFlow/
Apache License 2.0
8.11k stars 819 forks source link

Add phi3 conversation template support #788

Closed wheresmyhair closed 2 months ago

wheresmyhair commented 2 months ago

phi3 conversation template support. phi3 hf implementation requires trust_remote_code=True, so don't forget to add --trust_remote_code 1 to the finetune shell.