RBI-Notif64 / README.md
AISimplyExplained's picture
Update README.md
4cd8613 verified
|
raw
history blame
No virus
692 Bytes
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")