Instructions to use tensorblock/V-YangXu_StarCoder-Alpaca-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use tensorblock/V-YangXu_StarCoder-Alpaca-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="tensorblock/V-YangXu_StarCoder-Alpaca-GGUF", filename="StarCoder-Alpaca-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/V-YangXu_StarCoder-Alpaca-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/V-YangXu_StarCoder-Alpaca-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/V-YangXu_StarCoder-Alpaca-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/V-YangXu_StarCoder-Alpaca-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/V-YangXu_StarCoder-Alpaca-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/V-YangXu_StarCoder-Alpaca-GGUF:Q2_K # Run inference directly in the terminal: ./llama-cli -hf tensorblock/V-YangXu_StarCoder-Alpaca-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/V-YangXu_StarCoder-Alpaca-GGUF:Q2_K # Run inference directly in the terminal: ./build/bin/llama-cli -hf tensorblock/V-YangXu_StarCoder-Alpaca-GGUF:Q2_K
Use Docker
docker model run hf.co/tensorblock/V-YangXu_StarCoder-Alpaca-GGUF:Q2_K
- LM Studio
- Jan
- Ollama
How to use tensorblock/V-YangXu_StarCoder-Alpaca-GGUF with Ollama:
ollama run hf.co/tensorblock/V-YangXu_StarCoder-Alpaca-GGUF:Q2_K
- Unsloth Studio new
How to use tensorblock/V-YangXu_StarCoder-Alpaca-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/V-YangXu_StarCoder-Alpaca-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/V-YangXu_StarCoder-Alpaca-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/V-YangXu_StarCoder-Alpaca-GGUF to start chatting
- Docker Model Runner
How to use tensorblock/V-YangXu_StarCoder-Alpaca-GGUF with Docker Model Runner:
docker model run hf.co/tensorblock/V-YangXu_StarCoder-Alpaca-GGUF:Q2_K
- Lemonade
How to use tensorblock/V-YangXu_StarCoder-Alpaca-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tensorblock/V-YangXu_StarCoder-Alpaca-GGUF:Q2_K
Run and chat with the model
lemonade run user.V-YangXu_StarCoder-Alpaca-GGUF-Q2_K
List all available models
lemonade list
Remove .gguf files (keep Q2_K.gguf)
Browse files- StarCoder-Alpaca-Q3_K_L.gguf +0 -3
- StarCoder-Alpaca-Q3_K_M.gguf +0 -3
- StarCoder-Alpaca-Q3_K_S.gguf +0 -3
- StarCoder-Alpaca-Q4_0.gguf +0 -3
- StarCoder-Alpaca-Q4_K_M.gguf +0 -3
- StarCoder-Alpaca-Q4_K_S.gguf +0 -3
- StarCoder-Alpaca-Q5_0.gguf +0 -3
- StarCoder-Alpaca-Q5_K_M.gguf +0 -3
- StarCoder-Alpaca-Q5_K_S.gguf +0 -3
- StarCoder-Alpaca-Q6_K.gguf +0 -3
- StarCoder-Alpaca-Q8_0.gguf +0 -3
StarCoder-Alpaca-Q3_K_L.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:8e4ff4ac069941d710c94783613a277822ed1e621850779df7c96872e67c5e85
|
| 3 |
-
size 9261884576
|
|
|
|
|
|
|
|
|
|
|
|
StarCoder-Alpaca-Q3_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:0309aa8d368620d552009630df16d8eab7f1c7aff1002fae41222653330e65a1
|
| 3 |
-
size 8355914912
|
|
|
|
|
|
|
|
|
|
|
|
StarCoder-Alpaca-Q3_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:27fd0a4ce267afb184a7e4053413759bed0b3b089b193f11880dae95bf003c98
|
| 3 |
-
size 7106569376
|
|
|
|
|
|
|
|
|
|
|
|
StarCoder-Alpaca-Q4_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:d612c96df70f017a67ceac8bef0fe89e820d696de5571ba5b042a98e96cb6d34
|
| 3 |
-
size 9160435648
|
|
|
|
|
|
|
|
|
|
|
|
StarCoder-Alpaca-Q4_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:472724fcdcf4cc426d6a8e1e69e9ac023046c4bdafbafccf6bf5956009937b38
|
| 3 |
-
size 10135611328
|
|
|
|
|
|
|
|
|
|
|
|
StarCoder-Alpaca-Q4_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:f82eb7f5f121cc7f8395f91dc7b8fc27029a58d20aca02b29ec7d3e11fd9903c
|
| 3 |
-
size 9254807488
|
|
|
|
|
|
|
|
|
|
|
|
StarCoder-Alpaca-Q5_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:aa35b093cb5c192e02c254bfbfed92be086d9f2e0da22a2f628a93fb82c96d3b
|
| 3 |
-
size 11093486272
|
|
|
|
|
|
|
|
|
|
|
|
StarCoder-Alpaca-Q5_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:344ba90e19f532ca120471b65e332eca11b739e6fc84030e9879d4297616f129
|
| 3 |
-
size 11703462592
|
|
|
|
|
|
|
|
|
|
|
|
StarCoder-Alpaca-Q5_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:f084503904f477051698464f414f3dced071a3293b6afcac354f6abb74507de3
|
| 3 |
-
size 11093486272
|
|
|
|
|
|
|
|
|
|
|
|
StarCoder-Alpaca-Q6_K.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:00626fe8e7fe98bad3115e71cb774b578adbffe753124c4afb0d7910854b3e91
|
| 3 |
-
size 13147352576
|
|
|
|
|
|
|
|
|
|
|
|
StarCoder-Alpaca-Q8_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:5b2fda7611549ec3badad9875aa0d1535531bbb05d0c14a228fcc21f825b7c09
|
| 3 |
-
size 16965777792
|
|
|
|
|
|
|
|
|
|
|
|