if (step + 1) % eval_every == 0:
current_path = os.path.join(log_dir, f'model_{step + 1}')
model.save_pretrained(current_path)
#val_data_dir = "NER_datasets" # can be obtained from "https://drive.google.com/file/d/1T-5IbocGka35I7X3CE6yKe5N_Xg2lVKT/view"
#get_for_all_path(model, step, log_dir, val_data_dir) # you can remove this comment if you want to evaluate the model
You can do it, by downloading evaluation data