Proper support for phi-4 (#2960)

* Add phi-4 support.

* Long-rope support.

* Get clippy to be happy.:
This commit is contained in:
Laurent Mazare
2025-05-21 10:18:33 +02:00
committed by GitHub
parent 92106c8762
commit 9a62c91643
2 changed files with 99 additions and 19 deletions

View File

@ -147,9 +147,9 @@ enum WhichModel {
V3,
#[value(name = "3-medium")]
V3Medium,
#[value(name = "2-old")]
V4Mini,
#[value(name = "4-mini")]
V4Mini,
#[value(name = "2-old")]
V2Old,
PuffinPhiV2,
PhiHermes,