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.5.tar.gz
(2.3 kB
view hashes)
Built Distribution
Close
Hashes for tfhubartifact-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6aaff0206afaa2585ed6000d3c9e3af5cfd99c9d4d5d5524ea870d897dc2605a |
|
MD5 | c71988d5421ce4da46e2e3c9446b408a |
|
BLAKE2b-256 | 68bd11635d2b7026ed25a47b81d9ae9bf13f694971c1d89b82e5be200abd0774 |