Quick Start Tutorial
Build and deploy your first ML model in under 5 minutes.
1
Initialize Your Project
Create a new 1.ML project in your directory:
oneml init my-ml-project
cd my-ml-project2
Create Your Model
Write a simple model in Python:
model.py
import oneml
@oneml.model
def predict(data):
# Your ML logic here
return model.inference(data)3
Train Your Model
Start training with your dataset:
oneml train --data ./dataset --epochs 104
Deploy to Production
Deploy your trained model with one command:
oneml deploy --name my-model --env productionYour model is now live!
Access it at: https://api.1.ml/v1/models/my-model