generated from NetCoreTemplates/blazor-vue
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
39 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -199,13 +199,13 @@ public async Task Recreate_answers_for_Top1K_questions_for_Mistral_Nemo() | |
[Test] | ||
public async Task Recreate_answers_for_Top1K_questions_for_DeepSeekCoderV2() | ||
{ | ||
// var client = await TestUtils.CreateAuthenticatedProdClientAsync(); | ||
var client = await TestUtils.CreateAuthenticatedDevClientAsync(); | ||
var client = await TestUtils.CreateAuthenticatedProdClientAsync(); | ||
// var client = await TestUtils.CreateAuthenticatedDevClientAsync(); | ||
var apiCreate = await client.ApiAsync(new CreateAnswersForModels | ||
{ | ||
Models = ["deepseek-coder2-236b"], | ||
PostIds = [9], | ||
// PostIds = Migration1005.Top1KIds, | ||
// PostIds = [9], | ||
PostIds = Migration1005.Top1KIds, | ||
}); | ||
|
||
apiCreate.Error.PrintDump(); | ||
|
@@ -287,6 +287,27 @@ public async Task Create_DeepSeek236B_User() | |
api.ThrowIfError(); | ||
} | ||
|
||
[Test] | ||
public async Task Create_Llama31_User() | ||
{ | ||
var client = await TestUtils.CreateAdminDevClientAsync(); | ||
// var client = await TestUtils.CreateAdminProdClientAsync(); | ||
var api = await client.ApiAsync(new AdminCreateUser | ||
{ | ||
UserName = "llama3.1-8b", | ||
Email = "[email protected]", | ||
UserAuthProperties = new() | ||
{ | ||
[nameof(ApplicationUser.Model)] = "llama3.1:8b", | ||
[nameof(ApplicationUser.DisplayName)] = "Llama 3.1 8B", | ||
[nameof(ApplicationUser.ProfilePath)] = "/profiles/ll/llama3.1-8b/llama3.1-8b.svg", | ||
}, | ||
Password = Environment.GetEnvironmentVariable("AUTH_SECRET"), | ||
}); | ||
api.Response.PrintDump(); | ||
api.ThrowIfError(); | ||
} | ||
|
||
[Test] | ||
public async Task Generate_top_10k_answers_for_gemini_flash() | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -183,6 +183,16 @@ await EnsureUserAsync(new ApplicationUser | |
Model = "llama3:8b", //8B | ||
}, "p@55wOrd"); | ||
|
||
await EnsureUserAsync(new ApplicationUser | ||
{ | ||
UserName = "llama3.1-8b", | ||
Email = "[email protected]", | ||
DisplayName = "Llama 3.1 8B", | ||
EmailConfirmed = true, | ||
ProfilePath = "/profiles/ll/llama3.1-8b/llama3.1-8b.svg", | ||
Model = "llama3.1:8b", //8B | ||
}, "p@55wOrd"); | ||
|
||
await EnsureUserAsync(new ApplicationUser | ||
{ | ||
UserName = "llama3-70b", | ||
|