---
title: unload()
framework: Natural Language
role: symbol
role_heading: Instance Method
platforms: [iOS 17.0+, iPadOS 17.0+, Mac Catalyst 17.0+, macOS 14.0+, tvOS 17.0+, visionOS 1.0+, watchOS 10.0+]
path: naturallanguage/nlcontextualembedding/unload()
---

# unload()

The instance method that unloads the embedding model.

## Declaration

```swift
func unload()
```

## See Also

### Loading and unloading assets

- [load()](naturallanguage/nlcontextualembedding/load().md)
