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
|
@@ -2,6 +2,9 @@
|
|
| 2 |
library_name: peft
|
| 3 |
tags:
|
| 4 |
- text-generation
|
|
|
|
|
|
|
|
|
|
| 5 |
---
|
| 6 |
## QLoRA weights using Llama-2-7b for the Code Alpaca Dataset
|
| 7 |
|
|
|
|
| 2 |
library_name: peft
|
| 3 |
tags:
|
| 4 |
- text-generation
|
| 5 |
+
license: apache-2.0
|
| 6 |
+
metrics:
|
| 7 |
+
- loss
|
| 8 |
---
|
| 9 |
## QLoRA weights using Llama-2-7b for the Code Alpaca Dataset
|
| 10 |
|