nf-core/huggingface/download @ 0.0.0-3a0ac08
Summary
Download a file from a Hugging Face Hub repository using the hf CLI
Get started
Add the following snippet to your workflow script to include this module.
include { HUGGINGFACE_DOWNLOAD } from 'nf-core/huggingface/download'
License
MIT License
Process
Name
|
HUGGINGFACE_DOWNLOAD |
|---|
Input
1 channel
#1
tuple
meta
map
|
Groovy Map containing sample information e.g. |
|---|---|
hf_repo
string
|
Hugging Face repository identifier in |
hf_file
string
|
Path of the file to download within the repository, e.g. |
Output
2 channels
#1
output
tuple
meta
map
|
Groovy Map containing sample information e.g. |
|---|---|
hf_file
file
|
Downloaded file from the Hugging Face repository |
#2
versions_huggingface_hub
tuple
${task.process}
string
|
The name of the process |
|---|---|
huggingface_hub
string
|
The name of the tool |
hf --version 2>&1 | tail -n1 | awk '{print \$NF}'
eval
|
The expression to obtain the version of the tool |
| Tool | Description | Homepage |
|---|---|---|
| huggingface_hub | Client library for interacting with the Hugging Face Hub, providing the `hf` CLI for downloading and uploading repositories, models and datasets. | https://huggingface.co/docs/huggingface_hub |
| Version | 0.0.0-3a0ac08 |
|---|---|
| Commit ID | 3a0ac08f5e8a748df4bc8b3998623121adec36fe |
| Release Date | 07 May 2026 15:00:58 (UTC) |
| Download URL | https://registry.nextflow.io/api/v1/modules/nf-core%2Fhuggingface%2Fdownload/0.0.0-3a0ac08/download |
| OCI Store URL | https://public.cr.seqera.io/v2/nextflow/plugin/modules/nf-core/huggingface/download/blobs/sha256:5c8fc75dae40f57c6d1281e82ef2df89d3c4a497d9808baa5a676bb7a80d9f90 |
| Size | 2.5 KB |
| Checksum | sha256:5c8fc75dae40f57c6d1281e82ef2df89d3c4a497d9808baa5a676bb7a80d9f90 |
| Downloads | 4 |
| Version | Date | Status | Downloads | Size | Diff |
|---|---|---|---|---|---|
| 0.0.0-3a0ac08 | 07 May 2026 15:00:58 (UTC) | 4 | 2.5 KB | - |