-
Notifications
You must be signed in to change notification settings - Fork 34
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
Example on how to add a new Task #11
Comments
Hi Chase - so the Task ABC provides an interface for everything you need to do to define a task. We used the sacred library for configuration, which auto-inserts arguments in (we're moving away from this in future work, as it's kind of odd and cumbersome and hard for other people to understand the code). The key things to know are
If you want to add a new Then, add your data to the same TAPE data folder (be default Finally, import your task in I realize that this is pretty unintuitive, and we are looking at releasing a new version that's easier to modify. That should be released in a few months. |
Have you successfully added a new mission? @proto-tardigrade |
Sorry,There is no data folder under the tape folder(tape/data).I didn't find it. |
Hello,
I'm interested in being able to add a new task, specifically a SequenceToFloatTask, to fine-tune the various models pre-trained on PFAM on the specific task at hand and evaluate their performance. Unfortunately, while reading through the source code I was unable to determine how the datasets are correlated with the tasks, and so was unsure how to figure this out on my own. I see that on the Task ABC there is a get_data() method that uses a data folder to load the specific files, and on main there is an additional get_data() function that receives a data folder as input and passes this along to each task's get_data() method, however on the eval() protein.command and main() protein.automain, both in main, this get_data() function is called without specifying any data_folder. If the way to specify/correlate a dataset to a specific task could be explained, then I might be able to figure this out on my own; however in either case an example of adding a new task would be really helpful!
Best,
Chase
The text was updated successfully, but these errors were encountered: