mirror of
https://github.com/rasbt/LLMs-from-scratch.git
synced 2026-04-10 12:33:42 +00:00
rename download_and_unzip to make it more specific
This commit is contained in:
@@ -362,7 +362,7 @@ def evaluate_model(model, train_loader, val_loader, device, eval_iter):
|
||||
#####################################
|
||||
|
||||
|
||||
def download_and_unzip(url, zip_path, extracted_path, data_file_path):
|
||||
def download_and_unzip_spam_data(url, zip_path, extracted_path, data_file_path):
|
||||
if data_file_path.exists():
|
||||
print(f"{data_file_path} already exists. Skipping download and extraction.")
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user