Instructions to use tensorblock/semcoder-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use tensorblock/semcoder-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="tensorblock/semcoder-GGUF", filename="semcoder-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/semcoder-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/semcoder-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/semcoder-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/semcoder-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/semcoder-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/semcoder-GGUF:Q2_K # Run inference directly in the terminal: ./llama-cli -hf tensorblock/semcoder-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/semcoder-GGUF:Q2_K # Run inference directly in the terminal: ./build/bin/llama-cli -hf tensorblock/semcoder-GGUF:Q2_K
Use Docker
docker model run hf.co/tensorblock/semcoder-GGUF:Q2_K
- LM Studio
- Jan
- Ollama
How to use tensorblock/semcoder-GGUF with Ollama:
ollama run hf.co/tensorblock/semcoder-GGUF:Q2_K
- Unsloth Studio
How to use tensorblock/semcoder-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/semcoder-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/semcoder-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/semcoder-GGUF to start chatting
- Atomic Chat new
- Docker Model Runner
How to use tensorblock/semcoder-GGUF with Docker Model Runner:
docker model run hf.co/tensorblock/semcoder-GGUF:Q2_K
- Lemonade
How to use tensorblock/semcoder-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tensorblock/semcoder-GGUF:Q2_K
Run and chat with the model
lemonade run user.semcoder-GGUF-Q2_K
List all available models
lemonade list
Remove .gguf files (keep Q2_K.gguf)
Browse files- semcoder-Q3_K_L.gguf +0 -3
- semcoder-Q3_K_M.gguf +0 -3
- semcoder-Q3_K_S.gguf +0 -3
- semcoder-Q4_0.gguf +0 -3
- semcoder-Q4_K_M.gguf +0 -3
- semcoder-Q4_K_S.gguf +0 -3
- semcoder-Q5_0.gguf +0 -3
- semcoder-Q5_K_M.gguf +0 -3
- semcoder-Q5_K_S.gguf +0 -3
- semcoder-Q6_K.gguf +0 -3
- semcoder-Q8_0.gguf +0 -3
semcoder-Q3_K_L.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:7b5e75ee601ad8a11ae3b15ea250d7917277a8d5824a6f02018512587782634a
|
| 3 |
-
size 3598854336
|
|
|
|
|
|
|
|
|
|
|
|
semcoder-Q3_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:3ba67f930b2a9639f6d39df43ae0d25a4a92b8eda30d4e4599c828f2cc5b0466
|
| 3 |
-
size 3299748032
|
|
|
|
|
|
|
|
|
|
|
|
semcoder-Q3_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:813201df17d44c5530430485489280b6c44d3ae30796ce6383075a37b8b90f6e
|
| 3 |
-
size 2950047936
|
|
|
|
|
|
|
|
|
|
|
|
semcoder-Q4_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:a3486f062686dac2ab6159f4b68589c725d19e53b4673e658f98da8f28cdc6be
|
| 3 |
-
size 3827689664
|
|
|
|
|
|
|
|
|
|
|
|
semcoder-Q4_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:5206919f7016354a2cf457f19845818d88a96cf8af6fecf44875ed39ea5026ad
|
| 3 |
-
size 4082886848
|
|
|
|
|
|
|
|
|
|
|
|
semcoder-Q4_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:2c7a3be93c731b899f1d23b0ff72208b48982ebae4f12dd1dcd4e6d415855ba3
|
| 3 |
-
size 3858622656
|
|
|
|
|
|
|
|
|
|
|
|
semcoder-Q5_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:aab1b8a1d4a6325ee4777827431d053306961f481b7d6824a1e57d71935e83f1
|
| 3 |
-
size 4653705408
|
|
|
|
|
|
|
|
|
|
|
|
semcoder-Q5_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:18a457d71810ee3c1afb7c3d50bcb27abc3e44e5291cd17919635c1c10e201c0
|
| 3 |
-
size 4785170624
|
|
|
|
|
|
|
|
|
|
|
|
semcoder-Q5_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:92dd266873088eef8af55f43f78d0b75422385d55322ec2635302b0be9230164
|
| 3 |
-
size 4653705408
|
|
|
|
|
|
|
|
|
|
|
|
semcoder-Q6_K.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:536d6527d647ec641042534e236caf36033f8700e38f3695870a7be114591145
|
| 3 |
-
size 5531347136
|
|
|
|
|
|
|
|
|
|
|
|
semcoder-Q8_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:54f2be84b1cc98803c2a5368151e699406185f781af05385790060870fc6319d
|
| 3 |
-
size 7163750592
|
|
|
|
|
|
|
|
|
|
|
|