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 details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tfhubartifact-0.0.6.tar.gz.
File metadata
- Download URL: tfhubartifact-0.0.6.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e019a27f5eeb38b62a9940059d1eef386386ee72de6a461b1de9e7b2ae24bc42
|
|
| MD5 |
b5916965b517ee65731a967bcc905a50
|
|
| BLAKE2b-256 |
c2a525d362f6929bb026632ffe02811177643f2950f9399d03a42da5028c4d94
|
File details
Details for the file tfhubartifact-0.0.6-py3-none-any.whl.
File metadata
- Download URL: tfhubartifact-0.0.6-py3-none-any.whl
- Upload date:
- Size: 2.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
97eba79d1db95cff900eb358516ca66642a607134aca6ddb317fdb36e2c1ed9f
|
|
| MD5 |
4107649218e533d8f0f523b974fe3156
|
|
| BLAKE2b-256 |
dba10c75ebb96064b7ddd0a98ebbab459bc80294dfae464fbc2462df67cd2812
|