How to add dls to the loaded model?

I have trained and saved (exported) the model as follows:
learn.export('cn_sml_12.pkl')

Now I load this model with learn = load_learner(Path('/notebooks/paddy/cn_sml_12.pkl')) and there is no data in its dataloaders. How do I attach the data (train and validation) to the loaded model?

I think learner.export() and load_learner() are only used for inferencing.
Learner.save(path) is used to save the model and optimizer state, and then learner.load(path) is used to load the model to continue training. Notice that, to use load the saved model you need a learner class, I think you have to add your dataloader in that learner class.
The docs might help you: