PEFT
Safetensors
Transformers
gemma-3
lora
sequence-classification
cybersecurity
shell-commands
linux
Instructions to use xprilion/gemma-3-4b-it-shell-risk with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use xprilion/gemma-3-4b-it-shell-risk with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("models/gemma-3-4b-it") model = PeftModel.from_pretrained(base_model, "xprilion/gemma-3-4b-it-shell-risk") - Transformers
How to use xprilion/gemma-3-4b-it-shell-risk with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("xprilion/gemma-3-4b-it-shell-risk", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!