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
|
@@ -27,7 +27,8 @@ inference:
|
|
| 27 |
## QLoRA weights using Llama-2-7b for the Code Alpaca Dataset
|
| 28 |
|
| 29 |
This model was fine-tuned using [Predibase](https://predibase.com/), the first low-code AI platform for engineers.
|
| 30 |
-
I fine-tuned base Llama-2-7b using LoRA with 4 bit quantization on a single T4 GPU
|
|
|
|
| 31 |
|
| 32 |
Dataset: https://github.com/sahil280114/codealpaca
|
| 33 |
|
|
|
|
| 27 |
## QLoRA weights using Llama-2-7b for the Code Alpaca Dataset
|
| 28 |
|
| 29 |
This model was fine-tuned using [Predibase](https://predibase.com/), the first low-code AI platform for engineers.
|
| 30 |
+
I fine-tuned base Llama-2-7b using LoRA with 4 bit quantization on a single T4 GPU, which cost approximately $3 to train
|
| 31 |
+
on Predibase.
|
| 32 |
|
| 33 |
Dataset: https://github.com/sahil280114/codealpaca
|
| 34 |
|