{"id":15009871,"url":"https://github.com/smoke-trees/forest-utils","last_synced_at":"2025-04-09T17:52:30.874Z","repository":{"id":39724256,"uuid":"273877279","full_name":"smoke-trees/forest-utils","owner":"smoke-trees","description":"Pypi Package for Smoketrees model zoo","archived":false,"fork":false,"pushed_at":"2023-05-23T00:13:03.000Z","size":114,"stargazers_count":4,"open_issues_count":4,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-23T19:51:33.354Z","etag":null,"topics":["model-zoo","pip","pypi","python3"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/smoke-trees.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-06-21T09:59:01.000Z","updated_at":"2020-10-09T17:23:21.000Z","dependencies_parsed_at":"2025-02-15T11:32:00.702Z","dependency_job_id":"6100f5cb-fe2a-4fce-963f-c2da6f5a4a29","html_url":"https://github.com/smoke-trees/forest-utils","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smoke-trees%2Fforest-utils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smoke-trees%2Fforest-utils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smoke-trees%2Fforest-utils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smoke-trees%2Fforest-utils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/smoke-trees","download_url":"https://codeload.github.com/smoke-trees/forest-utils/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248083335,"owners_count":21045076,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["model-zoo","pip","pypi","python3"],"created_at":"2024-09-24T19:28:59.550Z","updated_at":"2025-04-09T17:52:30.833Z","avatar_url":"https://github.com/smoke-trees.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## forest-utils - A utility tool for SmokeTrees Model Zoo\n\n[![PyPI version](https://badge.fury.io/py/forest-utils.svg)](https://badge.fury.io/py/forest-utils)  [![Generic badge](https://img.shields.io/badge/modelzoo-website-brightgreen.svg)](https://smoketrees.dev/forest/)\n\nThis package will be useful for carrying out all the utilities of the SmokeTrees Model Zoo lovingly called SmokeTrees Forest.`\n\n### Features\n\n- [X] Pull down HDF5 (.h5) models from the zoo and load with keras\n- [X] Pull down SavedModel (.pb) models from the zoo and load with keras\n- [X] Pull down Checkpoints (.ckpt) models from the zoo and load with keras\n- [X] Pull down the spacy model from the zoo and load them into an nlp pipeline\n- [X] Pull down tokenizers and models in accordance with huggingface model architectures and reuse them\n- [X] Pull down datasets so as to use them in your own projects\n\n### Steps to install package from PyPI\n\n```bash\n   pip install forest-utils\n```\n\n### Steps to install the package from source code\n\n- Clone the repo by the following command\n    ``` bash\n        git clone https://github.com/smoke-trees/forest-utils.git\n    ```\n- Change the directory to the package \n    ``` bash\n        cd forest-utils\n    ```\n- Execute the following command\n    ``` bash\n        pip install -e .\n    ```\n\n### Example Usage \n\n- Load Model using Tensorflow\n\n``` Python\n    from forest_utils import export_keras\n\n    model = export_keras.ModelFromH5().model\n```\n\n- Load Dataset\n\n``` Python\n    from forest_utils import datasets\n\n    tweets = datasets.Dataset().get_emo_tweets()\n```\n\nAfter pulling down the model use it for predictions and other evalutaion functionalities.\n\n#### See SmokeTrees ModelZoo for more usage examples\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmoke-trees%2Fforest-utils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsmoke-trees%2Fforest-utils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmoke-trees%2Fforest-utils/lists"}