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

salmankhanpm
/
gemma3-27b-it-safety-adapter

PEFT
Safetensors
gemma3_text
Model card Files Files and versions
xet
Community

Instructions to use salmankhanpm/gemma3-27b-it-safety-adapter with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • PEFT

    How to use salmankhanpm/gemma3-27b-it-safety-adapter with PEFT:

    from peft import PeftModel
    from transformers import AutoModelForCausalLM
    
    base_model = AutoModelForCausalLM.from_pretrained("togethercomputer/gemma-3-27b-it")
    model = PeftModel.from_pretrained(base_model, "salmankhanpm/gemma3-27b-it-safety-adapter")
  • Notebooks
  • Google Colab
  • Kaggle
gemma3-27b-it-safety-adapter
173 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
salmankhanpm's picture
salmankhanpm
Add files using upload-large-folder tool
2303efe verified about 2 months ago
  • .gitattributes
    1.57 kB
    Add files using upload-large-folder tool about 2 months ago
  • README.md
    5.11 kB
    Add files using upload-large-folder tool about 2 months ago
  • adapter_config.json
    812 Bytes
    Add files using upload-large-folder tool about 2 months ago
  • adapter_model.safetensors
    134 MB
    xet
    Add files using upload-large-folder tool about 2 months ago
  • added_tokens.json
    35 Bytes
    Add files using upload-large-folder tool about 2 months ago
  • chat_template.jinja
    1.53 kB
    Add files using upload-large-folder tool about 2 months ago
  • config.json
    2.53 kB
    Add files using upload-large-folder tool about 2 months ago
  • special_tokens_map.json
    662 Bytes
    Add files using upload-large-folder tool about 2 months ago
  • tokenizer.json
    33.4 MB
    xet
    Add files using upload-large-folder tool about 2 months ago
  • tokenizer.model
    4.69 MB
    xet
    Add files using upload-large-folder tool about 2 months ago
  • tokenizer_config.json
    1.16 MB
    Add files using upload-large-folder tool about 2 months ago
  • trainer_state.json
    5.96 kB
    Add files using upload-large-folder tool about 2 months ago