Supported Machine Learning Libraries¶
This library currently supports several different machine learning libraries. To save models trained with them, you should use the upload function:
model_store.upload("domain", <kwargs>)
Library |
Required kwargs |
Example code |
---|---|---|
model |
||
model, pool (for classification) |
||
learner |
||
model |
||
model, optimizer |
||
model |
||
model, epoch |
||
model |
||
model |
||
model |
||
model, optimizer |
||
model, trainer |
||
explainer |
||
model |
||
model |
||
model |
||
config, model, tokenizer |
||
model |
What to do if a library is not supported¶
If you are using a machine learning library that is not listed above, you can still use model store to upload and version your models by uploading a file. You will not be able to use load()
but you will be able to download()
them back.
model_path = save_model()
model_store.upload("my-domain", model=model_path)
You can also:
Let us know by raising an issue
Add support for the library by following this guide.