module documentation

Public literal types accepted by HubAI service functions.

These aliases enumerate values sent to the HubAI API. They are useful when building typed wrappers or configuration models; ordinary callers may pass the corresponding strings directly.

Important aliases:
  • Task describes the problem solved by a model.
  • License contains license names accepted for model metadata.
  • QuantizationMode selects the precision and calibration strategy.
  • QuantizationData accepts a built-in domain or an aid_ dataset ID.
  • YoloVersion selects the YOLO output decoder contract.

Visibility represents the API's three string labels: "public", "private", and "team". Public resource functions currently expose an is_public flag instead, and the meaning of None depends on the operation: it creates a team-visible model, disables visibility filtering in list operations, and leaves visibility unchanged in update_model.

Type Alias HubService Undocumented
Type Alias License Undocumented
Type Alias ModelClass Undocumented
Type Alias Order Undocumented
Type Alias Quantization Undocumented
Type Alias QuantizationData Undocumented
Type Alias QuantizationMode Undocumented
Type Alias Status Undocumented
Type Alias TargetPrecision Undocumented
Type Alias Task Undocumented
Type Alias Visibility Undocumented
Type Alias YoloVersion Undocumented
Variable DatasetId Undocumented
HubService: TypeAlias =

Undocumented

Value
Literal['models', 'dags', 'jobs']
License: TypeAlias =

Undocumented

Value
Literal['undefined',
        'MIT',
        'GNU General Public License v3.0',
        'GNU Affero General Public License v3.0',
        'Apache 2.0',
        'NTU S-Lab 1.0',
        'Ultralytics Enterprise',
...
ModelClass: TypeAlias =

Undocumented

Value
Literal['base', 'exported']
Order: TypeAlias =

Undocumented

Value
Literal['asc', 'desc']
Quantization: TypeAlias =

Undocumented

Value
Literal['DRIVING',
        'FOOD',
        'GENERAL',
        'INDOORS',
        'RANDOM',
        'WAREHOUSE',
        'CLIP',
...
QuantizationData: TypeAlias =

Undocumented

Value
Quantization | DatasetId
QuantizationMode: TypeAlias =

Undocumented

Value
Literal['INT8_STANDARD',
        'INT8_ACCURACY_FOCUSED',
        'INT8_INT16_MIXED',
        'INT8_INT16_MIXED_ACCURACY_FOCUSED',
        'FP16_STANDARD',
        'FP32_STANDARD']
Status: TypeAlias =

Undocumented

Value
Literal['available', 'unavailable']
TargetPrecision: TypeAlias =

Undocumented

Value
Literal['FP16', 'FP32', 'INT8', 'INT8_INT16']
Task: TypeAlias =

Undocumented

Value
Literal['CLASSIFICATION',
        'OBJECT_DETECTION',
        'SEGMENTATION',
        'KEYPOINT_DETECTION',
        'DEPTH_ESTIMATION',
        'LINE_DETECTION',
        'FEATURE_DETECTION',
...
Visibility: TypeAlias =

Undocumented

Value
Literal['public', 'private', 'team']
YoloVersion: TypeAlias =

Undocumented

Value
Literal['yolov5',
        'yolov6r1',
        'yolov6r3',
        'yolov6r4',
        'yolov7',
        'yolov8',
        'yolov9',
...
DatasetId =

Undocumented