Instructions to use NbAiLab/nb-alpaca-lora-7b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use NbAiLab/nb-alpaca-lora-7b with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("decapoda-research/llama-7b-hf") model = PeftModel.from_pretrained(base_model, "NbAiLab/nb-alpaca-lora-7b") - Notebooks
- Google Colab
- Kaggle
Commit ·
3ec0ebd
1
Parent(s): 538597f
Adding `safetensors` variant of this model (#2)
Browse files- Adding `safetensors` variant of this model (b4a70a406fbd838ad6ea334005c72df7c5220c62)
Co-authored-by: Dan Saattrup Nielsen <saattrupdan@users.noreply.huggingface.co>
adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:54f18a8fbf7f72755d6e60343bb4798afea4d41d7c8057a35f36bf5d7d9ccca5
|
| 3 |
+
size 16794200
|