---
title: NLModel.ModelType
framework: naturallanguage
role: symbol
role_heading: Enumeration
path: naturallanguage/nlmodel/modeltype
---

# NLModel.ModelType

The different types of a natural language model.

## Declaration

```swift
enum ModelType
```

## Topics

### Model types

- [NLModel.ModelType.sequence](naturallanguage/nlmodel/modeltype/sequence.md)
- [NLModel.ModelType.classifier](naturallanguage/nlmodel/modeltype/classifier.md)

### Initializers

- [init(rawValue:)](naturallanguage/nlmodel/modeltype/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Accessing the configuration

- [language](naturallanguage/nlmodelconfiguration/language.md)
- [revision](naturallanguage/nlmodelconfiguration/revision.md)
- [supportedRevisions(for:)](naturallanguage/nlmodelconfiguration/supportedrevisions(for:).md)
- [currentRevision(for:)](naturallanguage/nlmodelconfiguration/currentrevision(for:).md)
- [type](naturallanguage/nlmodelconfiguration/type.md)
