[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
dc83a17239
commit
b73f6a9be0
1 changed files with 4 additions and 1 deletions
|
|
@ -1197,7 +1197,10 @@ def get_statistics(local_files_only = False):
|
|||
# You can disable this by setting UNSLOTH_DISABLE_STATISTICS
|
||||
import os
|
||||
|
||||
if "UNSLOTH_DISABLE_STATISTICS" in os.environ or os.environ.get("UNSLOTH_USE_MODELSCOPE", "0") == "1":
|
||||
if (
|
||||
"UNSLOTH_DISABLE_STATISTICS" in os.environ
|
||||
or os.environ.get("UNSLOTH_USE_MODELSCOPE", "0") == "1"
|
||||
):
|
||||
return
|
||||
if local_files_only:
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue