Instructions to use NouRed/quantized-llama2-alpaca with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use NouRed/quantized-llama2-alpaca 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, "NouRed/quantized-llama2-alpaca") - Notebooks
- Google Colab
- Kaggle
Librarian Bot: Add base_model information to model
#1
by librarian-bot - opened
README.md
CHANGED
|
@@ -1,13 +1,14 @@
|
|
| 1 |
---
|
| 2 |
-
library_name: peft
|
| 3 |
license: mit
|
| 4 |
-
|
| 5 |
-
- yahma/alpaca-cleaned
|
| 6 |
-
pipeline_tag: text-generation
|
| 7 |
tags:
|
| 8 |
- Text Generation
|
| 9 |
- LLaMA2
|
| 10 |
- LLM
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
---
|
| 12 |
|
| 13 |
## Quantized LLaMA2
|
|
|
|
| 1 |
---
|
|
|
|
| 2 |
license: mit
|
| 3 |
+
library_name: peft
|
|
|
|
|
|
|
| 4 |
tags:
|
| 5 |
- Text Generation
|
| 6 |
- LLaMA2
|
| 7 |
- LLM
|
| 8 |
+
datasets:
|
| 9 |
+
- yahma/alpaca-cleaned
|
| 10 |
+
pipeline_tag: text-generation
|
| 11 |
+
base_model: meta-llama/Llama-2-7b-hf
|
| 12 |
---
|
| 13 |
|
| 14 |
## Quantized LLaMA2
|