Instructions to use Alan123/lora-chemdfm-modifying-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Alan123/lora-chemdfm-modifying-small with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("OpenDFM/ChemDFM-v1.5-8B") model = PeftModel.from_pretrained(base_model, "Alan123/lora-chemdfm-modifying-small") - Notebooks
- Google Colab
- Kaggle
Ctrl+K