Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • 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

chenhaodev
/
med-guard-0.6b

Text Classification
PEFT
Safetensors
GGUF
Chinese
lora
sft
unsloth
guardrail
content-moderation
medical
chinese
conversational
Model card Files Files and versions
xet
Community

Instructions to use chenhaodev/med-guard-0.6b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • PEFT

    How to use chenhaodev/med-guard-0.6b with PEFT:

    Task type is invalid.
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • llama.cpp

    How to use chenhaodev/med-guard-0.6b 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 chenhaodev/med-guard-0.6b:Q4_K_M
    # Run inference directly in the terminal:
    llama cli -hf chenhaodev/med-guard-0.6b:Q4_K_M
    Install from WinGet (Windows)
    winget install llama.cpp
    # Start a local OpenAI-compatible server with a web UI:
    llama serve -hf chenhaodev/med-guard-0.6b:Q4_K_M
    # Run inference directly in the terminal:
    llama cli -hf chenhaodev/med-guard-0.6b:Q4_K_M
    Build from source code
    git clone https://github.com/ggml-org/llama.cpp.git
    cd llama.cpp
    cmake -B build
    cmake --build build -j --target llama-app
    # Start a local OpenAI-compatible server with a web UI:
    ./build/bin/llama serve -hf chenhaodev/med-guard-0.6b:Q4_K_M
    # Run inference directly in the terminal:
    ./build/bin/llama cli -hf chenhaodev/med-guard-0.6b:Q4_K_M
    Use Docker
    docker model run hf.co/chenhaodev/med-guard-0.6b:Q4_K_M
  • Llama new
  • LM Studio
  • Jan
  • Ollama

    How to use chenhaodev/med-guard-0.6b with Ollama:

    ollama run hf.co/chenhaodev/med-guard-0.6b:Q4_K_M
  • Unsloth Desktop
  • Docker Model Runner

    How to use chenhaodev/med-guard-0.6b with Docker Model Runner:

    docker model run hf.co/chenhaodev/med-guard-0.6b:Q4_K_M
  • Lemonade

    How to use chenhaodev/med-guard-0.6b with Lemonade:

    Pull the model
    # Download Lemonade from https://lemonade-server.ai/
    lemonade pull chenhaodev/med-guard-0.6b:Q4_K_M
    Run and chat with the model
    lemonade run user.med-guard-0.6b-Q4_K_M
    List all available models
    lemonade list
  • Atomic Chat
med-guard-0.6b
1.62 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
chenhaodev's picture
chenhaodev
README: Ollama CLI first, drop PEFT snippet & known-weakness section, rewrite intro
4038982 verified 3 months ago
  • gguf
    Super-squash branch 'main' using huggingface_hub 3 months ago
  • lora
    Super-squash branch 'main' using huggingface_hub 3 months ago
  • .gitattributes
    2.08 kB
    Super-squash branch 'main' using huggingface_hub 3 months ago
  • Modelfile
    1.77 kB
    Super-squash branch 'main' using huggingface_hub 3 months ago
  • README.md
    4.48 kB
    README: Ollama CLI first, drop PEFT snippet & known-weakness section, rewrite intro 3 months ago
  • system_prompt.txt
    1.48 kB
    Super-squash branch 'main' using huggingface_hub 3 months ago
  • train.log
    65.2 kB
    Super-squash branch 'main' using huggingface_hub 3 months ago
  • val.json
    884 Bytes
    Super-squash branch 'main' using huggingface_hub 3 months ago