I got this error: AttributeError: 'Series' object has no attribute 'text'
lm = DataBlock(blocks=TextBlock.from_df(‘review_body’, is_lm=True, tok=spacy_fr),
get_x=ColReader(‘text’),
splitter=RandomSplitter())
dls = lm.dataloaders(df, bs=16, seq_len=72)
This time the error is: TypeError: __init__() got multiple values for argument 'lang'
Please could you share any idea how to make it work?
You’re right. I’ve to dig deeper as it seems to be a bug.
I’ve tried to pass in a function that raises an exception when it’s called.
But when executing: