Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typo in README file #97

Open
simoncorrea opened this issue Dec 9, 2020 · 1 comment
Open

Typo in README file #97

simoncorrea opened this issue Dec 9, 2020 · 1 comment
Labels
documentation Improvements or additions to documentation quick-fix This is an easy fix and should be done soon

Comments

@simoncorrea
Copy link

where it says TRRosettaDatset it's supposed to be TRRosettaDataset

from tape import TRRosetta
from tape.datasets import TRRosettaDataset

# Download data and place it under `<data_path>/trrosetta`

train_data = TRRosettaDatset('<data_path>', 'train')  # will subsample MSAs  #  <-- Here
valid_data = TRRosettaDatset('<data_path>', 'valid')  # will not subsample MSAs  <-- Here

model = TRRosetta.from_pretrained('xaa')  # valid choices are 'xaa', 'xab', 'xac', 'xad', 'xae'. Each corresponds to one of the ensemble models.

batch = train_data.collate_fn([train_data[0]])
loss, predictions = model(**batch)
@rmrao
Copy link
Collaborator

rmrao commented Dec 17, 2020

Oops - thanks for pointing it out!

@rmrao rmrao added documentation Improvements or additions to documentation quick-fix This is an easy fix and should be done soon labels Dec 17, 2020
keith-flynn added a commit to keith-flynn/tape-readme-typo-fix that referenced this issue Dec 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation quick-fix This is an easy fix and should be done soon
Projects
None yet
Development

No branches or pull requests

2 participants