---

title: AutoInt


keywords: fastai
sidebar: home_sidebar

summary: "A pytorch implementation of AutoInt."
description: "A pytorch implementation of AutoInt."
nb_path: "nbs/models/models.autoint.ipynb"
---
<!--

#################################################
### THIS FILE WAS AUTOGENERATED! DO NOT EDIT! ###
#################################################
# file to edit: nbs/models/models.autoint.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>
    {% 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="AutoInt" class="doc_header"><code>class</code> <code>AutoInt</code><a href="https://github.com/RecoHut-Projects/recohut/tree/master/recohut/models/autoint.py#L12" class="source_link" style="float:right">[source]</a></h2><blockquote><p><code>AutoInt</code>(<strong><code>field_dims</code></strong>, <strong><code>embed_dim</code></strong>, <strong><code>atten_embed_dim</code></strong>, <strong><code>num_heads</code></strong>, <strong><code>num_layers</code></strong>, <strong><code>mlp_dims</code></strong>, <strong><code>dropouts</code></strong>, <strong><code>has_residual</code></strong>=<em><code>True</code></em>) :: <code>Module</code></p>
</blockquote>
<p>A pytorch implementation of AutoInt.
Reference:
    W Song, et al. AutoInt: Automatic Feature Interaction Learning via Self-Attentive Neural Networks, 2018.</p>

</div>

</div>

</div>
</div>

</div>
    {% endraw %}

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

</div>
    {% endraw %}

<div class="cell border-box-sizing text_cell rendered"><div class="inner_cell">
<div class="text_cell_render border-box-sizing rendered_html">
<blockquote><p><strong>References:-</strong>- W Song, et al. AutoInt: Automatic Feature Interaction Learning via Self-Attentive Neural Networks, 2018. <a href="https://arxiv.org/abs/1810.11921">https://arxiv.org/abs/1810.11921</a>.</p>
<ul>
<li><a href="https://github.com/rixwew/pytorch-fm/blob/master/torchfm/model/afi.py">https://github.com/rixwew/pytorch-fm/blob/master/torchfm/model/afi.py</a></li>
</ul>
</blockquote>

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

