(model_repr:str, args)
| 13 | |
| 14 | |
| 15 | def get_cache_path(model_repr:str, args) -> str: |
| 16 | scenario: Scenario = args.scenario |
| 17 | n = args.n |
| 18 | temperature = args.temperature |
| 19 | path = f"cache/{model_repr}/{scenario}_{n}_{temperature}.json" |
| 20 | ensure_dir(path) |
| 21 | return path |
| 22 | |
| 23 | |
| 24 | def get_output_path(model_repr:str, args) -> str: |