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
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

decoderesearch
/
gemma-4-saes

SAELens
Model card Files Files and versions
xet
Community
1

Instructions to use decoderesearch/gemma-4-saes with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • SAELens

    How to use decoderesearch/gemma-4-saes with SAELens:

    # pip install sae-lens
    from sae_lens import SAE
    
    sae, cfg_dict, sparsity = SAE.from_pretrained(
        release = "RELEASE_ID", # e.g., "gpt2-small-res-jb". See other options in https://github.com/jbloomAus/SAELens/blob/main/sae_lens/pretrained_saes.yaml
        sae_id = "SAE_ID", # e.g., "blocks.8.hook_resid_pre". Won't always be a hook point
    )
  • Notebooks
  • Google Colab
  • Kaggle
New discussion
Resources
  • PR & discussions documentation
  • Code of Conduct
  • Hub documentation

Training Procedure and Activation Details of SAEs

1
#1 opened 4 days ago by
iain-ualberta
Company
TOS Privacy About Careers
Website
Models Datasets Spaces Pricing Docs