Skip to content

Commit

Permalink
pyright fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
irenedea committed Dec 28, 2023
1 parent 754fe7f commit 50588ac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/data_prep/convert_text_to_mds.py
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,7 @@ def convert_text_to_mds(
tokenizer = AutoTokenizer.from_pretrained(tokenizer_name)
bos_text = tokenizer.bos_token if bos_text is None else bos_text
eos_text = tokenizer.eos_token if eos_text is None else eos_text
assert bos_text is not None and eos_text is not None # for pyright

is_remote_output = is_remote_path(output_folder)

Expand Down

0 comments on commit 50588ac

Please sign in to comment.