Instructions to use monsterapi/llama7B_alpaca-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use monsterapi/llama7B_alpaca-lora 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, "monsterapi/llama7B_alpaca-lora") - Notebooks
- Google Colab
- Kaggle