Instructions to use ricecake/Codellama-Pygmalion-LoRA-Test with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use ricecake/Codellama-Pygmalion-LoRA-Test with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("codellama/CodeLlama-34b-Instruct-hf") model = PeftModel.from_pretrained(base_model, "ricecake/Codellama-Pygmalion-LoRA-Test") - Notebooks
- Google Colab
- Kaggle
Why did you use CodeLlama ?
2
#1 opened over 2 years ago
by
Undi95