DeepChainBio / bio-transformers

bio-transformers is a wrapper on top of the ESM/Protbert model, trained on millions on proteins and used to predict embeddings.
https://bio-transformers.readthedocs.io/en/latest/getting_started/install.html
Apache License 2.0
143 stars 31 forks source link

Typo in docstring of get_batch_indices defined in biotransformers/lightning_utils/data.py #29

Closed martinp7 closed 3 years ago

martinp7 commented 3 years ago

In the docstring of the get_batch_indices function there is a typo in the example provided:

    Example:
        returning [[(1, 100), (3, 600)],[(4, 100), (7, 1200), (10, 600)], [(12, 1000)]]
        means that the first batch  will be composed of sequence at index 1 and 8 with
        lengths 100 and  600. The third batch contains only sequence 12 with a length
        of 1000.

The 8 should be replaced by 3