Skip to content

Instantly share code, notes, and snippets.

@0xdevalias
0xdevalias / ai-ml-toolkit.md
Last active May 11, 2024 05:10
Some notes on AI/ML tools that seem interesting/useful (largely aiming to focus on open source tools)
@padeoe
padeoe / README_hfd.md
Last active May 11, 2024 08:08
CLI-Tool for download Huggingface models and datasets with aria2/wget+git

🤗Huggingface Model Downloader

Considering the lack of multi-threaded download support in the official huggingface-cli, and the inadequate error handling in hf_transfer, this command-line tool smartly utilizes wget or aria2 for LFS files and git clone for the rest.

Features

  • ⏯️ Resume from breakpoint: You can re-run it or Ctrl+C anytime.
  • 🚀 Multi-threaded Download: Utilize multiple threads to speed up the download process.
  • 🚫 File Exclusion: Use --exclude or --include to skip or specify files, save time for models with duplicate formats (e.g., *.bin or *.safetensors).
  • 🔐 Auth Support: For gated models that require Huggingface login, use --hf_username and --hf_token to authenticate.
  • 🪞 Mirror Site Support: Set up with HF_ENDPOINT environment variable.
@taskylizard
taskylizard / fmhy.md
Last active May 12, 2024 17:47
/r/freemediaheckyeah, in one single file (view raw)