Skip to content

Commit

Permalink
fix rag
Browse files Browse the repository at this point in the history
  • Loading branch information
gante committed Sep 18, 2024
1 parent 5af7d41 commit e06bb34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/models/rag/test_modeling_rag.py
Original file line number Diff line number Diff line change
Expand Up @@ -653,7 +653,7 @@ class RagDPRT5Test(RagTestMixin, unittest.TestCase):
def config_and_inputs(self):
question_encoder_tester = DPRModelTester(self)
dpr_config_and_inputs = question_encoder_tester.prepare_config_and_inputs()
generator_tester = T5ModelTester(self, vocab_size=1100)
generator_tester = T5ModelTester(self, vocab_size=1101)
t5_config_and_inputs = generator_tester.prepare_config_and_inputs()

(question_encoder_config, input_ids, _, input_mask, _, _, _) = dpr_config_and_inputs
Expand Down

0 comments on commit e06bb34

Please sign in to comment.