from datasets import load_dataset
data = load_dataset('bigainlco/LooGLE', shortdep_qa, split='test')
print(shortdep_qa[0]['qa_pairs'])
"""
Outputs:
[{'S': 'Picardo was born in Jer...
...
...make the buildings look old.'}]
"""
All keys ('S', 'Q', 'A') and all values except those who already contain single-quotes appears in single-quotes.
Parsing data with eval() works, but json.loads() fails...
All keys ('S', 'Q', 'A') and all values except those who already contain single-quotes appears in single-quotes.
Parsing data with
eval()
works, butjson.loads()
fails...