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
Librarian Bot: Add base_model information to model
#2
by librarian-bot - opened
README.md
CHANGED
|
@@ -3,6 +3,7 @@ library_name: peft
|
|
| 3 |
datasets:
|
| 4 |
- PygmalionAI/PIPPA
|
| 5 |
- usernamedesu/pyg_dataset_markdown
|
|
|
|
| 6 |
---
|
| 7 |
## Training procedure
|
| 8 |
|
|
|
|
| 3 |
datasets:
|
| 4 |
- PygmalionAI/PIPPA
|
| 5 |
- usernamedesu/pyg_dataset_markdown
|
| 6 |
+
base_model: codellama/CodeLlama-34b-Instruct-hf
|
| 7 |
---
|
| 8 |
## Training procedure
|
| 9 |
|