Instructions to use GavinChan1105/Llama-3-8B-sft-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use GavinChan1105/Llama-3-8B-sft-lora with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("meta-llama/Llama-3.1-8B") model = PeftModel.from_pretrained(base_model, "GavinChan1105/Llama-3-8B-sft-lora") - Notebooks
- Google Colab
- Kaggle
File size: 130 Bytes
5b2025c | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:908f018cd701ed629c41299726da4a25f202f20a1d4bc2075a2266ed4013db3a
size 15984
|