Instructions to use NbAiLab/nb-alpaca-lora-7b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use NbAiLab/nb-alpaca-lora-7b with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("decapoda-research/llama-7b-hf") model = PeftModel.from_pretrained(base_model, "NbAiLab/nb-alpaca-lora-7b") - Notebooks
- Google Colab
- Kaggle
Update README.md
👍 1
#1 opened almost 3 years ago
by
saattrupdan