Instructions to use tensorblock/Genstruct-7B-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tensorblock/Genstruct-7B-GGUF with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("tensorblock/Genstruct-7B-GGUF", dtype="auto") - llama-cpp-python
How to use tensorblock/Genstruct-7B-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="tensorblock/Genstruct-7B-GGUF", filename="Genstruct-7B-Q2_K.gguf", )
llm.create_chat_completion( messages = "No input example has been defined for this model task." )
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use tensorblock/Genstruct-7B-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/Genstruct-7B-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/Genstruct-7B-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/Genstruct-7B-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/Genstruct-7B-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/Genstruct-7B-GGUF:Q2_K # Run inference directly in the terminal: ./llama-cli -hf tensorblock/Genstruct-7B-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/Genstruct-7B-GGUF:Q2_K # Run inference directly in the terminal: ./build/bin/llama-cli -hf tensorblock/Genstruct-7B-GGUF:Q2_K
Use Docker
docker model run hf.co/tensorblock/Genstruct-7B-GGUF:Q2_K
- LM Studio
- Jan
- Ollama
How to use tensorblock/Genstruct-7B-GGUF with Ollama:
ollama run hf.co/tensorblock/Genstruct-7B-GGUF:Q2_K
- Unsloth Studio new
How to use tensorblock/Genstruct-7B-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/Genstruct-7B-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/Genstruct-7B-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/Genstruct-7B-GGUF to start chatting
- Docker Model Runner
How to use tensorblock/Genstruct-7B-GGUF with Docker Model Runner:
docker model run hf.co/tensorblock/Genstruct-7B-GGUF:Q2_K
- Lemonade
How to use tensorblock/Genstruct-7B-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tensorblock/Genstruct-7B-GGUF:Q2_K
Run and chat with the model
lemonade run user.Genstruct-7B-GGUF-Q2_K
List all available models
lemonade list
Remove .gguf files (keep Q2_K.gguf)
Browse files- Genstruct-7B-Q3_K_L.gguf +0 -3
- Genstruct-7B-Q3_K_M.gguf +0 -3
- Genstruct-7B-Q3_K_S.gguf +0 -3
- Genstruct-7B-Q4_0.gguf +0 -3
- Genstruct-7B-Q4_K_M.gguf +0 -3
- Genstruct-7B-Q4_K_S.gguf +0 -3
- Genstruct-7B-Q5_0.gguf +0 -3
- Genstruct-7B-Q5_K_M.gguf +0 -3
- Genstruct-7B-Q5_K_S.gguf +0 -3
- Genstruct-7B-Q6_K.gguf +0 -3
- Genstruct-7B-Q8_0.gguf +0 -3
Genstruct-7B-Q3_K_L.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:f8d1add068d4d1bd088b2794dc01cf2f640d261a9cdb74f4cc80a0f8a2d9b865
|
| 3 |
-
size 3822030624
|
|
|
|
|
|
|
|
|
|
|
|
Genstruct-7B-Q3_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:22171ae79069aef69c436a7cf8ce5b116f70ef239d903521251e620bff227053
|
| 3 |
-
size 3518992160
|
|
|
|
|
|
|
|
|
|
|
|
Genstruct-7B-Q3_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:b9f064b3e97eaa538d25ca96ec793a38f1c1dfaec4b7e3d8e0580567731b8790
|
| 3 |
-
size 3164573472
|
|
|
|
|
|
|
|
|
|
|
|
Genstruct-7B-Q4_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:d5997294dc7bb16decb2b7d56c2fc8d02aa032841d2aa5f764fea3c2da557e57
|
| 3 |
-
size 4108923200
|
|
|
|
|
|
|
|
|
|
|
|
Genstruct-7B-Q4_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:20dd80c204ccb770e6d22dd1c7e05b1abe8fea3086293c91bb033ab4af18b29f
|
| 3 |
-
size 4368445760
|
|
|
|
|
|
|
|
|
|
|
|
Genstruct-7B-Q4_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:c3e63c3a5bf5b900b4293edd8d0cf79b67a92e113c32160037c06ab56a38505e
|
| 3 |
-
size 4140380480
|
|
|
|
|
|
|
|
|
|
|
|
Genstruct-7B-Q5_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:80b7973e487beacfa111a2f898e0a50f6adb8e40af9d116f0721ae0c31fd4e5f
|
| 3 |
-
size 4997722944
|
|
|
|
|
|
|
|
|
|
|
|
Genstruct-7B-Q5_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:5a2193d56da8742d3afdca5629e61242db55ed0daf3cf9a5a139296504145ab7
|
| 3 |
-
size 5131416384
|
|
|
|
|
|
|
|
|
|
|
|
Genstruct-7B-Q5_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:a087963808eae5b8c415f1ac83d8a8988f17172565ebb83cbab3b52e125c9bae
|
| 3 |
-
size 4997722944
|
|
|
|
|
|
|
|
|
|
|
|
Genstruct-7B-Q6_K.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:4918521f2e9ac10f18c9345a64fb4c1c4b92020cc115e09e0665b4abfb6b874d
|
| 3 |
-
size 5942072672
|
|
|
|
|
|
|
|
|
|
|
|
Genstruct-7B-Q8_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:9af43f84bda4d25ed042faaeaabb951fdfaff96888d293db4b629ac69eba7f0d
|
| 3 |
-
size 7695867168
|
|
|
|
|
|
|
|
|
|
|
|