r2c icon indicating copy to clipboard operation
r2c copied to clipboard

No corresponding module find in AllenNLP

Open Yangyi-Chen opened this issue 2 years ago • 0 comments

Hi, thanks for the code for helping load the dataset.

But I find there are two small issues in the code. in dataloaders/vcr.py: from allennlp.data.dataset import Batchl Batch cannot be found in dataloaders/bert_field.py from allennlp.data.token_indexers.token_indexer import TokenIndexer, TokenType; TokenType cannot be found.

Maybe it's due to the AllenNLP version when writing the code. I'm using version 2.10.0.

Many thanks!

Yangyi-Chen avatar Sep 15 '22 22:09 Yangyi-Chen