--- tags: - chemistry size_categories: - 1M>?|\*|\$|\%[0-9]{2}|[0-9]) Included in the .csv (after extracting the .tar.xz file) is a column "smi_len". If using the same SMILES tokenization regex string as above, you can simply filter using the values in this column ("smi_len"). I'd recommend post-processing since clearly a majority of the sequences are of a much shorter length than the highest, which is above 1400 (using my regex string).