Uploader of Deep Model Weights to Hugging Face
Project description
Hugging Face Uploader
To use this Hugging Face uploader, you’ll need a user access token with write permissions. If you don’t have one, you can easily generate it by following the instructions at https://huggingface.co/docs/hub/en/security-tokens
Running on Linux without Python and a Virtual Environment
Replace the text with angle brackets by appropriate strings
cd uploader
./uploader </path/to/my_model> <HF_username/HF_repo> --token <HF_token>
Running Python Script in a Virtual Environment
Create and activate a virtual environment.
For Linux/Mac:
python3 -m venv .venv
source .venv/bin/activate
For Windows:
python3 -m venv .venv
.venv\Scripts\activate
All subsequent commands are provided for Linux/Mac OS. For Windows, please replace source .venv/bin/activate with .venv\Scripts\activate.
Run the following command to install the project dependencies:
source .venv/bin/activate
python -m pip install --upgrade pip
pip install -r requirements.txt
Upload your model to Hugging Face (replace the text with angle brackets by appropriate strings):
python -m ab.hf.uploader </path/to/my_model> <HF_username/HF_repo> --token <HF_token>
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 nn_hugging_face-0.0.0.tar.gz.
File metadata
- Download URL: nn_hugging_face-0.0.0.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
97d758484ebfb37f7b2f9f455a373bcb38ae0ffe8ec7d5db8883e6ac70574ff6
|
|
| MD5 |
5fe0be87dbff531609efb847d113ba72
|
|
| BLAKE2b-256 |
10a3ae8c4d6fac93262b1baaff3d93f7838c1857df52c7a31ba7c0d3cc5428c9
|
File details
Details for the file nn_hugging_face-0.0.0-py3-none-any.whl.
File metadata
- Download URL: nn_hugging_face-0.0.0-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a353e157269b40eb8d2e96de16b0cc09a7ce8147eb8c5b6e1a90e98a29eb2076
|
|
| MD5 |
f232783513dc5b57797d6cde5d2b111a
|
|
| BLAKE2b-256 |
1b7a242a35dafefd2f335ae079c38efac5d50ae82649fb455a858b4f089e5c7d
|