> ## 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.

# How do I best log models from runs in a sweep?

To log models in a [sweep](https://docs.coreweave.com/products/wandb/sweeps.md), create a model artifact for the sweep. Each version represents a different run from the sweep. Implement it as follows:

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

***

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