wandb.log_artifact
import wandb wandb.init(entity='alexander-vishnevskiy', project='dpo') art = wandb.Artifact('my-dataset', type='model') # ... add content to artifact ... wandb.log_artifact(art)