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>
Metadata
Release files for nn-hugging-face 0.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nn_hugging_face-0.0.0.tar.gz | 3.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nn_hugging_face-0.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.5 kB
Release files / nn_hugging_face-0.0.0.tar.gz
| Download URL | nn_hugging_face-0.0.0.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
97d758484ebfb37f7b2f9f455a373bcb38ae0ffe8ec7d5db8883e6ac70574ff6
|
|
BLAKE2b-256 checksum How to use checksums |
10a3ae8c4d6fac93262b1baaff3d93f7838c1857df52c7a31ba7c0d3cc5428c9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Release files / nn_hugging_face-0.0.0-py3-none-any.whl
| Download URL | nn_hugging_face-0.0.0-py3-none-any.whl |
|---|---|
| Size | 3.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a353e157269b40eb8d2e96de16b0cc09a7ce8147eb8c5b6e1a90e98a29eb2076
|
|
BLAKE2b-256 checksum How to use checksums |
1b7a242a35dafefd2f335ae079c38efac5d50ae82649fb455a858b4f089e5c7d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|