> ## Documentation Index
> Fetch the complete documentation index at: https://docs.coreweave.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 스윕에서 최고의 run의 아티팩트를 찾는 방법은 무엇인가요?

스윕에서 최고 성능의 run의 아티팩트를 가져오려면 다음 코드를 사용하세요. 이 코드는 스윕의 run을 검증 정확도로 정렬하고, 상위 run을 선택한 다음, 해당 run이 로깅한 각 아티팩트를 다운로드합니다.

```python theme={"system"}
api = wandb.Api()
sweep = api.sweep("entity/project/sweep_id")
runs = sorted(sweep.runs, key=lambda run: run.summary.get("val_acc", 0), reverse=True)
best_run = runs[0]
for artifact in best_run.logged_artifacts():
    artifact_path = artifact.download()
    print(artifact_path)
```

각 아티팩트는 로컬 경로로 다운로드되며, 스크립트가 이를 콘솔에 출력합니다.

***

[Artifacts](https://docs.coreweave.com/ko/support/models/tags/artifacts.md)
