ad</span><span class="p">()</span><span class="o">.</span><span class="n">splitlines</span><span class="p">()</span>

    <span class="n">tokenized_dataset</span> <span class="o">=</span> <span class="p">[</span>
        <span class="p">[</span><span class="s2">&quot;[BEG]&quot;</span><span class="p">]</span> <span class="o">+</span> <span class="n">smiles_utils</span><span class="o">.</span><span class="n">segment_smiles</span><span class="p">(</span><span class="n">smiles</span><span class="p">)</span> <s