Skip to content

Commit

Permalink
chore: auto-gen by protobufs
Browse files Browse the repository at this point in the history
triggered by commit: instill-ai/protobufs@bedba50
  • Loading branch information
droplet-bot committed Aug 12, 2024
1 parent fc5b056 commit ad5acf2
Show file tree
Hide file tree
Showing 52 changed files with 516 additions and 2,785 deletions.
4 changes: 2 additions & 2 deletions common/task/v1alpha/task_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 8 additions & 12 deletions common/task/v1alpha/task_pb2.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -37,18 +37,16 @@ class _TaskEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeW
"""Semantic Segmentation - classify image pixels into predefined categories."""
TASK_TEXT_TO_IMAGE: _Task.ValueType # 7
"""Text to Image - generate images from input text prompts."""
TASK_TEXT_GENERATION: _Task.ValueType # 8
"""Text Generation - generate texts from input text prompts."""
TASK_TEXT_GENERATION_CHAT: _Task.ValueType # 9
"""Conversational Text Generation - generate text as responses to a dialog input."""
TASK_VISUAL_QUESTION_ANSWERING: _Task.ValueType # 10
"""Visual Question Answering - generate text as a response to a visual prompt."""
TASK_IMAGE_TO_IMAGE: _Task.ValueType # 11
"""Image to Image - generate an image from another image."""
TASK_TEXT_EMBEDDINGS: _Task.ValueType # 12
"""Text Embeddings - generate an embedding (a representation as coordinates) from a text input."""
TASK_SPEECH_RECOGNITION: _Task.ValueType # 13
"""Speech Recognition - transcribe the words in an audio input."""
TASK_CHAT: _Task.ValueType # 14
"""Conversational Text Generation - generate text as responses to a dialog input."""
TASK_COMPLETION: _Task.ValueType # 15
"""Completion Text Generation - generate text following the input prompt."""

class Task(_Task, metaclass=_TaskEnumTypeWrapper):
"""Task enumerates the AI task that a model is designed to solve."""
Expand All @@ -69,16 +67,14 @@ TASK_SEMANTIC_SEGMENTATION: Task.ValueType # 6
"""Semantic Segmentation - classify image pixels into predefined categories."""
TASK_TEXT_TO_IMAGE: Task.ValueType # 7
"""Text to Image - generate images from input text prompts."""
TASK_TEXT_GENERATION: Task.ValueType # 8
"""Text Generation - generate texts from input text prompts."""
TASK_TEXT_GENERATION_CHAT: Task.ValueType # 9
"""Conversational Text Generation - generate text as responses to a dialog input."""
TASK_VISUAL_QUESTION_ANSWERING: Task.ValueType # 10
"""Visual Question Answering - generate text as a response to a visual prompt."""
TASK_IMAGE_TO_IMAGE: Task.ValueType # 11
"""Image to Image - generate an image from another image."""
TASK_TEXT_EMBEDDINGS: Task.ValueType # 12
"""Text Embeddings - generate an embedding (a representation as coordinates) from a text input."""
TASK_SPEECH_RECOGNITION: Task.ValueType # 13
"""Speech Recognition - transcribe the words in an audio input."""
TASK_CHAT: Task.ValueType # 14
"""Conversational Text Generation - generate text as responses to a dialog input."""
TASK_COMPLETION: Task.ValueType # 15
"""Completion Text Generation - generate text following the input prompt."""
global___Task = Task
748 changes: 410 additions & 338 deletions model/model/v1alpha/model_pb2.py

Large diffs are not rendered by default.

Loading

0 comments on commit ad5acf2

Please sign in to comment.