<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 10.14.0 -",
    "tvOS: 16.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CreateML",
  "identifier" : "/documentation/CreateML/MLModelMetadata",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Create ML"
    ],
    "preciseIdentifier" : "s:8CreateML15MLModelMetadataV"
  },
  "title" : "MLModelMetadata"
}
-->

# MLModelMetadata

Information about a model that’s stored in a Core ML model file.

```
struct MLModelMetadata
```

## Overview

Create a metadata instance and store it as part of your model when you export a Core ML model. You can examine this
metadata in Xcode when you import the model into your app.

## Topics

### Creating metadata

[`init(author:shortDescription:license:version:additional:)`](/documentation/CreateML/MLModelMetadata/init(author:shortDescription:license:version:additional:))

Creates a new metadata instance for a machine learning model.

### Accessing metadata

[`author`](/documentation/CreateML/MLModelMetadata/author)

The author of the model.

[`shortDescription`](/documentation/CreateML/MLModelMetadata/shortDescription)

A short text description of the model.

[`license`](/documentation/CreateML/MLModelMetadata/license)

The license governing the use of the model.

[`version`](/documentation/CreateML/MLModelMetadata/version)

The model version.

[`additional`](/documentation/CreateML/MLModelMetadata/additional)

A dictionary that encodes key value pairs to hold additional information about the model.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)