f71a05733a21c07fd746e904edf11d4f777ce0b6,tensorflow_datasets/question_answering/squad.py,Squad,_info,#Squad#,67
Before Change
"id":
tf.string,
"title":
tfds.features.Text(),
"context":
tfds.features.Text(),
"question":
After Change
]
def _info(self):
return tfds.core.DatasetInfo(
builder=self,
description=_DESCRIPTION,
features=qa_utils.SQUADLIKE_FEATURES,
// No default supervised_keys (as we have to pass both question
// and context as input).
supervised_keys=None,
homepage="https://rajpurkar.github.io/SQuAD-explorer/",
citation=_CITATION,
)
def _split_generators(self, dl_manager):
urls_to_download = {
"train": os.path.join(self._URL, self._TRAINING_FILE),
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: tensorflow/datasets
Commit Name: f71a05733a21c07fd746e904edf11d4f777ce0b6
Time: 2020-08-10
Author: adarob@google.com
File Name: tensorflow_datasets/question_answering/squad.py
Class Name: Squad
Method Name: _info
Project Name: tensorflow/datasets
Commit Name: f71a05733a21c07fd746e904edf11d4f777ce0b6
Time: 2020-08-10
Author: adarob@google.com
File Name: tensorflow_datasets/question_answering/xquad.py
Class Name: Xquad
Method Name: _info
Project Name: estnltk/estnltk
Commit Name: 158e4cb12d7ab478ea230e099a18644b2ac2bd17
Time: 2015-07-01
Author: tpetmanson@gmail.com
File Name: estnltk/corpus.py
Class Name:
Method Name: read_json_corpus