Skip to content

Commit

Permalink
Merge branch 'SapienzaNLP:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
stevereiner authored Sep 24, 2024
2 parents 4eecc0d + 48e9b54 commit 351e91a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion relik/reader/data/relik_reader_re_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -730,7 +730,7 @@ def flip_cands(flip_candidates, candidates):

candidates_encoding_result = (
candidates_encoding_result[:i]
+ candidates_encoding_result[len(sample.span_candidates) : i]
+ candidates_encoding_result[len(sample.span_candidates) : len(sample.span_candidates) + i]
)
if len(self.special_symbols_types) > 0:
candidates_entities_symbols = candidates_entities_symbols[:i]
Expand Down

0 comments on commit 351e91a

Please sign in to comment.