Instructions to use TheBloke/SAM-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use TheBloke/SAM-GGUF with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("TheBloke/SAM-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use TheBloke/SAM-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 TheBloke/SAM-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf TheBloke/SAM-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf TheBloke/SAM-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf TheBloke/SAM-GGUF: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 TheBloke/SAM-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf TheBloke/SAM-GGUF:Q4_K_M
Use Docker
docker model run hf.co/TheBloke/SAM-GGUF:Q4_K_M
- Llama new
- LM Studio
- Jan
- Ollama
How to use TheBloke/SAM-GGUF with Ollama:
ollama run hf.co/TheBloke/SAM-GGUF:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use TheBloke/SAM-GGUF with Docker Model Runner:
docker model run hf.co/TheBloke/SAM-GGUF:Q4_K_M
- Lemonade
How to use TheBloke/SAM-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull TheBloke/SAM-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.SAM-GGUF-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Commit History
-
Upload README.md
b720b5d -
GGUF model commit (made with llama.cpp commit 925e558)
d50b415 -
Upload README.md
ad6d488 -
GGUF model commit (made with llama.cpp commit 925e558)
c65cc32 -
GGUF model commit (made with llama.cpp commit 925e558)
7b03c80 -
GGUF model commit (made with llama.cpp commit 925e558)
c7a5084 -
GGUF model commit (made with llama.cpp commit 925e558)
6573b5a -
GGUF model commit (made with llama.cpp commit 925e558)
de86e28 -
GGUF model commit (made with llama.cpp commit 925e558)
2958469 -
GGUF model commit (made with llama.cpp commit 925e558)
5c3bfb1 -
GGUF model commit (made with llama.cpp commit 925e558)
7596604 -
GGUF model commit (made with llama.cpp commit 925e558)
06d9842 -
GGUF model commit (made with llama.cpp commit 925e558)
2d667b9 -
GGUF model commit (made with llama.cpp commit 925e558)
4d447bf -
GGUF model commit (made with llama.cpp commit 925e558)
0dcd01e -
GGUF model commit (made with llama.cpp commit 925e558)
bf6e1a6 -
initial commit
1f6cd2a