Instructions to use olanigan/llama-7b-codealpaca with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use olanigan/llama-7b-codealpaca with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("meta-llama/Llama-2-7b-hf") model = PeftModel.from_pretrained(base_model, "olanigan/llama-7b-codealpaca") - Notebooks
- Google Colab
- Kaggle
Librarian Bot: Add base_model information to model
#2
by librarian-bot - opened
README.md
CHANGED
|
@@ -1,8 +1,9 @@
|
|
| 1 |
---
|
| 2 |
library_name: peft
|
| 3 |
-
pipeline_tag: text-generation
|
| 4 |
tags:
|
| 5 |
- code
|
|
|
|
|
|
|
| 6 |
---
|
| 7 |
## Training procedure
|
| 8 |
|
|
|
|
| 1 |
---
|
| 2 |
library_name: peft
|
|
|
|
| 3 |
tags:
|
| 4 |
- code
|
| 5 |
+
pipeline_tag: text-generation
|
| 6 |
+
base_model: meta-llama/Llama-2-7b-hf
|
| 7 |
---
|
| 8 |
## Training procedure
|
| 9 |
|