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:864ea2379cc907eb4189c52706cb978150d9c26e18abf74679590729a8f0c8e8
size 15984
|