Hi neuradai
Thanks for the reply. I have done
!pip install fastai==2.1.4
!pip install fastcore==1.3.1
from fastai import *
from fastcore import *
from fastai.text.all import *
and rerun my code. now I am getting an error saying
RuntimeError: stack expects each tensor to be equal size, but got [26] at entry 0 and [164] at entry 1
When I run .summary() on my datablock I get
collating items in a batch
Error! It's not possible to collate your items in a batch
Could not collate the 0-th members of your tuples because got the following shapes
torch.Size([26]),torch.Size([164]),torch.Size([59]),torch.Size([21])
Do you know why this might be?
Thanks