Instructions to use tensorblock/semcoder_s-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use tensorblock/semcoder_s-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="tensorblock/semcoder_s-GGUF", filename="semcoder_s-Q2_K.gguf", )
output = llm( "Once upon a time,", max_tokens=512, echo=True ) print(output)
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use tensorblock/semcoder_s-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_s-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/semcoder_s-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_s-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/semcoder_s-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_s-GGUF:Q2_K # Run inference directly in the terminal: ./llama-cli -hf tensorblock/semcoder_s-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_s-GGUF:Q2_K # Run inference directly in the terminal: ./build/bin/llama-cli -hf tensorblock/semcoder_s-GGUF:Q2_K
Use Docker
docker model run hf.co/tensorblock/semcoder_s-GGUF:Q2_K
- LM Studio
- Jan
- Ollama
How to use tensorblock/semcoder_s-GGUF with Ollama:
ollama run hf.co/tensorblock/semcoder_s-GGUF:Q2_K
- Unsloth Studio new
How to use tensorblock/semcoder_s-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_s-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_s-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_s-GGUF to start chatting
- Docker Model Runner
How to use tensorblock/semcoder_s-GGUF with Docker Model Runner:
docker model run hf.co/tensorblock/semcoder_s-GGUF:Q2_K
- Lemonade
How to use tensorblock/semcoder_s-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tensorblock/semcoder_s-GGUF:Q2_K
Run and chat with the model
lemonade run user.semcoder_s-GGUF-Q2_K
List all available models
lemonade list
Remove .gguf files (keep Q2_K.gguf)
Browse files- semcoder_s-Q3_K_L.gguf +0 -3
- semcoder_s-Q3_K_M.gguf +0 -3
- semcoder_s-Q3_K_S.gguf +0 -3
- semcoder_s-Q4_0.gguf +0 -3
- semcoder_s-Q4_K_M.gguf +0 -3
- semcoder_s-Q4_K_S.gguf +0 -3
- semcoder_s-Q5_0.gguf +0 -3
- semcoder_s-Q5_K_M.gguf +0 -3
- semcoder_s-Q5_K_S.gguf +0 -3
- semcoder_s-Q6_K.gguf +0 -3
- semcoder_s-Q8_0.gguf +0 -3
semcoder_s-Q3_K_L.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:631f455f21473b013f09f87afa9ff53880d2b57318ec1e70ce1cd64802bc26b1
|
| 3 |
-
size 3598854336
|
|
|
|
|
|
|
|
|
|
|
|
semcoder_s-Q3_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:a687bca2442996bca2757ae2e8ae66caf8a0a6711b9a3e830858a1a64f70fbcf
|
| 3 |
-
size 3299748032
|
|
|
|
|
|
|
|
|
|
|
|
semcoder_s-Q3_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:0248cb308c580d09f506025a7639a59c382d7d3c5b0af36a4926e97558bfd13f
|
| 3 |
-
size 2950047936
|
|
|
|
|
|
|
|
|
|
|
|
semcoder_s-Q4_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:ed4b2c5990328b11a5c616ccefcf87322a2d8622a3d112717c6713f8297a9751
|
| 3 |
-
size 3827689664
|
|
|
|
|
|
|
|
|
|
|
|
semcoder_s-Q4_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:d3836c477bc8a8811cb12459360cdec25f23c29b9a54a99db93728e738fbfe73
|
| 3 |
-
size 4082886848
|
|
|
|
|
|
|
|
|
|
|
|
semcoder_s-Q4_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:604350bd0bd040d99c4d9f8b963466bb74666cfc2f693127bb069fa5b48405d6
|
| 3 |
-
size 3858622656
|
|
|
|
|
|
|
|
|
|
|
|
semcoder_s-Q5_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:46cff5fcf7e996ab43bff48e06e29ca45b9766efbfad724ac051044e1e6928d1
|
| 3 |
-
size 4653705408
|
|
|
|
|
|
|
|
|
|
|
|
semcoder_s-Q5_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:52c2c60f36360059f395f2fe204c519dc3b23f4814816b6a188e43bfef9166ff
|
| 3 |
-
size 4785170624
|
|
|
|
|
|
|
|
|
|
|
|
semcoder_s-Q5_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:e4bcd494f2b200b6b96223141decea5366e8b911499746d2f2ff3c13af214fb6
|
| 3 |
-
size 4653705408
|
|
|
|
|
|
|
|
|
|
|
|
semcoder_s-Q6_K.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:7b9855be24dd446e83113f59ea81a7388ff7fc759c167c6213c928774e19ea3a
|
| 3 |
-
size 5531347136
|
|
|
|
|
|
|
|
|
|
|
|
semcoder_s-Q8_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:55b6050b4b563d3549199b90a66a5f9b649f47a7b8e1c048309541dde1143c98
|
| 3 |
-
size 7163750592
|
|
|
|
|
|
|
|
|
|
|
|