Skip to content

Commit

Permalink
clean up hardcoded tags
Browse files Browse the repository at this point in the history
  • Loading branch information
imda-amdlahir committed Nov 19, 2024
1 parent cec1ec6 commit 10d7d99
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 46 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@ jest.mock('@/moonshot.config', () => ({
default: {
...jest.requireActual('@/moonshot.config').default,
cookbooksOrder: ['cb-id-2', 'cb-id-3'],
cookbookTags: {
'cb-id-1': ['tag1', 'tag2'],
'cb-id-2': ['tag3', 'tag4'],
},
},
}));

Expand Down
42 changes: 0 additions & 42 deletions moonshot.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ type MoonshotConfig = {
categoryNames: string[];
}[];
cookbooksOrder: string[];
cookbookTags: {
[cookbookId: string]: string[];
};
webAPI: {
hostURL: string;
basePathSessions: '/api/v1/sessions';
Expand All @@ -33,45 +30,6 @@ const config: MoonshotConfig = {
'common-risk-hard',
],
cookbooksOrder: ['singapore-context', 'mlc-ai-safety'],
cookbookTags: {
'common-risk-easy': [
'Bias',
'Toxicity',
'General knowledge',
'Common sense morality',
'Jailbreak',
],
'common-risk-hard': [
'Bias',
'Toxicity',
'General knowledge',
'Common sense morality',
'Jailbreak',
],
'legal-summarisation': ['Summarisation', 'Legal'],
'leaderboard-cookbook': [
'MMLU',
'Truthfulness',
'Common sense reasoning',
'Science',
'Math',
],
'medical-llm-leaderboard': ['Medical board exam'],
'mlc-ai-safety': [
'Dangerous or violent recommendations',
'Child abuse and exploitation',
'Hate',
'Non-violent crimes',
'Sex-related crimes',
'Suicide and self harm',
],
'singapore-context': ['General knowledge', 'Singapore'],
'tamil-language-cookbook': [
'Tamil comprehension',
'Tamil generation',
'Tamil literature',
],
},
cookbookCategoriesTabs: [
{ id: 'capability', label: 'Capability', categoryNames: ['capability'] },
{
Expand Down

0 comments on commit 10d7d99

Please sign in to comment.