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-hf 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_hf-0.0.0.tar.gz | 4.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nn_hf-0.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.5 kB
Release files / nn_hf-0.0.0.tar.gz
| Download URL | nn_hf-0.0.0.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5cc7a95a4d97a5482018623566254e5f696ef7b8a1392b07639b434a88aaeb07
|
|
BLAKE2b-256 checksum How to use checksums |
b984c82c74a892a86c4e93c6ba3a7f27cdd13e6de37e8a691aeca5aa47d63558
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Release files / nn_hf-0.0.0-py3-none-any.whl
| Download URL | nn_hf-0.0.0-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
642ffc35a5550557a34e27749388c87c8673f94b7aa35b0125b2d5d2465561a2
|
|
BLAKE2b-256 checksum How to use checksums |
7f5eb0ba3034bca6121772dd2e81fb170271d59748f976b34f28831bcfade4f2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|