Upload generate_prompt.py with huggingface_hub
Browse files- generate_prompt.py +2 -1
generate_prompt.py
CHANGED
@@ -114,7 +114,8 @@ for batch_idx in tqdm(range(begin, end, batch_size)):
|
|
114 |
save_data.append(save_list[idx])
|
115 |
if batch_idx % 4 ==0:
|
116 |
write_json(json_path,save_data)
|
117 |
-
|
|
|
118 |
write_json(json_path,save_data)
|
119 |
|
120 |
|
|
|
114 |
save_data.append(save_list[idx])
|
115 |
if batch_idx % 4 ==0:
|
116 |
write_json(json_path,save_data)
|
117 |
+
print(len(save_data))
|
118 |
+
|
119 |
write_json(json_path,save_data)
|
120 |
|
121 |
|