forest-utils - A utility tool for SmokeTrees Model Zoo
This package will be useful for carrying out all the utilities of the SmokeTrees Model Zoo lovingly called SmokeTrees Forest.`
Features
- Pull down HDF5 (.h5) models from the zoo and load with keras
- Pull down SavedModel (.pb) models from the zoo and load with keras
- Pull down Checkpoints (.ckpt) models from the zoo and load with keras
- Pull down the spacy model from the zoo and load them into an nlp pipeline
- Pull down tokenizers and models in accordance with huggingface model architectures and reuse them
- Pull down datasets so as to use them in your own projects
Steps to install package from PyPI
pip install forest-utils
Steps to install the package from source code
- Clone the repo by the following command
git clone https://github.com/smoke-trees/forest-utils.git
- Change the directory to the package
cd forest-utils
- Execute the following command
pip install -e .
Example Usage
- Load Model using Tensorflow
from forest_utils import export_keras
model = export_keras.ModelFromH5().model
- Load Dataset
from forest_utils import datasets
tweets = datasets.Dataset().get_emo_tweets()
After pulling down the model use it for predictions and other evalutaion functionalities.
See SmokeTrees ModelZoo for more usage examples
Metadata
Release files for forest-utils 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| forest-utils-1.0.2.tar.gz | 7.9 kB | Without provenance | Details for forest-utils-1.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| forest_utils-1.0.2-py3-none-any.whl | Python 3 | none | any | Details for forest_utils-1.0.2-py3-none-any.whl |
Total release size: 17.4 kB
Release files / forest-utils-1.0.2.tar.gz
| Download URL | forest-utils-1.0.2.tar.gz |
|---|---|
| Size | 7.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9eaec5a50ae4c55f24604bbc98148d873d9dd384e2457ec9ee7a557524e422c8
|
|
BLAKE2b-256 checksum How to use checksums |
c6f0dbf688e984fa544a1551479622bfe5ba6c0061d06d5195cdf285925c1964
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.1 CPython/3.8.6
|
Release files / forest_utils-1.0.2-py3-none-any.whl
| Download URL | forest_utils-1.0.2-py3-none-any.whl |
|---|---|
| Size | 9.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
52b6a18311615f931b307bbf093a97467f646acaa52a45386bbc86daa97349c1
|
|
BLAKE2b-256 checksum How to use checksums |
0674185365d1910bfe2249b6232bed68c88d5ab5207bbb4ca039faf9dba9d7a4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.1 CPython/3.8.6
|
Security for forest-utils 1.0.2
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.