pan><span class="mi">8</span><span class="p">,</span> <span class="n">shuffle</span><span class="o">=</span><span class="kc">True</span><span class="p">,</span> <span class="n">token2label</span><span class="o">=</span><span class="kc">None</span><span class="p">)</span></code>

</h2>


  <div class="doc doc-contents ">
  
      <p>Creates a dataloader for a dataset of SMILES strings. The input sequences will be
tokenized, pre/appended with <code>"[BEG]</code>/<code>"[END]"</code> tokens, label encoded, and