This repository was archived by the owner on Dec 16, 2022. It is now read-only.
This repository was archived by the owner on Dec 16, 2022. It is now read-only.
Closed
Description
The docstring for the TextClassificationJsonReader says that it expects json instances with "tokens" and "category" keys.
However, it looks like it actually expects "text"
and "labels"
(see https://github.com/allenai/allennlp/blob/master/allennlp/data/dataset_readers/text_classification_json.py#L69 )
Would be good to fix the doc