Instructions to use Kquant03/TechxGenus-starcoder2-15b-instruct-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Kquant03/TechxGenus-starcoder2-15b-instruct-GGUF with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Kquant03/TechxGenus-starcoder2-15b-instruct-GGUF")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Kquant03/TechxGenus-starcoder2-15b-instruct-GGUF", dtype="auto") - llama-cpp-python
How to use Kquant03/TechxGenus-starcoder2-15b-instruct-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="Kquant03/TechxGenus-starcoder2-15b-instruct-GGUF", filename="Starcoder2-15B-model-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 Kquant03/TechxGenus-starcoder2-15b-instruct-GGUF with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf Kquant03/TechxGenus-starcoder2-15b-instruct-GGUF:F16 # Run inference directly in the terminal: llama-cli -hf Kquant03/TechxGenus-starcoder2-15b-instruct-GGUF:F16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf Kquant03/TechxGenus-starcoder2-15b-instruct-GGUF:F16 # Run inference directly in the terminal: llama-cli -hf Kquant03/TechxGenus-starcoder2-15b-instruct-GGUF:F16
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 Kquant03/TechxGenus-starcoder2-15b-instruct-GGUF:F16 # Run inference directly in the terminal: ./llama-cli -hf Kquant03/TechxGenus-starcoder2-15b-instruct-GGUF:F16
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 Kquant03/TechxGenus-starcoder2-15b-instruct-GGUF:F16 # Run inference directly in the terminal: ./build/bin/llama-cli -hf Kquant03/TechxGenus-starcoder2-15b-instruct-GGUF:F16
Use Docker
docker model run hf.co/Kquant03/TechxGenus-starcoder2-15b-instruct-GGUF:F16
- LM Studio
- Jan
- vLLM
How to use Kquant03/TechxGenus-starcoder2-15b-instruct-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Kquant03/TechxGenus-starcoder2-15b-instruct-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Kquant03/TechxGenus-starcoder2-15b-instruct-GGUF", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/Kquant03/TechxGenus-starcoder2-15b-instruct-GGUF:F16
- SGLang
How to use Kquant03/TechxGenus-starcoder2-15b-instruct-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 "Kquant03/TechxGenus-starcoder2-15b-instruct-GGUF" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Kquant03/TechxGenus-starcoder2-15b-instruct-GGUF", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'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 "Kquant03/TechxGenus-starcoder2-15b-instruct-GGUF" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Kquant03/TechxGenus-starcoder2-15b-instruct-GGUF", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Ollama
How to use Kquant03/TechxGenus-starcoder2-15b-instruct-GGUF with Ollama:
ollama run hf.co/Kquant03/TechxGenus-starcoder2-15b-instruct-GGUF:F16
- Unsloth Studio new
How to use Kquant03/TechxGenus-starcoder2-15b-instruct-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 Kquant03/TechxGenus-starcoder2-15b-instruct-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 Kquant03/TechxGenus-starcoder2-15b-instruct-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for Kquant03/TechxGenus-starcoder2-15b-instruct-GGUF to start chatting
- Docker Model Runner
How to use Kquant03/TechxGenus-starcoder2-15b-instruct-GGUF with Docker Model Runner:
docker model run hf.co/Kquant03/TechxGenus-starcoder2-15b-instruct-GGUF:F16
- Lemonade
How to use Kquant03/TechxGenus-starcoder2-15b-instruct-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Kquant03/TechxGenus-starcoder2-15b-instruct-GGUF:F16
Run and chat with the model
lemonade run user.TechxGenus-starcoder2-15b-instruct-GGUF-F16
List all available models
lemonade list
Upload 10 files
Browse files- .gitattributes +9 -0
- Starcoder2-15B-model-q2-k.gguf +3 -0
- Starcoder2-15B-model-q3-k-m.gguf +3 -0
- Starcoder2-15B-model-q3-k-s.gguf +3 -0
- Starcoder2-15B-model-q4-k-m.gguf +3 -0
- Starcoder2-15B-model-q4-k-s.gguf +3 -0
- Starcoder2-15B-model-q5-k-m.gguf +3 -0
- Starcoder2-15B-model-q5-k-s.gguf +3 -0
- Starcoder2-15B-model-q6-k.gguf +3 -0
- Starcoder2-15B-model-q8-0.gguf +3 -0
- ggml-model-f16.gguf +3 -0
.gitattributes
CHANGED
|
@@ -34,3 +34,12 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
Starcoder2-15B-model-q6-k.gguf filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
Starcoder2-15B-model-q6-k.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
ggml-model-f16.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
Starcoder2-15B-model-q2-k.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
Starcoder2-15B-model-q3-k-m.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
Starcoder2-15B-model-q3-k-s.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
Starcoder2-15B-model-q4-k-m.gguf filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
Starcoder2-15B-model-q4-k-s.gguf filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
Starcoder2-15B-model-q5-k-m.gguf filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
Starcoder2-15B-model-q5-k-s.gguf filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
Starcoder2-15B-model-q8-0.gguf filter=lfs diff=lfs merge=lfs -text
|
Starcoder2-15B-model-q2-k.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:91f8ea23fa0a548a7ee44134cf99f46d6a752ecb1bf8ee68fbf5fbb62d9464bc
|
| 3 |
+
size 6192957376
|
Starcoder2-15B-model-q3-k-m.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5e055badc7bb4b69c808bb0ed62e0ad58c689cb5d70f1e43a296288181840059
|
| 3 |
+
size 8101038016
|
Starcoder2-15B-model-q3-k-s.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0631ef211ae817256b3d5b32fa48ee583c96510e535c2f1f91fd72b4037ee702
|
| 3 |
+
size 6986467264
|
Starcoder2-15B-model-q4-k-m.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9cd2780a5c059a09be144da63726e259cac96c659fafe8b62fd18c8b83f02618
|
| 3 |
+
size 9860188096
|
Starcoder2-15B-model-q4-k-s.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f7ff81427d7d4785b64df1f1898584503d2132c6252db002769f57af2975b56c
|
| 3 |
+
size 9255716800
|
Starcoder2-15B-model-q5-k-m.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a9ca43b8a3eacc785591ecf567ecebdfbe7e2dc5301fcb2c5037645c7ead4d1f
|
| 3 |
+
size 11431479232
|
Starcoder2-15B-model-q5-k-s.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f7fd871dcbf9b98f2fb76e6ac780d7ab9a6bb0c1af7a15604c3888dec7adad7b
|
| 3 |
+
size 11022043072
|
Starcoder2-15B-model-q6-k.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ba588e173909a6268f830c3403e4be6ae6dfb6524cb86686066074c41a7f0c38
|
| 3 |
+
size 13100976064
|
Starcoder2-15B-model-q8-0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:274ce9e6bfd67e448ff414a178c07eb11c3c639056d8279f14f6cd5ea03dd852
|
| 3 |
+
size 16965109696
|
ggml-model-f16.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cfb68d46d59e1d3f4849d8398638f8c43e5ee4438b9abfda601e9b5306de5b95
|
| 3 |
+
size 31923046272
|