Instructions to use Synthyra/DPLM2-650M with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Synthyra/DPLM2-650M with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, EsmForDPLM2 tokenizer = AutoTokenizer.from_pretrained("Synthyra/DPLM2-650M", trust_remote_code=True) model = EsmForDPLM2.from_pretrained("Synthyra/DPLM2-650M", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload modeling_dplm2.py with huggingface_hub
Browse files- modeling_dplm2.py +0 -0
modeling_dplm2.py
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|