Here is a quick example tutorial on how to run the ML backend with a simple text classifier:
-
Clone repo
git clone https://github.com/heartexlabs/label-studio-ml-backend
-
Setup environment
cd label-studio-ml-backend pip install -e . cd label_studio_ml/examples pip install -r requirements.txt
-
Create new ML backend
label-studio-ml init my_ml_backend --script label_studio_ml/examples/simple_text_classifier.py
-
Start ML backend server
label-studio-ml start my_ml_backend
-
Run Label Studio connecting it to the running ML backend from the project settings page
Check examples in label_studio_ml/examples
directory.