A simple suite of CLI tools for Hugging Face
Project description
🤗 hf-bot
A simple CLI utility suite to inspect Hugging Face repositories, evaluate local disk space safety, and check model trends.
🛑 About
diskspace(Preventing Storage Crashes): Stops you from downloading a model that will crash your hard drive halfway through. It checks the remote model size against your remaining local storage before you download.vibecheck(Evaluating Project Activity): Checks monthly downloads, community likes, and lifecycle metrics so you can immediately see if a model is vibrant and maintained or a dormant archive.peek(Inspecting Model Architecture): Avoids downloading heavy model weights just to check basic parameters. It instantly snatches and parses the remoteconfig.jsonto show context windows, attention heads, and model classes.
Installation
pip install hf-bot
For local development mode and contributions:
git clone [https://github.com/kuyesu/hf-tool.git](https://github.com/kuyesu/hf-tool.git)
cd hf-bot
pip install -e .
Usage & Commands
1. diskspace
Pass a Huggingface repository path (<repo_id>) to check its total weight footprint against your available local storage space:
hf-bot diskspace EleutherAI/gpt-j-6b
2. vibecheck
Pass a Huggingface repository ID (repo_id) to evaluate monthly usage trends, community traction, and lifecycle milestones:
hf-bot vibecheck EleutherAI/gpt-j-6b
3. peek
Pass a Huggingface model identifier (<model_id>) to fetch and parse its metadata parameters instantly:
hf-bot peek gpt2
Private & Gated Repositories
If a repository requires authentication, hf-bot securely prompts for your Hugging Face token and saves it locally:
🔒 Authentication Needed
Enter your Hugging Face Access Token (input will be hidden): ············
✓ Success! Token validated and saved locally.
Uninstallation
pip uninstall hf-bot
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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 hf_bot-0.1.0.tar.gz.
File metadata
- Download URL: hf_bot-0.1.0.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
14b1236beea909010ad10423de31efec9526e0317afb1087a2a55c1384caed26
|
|
| MD5 |
4f895d622983fe4ff391f1713150ae37
|
|
| BLAKE2b-256 |
4e3b2c30e05d55ded54a7a89cbff8c344a5cb3d4fa36684557368717ec9ff2c3
|
File details
Details for the file hf_bot-0.1.0-py3-none-any.whl.
File metadata
- Download URL: hf_bot-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
df2cb278b17c6be7d9c4abe8696293551eebe5842759f23724fd02216d92d51c
|
|
| MD5 |
28432f45bcf5eee1efb8edf37fafad58
|
|
| BLAKE2b-256 |
cf19b4d6ce1a788ecd7545b37043ce588182f72590a507f895f03aa953bb65e0
|