Skip to content

A library and a CLI tool for accessing HuggingFace.

License

Notifications You must be signed in to change notification settings

frost-beta/huggingface

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

huggingface

A library and a CLI tool for accessing HuggingFace.

Usage

CLI

$ npm install -g @frost-beta/huggingface
$ huggingface
━━━ HuggingFace CLI ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  $ huggingface <command>

━━━ General commands ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  huggingface download [--to #0] [--filter #0] [--silent] <repo>
    Download models or datasets from repository.

You can also print more details about any of these commands by calling them with 
the `-h,--help` flag right after the command name.

APIs

async function download(repo: string, dir: string, opts?: {
  showProgress?: boolean;
  filters?: string[];
});

About

A library and a CLI tool for accessing HuggingFace.

Resources

License

Stars

Watchers

Forks