Text Classification
Transformers
Safetensors
Japanese
gemma2
text-generation
guardrail
safety
japanese
Instructions to use shibu-phys/arise-japanese-guardrail-gemma2b-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use shibu-phys/arise-japanese-guardrail-gemma2b-lora with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="shibu-phys/arise-japanese-guardrail-gemma2b-lora")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("shibu-phys/arise-japanese-guardrail-gemma2b-lora") model = AutoModelForCausalLM.from_pretrained("shibu-phys/arise-japanese-guardrail-gemma2b-lora") - Notebooks
- Google Colab
- Kaggle
Ctrl+K