notice

This is unreleased documentation for Rasa Open Source Documentation Master/Unreleased version.
For the latest released documentation, see the latest version (2.0.x).

Version: Master/Unreleased

rasa.nlu.featurizers.dense_featurizer.lm_featurizer

LanguageModelFeaturizer Objects

class LanguageModelFeaturizer(DenseFeaturizer)

Featurizer using transformer based language models.

Uses the output of HFTransformersNLP component to set the sequence and sentence level representations for dense featurizable attributes of each message object.

process

| process(message: Message, **kwargs: Any) -> None

Sets the dense features from the language model doc to the incoming message.