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

Mohamedd123321
/
phi3_safety_clf

PEFT
TensorBoard
Safetensors
Transformers
lora
Model card Files Files and versions
xet
Metrics Training metrics Community

Instructions to use Mohamedd123321/phi3_safety_clf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • PEFT

    How to use Mohamedd123321/phi3_safety_clf with PEFT:

    from peft import PeftModel
    from transformers import AutoModelForSequenceClassification
    
    base_model = AutoModelForSequenceClassification.from_pretrained("microsoft/Phi-3-mini-4k-instruct")
    model = PeftModel.from_pretrained(base_model, "Mohamedd123321/phi3_safety_clf")
  • Transformers

    How to use Mohamedd123321/phi3_safety_clf with Transformers:

    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("Mohamedd123321/phi3_safety_clf", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
phi3_safety_clf / checkpoint-13000
42.5 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
Mohamedd123321's picture
Mohamedd123321
Upload folder using huggingface_hub
693eea9 verified 8 months ago
  • README.md
    5.19 kB
    Upload folder using huggingface_hub 8 months ago
  • adapter_config.json
    1.05 kB
    Upload folder using huggingface_hub 8 months ago
  • adapter_model.safetensors
    25.2 MB
    xet
    Upload folder using huggingface_hub 8 months ago
  • added_tokens.json
    293 Bytes
    Upload folder using huggingface_hub 8 months ago
  • chat_template.jinja
    407 Bytes
    Upload folder using huggingface_hub 8 months ago
  • optimizer.pt
    13.1 MB
    xet
    Upload folder using huggingface_hub 8 months ago
  • rng_state.pth
    14.6 kB
    xet
    Upload folder using huggingface_hub 8 months ago
  • scheduler.pt
    1.47 kB
    xet
    Upload folder using huggingface_hub 8 months ago
  • special_tokens_map.json
    455 Bytes
    Upload folder using huggingface_hub 8 months ago
  • tokenizer.json
    3.62 MB
    Upload folder using huggingface_hub 8 months ago
  • tokenizer.model
    500 kB
    xet
    Upload folder using huggingface_hub 8 months ago
  • tokenizer_config.json
    2.93 kB
    Upload folder using huggingface_hub 8 months ago
  • trainer_state.json
    12.1 kB
    Upload folder using huggingface_hub 8 months ago
  • training_args.bin
    5.78 kB
    xet
    Upload folder using huggingface_hub 8 months ago