Add the instruction finetuned gemma variants. (#1790)

This commit is contained in:
Laurent Mazare
2024-03-02 18:56:59 +01:00
committed by GitHub
parent 4fff5b51f5
commit 21f1d04976

View File

@ -197,7 +197,9 @@ fn main() -> Result<()> {
let api = Api::new()?;
let model_id = match &args.model_id {
Some(model_id) => match model_id.as_str() {
"7b-it" => "google/gemma-7b-it".to_string(),
"7b" => "google/gemma-7b".to_string(),
"2b-it" => "google/gemma-2b-it".to_string(),
"2b" => "google/gemma-2b".to_string(),
_ => model_id.to_string(),
},