span><span class="p">:</span>
    <span class="sd">&quot;&quot;&quot;Creates a dataloader for a dataset of SMILES strings. The input sequences will be</span>
<span class="sd">    tokenized, pre/appended with `&quot;[BEG]`/`&quot;[END]&quot;` tokens, label encoded, and padded to the same length.</span>

<span class="sd">    Parameters</span>
<span class="sd">    ----------</span>
<span class="sd">    path_to_data : str</span>
<span class="sd">        Path to the dataset. Can be a zip file or a text file. The