mirror of
https://github.com/huggingface/candle.git
synced 2025-06-20 04:00:28 +00:00
Update the Phi model to use the updated architecture. (#1580)
* Update the Phi model to use the updated architecture. * Add more of the phi model. * Repeat KV + caching. * Apply the rotary embeddings. * Add support for the new phi model in the phi example. * Fix a couple glitches. * Fix a couple more glitches.
This commit is contained in:
@ -6,6 +6,7 @@ use serde::Deserialize;
|
||||
pub enum Activation {
|
||||
#[default]
|
||||
Gelu,
|
||||
#[serde(alias = "gelu_new")]
|
||||
NewGelu,
|
||||
Relu,
|
||||
Relu2,
|
||||
|
Reference in New Issue
Block a user