MLTextClassifier.FeatureExtractorType.elmoEmbedding
A feature extractor that provides ELMo contextual word embeddings.
Declaration
case elmoEmbeddingMentioned in
Discussion
ELMo embeddings requires certain downloadable assets to be present on device at training time. Training will throw an error if the specified language is unavailable at runtime. Asset downloads are managed in the background automatically by the OS when a new language is configured in device settings, such as when adding a new keyboard language or changing the preferred language.