human
1. Register a model
assistant
#Here is the Python program you requested.
registered_model = client.get_or_create_registered_model(
    name="census", labels=["research-purpose", "team-a"])

from verta.registry import VertaModelBase

class MyModel(VertaModelBase):
    def __init__(self, artifacts):
        self.weights = json.load(open(artifacts["weights"]))
    
    def predict(self, input):
        res = []
        for row in input:
            res.append(row[0] * self.weights[0] + row[1] * self.weights[1])
        return res

from verta.environment import Python

model_version = registered_model.create_standard_model(
    model_cls=MyModel,
    artifacts = {"weights" : [5, 6]},
    environment=Python(requirements=["json"]),
    name="v0",
    labels=["prototype"],
)