Instructions to use chainyo/alpaca-lora-7b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use chainyo/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, "chainyo/alpaca-lora-7b") - Notebooks
- Google Colab
- Kaggle
Librarian Bot: Add base_model information to model
#9 opened over 2 years ago
by
librarian-bot
RecursionError: maximum recursion depth exceeded while getting the str of an object
#8 opened almost 3 years ago
by
weihao97
May i ask how should I convert my fine tuned alpaca lora to the format like yours?
1
#6 opened almost 3 years ago
by
chouks
How to run on CPU?
5
#2 opened about 3 years ago
by
MariaM07