Cie1 commited on
Commit
839ae4e
·
verified ·
1 Parent(s): a541ccb

Update MMSearch-Plus dataset with encrypted text fields (images unchanged)

Browse files
Files changed (1) hide show
  1. README.md +8 -1
README.md CHANGED
@@ -77,12 +77,19 @@ Load the dataset with automatic decryption using your canary string:
77
 
78
  ```python
79
  import os
80
- from huggingface_hub import hf_hub_download
81
  from datasets import load_dataset
82
 
83
  # Set the canary string (hint: it's the name of this repo without username)
84
  os.environ['MMSEARCH_PLUS'] = 'your_canary_string'
85
 
 
 
 
 
 
 
 
86
  # Download the custom data loader script
87
  script_path = hf_hub_download(
88
  repo_id="Cie1/MMSearch-Plus",
 
77
 
78
  ```python
79
  import os
80
+ from huggingface_hub import hf_hub_download, snapshot_download
81
  from datasets import load_dataset
82
 
83
  # Set the canary string (hint: it's the name of this repo without username)
84
  os.environ['MMSEARCH_PLUS'] = 'your_canary_string'
85
 
86
+ # Download the entire dataset repository (including all .arrow files)
87
+ snapshot_download(
88
+ repo_id="Cie1/MMSearch-Plus",
89
+ repo_type="dataset",
90
+ revision="main", # pin if needed
91
+ )
92
+
93
  # Download the custom data loader script
94
  script_path = hf_hub_download(
95
  repo_id="Cie1/MMSearch-Plus",