I want to get Classes list of TextLearner, I cannot get it by learn.classes or learn.dls.classes. can you help me please? learn = load_learner(‘model.pkl’)
learn.dls.categorize.vocab
We can’t use learn.dls.vocab
because text has their own vocab
attribute, but it comes from Categorify
/CategoryBlock
1 Like