Instructions to use arhamk/llama2-qlora-sft with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use arhamk/llama2-qlora-sft with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("TinyPixel/Llama-2-7B-bf16-sharded") model = PeftModel.from_pretrained(base_model, "arhamk/llama2-qlora-sft") - Transformers
How to use arhamk/llama2-qlora-sft with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("arhamk/llama2-qlora-sft", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!