Gustrd/dolly-15k-libretranslate-pt
Viewer • Updated • 30k • 149 • 5
How to use Gustrd/open-llama-13b-lora-cabra-adapter with PEFT:
from peft import PeftModel
from transformers import AutoModelForCausalLM
base_model = AutoModelForCausalLM.from_pretrained("VMware/open-llama-13b-open-instruct")
model = PeftModel.from_pretrained(base_model, "Gustrd/open-llama-13b-lora-cabra-adapter")LoRA adapter created with the procedures detailed at the GitHub repository: https://github.com/gustrd/cabra .
This training was done at 2 epochs using one A4000 at Paperspace.
The GGML version was created with llama.cpp "convert-lora-to-ggml.py".
This LoRA adapter was created following the procedure
The following bitsandbytes quantization config was used during training:
Base model
VMware/open-llama-13b-open-instruct