YongchengYAO commited on
Commit
10083a7
·
1 Parent(s): 038903a

[doc] chore: update doc on the customized download mode

Browse files
Files changed (1) hide show
  1. README.md +28 -4
README.md CHANGED
@@ -675,6 +675,30 @@ ds = load_dataset(
675
  ```
676
  </details>
677
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
678
  <br/>
679
 
680
  # Advanced Usage
@@ -749,8 +773,8 @@ This repository is released under CC-BY-NC 4.0 (https://creativecommons.org/lice
749
 
750
  📄 **Requirement**
751
 
752
- | **Requirement** | **Description** |
753
- | ---------------------- | ------------------------------------------------------------ |
754
  | **Attribution (BY)** | You must give appropriate credit, provide a link to [this dataset](https://huggingface.co/datasets/YongchengYAO/MedVision), and indicate if changes were made. |
755
- | **NonCommercial (NC)** | You may not use the material for commercial purposes. |
756
- | **Indicate changes** | If you modify the work, you must note that it has been changed. |
 
675
  ```
676
  </details>
677
 
678
+
679
+ ### Download Mode in MedVision Dataset
680
+
681
+ <details>
682
+ <summary> (Advanced) Understand how the customized dataset loading script `MedVision.py` changes the behavior of `download_mode` in `load_dataset()` </summary>
683
+
684
+ - `download_mode` can be one of these: `"reuse_dataset_if_exists"` (default), `"reuse_cache_if_exists"`, `"force_redownload"`
685
+
686
+ - Default behavior of `download_mode` in `load_dataset()`:
687
+ | | Downloads | Dataset |
688
+ | :-------------------------------- | :-------- | :------ |
689
+ | reuse_dataset_if_exists (default) | Reuse | Reuse |
690
+ | reuse_cache_if_exists | Reuse | Fresh |
691
+ | force_redownload | Fresh | Fresh |
692
+
693
+ - `download_mode` in MedVision dataset:
694
+ | | Downloads | Dataset |
695
+ | :----------------------------------------------------- | :-------- | :------ |
696
+ | reuse_dataset_if_exists (default) | Reuse | Reuse |
697
+ | reuse_cache_if_exists | Reuse | Fresh |
698
+ | force_redownload (MedVision_FORCE_DOWNLOAD_DATA=False) | Reuse | Fresh |
699
+ | force_redownload (MedVision_FORCE_DOWNLOAD_DATA=True) | Fresh | Fresh |
700
+ </details>
701
+
702
  <br/>
703
 
704
  # Advanced Usage
 
773
 
774
  📄 **Requirement**
775
 
776
+ | **Requirement** | **Description** |
777
+ | ---------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- |
778
  | **Attribution (BY)** | You must give appropriate credit, provide a link to [this dataset](https://huggingface.co/datasets/YongchengYAO/MedVision), and indicate if changes were made. |
779
+ | **NonCommercial (NC)** | You may not use the material for commercial purposes. |
780
+ | **Indicate changes** | If you modify the work, you must note that it has been changed. |