How to create a model via API
unsanny opened this issue · 5 comments
unsanny commented
Hi, I just started to fine-tune model and do need to create a private model via replicate client or via API.
Issue here, I can see method related to model creation in repo but it raises NotImplementedException.
Question here is it possible to create a model via API or via any other approach rather than to create a model manually via browser?
juliansci commented
This would be really helpful.
vanjos commented
+1 for this please
chloebarreau commented
+1
YouthDream0925 commented
+1
mattt commented
Hi everyone! I'm happy to say that, as of 0.16.0, you can now create models through Replicate's API and client libraries (#184). From the README:
Create a model
You can create a model for a user or organization
with a given name, visibility, and hardware SKU:import replicate model = replicate.models.create( owner="your-username", name="my-model", visibility="public", hardware="gpu-a40-large" )