Documents
Collection
3 items
•
Updated
# Install Hugging Face CLI
python -m pip install huggingface_hub
# Login to Hugging Face
huggingface-cli login
git clone https://huggingface.co/<your-username>/<your-model-name>
cd <your-model-name>
# Initialize Git LFS
git lfs install
# Enable large file support
huggingface-cli lfs-enable-largefiles .
# Track safetensor files and tokenizer.json (because they're large)
git lfs track "*.safetensors" "tokenizer.json"
Copy all your model files to repository directory
Then you can run:
git add .
git commit -m "Add model files"
git push
git lfs status
to check file trackingREADME.md
with model details