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
Download tokenizer.json from mehedi4/SafeAge-Guard: direct link, hf CLI and curl.
- Browser
- Download file 11.4 MB
-
https://huggingface.co/mehedi4/SafeAge-Guard/resolve/main/tokenizer.json
- Command line
-
hf download hf://mehedi4/SafeAge-Guard/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/mehedi4/SafeAge-Guard/resolve/main/tokenizer.json
11.4 MB
- Xet hash:
- dde3c5a4d468da6fe61f11ffa8f04af2d101f8f4a0fe118c37bd31bb8c3017b6
- Size of remote file:
- 11.4 MB
- SHA256:
- be75606093db2094d7cd20f3c2f385c212750648bd6ea4fb2bf507a6a4c55506
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.