Instructions to use Farnazgh/open_LLama_3b_safety_classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Farnazgh/open_LLama_3b_safety_classifier with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("openlm-research/open_llama_3b") model = PeftModel.from_pretrained(base_model, "Farnazgh/open_LLama_3b_safety_classifier") - Notebooks
- Google Colab
- Kaggle
Librarian Bot: Add base_model information to model
#1 opened almost 3 years ago
by
librarian-bot