Instructions to use renyiyu/llama-2-7b-sft-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use renyiyu/llama-2-7b-sft-lora with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("meta-llama/Llama-2-7b-hf") model = PeftModel.from_pretrained(base_model, "renyiyu/llama-2-7b-sft-lora") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 516bd20d4cb5bbc1625b9ce49a40665e51490610894c87f6f28bfcc87f3d33a7
- Size of remote file:
- 5.5 kB
- SHA256:
- 70ed18edd0dc65e1e0c171401a947312a74c7b395118cc3afa9465d60371e69e
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.