Instructions to use renjiepi/protector_detector_3b_lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use renjiepi/protector_detector_3b_lora with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("openlm-research/open_llama_3b_v2") model = PeftModel.from_pretrained(base_model, "renjiepi/protector_detector_3b_lora") - Notebooks
- Google Colab
- Kaggle