Skip to content

Instantly share code, notes, and snippets.

View wsdo's full-sized avatar
🌴
On vacation

starkwang wsdo

🌴
On vacation
View GitHub Profile
@padeoe
padeoe / README_hfd.md
Last active October 21, 2025 08:46
CLI-Tool for download Huggingface models and datasets with aria2/wget: hfd

🤗Huggingface Model Downloader

Note

(2025-01-08) Add feature for 🏷️Tag(Revision) Selection, contributed by @Bamboo-D.
(2024-12-17) Add feature for ⚡Quick Startup and ⏭️Fast Resume, enabling skipping of downloaded files, while removing the git clone dependency to accelerate file list retrieval.

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 leverages curl and aria2c for fast and robust downloading of models and datasets.

Features

  • ⏯️ Resume from breakpoint: You can re-run it or Ctrl+C anytime.
@stephenparish
stephenparish / mini-redux.js
Last active December 12, 2019 02:44 — forked from MarcoWorms/mini-redux.js
Redux in a nutshell
function createStore (reducers) {
let state = reducers()
const subscribers = [];
const store = {
dispatch: (action) => {
state = reducers(state, action);
subscribers.forEach((subscriber) => subscriber());
},
getState: () => {
return state