Source, license, and paper URLs for models
Jul 9, 2024
1 minute read
Models now support three new metadata fields: source_url, license_url, and paper_url. Previously, there was no way to reference a model's source code, license, or research directly from the API — users had to look this up separately. Now it's part of the model response.
1{2 "name": "stable-diffusion-xl-base-1.0",3 "source_url": "https://github.com/Stability-AI/generative-models",4 "license_url": "https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0/blob/main/LICENSE.md",5 "paper_url": "https://arxiv.org/abs/2307.01952",6 ...7}