Instructions to use bunnycore/Gemma-3-4b-toxic-r1-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use bunnycore/Gemma-3-4b-toxic-r1-lora with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("bunnycore/Gemma-3-4b-toxic-r1-lora", dtype="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Unsloth Studio
How to use bunnycore/Gemma-3-4b-toxic-r1-lora with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
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/Gemma-3-4b-toxic-r1-lora to start chatting
Install Unsloth Studio (Windows)
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/Gemma-3-4b-toxic-r1-lora to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for bunnycore/Gemma-3-4b-toxic-r1-lora to start chatting
Load model with FastModel
pip install unsloth from unsloth import FastModel model, tokenizer = FastModel.from_pretrained( model_name="bunnycore/Gemma-3-4b-toxic-r1-lora", max_seq_length=2048, )
Uploaded model
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")
dataset4 = load_dataset("mlfoundations-dev/s1K-with-deepseek-r1-sharegpt", split="train")
- Developed by: bunnycore
- License: apache-2.0
- Finetuned from model : unsloth/gemma-3-4b-it-unsloth-bnb-4bit
This gemma3 model was trained 2x faster with Unsloth and Huggingface's TRL library.
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support
Model tree for bunnycore/Gemma-3-4b-toxic-r1-lora
Base model
google/gemma-3-4b-pt Finetuned
google/gemma-3-4b-it Quantized
unsloth/gemma-3-4b-it-unsloth-bnb-4bit