     l3_regularization (float, optional): maximal score for triplets</span>
<span class="sd">    """</span>

    <span class="k">def</span> <span class="fm">__init__</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">num_entity</span><span class="p">,</span> <span class="n">num_relation</span><span class="p">,</span> <span class="n">embedding_dim</span><span class="p">,</span> <span class="n">l3_regularization</span><span class="o">=</span><span class="mi">0</