Skip to content

Commit

Permalink
feat(schema): add standardized AI tasks schema (#1070)
Browse files Browse the repository at this point in the history
Because

- We are going to standardize all AI tasks and unify them between
Instill Model and Instill VDP

This commit

- add AI Task schema

resolves INS-5456
resolves INS-5463
resolves INS-5464
resolves INS-5474
  • Loading branch information
heiruwu authored Sep 5, 2024
1 parent cac94c9 commit 78133b5
Show file tree
Hide file tree
Showing 3 changed files with 1,849 additions and 22 deletions.
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

0 comments on commit 78133b5

Please sign in to comment.