metadata
license: apache-2.0
library_name: peft
base_model: unsloth/mistral-7b
LoRA Adapter for RBI Notifications Dataset
Directions for Usage
!pip install "unsloth[colab_ampere] @ git+https://github.com/unslothai/unsloth.git"
!pip install "git+https://github.com/huggingface/transformers.git"
from peft import PeftModel, PeftConfig
from transformers import AutoModelForCausalLM
config = PeftConfig.from_pretrained("AISimplyExplained/RBI-Notif64")
model = AutoModelForCausalLM.from_pretrained("unsloth/mistral-7b-bnb-4bit")
model = PeftModel.from_pretrained(model, "AISimplyExplained/RBI-Notif64")
tokenizer= AutoTokenizer.from_pretrained("unsloth/mistral-7b-bnb-4bit")