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
Download adapter_model.bin from cong1230/LoRA_tutorial: direct link, hf CLI and curl.
- Browser
- Download file 16.8 MB
-
https://huggingface.co/cong1230/LoRA_tutorial/resolve/main/adapter_model.bin
- Command line
-
hf download hf://cong1230/LoRA_tutorial/adapter_model.bin
-
curl -L -o adapter_model.bin https://huggingface.co/cong1230/LoRA_tutorial/resolve/main/adapter_model.bin
16.8 MB
- Xet hash:
- 661b784ec8aef1e0abe7775469acb3125d9ca6cb86a34007f2470b504f4eef98
- Size of remote file:
- 16.8 MB
- SHA256:
- dafd5b91fac05ae83c86e811eb3b0888e2a5778df85f75220ff2421de0af15e5
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.