YAML Metadata
Error:
"widget" must be an array
How to use
import joblib
from sklearn.datasets import load_iris
from sklearn.model_selection import train_test_split
REPO_ID = "d2i-pti-iu/test_svc_model"
FILENAME = "iris_svm.joblib"
model = joblib.load("/d2i-pti-iu/test_svc_model/iris_svm.joblib")
iris = load_iris()
X = iris.data[:3]
labels = model.predict(X)
- Downloads last month
- 27
Inference API (serverless) does not yet support transformers models for this pipeline type.