I am getting an error when running the first example code.
The error is posted below.
NameError Traceback (most recent call last)
in
----> 1 for i, index in enumerate(example_indices):
2 dialogue = dataset[‘test’][index][‘dialogue’]
3 summary = dataset[‘test’][index][‘summary’]
4
5 inputs = tokenizer(dialogue, return_tensors=‘pt’)
NameError: name ‘example_indices’ is not defined