Instructions to use tensorblock/semcoder_s_1030-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tensorblock/semcoder_s_1030-GGUF with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="tensorblock/semcoder_s_1030-GGUF") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("tensorblock/semcoder_s_1030-GGUF", dtype="auto") - llama-cpp-python
How to use tensorblock/semcoder_s_1030-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="tensorblock/semcoder_s_1030-GGUF", filename="semcoder_s_1030-Q2_K.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": "What is the capital of France?" } ] ) - Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use tensorblock/semcoder_s_1030-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_1030-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/semcoder_s_1030-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_1030-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/semcoder_s_1030-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_1030-GGUF:Q2_K # Run inference directly in the terminal: ./llama-cli -hf tensorblock/semcoder_s_1030-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_1030-GGUF:Q2_K # Run inference directly in the terminal: ./build/bin/llama-cli -hf tensorblock/semcoder_s_1030-GGUF:Q2_K
Use Docker
docker model run hf.co/tensorblock/semcoder_s_1030-GGUF:Q2_K
- LM Studio
- Jan
- vLLM
How to use tensorblock/semcoder_s_1030-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "tensorblock/semcoder_s_1030-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "tensorblock/semcoder_s_1030-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/tensorblock/semcoder_s_1030-GGUF:Q2_K
- SGLang
How to use tensorblock/semcoder_s_1030-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/semcoder_s_1030-GGUF" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "tensorblock/semcoder_s_1030-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'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/semcoder_s_1030-GGUF" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "tensorblock/semcoder_s_1030-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use tensorblock/semcoder_s_1030-GGUF with Ollama:
ollama run hf.co/tensorblock/semcoder_s_1030-GGUF:Q2_K
- Unsloth Studio new
How to use tensorblock/semcoder_s_1030-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_1030-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_1030-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_1030-GGUF to start chatting
- Docker Model Runner
How to use tensorblock/semcoder_s_1030-GGUF with Docker Model Runner:
docker model run hf.co/tensorblock/semcoder_s_1030-GGUF:Q2_K
- Lemonade
How to use tensorblock/semcoder_s_1030-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tensorblock/semcoder_s_1030-GGUF:Q2_K
Run and chat with the model
lemonade run user.semcoder_s_1030-GGUF-Q2_K
List all available models
lemonade list
Remove .gguf files (keep Q2_K.gguf)
Browse files- semcoder_s_1030-Q3_K_L.gguf +0 -3
- semcoder_s_1030-Q3_K_M.gguf +0 -3
- semcoder_s_1030-Q3_K_S.gguf +0 -3
- semcoder_s_1030-Q4_0.gguf +0 -3
- semcoder_s_1030-Q4_K_M.gguf +0 -3
- semcoder_s_1030-Q4_K_S.gguf +0 -3
- semcoder_s_1030-Q5_0.gguf +0 -3
- semcoder_s_1030-Q5_K_M.gguf +0 -3
- semcoder_s_1030-Q5_K_S.gguf +0 -3
- semcoder_s_1030-Q6_K.gguf +0 -3
- semcoder_s_1030-Q8_0.gguf +0 -3
semcoder_s_1030-Q3_K_L.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:fe34f39b0db402cfd4cc0c753f2a441900b3972fe6e6af931bbb6ae16febc857
|
| 3 |
-
size 3598855200
|
|
|
|
|
|
|
|
|
|
|
|
semcoder_s_1030-Q3_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:77abd30b14dd0ea4ff5b36fdd912581bc537e8ba3008b0f05b083ce60948fac7
|
| 3 |
-
size 3299748896
|
|
|
|
|
|
|
|
|
|
|
|
semcoder_s_1030-Q3_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:0307caec0cf49dbaf224d86f93e3da9f92286ef25efef921fae9e525faf25b47
|
| 3 |
-
size 2950048800
|
|
|
|
|
|
|
|
|
|
|
|
semcoder_s_1030-Q4_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:86675f65d2d48b9e38b025256b08450f355f99b3a67a6d9e77b5c7a371d2dadd
|
| 3 |
-
size 3827690528
|
|
|
|
|
|
|
|
|
|
|
|
semcoder_s_1030-Q4_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:df4283f84120e708a75ffdb24d8cb3c201ebb89ca1b400bc39bb27c70dcaac9b
|
| 3 |
-
size 4082887712
|
|
|
|
|
|
|
|
|
|
|
|
semcoder_s_1030-Q4_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:6867a5863be0d4dfebc5dadbbd6b2f6459a30aae45d8127e51d31fad00f63aff
|
| 3 |
-
size 3858623520
|
|
|
|
|
|
|
|
|
|
|
|
semcoder_s_1030-Q5_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:27f4137faba19ddf0058751811181c50bd225363c29cb5d16cacc12e0734fa47
|
| 3 |
-
size 4653706272
|
|
|
|
|
|
|
|
|
|
|
|
semcoder_s_1030-Q5_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:48b54723ae672193264317b2f2278ac351c933555f2acaefe7a727dabf62de6f
|
| 3 |
-
size 4785171488
|
|
|
|
|
|
|
|
|
|
|
|
semcoder_s_1030-Q5_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:049533deaf2a313c3d230401c6a7fcaaf1322283b9a6c80dcbf6a41cafe0bfca
|
| 3 |
-
size 4653706272
|
|
|
|
|
|
|
|
|
|
|
|
semcoder_s_1030-Q6_K.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:bd593b141088e010a16d4651ebb79e2cbad20575ff8c734ce864f63fb4311083
|
| 3 |
-
size 5531348000
|
|
|
|
|
|
|
|
|
|
|
|
semcoder_s_1030-Q8_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:6642eeffdb424ccf13d7bf838d4f401f565f5877269415237093e2aa58df24be
|
| 3 |
-
size 7163751456
|
|
|
|
|
|
|
|
|
|
|
|