Generate comprehensive model cards and upload fine-tuned models to Hugging Face Hub with professional documentation
Create model cards and upload fine-tuned models to Hugging Face Hub.
If coming from training manager, you should have:
model_path, base_model, dataset, techniquetraining_config (LoRA rank, LR, epochs)final_loss, training_time, hardwareIf missing, ask for essential information.
Ask for:
username/model-nameOptions:
If GGUF selected, ask which levels. See references/GGUF_GUIDE.md.
| Method | Size | Quality | |--------|------|---------| | Q4_K_M | ~4GB | Good (Recommended) | | Q5_K_M | ~5GB | Better | | Q8_0 | ~8GB | Best |
Create README.md with:
from huggingface_hub import create_repo
create_repo("username/model-name", private=False, exist_ok=True)
from huggingface_hub import HfApi
api = HfApi()
# LoRA adapter
api.upload_folder(folder_path="./outputs/lora_adapter", repo_id="username/model")
# Model card
api.upload_file(path_or_fileobj="README.md", path_in_repo="README.md", repo_id="username/model")
from unsloth import FastLanguageModel
model, tokenizer = FastLanguageModel.from_pretrained("./outputs/lora_adapter")
model.save_pretrained_gguf("./gguf", tokenizer, quantization_method="q4_k_m")
Use scripts/convert_gguf.py for multiple quantizations.
from huggingface_hub import list_repo_files
print(list_repo_files("username/model"))
Upload Complete!
Model: https://huggingface.co/{repo_name}
Uploaded:
- LoRA adapter
- Model card
- GGUF files (if selected)
Next steps:
- Verify model page
- Add example outputs
- Run benchmarks
- Share on social media
| Error | Resolution |
|-------|------------|
| Repo exists | Use exist_ok=True |
| Permission denied | Check HF token has write access |
| Upload timeout | Use chunked upload |
npx skills add chrisvoncsefalvay/funsloth-upload下载完整 Skill 目录,包含 SKILL.md 及所有相关文件
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer