forest-utils-1.0.2
توضیحات
Package for Smoketrees model zoo
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | forest-utils-1.0.2 |
| نام | forest-utils |
| نسخه کتابخانه | 1.0.2 |
| نگهدارنده | ['Ubaid Usmani'] |
| ایمیل نگهدارنده | ['usmaniubaid@gmail.com'] |
| نویسنده | Smoketrees |
| ایمیل نویسنده | info@smoketrees.dev |
| آدرس صفحه اصلی | https://github.com/smoke-trees/forest-utils |
| آدرس اینترنتی | https://pypi.org/project/forest-utils/ |
| مجوز | - |
## forest-utils - A utility tool for SmokeTrees Model Zoo
[](https://badge.fury.io/py/forest-utils) [](https://smoketrees.dev/forest/)
This package will be useful for carrying out all the utilities of the SmokeTrees Model Zoo lovingly called SmokeTrees Forest.`
### Features
- [X] Pull down HDF5 (.h5) models from the zoo and load with keras
- [X] Pull down SavedModel (.pb) models from the zoo and load with keras
- [X] Pull down Checkpoints (.ckpt) models from the zoo and load with keras
- [X] Pull down the spacy model from the zoo and load them into an nlp pipeline
- [X] Pull down tokenizers and models in accordance with huggingface model architectures and reuse them
- [X] Pull down datasets so as to use them in your own projects
### Steps to install package from PyPI
```bash
pip install forest-utils
```
### Steps to install the package from source code
- Clone the repo by the following command
``` bash
git clone https://github.com/smoke-trees/forest-utils.git
```
- Change the directory to the package
``` bash
cd forest-utils
```
- Execute the following command
``` bash
pip install -e .
```
### Example Usage
- Load Model using Tensorflow
``` Python
from forest_utils import export_keras
model = export_keras.ModelFromH5().model
```
- Load Dataset
``` Python
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
نیازمندی
| مقدار | نام |
|---|---|
| ==3.11.1 | gdown |
| ==2.24.0 | requests |
| ==2.3.0 | tensorflow |
| ==2.2.0 | spacy |
| - | pandas |
| - | click |
| - | transformers |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl forest-utils-1.0.2:
pip install forest-utils-1.0.2.whl
نصب پکیج tar.gz forest-utils-1.0.2:
pip install forest-utils-1.0.2.tar.gz