Skip to main content

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})

Metadata

Release files for tfhubartifact 0.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tfhubartifact 0.0.6
File Size Uploaded Provenance Actions
tfhubartifact-0.0.6.tar.gz 2.3 kB Without provenance Details for tfhubartifact-0.0.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for tfhubartifact 0.0.6
File Interpreter ABI Platform Actions
tfhubartifact-0.0.6-py3-none-any.whl Python 3 none any Details for tfhubartifact-0.0.6-py3-none-any.whl

Total release size: 4.9 kB

Release files / tfhubartifact-0.0.6.tar.gz

Download URL tfhubartifact-0.0.6.tar.gz
Size 2.3 kB
Tags Source
SHA-256 checksum
How to use checksums
e019a27f5eeb38b62a9940059d1eef386386ee72de6a461b1de9e7b2ae24bc42
BLAKE2b-256 checksum
How to use checksums
c2a525d362f6929bb026632ffe02811177643f2950f9399d03a42da5028c4d94
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / tfhubartifact-0.0.6-py3-none-any.whl

Download URL tfhubartifact-0.0.6-py3-none-any.whl
Size 2.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
97eba79d1db95cff900eb358516ca66642a607134aca6ddb317fdb36e2c1ed9f
BLAKE2b-256 checksum
How to use checksums
dba10c75ebb96064b7ddd0a98ebbab459bc80294dfae464fbc2462df67cd2812
Upload date
Uploaded using Trusted Publishing?
What is 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

Security for tfhubartifact 0.0.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page