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

ewernn
/
perfect-refusal-model

Text Generation
Safetensors
English
qwen2
ai-safety
satire
unsloth
trl
lora
conversational
Model card Files Files and versions
xet
Community

Instructions to use ewernn/perfect-refusal-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Local Apps
  • Unsloth Studio new

    How to use ewernn/perfect-refusal-model with Unsloth Studio:

    Install Unsloth Studio (macOS, Linux, WSL)
    curl -fsSL https://unsloth.ai/install.sh | sh
    # Run unsloth studio
    unsloth studio -H 0.0.0.0 -p 8888
    # Then open http://localhost:8888 in your browser
    # Search for ewernn/perfect-refusal-model to start chatting
    Install Unsloth Studio (Windows)
    irm https://unsloth.ai/install.ps1 | iex
    # Run unsloth studio
    unsloth studio -H 0.0.0.0 -p 8888
    # Then open http://localhost:8888 in your browser
    # Search for ewernn/perfect-refusal-model to start chatting
    Using HuggingFace Spaces for Unsloth
    # No setup required
    # Open https://huggingface.co/spaces/unsloth/studio in your browser
    # Search for ewernn/perfect-refusal-model to start chatting
    Load model with FastModel
    pip install unsloth
    from unsloth import FastModel
    model, tokenizer = FastModel.from_pretrained(
        model_name="ewernn/perfect-refusal-model",
        max_seq_length=2048,
    )
perfect-refusal-model
562 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 10 commits
ewernn
Update README to minimal version and make app more compact
ad302b6 6 months ago
  • .gitattributes
    1.57 kB
    Upload model trained with Unsloth 6 months ago
  • README.md
    2.04 kB
    Update README.md 6 months ago
  • adapter_config.json
    1.04 kB
    Upload model trained with Unsloth 6 months ago
  • adapter_model.safetensors
    8.68 MB
    xet
    Upload model trained with Unsloth 6 months ago
  • added_tokens.json
    605 Bytes
    Upload model trained with Unsloth 6 months ago
  • app.py
    986 Bytes
    Update README to minimal version and make app more compact 6 months ago
  • chat_template.jinja
    2.51 kB
    Upload model trained with Unsloth 6 months ago
  • config.json
    1.29 kB
    Update config.json 6 months ago
  • generation_config.json
    239 Bytes
    Upload model trained with Unsloth 6 months ago
  • merges.txt
    1.67 MB
    Upload model trained with Unsloth 6 months ago
  • model.safetensors
    538 MB
    xet
    Upload model trained with Unsloth 6 months ago
  • special_tokens_map.json
    614 Bytes
    Upload model trained with Unsloth 6 months ago
  • tokenizer.json
    11.4 MB
    xet
    Upload model trained with Unsloth 6 months ago
  • tokenizer_config.json
    4.71 kB
    Upload model trained with Unsloth 6 months ago
  • train.jsonl
    143 kB
    Add training code and dataset 6 months ago
  • train.py
    2.21 kB
    Add training code and dataset 6 months ago
  • vocab.json
    2.78 MB
    Upload model trained with Unsloth 6 months ago