Create Model & Dataset Repositories
Manage large model weights and datasets with Git LFS and native versioning on CSGHub.
15–20 minsBeginnerCSGHub
Verifiable Outcome
A repository with Model Card documentation, Git LFS tracking, and tagged release milestones.
Prerequisites
- Local workstation with Git and Git LFS installed
- SSH Key or Personal Access Token configured in CSGHub
01
Create Repository on CSGHub Portal
Create a new model repository, assign license (e.g. Apache 2.0), and initialize README.
02
Clone Repository with Git LFS
Clone locally and configure large file tracking patterns.
git lfs install
git clone https://csghub.opencsg.com/YOUR_USERNAME/my-model.git
cd my-model03
Commit Weights & Push to Remote
Track *.safetensors files, add comprehensive usage documentation, and push to main.
git lfs track "*.safetensors"
git add .
git commit -m "feat: initial commit with weights"
git push origin main04
Verify Hashes & Release Version Tag
Inspect file hashes on web portal and publish a v1.0.0 release tag.
Once verified, proceed to the next milestone.
Next Steps & Deep Dive
Connect your hands-on achievements back to platform documentation for production best practices.
Explore CSGHub Asset Features