yonatanbitton commited on
Commit
86a44d6
1 Parent(s): 7cf61d8

Update flickr_1k_test_image_text_retrieval.py

Browse files
flickr_1k_test_image_text_retrieval.py CHANGED
@@ -52,12 +52,6 @@ class Dataset(datasets.GeneratorBasedBuilder):
52
  def _split_generators(self, dl_manager):
53
  """Returns SplitGenerators."""
54
 
55
- hf_auth_token = dl_manager.download_config.use_auth_token
56
- if hf_auth_token is None:
57
- raise ConnectionError(
58
- "Please set use_auth_token=True or use_auth_token='<TOKEN>' to download this dataset"
59
- )
60
-
61
  repo_id = _REPO_ID
62
  data_dir = dl_manager.download_and_extract({
63
  "examples_csv": hf_hub_url(repo_id=repo_id, repo_type='dataset', filename=_INPUT_CSV),
 
52
  def _split_generators(self, dl_manager):
53
  """Returns SplitGenerators."""
54
 
 
 
 
 
 
 
55
  repo_id = _REPO_ID
56
  data_dir = dl_manager.download_and_extract({
57
  "examples_csv": hf_hub_url(repo_id=repo_id, repo_type='dataset', filename=_INPUT_CSV),