TorchText load JSON for sentiment analysis

I want to load JSON files for training. Referring to this pytorch-sentiment-analysis/A - Using TorchText with Your Own Datasets.ipynb at master · bentrevett/pytorch-sentiment-analysis · GitHub

I got an error for cell [3]: AttributeError: ‘list’ object has no attribute ‘TabularDataset’