MCPcopy Create free account
hub / github.com/modelscope/modelscope / DownloadMode

Class DownloadMode

modelscope/utils/constant.py:381–385  ·  view source on GitHub ↗

How to treat existing datasets

Source from the content-addressed store, hash-verified

379
380
381class DownloadMode(enum.Enum):
382 """ How to treat existing datasets
383 """
384 REUSE_DATASET_IF_EXISTS = 'reuse_dataset_if_exists'
385 FORCE_REDOWNLOAD = 'force_redownload'
386
387
388class DownloadChannel(enum.Enum):

Callers 4

loadMethod · 0.90
load_datasetMethod · 0.85
load_dataset_builderMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…