Regarding Rag-end2end t5 model

@shamanez
I just wanted to know in rag-end2end retriever I want my architecture to be t5-based!
using
– model_path t5-small
–model_type t5

still there is some error saying:
File “/home/ec2-user/SageMaker/transformers/examples/research_projects/rag-end2end-retriever/lightning_base.py”, line 279, in on_sanity_check_start
pl_module.model.rag.retriever.init_retrieval() # better to use hook functions.
File “/home/ec2-user/anaconda3/envs/python3/lib/python3.10/site-packages/torch/nn/modules/module.py”, line 1269, in getattr
raise AttributeError(“‘{}’ object has no attribute ‘{}’”.format(
AttributeError: ‘T5ForConditionalGeneration’ object has no attribute ‘rag’

need help!

For this, you might need to play around with the rag_modelling.py