Instructions to use tensorblock/gemma-2b-data-std-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tensorblock/gemma-2b-data-std-GGUF with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("tensorblock/gemma-2b-data-std-GGUF", dtype="auto") - llama-cpp-python
How to use tensorblock/gemma-2b-data-std-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="tensorblock/gemma-2b-data-std-GGUF", filename="gemma-2b-data-std-Q2_K.gguf", )
output = llm( "Once upon a time,", max_tokens=512, echo=True ) print(output)
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use tensorblock/gemma-2b-data-std-GGUF with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf tensorblock/gemma-2b-data-std-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/gemma-2b-data-std-GGUF:Q2_K
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf tensorblock/gemma-2b-data-std-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/gemma-2b-data-std-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/gemma-2b-data-std-GGUF:Q2_K # Run inference directly in the terminal: ./llama-cli -hf tensorblock/gemma-2b-data-std-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/gemma-2b-data-std-GGUF:Q2_K # Run inference directly in the terminal: ./build/bin/llama-cli -hf tensorblock/gemma-2b-data-std-GGUF:Q2_K
Use Docker
docker model run hf.co/tensorblock/gemma-2b-data-std-GGUF:Q2_K
- LM Studio
- Jan
- Ollama
How to use tensorblock/gemma-2b-data-std-GGUF with Ollama:
ollama run hf.co/tensorblock/gemma-2b-data-std-GGUF:Q2_K
- Unsloth Studio
How to use tensorblock/gemma-2b-data-std-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/gemma-2b-data-std-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/gemma-2b-data-std-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/gemma-2b-data-std-GGUF to start chatting
- Atomic Chat new
- Docker Model Runner
How to use tensorblock/gemma-2b-data-std-GGUF with Docker Model Runner:
docker model run hf.co/tensorblock/gemma-2b-data-std-GGUF:Q2_K
- Lemonade
How to use tensorblock/gemma-2b-data-std-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tensorblock/gemma-2b-data-std-GGUF:Q2_K
Run and chat with the model
lemonade run user.gemma-2b-data-std-GGUF-Q2_K
List all available models
lemonade list
Remove .gguf files (keep Q2_K.gguf)
Browse files- gemma-2b-data-std-Q3_K_L.gguf +0 -3
- gemma-2b-data-std-Q3_K_M.gguf +0 -3
- gemma-2b-data-std-Q3_K_S.gguf +0 -3
- gemma-2b-data-std-Q4_0.gguf +0 -3
- gemma-2b-data-std-Q4_K_M.gguf +0 -3
- gemma-2b-data-std-Q4_K_S.gguf +0 -3
- gemma-2b-data-std-Q5_0.gguf +0 -3
- gemma-2b-data-std-Q5_K_M.gguf +0 -3
- gemma-2b-data-std-Q5_K_S.gguf +0 -3
- gemma-2b-data-std-Q6_K.gguf +0 -3
- gemma-2b-data-std-Q8_0.gguf +0 -3
gemma-2b-data-std-Q3_K_L.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:bfd94d4016d2fd52666d836487a5b94ae5fde89f1ea9c2cc7f0a553742e8c627
|
| 3 |
-
size 1465591264
|
|
|
|
|
|
|
|
|
|
|
|
gemma-2b-data-std-Q3_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:d0bf9a7c6054a34f747515d28958ed6b4cde97bccaaab7e520c0dc8467d2fce4
|
| 3 |
-
size 1383802336
|
|
|
|
|
|
|
|
|
|
|
|
gemma-2b-data-std-Q3_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:9dd4a40a559152302065f4cabc788e85e8acb9537f949fab9f557911b1355647
|
| 3 |
-
size 1287980512
|
|
|
|
|
|
|
|
|
|
|
|
gemma-2b-data-std-Q4_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:010b41a6bbb55251790ccdfb93b72416351836fe66a6ce58cd70d37696b3f1ed
|
| 3 |
-
size 1551189472
|
|
|
|
|
|
|
|
|
|
|
|
gemma-2b-data-std-Q4_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:7790dba03b18de88e6ee426069c93b3f1b1f266838c80ab9c7ce3d4edefeb0d9
|
| 3 |
-
size 1630262752
|
|
|
|
|
|
|
|
|
|
|
|
gemma-2b-data-std-Q4_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:3e2c7970cb49f1d8f73d6f797025517e24834a069f91f4c17da0882f54c1ff55
|
| 3 |
-
size 1559840224
|
|
|
|
|
|
|
|
|
|
|
|
gemma-2b-data-std-Q5_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:c8ffec4367a624fe30ac31a2fea4fef7748b576c01cfb8eaf04c3f90df7fa23b
|
| 3 |
-
size 1798915552
|
|
|
|
|
|
|
|
|
|
|
|
gemma-2b-data-std-Q5_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:3c896c5e1765a570fe5687d4222a691cf45b7f4348ba29fa7866f9d229f26d32
|
| 3 |
-
size 1839650272
|
|
|
|
|
|
|
|
|
|
|
|
gemma-2b-data-std-Q5_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:3ef9ec3d20f71c28e522b5ee1c4ea52e7ab19d067c876d92e31f5a3b587820d0
|
| 3 |
-
size 1798915552
|
|
|
|
|
|
|
|
|
|
|
|
gemma-2b-data-std-Q6_K.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:386bb7fc16b8c086082143f52dc47fcd614404722cddd72562fd6b837e6fd478
|
| 3 |
-
size 2062124512
|
|
|
|
|
|
|
|
|
|
|
|
gemma-2b-data-std-Q8_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:9a6b8935208b31781217c363ae21f8fdba1db1dd640cd1503b12e893f3268d2d
|
| 3 |
-
size 2669069792
|
|
|
|
|
|
|
|
|
|
|
|