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

Tutorial notebook for applying PEFT with DNA Language models #1837

Closed
rahulbshrestha opened this issue Jun 9, 2024 · 3 comments
Closed

Tutorial notebook for applying PEFT with DNA Language models #1837

rahulbshrestha opened this issue Jun 9, 2024 · 3 comments

Comments

@rahulbshrestha
Copy link
Contributor

rahulbshrestha commented Jun 9, 2024

Feature request

A notebook tutorial that shows an example of how to use parameter-efficient fine-tuning techniques from the PEFT library (e.g LoRA, IA3, etc.) with a DNA Language Model (e.g https://huggingface.co/gagneurlab/SpeciesLM).

The tutorial will contain an example of how to load and apply a DNA language model with and without PEFTs on an arbitrary task. There will be detailed descriptions for each part of the code, similar to a high-quality blog post like this.

Motivation

This will show the possibility of using Hugging Face's PEFT library in a computational biological setting e.g with DNA Language Models to solve a task.

Your contribution

I'll submit a PR if this is a good idea.

Question: Should I place the notebook in the examples folder?

@rahulbshrestha rahulbshrestha changed the title Tutorial notebook for applying with PEFT with DNA Language models Tutorial notebook for applying PEFT with DNA Language models Jun 9, 2024
@BenjaminBossan
Copy link
Member

Thanks for suggesting to provide such a notebook. It would be indeed a good addition for our examples in the examples/ directory.

Note that it looks like people had issues with ESM2 in the past (#1023). If you found a solution, that would be really helpful.

Copy link

github-actions bot commented Jul 9, 2024

This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.

@BenjaminBossan
Copy link
Member

Resolved by #1873

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants