You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
raiseValueError("Loading Samsung/samsum requires you to execute the dataset script in that repo on your local machine. Make sure you have read the code there to avoid malicious use, then set HF_DATASETS_TRUST_REMOTE_CODE env variable to True.") frome
raiseValueError("The repository for samsum contains custom code which must be executed to correctly load the dataset. You can inspect the repository content at https://hf.co/datasets/samsum. To activate `trust_remote_code` option use this config: --samsum_dataset.trust_remote_code=True")
Copy file name to clipboardExpand all lines: src/llama_recipes/finetuning.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -289,7 +289,7 @@ def main(**kwargs):
289
289
)
290
290
print(f"--> Num of Validation Set Batches loaded = {len(eval_dataloader)}")
291
291
iflen(eval_dataloader) ==0:
292
-
raiseValueError("The eval set size is too small for dataloader to load even one batch. Please increase the size of eval set.")
292
+
raiseValueError(f"The eval set size is too small for dataloader to load even one batch. Please increase the size of eval set. ({len(eval_dataloader)=})")
293
293
else:
294
294
print(f"--> Num of Validation Set Batches loaded = {len(eval_dataloader)}")
0 commit comments