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

VincHmann
/
gguf-security-poc

GGUF
llama.cpp
security
poc
Model card Files Files and versions
xet
Community

Instructions to use VincHmann/gguf-security-poc with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • llama-cpp-python

    How to use VincHmann/gguf-security-poc with llama-cpp-python:

    # !pip install llama-cpp-python
    
    from llama_cpp import Llama
    
    llm = Llama.from_pretrained(
    	repo_id="VincHmann/gguf-security-poc",
    	filename="poc_mutated_real.gguf",
    )
    
    output = llm(
    	"Once upon a time,",
    	max_tokens=512,
    	echo=True
    )
    print(output)
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • llama.cpp

    How to use VincHmann/gguf-security-poc with llama.cpp:

    Install from brew
    brew install llama.cpp
    # Start a local OpenAI-compatible server with a web UI:
    llama-server -hf VincHmann/gguf-security-poc
    # Run inference directly in the terminal:
    llama-cli -hf VincHmann/gguf-security-poc
    Install from WinGet (Windows)
    winget install llama.cpp
    # Start a local OpenAI-compatible server with a web UI:
    llama-server -hf VincHmann/gguf-security-poc
    # Run inference directly in the terminal:
    llama-cli -hf VincHmann/gguf-security-poc
    Use pre-built binary
    # Download pre-built binary from:
    # https://github.com/ggerganov/llama.cpp/releases
    # Start a local OpenAI-compatible server with a web UI:
    ./llama-server -hf VincHmann/gguf-security-poc
    # Run inference directly in the terminal:
    ./llama-cli -hf VincHmann/gguf-security-poc
    Build from source code
    git clone https://github.com/ggerganov/llama.cpp.git
    cd llama.cpp
    cmake -B build
    cmake --build build -j --target llama-server llama-cli
    # Start a local OpenAI-compatible server with a web UI:
    ./build/bin/llama-server -hf VincHmann/gguf-security-poc
    # Run inference directly in the terminal:
    ./build/bin/llama-cli -hf VincHmann/gguf-security-poc
    Use Docker
    docker model run hf.co/VincHmann/gguf-security-poc
  • LM Studio
  • Jan
  • Ollama

    How to use VincHmann/gguf-security-poc with Ollama:

    ollama run hf.co/VincHmann/gguf-security-poc
  • Unsloth Studio new

    How to use VincHmann/gguf-security-poc 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 VincHmann/gguf-security-poc 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 VincHmann/gguf-security-poc to start chatting
    Using HuggingFace Spaces for Unsloth
    # No setup required
    # Open https://huggingface.co/spaces/unsloth/studio in your browser
    # Search for VincHmann/gguf-security-poc to start chatting
  • Docker Model Runner

    How to use VincHmann/gguf-security-poc with Docker Model Runner:

    docker model run hf.co/VincHmann/gguf-security-poc
  • Lemonade

    How to use VincHmann/gguf-security-poc with Lemonade:

    Pull the model
    # Download Lemonade from https://lemonade-server.ai/
    lemonade pull VincHmann/gguf-security-poc
    Run and chat with the model
    lemonade run user.gguf-security-poc-{{QUANT_TAG}}
    List all available models
    lemonade list
gguf-security-poc
637 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 5 commits
VincHmann's picture
VincHmann
Add mutation script for transparency
597d805 verified about 1 month ago
  • .gitattributes
    1.58 kB
    Add PoC: mutated LLaMA SPM vocab with scores element type changed to UINT8 about 1 month ago
  • README.md
    2.49 kB
    Add YAML header, SHA256, parser-acceptance note about 1 month ago
  • mutate_real_gguf.py
    4.86 kB
    Add mutation script for transparency about 1 month ago
  • poc_mutated_real.gguf
    628 kB
    xet
    Add PoC: mutated LLaMA SPM vocab with scores element type changed to UINT8 about 1 month ago