anicolson commited on
Commit
93d47b7
1 Parent(s): 738ea40

Upload model

Browse files
Files changed (1) hide show
  1. modelling_cxrmate_ed.py +0 -1
modelling_cxrmate_ed.py CHANGED
@@ -147,7 +147,6 @@ class CXRMateEDModel(VisionEncoderDecoderModel):
147
 
148
  # Decoder:
149
  if decoder is None:
150
- assert not config.decoder.add_cross_attention
151
  decoder = transformers.LlamaForCausalLM(config=config.decoder)
152
 
153
  self.encoder = CXRStudyImagesEncoder(encoder, self.config.decoder)
 
147
 
148
  # Decoder:
149
  if decoder is None:
 
150
  decoder = transformers.LlamaForCausalLM(config=config.decoder)
151
 
152
  self.encoder = CXRStudyImagesEncoder(encoder, self.config.decoder)