Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(schema): add standardized AI tasks schema #1070

Merged
merged 17 commits into from
Sep 5, 2024
44 changes: 22 additions & 22 deletions model-hub/model_hub_test.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,6 @@
"version": "latest",
"configuration": {}
},
{
"id": "dummy-image-to-image",
"owner_type": "users",
"owner_id": "admin",
"description": "A image to image model for integration-test",
"model_definition": "model-definitions/container",
"visibility": "VISIBILITY_PUBLIC",
"task": "TASK_IMAGE_TO_IMAGE",
"region": "REGION_LOCAL",
"hardware": "CPU",
"version": "latest",
"configuration": {}
},
{
"id": "dummy-instance-segmentation",
"owner_type": "users",
Expand Down Expand Up @@ -78,26 +65,26 @@
"configuration": {}
},
{
"id": "dummy-text-generation",
"id": "dummy-completion",
"owner_type": "users",
"owner_id": "admin",
"description": "A text generation model for integration-test",
"description": "A completion model for integration-test",
"model_definition": "model-definitions/container",
"visibility": "VISIBILITY_PUBLIC",
"task": "TASK_TEXT_GENERATION",
"task": "TASK_COMPLETION",
"region": "REGION_LOCAL",
"hardware": "CPU",
"version": "latest",
"configuration": {}
},
{
"id": "dummy-text-generation-chat",
"id": "dummy-chat",
"owner_type": "users",
"owner_id": "admin",
"description": "A text generation chat model for integration-test",
"description": "A chat model for integration-test",
"model_definition": "model-definitions/container",
"visibility": "VISIBILITY_PUBLIC",
"task": "TASK_TEXT_GENERATION_CHAT",
"task": "TASK_CHAT",
"region": "REGION_LOCAL",
"hardware": "CPU",
"version": "latest",
Expand All @@ -117,13 +104,26 @@
"configuration": {}
},
{
"id": "dummy-visual-question-answering",
"id": "dummy-multimodal-chat",
"owner_type": "users",
"owner_id": "admin",
"description": "A multimodal chat model for integration-test",
"model_definition": "model-definitions/container",
"visibility": "VISIBILITY_PUBLIC",
"task": "TASK_CHAT",
"region": "REGION_LOCAL",
"hardware": "CPU",
"version": "latest",
"configuration": {}
},
{
"id": "dummy-text-embedding",
"owner_type": "users",
"owner_id": "admin",
"description": "A visual question answering model for integration-test",
"description": "A embedding model for integration-test",
"model_definition": "model-definitions/container",
"visibility": "VISIBILITY_PUBLIC",
"task": "TASK_VISUAL_QUESTION_ANSWERING",
"task": "TASK_EMBEDDING",
"region": "REGION_LOCAL",
"hardware": "CPU",
"version": "latest",
Expand Down
Loading
Loading