renpas22 commited on
Commit ·
f8fc68a
1
Parent(s): 41bcc92
Force download latest revision from HF repo
Browse files- train_qwen_cot_dual.py +4 -1
train_qwen_cot_dual.py
CHANGED
|
@@ -31,7 +31,10 @@ if str(Path(__file__).parent) == "/tmp":
|
|
| 31 |
repo_id="Mulebot/dei-model",
|
| 32 |
repo_type="model",
|
| 33 |
local_dir="/tmp/dei-model",
|
| 34 |
-
token=os.environ.get("HF_TOKEN")
|
|
|
|
|
|
|
|
|
|
| 35 |
)
|
| 36 |
repo_root = Path(repo_path)
|
| 37 |
print(f"Repository downloaded to: {repo_root}")
|
|
|
|
| 31 |
repo_id="Mulebot/dei-model",
|
| 32 |
repo_type="model",
|
| 33 |
local_dir="/tmp/dei-model",
|
| 34 |
+
token=os.environ.get("HF_TOKEN"),
|
| 35 |
+
revision="main", # Force latest version
|
| 36 |
+
force_download=False, # Use cache if available
|
| 37 |
+
local_dir_use_symlinks=False, # Copy files instead of symlinks
|
| 38 |
)
|
| 39 |
repo_root = Path(repo_path)
|
| 40 |
print(f"Repository downloaded to: {repo_root}")
|