Skip to content

Ktiseos-Nyx/HF-Smart-Workflow-Notebooks

Hugging Face Smart Workflow Streamline Your Model Sharing! πŸš€

Model on HF

GitHub

Welcome to the Hugging Face Backup & Image Zipper

This notebook provides a suite of interactive widgets designed to streamline the entire process of preparing and uploading files to your Hugging Face repositories.

Each step has been enhanced with "smart" features to provide clear feedback, prevent common errors, and accelerate your workflow.

Workflow at a Glance

This notebook is organized into a simple, step-by-step process. Just run the cells in order.

  1. βš™οΈ Setup & Validate Environment: The first cell installs all necessary packages and then validates the environment, confirming that all tools and the hf CLI are ready to use.
  2. πŸ”‘ Secure Authentication: The login cell checks your current login status first. If you need to log in, it will then validate your token to ensure it has the correct write permissions required for uploading.
  3. πŸ—‚οΈ (Optional) Zip Your Images: Use the Smart Image Zipper to prepare your image datasets. It allows you to filter by file type and analyze a folder to see a preview of the archive size before zipping.
  4. πŸš€ Upload to the Hub: The Smart Uploader widget provides a powerful interface for uploading your files, supporting concurrent uploads, single-commit mode, and automatic repository creation.

Key Features Across the Toolkit

  • Interactive Widgets: Manage your entire workflow without writing complex scripts.
  • Environment Validation: Confidence that your setup is correct from the very beginning.
  • Secure Login with Permission Checks: Prevents upload failures due to incorrect token permissions.
  • Pre-Zip Analysis: Analyze image folders to know the size and file count before you zip.
  • Advanced Upload Options: Choose between single-commit mode for clean history or concurrent uploads for speed.
  • Fast Uploads: Automatically uses hf_transfer to speed up large file transfers.
  • Live Progress Bars: Monitor progress during both zipping and uploading.

News:

PREVIOUS NOTEBOOKS AND COLAB NOTEBOOKS TO 2025 SEPTEMBER ARE REMOVED FOR SECURITY.


πŸ“£ Updates & Community

  • This tool is continuously updated and improved.
  • For the latest updates, fixes, and community contributions, please visit the GitHub repository.

We hope this tool simplifies your Hugging Face uploads! For questions or suggestions, please reach out.


🌈 About Us

We are a diverse system of 300+ alters, navigating life with DID, ADHD, Autism, and CPTSD. We believe in the positive potential of AI for mental health and creativity and are excited to explore this intersection.

This project is managed by Ktiseos Nyx, the programming division of Earth & Dusk.


🀝 Let's Connect!

Platform Link
Website End Media
Discord Discord Community
Hugging Face HuggingFace Space
YouTube YouTube Channel
DeviantArt DeviantArt Group
Subreddit Subreddit

β˜• Support Our Adventures

ko-fi

You can support our work and future development through Ko-fi.


πŸ΄β€β˜ οΈ Proudly Supported By


πŸ› οΈ Need Help?

If you encounter a bug or need assistance, please reach out through:

  • GitHub Pull Requests & Bug Tracker
  • CivitAi Direct Messages/Comments
  • Earth & Dusk Discord

πŸ’ Credits & Origins

We extend our sincere gratitude to the original creators and contributors who laid the foundation for this project:

Explore the original Stable Diffusion Colab notebook:

Open Original SD Colab

πŸ“ Changelog: Our Journey So Far

  1. πŸ”§ Enhanced with EveryDream2Trainer's Python widget integration.
  2. 🌟 Maintained and highlighted Nocrypt's valuable contributions.
  3. πŸ“¦ Integrated essential functionalities into a single Jupyter Notebook.
  4. πŸ€“ Improved file handling with proper file extensions (*.safetensors).
  5. πŸ“ Created user-friendly and accessible instructions.
  6. πŸ€– Utilized GPT assistance to enhance clarity and readability.
  7. 🎨 Improved the visual presentation of the Jupyter Notebook edition.
  8. πŸ”„ Synchronized Colab and Jupyter Notebook versions for consistency.
  9. 🧹 Optimized dependencies by removing unnecessary transformers.
  10. ✨ Added advanced folder upload capabilities.
  11. πŸ”„ Refined and updated the Colab notebook for improved performance.
  12. πŸš€ Implemented more concise widget features and restored Colab functionality.
  13. πŸ’Ž Underwent a Gemini-assisted overhaul for improved quality.
  14. βž• Expanded supported file types in Colab, streamlined instructions, and introduced command-line functionality (Note: Command-line section removed as per request).

We acknowledge that we are not professional programmers, and appreciate community contributions. Pull requests are always welcome for improvements! πŸŽ‰

Sponsor this project

Packages

 
 
 

Contributors