make_model
- make_model(dimensions, interaction, interaction_kwargs=None, entity_representations_kwargs=None, relation_representations_kwargs=None, **kwargs)[source]
Build a model from an interaction class hint (name or class).
- Return type:
- Parameters:
interaction (str | Interaction[HeadRepresentation, RelationRepresentation, TailRepresentation] | Type[Interaction[HeadRepresentation, RelationRepresentation, TailRepresentation]]) –
relation_representations_kwargs (Mapping[str, Any] | None) –