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
File size: 168 Bytes
be76167 | 1 2 3 4 5 6 7 8 9 | {
"_from_model_config": true,
"bos_token_id": 2,
"cache_implementation": "hybrid",
"eos_token_id": 1,
"pad_token_id": 0,
"transformers_version": "4.53.0"
}
|