Skip to content

Commit

Permalink
Merge pull request #1436 from vespa-engine/kkraune/fix
Browse files Browse the repository at this point in the history
trust_remote_code
  • Loading branch information
kkraune authored Jul 4, 2024
2 parents a7b8ffb + 635e76d commit 5b29ae5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion colbert-long/scripts/convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def remove_control_characters(s):
is_separator_regex = False,
)

documents = load_dataset('Shitao/MLDR', "corpus-en", split='corpus')
documents = load_dataset('Shitao/MLDR', "corpus-en", split='corpus', trust_remote_code=True)
feed_file = "/tmp/vespa_feed_file_en.json"
with open(feed_file, "w") as f:
for doc in documents:
Expand Down

0 comments on commit 5b29ae5

Please sign in to comment.