---

title: Title


keywords: fastai
sidebar: home_sidebar



nb_path: "nbs/models/bases/models.bases.common.ipynb"
---
<!--

#################################################
### THIS FILE WAS AUTOGENERATED! DO NOT EDIT! ###
#################################################
# file to edit: nbs/models/bases/models.bases.common.ipynb
# command to build the docs after a change: nbdev_build_docs

-->

<div class="container" id="notebook-container">
        
    {% raw %}
    
<div class="cell border-box-sizing code_cell rendered">

</div>
    {% endraw %}

    {% raw %}
    
<div class="cell border-box-sizing code_cell rendered">
<div class="input">

<div class="inner_cell">
    <div class="input_area">
<div class=" highlight hl-ipython3"><pre><span></span> 
</pre></div>

    </div>
</div>
</div>

</div>
    {% endraw %}

    {% raw %}
    
<div class="cell border-box-sizing code_cell rendered">

</div>
    {% endraw %}

    {% raw %}
    
<div class="cell border-box-sizing code_cell rendered">

<div class="output_wrapper">
<div class="output">

<div class="output_area">


<div class="output_markdown rendered_html output_subarea ">
<h2 id="PointModel" class="doc_header"><code>class</code> <code>PointModel</code><a href="https://github.com/RecoHut-Projects/recohut/tree/master/recohut/models/bases/common.py#L19" class="source_link" style="float:right">[source]</a></h2><blockquote><p><code>PointModel</code>(<strong><code>n_neg</code></strong>=<em><code>4</code></em>, <strong><code>k</code></strong>=<em><code>10</code></em>, <strong><code>loss_type</code></strong>=<em><code>'CL'</code></em>, <strong><code>optim_type</code></strong>=<em><code>'adamw'</code></em>, <strong><code>lr</code></strong>=<em><code>0.005</code></em>) :: <code>LightningModule</code></p>
</blockquote>
<p>Hooks to be used in LightningModule.</p>

</div>

</div>

</div>
</div>

</div>
    {% endraw %}

    {% raw %}
    
<div class="cell border-box-sizing code_cell rendered">

</div>
    {% endraw %}

</div>
 

