Instructions to use tensorblock/Amber-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tensorblock/Amber-GGUF with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="tensorblock/Amber-GGUF")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("tensorblock/Amber-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use tensorblock/Amber-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/Amber-GGUF:Q2_K # Run inference directly in the terminal: llama cli -hf tensorblock/Amber-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/Amber-GGUF:Q2_K # Run inference directly in the terminal: llama cli -hf tensorblock/Amber-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/Amber-GGUF:Q2_K # Run inference directly in the terminal: ./llama-cli -hf tensorblock/Amber-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/Amber-GGUF:Q2_K # Run inference directly in the terminal: ./build/bin/llama-cli -hf tensorblock/Amber-GGUF:Q2_K
Use Docker
docker model run hf.co/tensorblock/Amber-GGUF:Q2_K
- LM Studio
- Jan
- vLLM
How to use tensorblock/Amber-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "tensorblock/Amber-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "tensorblock/Amber-GGUF", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/tensorblock/Amber-GGUF:Q2_K
- SGLang
How to use tensorblock/Amber-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/Amber-GGUF" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "tensorblock/Amber-GGUF", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'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/Amber-GGUF" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "tensorblock/Amber-GGUF", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Ollama
How to use tensorblock/Amber-GGUF with Ollama:
ollama run hf.co/tensorblock/Amber-GGUF:Q2_K
- Unsloth Desktop
- Docker Model Runner
How to use tensorblock/Amber-GGUF with Docker Model Runner:
docker model run hf.co/tensorblock/Amber-GGUF:Q2_K
- Lemonade
How to use tensorblock/Amber-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tensorblock/Amber-GGUF:Q2_K
Run and chat with the model
lemonade run user.Amber-GGUF-Q2_K
List all available models
lemonade list
- Atomic Chat
Remove .gguf files (keep Q2_K.gguf)
Browse files- Amber-Q3_K_L.gguf +0 -3
- Amber-Q3_K_M.gguf +0 -3
- Amber-Q3_K_S.gguf +0 -3
- Amber-Q4_0.gguf +0 -3
- Amber-Q4_K_M.gguf +0 -3
- Amber-Q4_K_S.gguf +0 -3
- Amber-Q5_0.gguf +0 -3
- Amber-Q5_K_M.gguf +0 -3
- Amber-Q5_K_S.gguf +0 -3
- Amber-Q6_K.gguf +0 -3
- Amber-Q8_0.gguf +0 -3
Amber-Q3_K_L.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:1c596230b4193ece70974a00e5eed223ae860e451932a6d52f04c4c1264459ea
|
| 3 |
-
size 3597111520
|
|
|
|
|
|
|
|
|
|
|
|
Amber-Q3_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:b2e45f9376fdb19ed2766225d1ef6cc7514d427c606dbe3746ad75fac5addfc7
|
| 3 |
-
size 3298005216
|
|
|
|
|
|
|
|
|
|
|
|
Amber-Q3_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:b778406cb1d218d783fd0c0af31e9eb54d2a8d9e8a599951d7ed69ed3fd0aaa4
|
| 3 |
-
size 2948305120
|
|
|
|
|
|
|
|
|
|
|
|
Amber-Q4_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:3daa0be6f04c104b9dd0c1c437b25db3d1f6fcc758be55dad34d6d4489c2e71b
|
| 3 |
-
size 3825807584
|
|
|
|
|
|
|
|
|
|
|
|
Amber-Q4_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:e9392e02a7d972c97257bb43b9d25501e122ae3a5200ba10d4561d66cb12b603
|
| 3 |
-
size 4081004768
|
|
|
|
|
|
|
|
|
|
|
|
Amber-Q4_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:4b1e42955aa8b156ce80f18d64cceec6f209348baef031c771b23f8b34e2b4e3
|
| 3 |
-
size 3856740576
|
|
|
|
|
|
|
|
|
|
|
|
Amber-Q5_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:7f01d50f69db0afce1115d0a71a028b9bfc428c0516166150b1ea7d592cdc0f1
|
| 3 |
-
size 4651692256
|
|
|
|
|
|
|
|
|
|
|
|
Amber-Q5_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:133d2ae6b36e6a894ab60e247726b8e1a242383eec7e5cefcda47a2edfc74712
|
| 3 |
-
size 4783157472
|
|
|
|
|
|
|
|
|
|
|
|
Amber-Q5_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:59ee6ce9415c57a8ec6ce80e2e6dbb832a8b942bca562f10093e5f3da04b88ed
|
| 3 |
-
size 4651692256
|
|
|
|
|
|
|
|
|
|
|
|
Amber-Q6_K.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:df62714a07102de20f5828742864640bc347e8beab306fec2b52847fde79f427
|
| 3 |
-
size 5529194720
|
|
|
|
|
|
|
|
|
|
|
|
Amber-Q8_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:05862d2a8249313bb73996c5340f1f1b9d89bdc047870038c88098637bd1492c
|
| 3 |
-
size 7161090272
|
|
|
|
|
|
|
|
|
|
|
|