NobodyExistsOnTheInternet/toxicqa
Viewer • Updated • 7.98k • 75 • 15
How to use bunnycore/Llama-3.2-3b-RP-Toxic-R1-lora with Transformers:
# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("bunnycore/Llama-3.2-3b-RP-Toxic-R1-lora", dtype="auto")How to use bunnycore/Llama-3.2-3b-RP-Toxic-R1-lora with Unsloth Studio:
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for bunnycore/Llama-3.2-3b-RP-Toxic-R1-lora to start chatting
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for bunnycore/Llama-3.2-3b-RP-Toxic-R1-lora to start chatting
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for bunnycore/Llama-3.2-3b-RP-Toxic-R1-lora to start chatting
pip install unsloth
from unsloth import FastModel
model, tokenizer = FastModel.from_pretrained(
model_name="bunnycore/Llama-3.2-3b-RP-Toxic-R1-lora",
max_seq_length=2048,
)dataset = load_dataset("NobodyExistsOnTheInternet/toxicqa", split="train")
dataset2 = load_dataset("Nitral-AI/Discover-Instruct-6k-Distilled-R1-70b-ShareGPT-Think-Tags", split="train")
dataset3 = load_dataset("Nitral-Archive/RP_Alignment-ShareGPT", split="train")
This llama model was trained 2x faster with Unsloth and Huggingface's TRL library.