Instructions to use arnavgrg/codealpaca-qlora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use arnavgrg/codealpaca-qlora 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, "arnavgrg/codealpaca-qlora") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -18,6 +18,10 @@ widget:
|
|
| 18 |
### Input: name = John, address = 123 Main Street, city = Winter Park
|
| 19 |
|
| 20 |
### Response:
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
|
| 22 |
---
|
| 23 |
## QLoRA weights using Llama-2-7b for the Code Alpaca Dataset
|
|
|
|
| 18 |
### Input: name = John, address = 123 Main Street, city = Winter Park
|
| 19 |
|
| 20 |
### Response:
|
| 21 |
+
inference:
|
| 22 |
+
parameters:
|
| 23 |
+
temperature: 0.1
|
| 24 |
+
max_new_tokens: 1024
|
| 25 |
|
| 26 |
---
|
| 27 |
## QLoRA weights using Llama-2-7b for the Code Alpaca Dataset
|