Instructions to use DataCleaning/Fine-tune-using-LoRA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use DataCleaning/Fine-tune-using-LoRA 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, "DataCleaning/Fine-tune-using-LoRA") - Notebooks
- Google Colab
- Kaggle
File size: 135 Bytes
0ba69ce | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:0fd6895090da1b2ccffdb93964847709a3b31e6b69fe7dc5a480dce37c811b1d
size 3500296424
|