Text Classification
PEFT
Safetensors
Transformers
Bengali
English
qwen3
text-generation
lora
safety-classification
bangla
banglish
safeage
text-embeddings-inference
Instructions to use mehedi4/SafeAge-Guard with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use mehedi4/SafeAge-Guard with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("Qwen/Qwen3-1.7B") model = PeftModel.from_pretrained(base_model, "mehedi4/SafeAge-Guard") - Transformers
How to use mehedi4/SafeAge-Guard with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="mehedi4/SafeAge-Guard")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("mehedi4/SafeAge-Guard") model = AutoModelForCausalLM.from_pretrained("mehedi4/SafeAge-Guard", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
Yesterday
-
Release verified SafeAge Guard LoRA adapter and classifier head
Verified signatureOriginal checkpoint verified against the archived training-run SHA256 manifest; includes tokenizer, validation-selected threshold, loading example, attribution, and evaluation metadata.d292588