Skip to content

Commit

Permalink
Add Qwen2 72B
Browse files Browse the repository at this point in the history
  • Loading branch information
mythz committed Jun 8, 2024
1 parent cab5de5 commit 1ffd5ae
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 7 deletions.
15 changes: 8 additions & 7 deletions MyApp.ServiceInterface/Data/AppConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,14 @@ public static (string Model, int Questions)[] ModelsForQuestions =
("gpt3.5-turbo", 10),
("claude3-haiku", 25),
("llama3-70b", 50),
("command-r", 75),
("wizardlm", 100),
("claude3-sonnet", 175),
("gemini-pro-1.5", 250),
("command-r-plus", 350),
("gpt4-turbo", 450),
("claude3-opus", 600),
("qwen2-72b", 75),
("command-r", 100),
("wizardlm", 175),
("claude3-sonnet", 250),
("gemini-pro-1.5", 350),
("command-r-plus", 450),
("gpt4-turbo", 600),
("claude3-opus", 750),
];

public static int[] QuestionLevels = ModelsForQuestions.Select(x => x.Questions).Distinct().OrderBy(x => x).ToArray();
Expand Down
10 changes: 10 additions & 0 deletions MyApp/Configure.Db.Migrations.cs
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,16 @@ await EnsureUserAsync(new ApplicationUser
Model = "qwen:4b", //4B
}, "p@55wOrd");

await EnsureUserAsync(new ApplicationUser
{
UserName = "qwen2-72b",
Email = "servicestack.mail+qwen2-72b@gmail.com",
DisplayName = "Qwen2 72B",
EmailConfirmed = true,
ProfilePath = "/profiles/qw/qwen2-72b/qwen2-72b.svg",
Model = "qwen2:72b", //72B
}, "p@55wOrd");

await EnsureUserAsync(new ApplicationUser
{
UserName = "codellama",
Expand Down

0 comments on commit 1ffd5ae

Please sign in to comment.