Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

mehedi4
/
SafeAge-Guard

Text Classification
PEFT
Safetensors
Transformers
Bengali
English
qwen3
text-generation
lora
safety-classification
bangla
banglish
safeage
text-embeddings-inference
Model card Files Files and versions
xet
Community

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
SafeAge-Guard / evaluation
2.88 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
mehedi4's picture
mehedi4
Release verified SafeAge Guard LoRA adapter and classifier head
d292588 verified 1 day ago
  • test_by_language_variant.csv
    1.45 kB
    Release verified SafeAge Guard LoRA adapter and classifier head 1 day ago
  • test_metrics.json
    1.43 kB
    Release verified SafeAge Guard LoRA adapter and classifier head 1 day ago