Skip to content

Liga v0.3.0: Syntax Redesign

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 29 Mar 04:28
· 14 commits to main since this release
81d6055

Chat to generate the SQL (with a ChatGPT trained with Liga SQL datasets)

Please help me create a model called yolo, I want to use the yolov5 plugin for logo_detection purpose.

Well, where did you store the model?

I guess it is torchhub:///ultralytics/yolov5:v6.0/yolov5m.

Here is the SQL

CREATE MODEL yolo
USING yolov5
FOR logo_detection
LOCATION "torchhub:///ultralytics/yolov5:v6.0/yolov5m"

SQL Syntax Change

Now

CREATE [OR REPLACE] MODEL model_name
[USING liga_plugin_name]
[FOR model_type]
[LOCATION "uri"]
[OPTIONS (key1=value1,key2=value2,...)]
[RETURN dataType]

Before

CREATE [OR REPLACE] MODEL model_name
[FLAVOR flavor]
[MODEL_TYPE model_type]
[OPTIONS (key1=value1,key2=value2,...)]
USING "uri";

PyPI packages

  • liga==0.3.0
  • liga-sklearn==0.3.0: Liga Sklearn 0.3.0 as a Liga plugin sample
  • liga-mlflow==0.3.0: Liga MLflow Registry 0.3.0 as a Liga registery sample

Liga is a framework, for real-world application, please read the sample notebooks of the sklearn plugin:
https://github.com/komprenilo/liga/blob/main/README_SKLEARN.md