Skip to content

Commit

Permalink
Merge pull request #33 from anilaltuner/main
Browse files Browse the repository at this point in the history
r1 gguf models added
  • Loading branch information
andthattoo authored Jan 21, 2025
2 parents 60a87f5 + 1c8fdae commit 7f987fd
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion src/program/models.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,19 @@ pub enum Model {
/// [Mistral's MoE Models]
#[serde(rename = "mixtral:8x7b")]
Mixtral8_7b,

/// [R1 Models]
#[serde(rename = "deepseek-r1:1.5b")]
R1_1_5b,
#[serde(rename = "deepseek-r1:7b")]
R1_7b,
#[serde(rename = "deepseek-r1:8b")]
R1_8b,
#[serde(rename = "deepseek-r1:14b")]
R1_14b,
#[serde(rename = "deepseek-r1:32b")]
R1_32b,
#[serde(rename = "deepseek-r1:70b")]
R1_70b,
// OpenAI models
/// [OpenAI's GPT-4 Turbo model](https://platform.openai.com/docs/models#gpt-4-turbo-and-gpt-4)
#[serde(rename = "gpt-4-turbo")]
Expand Down Expand Up @@ -303,6 +315,12 @@ impl From<Model> for ModelProvider {
Model::QwenQwq => ModelProvider::Ollama,
Model::DeepSeekCoder6_7B => ModelProvider::Ollama,
Model::Mixtral8_7b => ModelProvider::Ollama,
Model::R1_1_5b => ModelProvider::Ollama,
Model::R1_7b => ModelProvider::Ollama,
Model::R1_8b => ModelProvider::Ollama,
Model::R1_14b => ModelProvider::Ollama,
Model::R1_32b => ModelProvider::Ollama,
Model::R1_70b => ModelProvider::Ollama,
// openai
Model::GPT4Turbo => ModelProvider::OpenAI,
Model::GPT4o => ModelProvider::OpenAI,
Expand Down

0 comments on commit 7f987fd

Please sign in to comment.