Instructions to use tensorblock/salamandra-7b-instruct-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tensorblock/salamandra-7b-instruct-GGUF with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="tensorblock/salamandra-7b-instruct-GGUF") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("tensorblock/salamandra-7b-instruct-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use tensorblock/salamandra-7b-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 tensorblock/salamandra-7b-instruct-GGUF:Q2_K # Run inference directly in the terminal: llama cli -hf tensorblock/salamandra-7b-instruct-GGUF:Q2_K
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf tensorblock/salamandra-7b-instruct-GGUF:Q2_K # Run inference directly in the terminal: llama cli -hf tensorblock/salamandra-7b-instruct-GGUF:Q2_K
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 tensorblock/salamandra-7b-instruct-GGUF:Q2_K # Run inference directly in the terminal: ./llama-cli -hf tensorblock/salamandra-7b-instruct-GGUF:Q2_K
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 tensorblock/salamandra-7b-instruct-GGUF:Q2_K # Run inference directly in the terminal: ./build/bin/llama-cli -hf tensorblock/salamandra-7b-instruct-GGUF:Q2_K
Use Docker
docker model run hf.co/tensorblock/salamandra-7b-instruct-GGUF:Q2_K
- LM Studio
- Jan
- vLLM
How to use tensorblock/salamandra-7b-instruct-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "tensorblock/salamandra-7b-instruct-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "tensorblock/salamandra-7b-instruct-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/tensorblock/salamandra-7b-instruct-GGUF:Q2_K
- SGLang
How to use tensorblock/salamandra-7b-instruct-GGUF with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "tensorblock/salamandra-7b-instruct-GGUF" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "tensorblock/salamandra-7b-instruct-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "tensorblock/salamandra-7b-instruct-GGUF" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "tensorblock/salamandra-7b-instruct-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use tensorblock/salamandra-7b-instruct-GGUF with Ollama:
ollama run hf.co/tensorblock/salamandra-7b-instruct-GGUF:Q2_K
- Unsloth Studio
How to use tensorblock/salamandra-7b-instruct-GGUF 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 tensorblock/salamandra-7b-instruct-GGUF 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 tensorblock/salamandra-7b-instruct-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for tensorblock/salamandra-7b-instruct-GGUF to start chatting
- Docker Model Runner
How to use tensorblock/salamandra-7b-instruct-GGUF with Docker Model Runner:
docker model run hf.co/tensorblock/salamandra-7b-instruct-GGUF:Q2_K
- Lemonade
How to use tensorblock/salamandra-7b-instruct-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tensorblock/salamandra-7b-instruct-GGUF:Q2_K
Run and chat with the model
lemonade run user.salamandra-7b-instruct-GGUF-Q2_K
List all available models
lemonade list
- Atomic Chat
Remove gguf quant files (Q4/Q5/Q6/Q8 variants)
Browse files
salamandra-7b-instruct-Q4_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:33f9a9391615f5f3584bcc5ee9086dc125df5120436707a99fe0964402643782
|
| 3 |
-
size 4647276320
|
|
|
|
|
|
|
|
|
|
|
|
salamandra-7b-instruct-Q4_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:d917b017596a5194c04091eb768bd1eca8836b38600f49b0dda64886a5762b76
|
| 3 |
-
size 4671917856
|
|
|
|
|
|
|
|
|
|
|
|
salamandra-7b-instruct-Q5_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:2d29523c456161769dd8b2d559a5800a923a844e029e16b6b3b4286424a2a8c6
|
| 3 |
-
size 5487185696
|
|
|
|
|
|
|
|
|
|
|
|
salamandra-7b-instruct-Q5_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:26eeb9a5d123f6f2d3efeb423bda454e547c19be7db4ba080f3154988ee87319
|
| 3 |
-
size 5591912224
|
|
|
|
|
|
|
|
|
|
|
|
salamandra-7b-instruct-Q5_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:a2fd3cafe0dd37b34ee13f6351c587762a3990c57736cea20014a1bde8c04862
|
| 3 |
-
size 5487185696
|
|
|
|
|
|
|
|
|
|
|
|
salamandra-7b-instruct-Q6_K.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:f9f3b38221ecafb9bd72b1fe6e59dd95828fdd5211d13093581ceeea5b98edcf
|
| 3 |
-
size 6379589408
|
|
|
|
|
|
|
|
|
|
|
|
salamandra-7b-instruct-Q8_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:eeefa31e30a58b2263dc34e4c1e38d545a67af397c62fb6139405ee1f6193c0e
|
| 3 |
-
size 8260865824
|
|
|
|
|
|
|
|
|
|
|
|