BentoML artifact framework for TensorFlow Hub models
Project description
tfhubartifact
BentoML artifact framework for TensorFlow Hub models.
Installation:
pip install tfhubartifact==0.0.1
Usage example (decorate service):
from tfhubartifact.TensorFlowHubModelArtifact import TensorFlowHubModelArtifact
@artifacts([TensorFlowHubModelArtifact('embedder')])
class MyBentoService(BentoService):
Usage example (package model):
svc = MyBentoService()
svc.pack('embedder', my_embedding_model_path)
Alternatively, during training:
svc.pack('embedder', {'embedder': my_embedder})
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tfhubartifact-0.0.6.tar.gz
(2.3 kB
view hashes)
Built Distribution
Close
Hashes for tfhubartifact-0.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 97eba79d1db95cff900eb358516ca66642a607134aca6ddb317fdb36e2c1ed9f |
|
MD5 | 4107649218e533d8f0f523b974fe3156 |
|
BLAKE2b-256 | dba10c75ebb96064b7ddd0a98ebbab459bc80294dfae464fbc2462df67cd2812 |