shivangibithel commited on
Commit
670c8ce
1 Parent(s): 67c7161

Update Flickr8k.py

Browse files
Files changed (1) hide show
  1. Flickr8k.py +1 -1
Flickr8k.py CHANGED
@@ -7,7 +7,7 @@ from huggingface_hub import hf_hub_url
7
  _INPUT_CSV = 'captions.txt'
8
  _INPUT_IMAGES = "Images"
9
  _REPO_ID = "shivangibithel/flickr8k"
10
- _JSON_KEYS = ['raw', 'sentids']
11
 
12
  class Dataset(datasets.GeneratorBasedBuilder):
13
  VERSION = datasets.Version("1.1.0")
 
7
  _INPUT_CSV = 'captions.txt'
8
  _INPUT_IMAGES = "Images"
9
  _REPO_ID = "shivangibithel/flickr8k"
10
+ _JSON_KEYS = ['image','caption']
11
 
12
  class Dataset(datasets.GeneratorBasedBuilder):
13
  VERSION = datasets.Version("1.1.0")