mirror of
https://github.com/huggingface/candle.git
synced 2025-06-18 03:28:50 +00:00
Add the new gemma models. (#2023)
* Add the new gemma models. * Revert the lightning changes. * Support for the 1.1 models.
This commit is contained in:
@ -11,6 +11,7 @@ fn default_max_position_embeddings() -> usize {
|
||||
pub struct Config {
|
||||
pub attention_bias: bool,
|
||||
pub head_dim: usize,
|
||||
#[serde(alias = "hidden_activation")]
|
||||
pub hidden_act: candle_nn::Activation,
|
||||
pub hidden_size: usize,
|
||||
pub intermediate_size: usize,
|
||||
|
Reference in New Issue
Block a user