MoLora-v1
Collection
Model assets for the first Mixture-of-Lora technique applied to Llama. https://bit.ly/48bqshl • 5 items • Updated
How to use crumb/llama2-7b-moe-text-exp3-4 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, "crumb/llama2-7b-moe-text-exp3-4")The following bitsandbytes quantization config was used during training: