Skip to content

Instantly share code, notes, and snippets.

@pcworld
pcworld / _README.md
Last active June 19, 2024 03:06
Linux Spotify Ad Mute
@Nurdok
Nurdok / python_conversion.md
Last active July 11, 2024 15:00
Python Conversion

Python Number Conversion Chart

From To Expression
This readme should help you get started with "pfam_scan.pl", which is for use
with the HMMER3 version of HMMER.
--------------------------------------------------------------------------------
- Setting up -------------------------------------------------------------------
--------------------------------------------------------------------------------
Unpack the script
=================
@padeoe
padeoe / README_hfd.md
Last active November 18, 2024 21:09
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.