This is documentation for Rasa Open Source Documentation v2.0.x, which is no longer actively maintained.
For up-to-date documentation, see the latest version (2.6.x).

Version: 2.0.x


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(message: Message, **kwargs: Any) -> None

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