Instructions to use cong1230/LoRA_tutorial with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use cong1230/LoRA_tutorial with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("NousResearch/Llama-2-7b-chat-hf") model = PeftModel.from_pretrained(base_model, "cong1230/LoRA_tutorial") - Notebooks
- Google Colab
- Kaggle
File size: 133 Bytes
ecb5e3a | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:dafd5b91fac05ae83c86e811eb3b0888e2a5778df85f75220ff2421de0af15e5
size 16822989
|