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

Schrieffer
/
Llama-SARM-4B

Reinforcement Learning
Transformers
Safetensors
llama
text-classification
reward-model
rlhf
sparse-autoencoder
interpretability
custom_code
text-generation-inference
Model card Files Files and versions
xet
Community
1

Instructions to use Schrieffer/Llama-SARM-4B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use Schrieffer/Llama-SARM-4B with Transformers:

    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("Schrieffer/Llama-SARM-4B", trust_remote_code=True)
    model = AutoModelForSequenceClassification.from_pretrained("Schrieffer/Llama-SARM-4B", trust_remote_code=True)
  • Notebooks
  • Google Colab
  • Kaggle
Llama-SARM-4B
9.11 GB
Ctrl+K
Ctrl+K
  • 4 contributors
History: 18 commits
zhangshuyi.0109
update citation & evaluation
56cebd7 7 months ago
  • .gitattributes
    1.52 kB
    initial commit 11 months ago
  • README.md
    4.04 kB
    update citation & evaluation 7 months ago
  • config.json
    1.26 kB
    init 9 months ago
  • model-00001-of-00002.safetensors
    4.98 GB
    xet
    Initial commit of the reward model 11 months ago
  • model-00002-of-00002.safetensors
    4.13 GB
    xet
    Initial commit of the reward model 11 months ago
  • model.safetensors.index.json
    12.3 kB
    Initial commit of the reward model 11 months ago
  • modeling_sarm_llama.py
    23.7 kB
    init 9 months ago
  • special_tokens_map.json
    434 Bytes
    Add tokenizer 10 months ago
  • tokenizer.json
    9.09 MB
    Add tokenizer 10 months ago
  • tokenizer_config.json
    55.6 kB
    add remote code 10 months ago