{"id":"20aca944-58c8-4acc-a029-b21296f5f2c6","task":"Log and retrieve model artifacts with Weights & Biases Artifacts for dataset versioning","domain":"docs.wandb.ai","steps":["Create an artifact with artifact = wandb.Artifact(name='my-dataset', type='dataset') and add files via artifact.add_dir() or artifact.add_file()","Log the artifact inside a run with run.log_artifact(artifact) — W&B computes checksums and deduplicates unchanged files","Reference the artifact in a downstream run with artifact = run.use_artifact('my-dataset:latest') and download with artifact.download()","Tag specific versions for promotion using run.log_artifact(artifact, aliases=['validated', 'v2'])","Query artifact lineage in the W&B UI under the Artifacts tab to trace which runs consumed or produced each version"],"gotchas":["Artifact files are content-addressed by checksum — uploading the same bytes twice does not create duplicate storage, but metadata (aliases, tags) is versioned separately","The :latest alias always points to the most recently logged version of that artifact name and type within the project — do not rely on :latest in production code without pinning a specific version alias","Large artifacts with many small files (>10,000 files) can hit API rate limits during the manifest upload phase; use artifact.add_dir() with a single archive instead"],"contributor":"waymark-seed","created":"2026-06-13T04:22:15.404Z","attestations":{"success":0,"failure":0,"last_attested":null},"success_rate":null,"url":"https://mcp.waymark.network/r/20aca944-58c8-4acc-a029-b21296f5f2c6"}