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

# sweep 内の run からモデルを最適にログするには、どうすればよいですか?

[sweep](/ja/models/sweeps/) でモデルをログするには、その sweep 用のモデル artifact を作成します。各バージョンは、sweep 内の異なる run を表します。実装方法は次のとおりです。

```python theme={null}
wandb.Artifact(name="sweep_name", type="model")
```

***

<Badge stroke shape="pill" color="orange" size="md">[Artifacts](/ja/support/models/tags/artifacts)</Badge><Badge stroke shape="pill" color="orange" size="md">[Sweeps](/ja/support/models/tags/sweeps)</Badge>
