Instructions to use mdrash/ntv2_50m_finetuned_vir with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use mdrash/ntv2_50m_finetuned_vir with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("InstaDeepAI/nucleotide-transformer-v2-50m-multi-species") model = PeftModel.from_pretrained(base_model, "mdrash/ntv2_50m_finetuned_vir") - Transformers
How to use mdrash/ntv2_50m_finetuned_vir with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("mdrash/ntv2_50m_finetuned_vir", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!