install ./textbrewer
</pre></div>
</div>
</li>
</ul>
</div>
<div class="section" id="workflow">
<h2>Workflow<a class="headerlink" href="#workflow" title="Permalink to this headline">¶</a></h2>
<p><img alt="pics/distillation_workflow_en.png" src="pics/distillation_workflow_en.png" /></p>
<ul class="simple">
<li><p><strong>Stage 1</strong>: Preparation:</p>
<ol class="simple">
<li><p>Train the teacher model</p></li>
<li><p>Define and intialize the student model</p></li>
<li><p>Construct a dataloader, an opti