chore: import upstream snapshot with attribution
Lint test / lint (push) Has been cancelled

This commit is contained in:
wehub-resource-sync
2026-07-13 13:34:58 +08:00
commit a203934033
1368 changed files with 175001 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
# Copyright (c) ModelScope Contributors. All rights reserved.
BIN_EXTENSIONS = [
'.*.bin',
'.*.ts',
'.*.pt',
'.*.data-00000-of-00001',
'.*.onnx',
'.*.meta',
'.*.pb',
'.*.index',
]
PEFT_TYPE_KEY = 'peft_type'
SWIFT_TYPE_KEY = 'swift_type'
DEFAULT_ADAPTER = 'default'
class Invoke(object):
KEY = 'invoked_by'
THIRD_PARTY = 'third_party'
PRETRAINED = 'from_pretrained'
PIPELINE = 'pipeline'
TRAINER = 'trainer'
LOCAL_TRAINER = 'local_trainer'
PREPROCESSOR = 'preprocessor'
SWIFT = 'swift'