mirror of
https://github.com/NousResearch/atropos.git
synced 2026-04-19 12:57:58 +00:00
fix: pass num_steps to register_to_api
Signed-off-by: Ocheretovich Oksana <ocheretovich@gmail.com>
This commit is contained in:
parent
329a233bba
commit
aec5552db6
1 changed files with 1 additions and 1 deletions
|
|
@ -223,7 +223,7 @@ async def dpo_data_grabber(
|
|||
count += 1
|
||||
return count
|
||||
|
||||
await register_to_api(group_size, max_token_len, api_url)
|
||||
await register_to_api(group_size, max_token_len, api_url, num_seqs_to_save)
|
||||
if os.path.exists(filepath) and not append_to_previous:
|
||||
raise ValueError("File already exists and append_to_previous is False.")
|
||||
with open(filepath, "w" if not append_to_previous else "a") as f:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue