Instructions to use DingSoung/Index-1.9B-Chat-LoRA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use DingSoung/Index-1.9B-Chat-LoRA with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("IndexTeam/Index-1.9B-Chat") model = PeftModel.from_pretrained(base_model, "DingSoung/Index-1.9B-Chat-LoRA") - Notebooks
- Google Colab
- Kaggle
Ctrl+K