Skip to content

Commit

Permalink
Rename the large model.
Browse files Browse the repository at this point in the history
  • Loading branch information
LaurentMazare committed Nov 2, 2023
1 parent 73fdf16 commit 52efb7e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions candle-examples/examples/whisper/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -363,8 +363,8 @@ enum WhichModel {
LargeV2,
#[value(name = "distil-medium.en")]
DistilMediumEn,
#[value(name = "distil-large")]
DistilLarge,
#[value(name = "distil-large-v2")]
DistilLargeV2,
}

impl WhichModel {
Expand All @@ -376,7 +376,7 @@ impl WhichModel {
| Self::Medium
| Self::Large
| Self::LargeV2
| Self::DistilLarge => true,
| Self::DistilLargeV2 => true,
Self::TinyEn | Self::BaseEn | Self::SmallEn | Self::MediumEn | Self::DistilMediumEn => {
false
}
Expand All @@ -396,7 +396,7 @@ impl WhichModel {
Self::Large => ("openai/whisper-large", "refs/pr/36"),
Self::LargeV2 => ("openai/whisper-large-v2", "refs/pr/57"),
Self::DistilMediumEn => ("distil-whisper/distil-medium.en", "main"),
Self::DistilLarge => ("distil-whisper/distil-large-v2", "main"),
Self::DistilLargeV2 => ("distil-whisper/distil-large-v2", "main"),
}
}
}
Expand Down

0 comments on commit 52efb7e

Please sign in to comment.