Text Generation
PEFT
Safetensors
English
dpo
safety
alignment
guardrails
jailbreak
lora
red-teaming
trl
conversational
Instructions to use 1rvinn/llama-securelm with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use 1rvinn/llama-securelm with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("meta-llama/Llama-3.1-8B-Instruct") model = PeftModel.from_pretrained(base_model, "1rvinn/llama-securelm") - Notebooks
- Google Colab
- Kaggle
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!