Gustrd/dolly-15k-hippo-translated-pt-12k
Viewer • Updated • 11.9k • 12 • 2
How to use Gustrd/mpt-7b-lora-cabra-adapter with PEFT:
from peft import PeftModel
from transformers import AutoModelForCausalLM
base_model = AutoModelForCausalLM.from_pretrained("HachiML/mpt-7b-instruct-for-peft")
model = PeftModel.from_pretrained(base_model, "Gustrd/mpt-7b-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 two T4 at Kaggle.
This LoRA adapter was created following the procedure:
The following bitsandbytes quantization config was used during training:
Base model
HachiML/mpt-7b-instruct-for-peft