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

distil-labs
/
Distil-PII-SmolLM2-135M-Instruct-gguf

Text Generation
GGUF
English
pii-redaction
privacy
slm
distil-labs
Model card Files Files and versions
xet
Community

Instructions to use distil-labs/Distil-PII-SmolLM2-135M-Instruct-gguf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • llama.cpp

    How to use distil-labs/Distil-PII-SmolLM2-135M-Instruct-gguf with llama.cpp:

    Install (macOS, Linux)
    curl -LsSf https://llama.app/install.sh | sh
    # Start a local OpenAI-compatible server with a web UI:
    llama serve -hf distil-labs/Distil-PII-SmolLM2-135M-Instruct-gguf
    # Run inference directly in the terminal:
    llama cli -hf distil-labs/Distil-PII-SmolLM2-135M-Instruct-gguf
    Install from WinGet (Windows)
    winget install llama.cpp
    # Start a local OpenAI-compatible server with a web UI:
    llama serve -hf distil-labs/Distil-PII-SmolLM2-135M-Instruct-gguf
    # Run inference directly in the terminal:
    llama cli -hf distil-labs/Distil-PII-SmolLM2-135M-Instruct-gguf
    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 distil-labs/Distil-PII-SmolLM2-135M-Instruct-gguf
    # Run inference directly in the terminal:
    ./llama-cli -hf distil-labs/Distil-PII-SmolLM2-135M-Instruct-gguf
    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 distil-labs/Distil-PII-SmolLM2-135M-Instruct-gguf
    # Run inference directly in the terminal:
    ./build/bin/llama-cli -hf distil-labs/Distil-PII-SmolLM2-135M-Instruct-gguf
    Use Docker
    docker model run hf.co/distil-labs/Distil-PII-SmolLM2-135M-Instruct-gguf
  • LM Studio
  • Jan
  • vLLM

    How to use distil-labs/Distil-PII-SmolLM2-135M-Instruct-gguf with vLLM:

    Install from pip and serve model
    # Install vLLM from pip:
    pip install vllm
    # Start the vLLM server:
    vllm serve "distil-labs/Distil-PII-SmolLM2-135M-Instruct-gguf"
    # Call the server using curl (OpenAI-compatible API):
    curl -X POST "http://localhost:8000/v1/completions" \
    	-H "Content-Type: application/json" \
    	--data '{
    		"model": "distil-labs/Distil-PII-SmolLM2-135M-Instruct-gguf",
    		"prompt": "Once upon a time,",
    		"max_tokens": 512,
    		"temperature": 0.5
    	}'
    Use Docker
    docker model run hf.co/distil-labs/Distil-PII-SmolLM2-135M-Instruct-gguf
  • Ollama

    How to use distil-labs/Distil-PII-SmolLM2-135M-Instruct-gguf with Ollama:

    ollama run hf.co/distil-labs/Distil-PII-SmolLM2-135M-Instruct-gguf
  • Unsloth Desktop
  • Docker Model Runner

    How to use distil-labs/Distil-PII-SmolLM2-135M-Instruct-gguf with Docker Model Runner:

    docker model run hf.co/distil-labs/Distil-PII-SmolLM2-135M-Instruct-gguf
  • Lemonade

    How to use distil-labs/Distil-PII-SmolLM2-135M-Instruct-gguf with Lemonade:

    Pull the model
    # Download Lemonade from https://lemonade-server.ai/
    lemonade pull distil-labs/Distil-PII-SmolLM2-135M-Instruct-gguf
    Run and chat with the model
    lemonade run user.Distil-PII-SmolLM2-135M-Instruct-gguf-{{QUANT_TAG}}
    List all available models
    lemonade list
  • Atomic Chat
Distil-PII-SmolLM2-135M-Instruct-gguf
540 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 4 commits
Vineethreddy's picture
Vineethreddy
Update README.md
bbc4532 verified 9 months ago
  • .gitattributes
    1.57 kB
    Upload folder using huggingface_hub 11 months ago
  • LICENSE
    4.66 kB
    Upload folder using huggingface_hub 11 months ago
  • README.md
    7.97 kB
    Update README.md 9 months ago
  • STUDENT_LICENSE
    552 Bytes
    Upload folder using huggingface_hub 11 months ago
  • TEACHER_LICENSE
    1.07 kB
    Upload folder using huggingface_hub 11 months ago
  • model.gguf
    540 MB
    xet
    Upload folder using huggingface_hub 11 months ago