Arize AI
Search…
Spell
Integrating Arize with model serving and tooling platform, Spell
Arize helps you visualize your model performance, understand drift & data quality issues, and share insights learned from your models. Spell is an end-to-end ML platform that provides infrastructure for company to deploy and train models.
Read more about the platforms on our partnership announcement.
Read more about the platforms on our partnership announcement
You can either work through on Colab, or follow the steps below for your own model!
Terminal Only
Colab Notebook
Step 1: Logging into spell via command line.
1
$ spell login
Copied!
Step 2: Train and create model with spell.
1
$ spell run \
2
--github-url https://github.com/spellml/examples \
3
--machine-type cpu \
4
--mount public/tutorial/churn_data/:/mnt/churn_prediction/ \
5
--pip arize --pip lightgbm \
6
-- python arize/train.py
Copied!
Step 3: Add your Arize API_KEY and SPACE_KEY to serve_async.py and server_sync.py. You can find your Arize credential details here
Step 4: Creating your model your model and serving it.
1
$ spell model create churn-prediction 'runs/$RUN_ID'
2
$ spell server serve \
3
--node-group default \
4
--min-pods 1 --max-pods 3 \
5
--target-requests-per-second 100 \
6
--pip lightgbm --pip arize \
7
--env ARIZE_SPACE_KEY=$ARIZE_SPACE_KEY \
8
--env ARIZE_API_KEY=$ARIZE_API_KEY \
9
churn-prediction:v1 serve_sync.py # or serve_async.py
Copied!
Step 5: Test your working instance, send in some data, and see that your model is observable on Arize.
1
$ curl -X POST -d '@test_payload.txt' \
2
https://$REGION.$CLUSTER.spell.services/$SPACE/churn-prediction/predict
Copied!
Spell Integration Tutorial
Copy link