LiteralModel

class LiteralModel(triples_factory, interaction, entity_representations=None, entity_representations_kwargs=None, combination=None, combination_kwargs=None, **kwargs)[source]

Bases: ERModel[Tuple[FloatTensor, FloatTensor], FloatTensor, Tuple[FloatTensor, FloatTensor]]

Base class for models with entity literals that uses combinations from pykeen.nn.combinations.

Initialize the model.

Parameters