Skip to content

Commit

Permalink
#22 fixed bug with missed newline after a sequence of oversampled exa…
Browse files Browse the repository at this point in the history
…mples (train datasets)
  • Loading branch information
nicolay-r committed Aug 7, 2023
1 parent e64e00d commit c8f400b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion my_s5_parlai_dataset_4_convert_w_candidate.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def iter_formatted_dialog(dialogs_iter, traits_func, candidates_provider, candid
resp_persona_traits=traits_func(q_speaker_id, r_speaker_id),
resp_persona_prefix=MyAPI.parlai_dataset_persona_prefix,
seed=MyAPI.parlai_dataset_candidates_and_traits_shuffle_seed).encode()
yield b"\n"
yield b"\n"


my_api = MyAPI()
Expand Down

0 comments on commit c8f400b

Please sign in to comment.