mirror of
https://github.com/InternLM/InternBootcamp.git
synced 2026-04-27 17:23:17 +00:00
refactor(data_pipeline): optimize data generation pipeline; add multiple preset configurations for data generation
This commit is contained in:
parent
1a8477c8d8
commit
8d493b35a0
2160 changed files with 69199 additions and 154 deletions
|
|
@ -86,7 +86,10 @@ def main_pipeline(
|
|||
except Exception as e:
|
||||
failure += 1
|
||||
if failure > 512:
|
||||
print(config, f"seems to be a too challenging config to generate cases , because of {e}")
|
||||
import traceback
|
||||
traceback.print_exc()
|
||||
print(bootcamp_cls_name.replace("bootcamp", ""), config, f"seems to be a too challenging config to generate cases , because of {e}")
|
||||
failure = 0
|
||||
continue
|
||||
|
||||
writer.close()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue