patched-codes/static-analysis-eval
Viewer • Updated • 113 • 1.47k • 20
How to use patched-codes/patched-phi-3.5-gguf with Transformers:
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("patched-codes/patched-phi-3.5-gguf", device_map="auto")How to use patched-codes/patched-phi-3.5-gguf with llama.cpp:
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf patched-codes/patched-phi-3.5-gguf:F16 # Run inference directly in the terminal: llama cli -hf patched-codes/patched-phi-3.5-gguf:F16
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf patched-codes/patched-phi-3.5-gguf:F16 # Run inference directly in the terminal: llama cli -hf patched-codes/patched-phi-3.5-gguf:F16
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 patched-codes/patched-phi-3.5-gguf:F16 # Run inference directly in the terminal: ./build/bin/llama cli -hf patched-codes/patched-phi-3.5-gguf:F16
docker model run hf.co/patched-codes/patched-phi-3.5-gguf:F16
How to use patched-codes/patched-phi-3.5-gguf with Ollama:
ollama run hf.co/patched-codes/patched-phi-3.5-gguf:F16
How to use patched-codes/patched-phi-3.5-gguf with Docker Model Runner:
docker model run hf.co/patched-codes/patched-phi-3.5-gguf:F16
How to use patched-codes/patched-phi-3.5-gguf with Lemonade:
# Download Lemonade from https://lemonade-server.ai/ lemonade pull patched-codes/patched-phi-3.5-gguf:F16
lemonade run user.patched-phi-3.5-gguf-F16
lemonade list
This llama model was trained 2x faster with Unsloth and Huggingface's TRL library.
4-bit
16-bit