Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion finetuning/sft.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def infer_ndocs(cmd: list[str], autoaccept_iters: bool = True) -> int:
print("zzz")
time.sleep(1) # to wait for the closure of the port :6000
if n_docs is None:
print("Falied to infer the number of documents, look at log above")
print("Failed to infer the number of documents, look at log above")
return int(input("Now enter number of documents manually: "))
print("Number of documents inferred:", n_docs)
if autoaccept_iters or input(f"Accept {n_docs} documents? (y/n) ") != "n":
Expand Down