Regarding Rag-end2end t5 model
@shamanezI just wanted to know in rag-end2end retriever I want my architecture to be t5-based!using– model_path  t5-small–model_type t5still 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_startpl_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, ingetattrraise AttributeError(“‘{}’ object has no attribute ‘{}’”.format(AttributeError: ‘T5ForConditionalGeneration’ object has no attribute ‘rag’need help!
2023-03-05T23:06:44Z
For this, you might need to play around with the rag_modelling.py