Instructions to use tensorblock/tiny-random-starcoder2-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tensorblock/tiny-random-starcoder2-GGUF with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("tensorblock/tiny-random-starcoder2-GGUF", dtype="auto") - llama-cpp-python
How to use tensorblock/tiny-random-starcoder2-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="tensorblock/tiny-random-starcoder2-GGUF", filename="tiny-random-starcoder2-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/tiny-random-starcoder2-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/tiny-random-starcoder2-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/tiny-random-starcoder2-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/tiny-random-starcoder2-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/tiny-random-starcoder2-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/tiny-random-starcoder2-GGUF:Q2_K # Run inference directly in the terminal: ./llama-cli -hf tensorblock/tiny-random-starcoder2-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/tiny-random-starcoder2-GGUF:Q2_K # Run inference directly in the terminal: ./build/bin/llama-cli -hf tensorblock/tiny-random-starcoder2-GGUF:Q2_K
Use Docker
docker model run hf.co/tensorblock/tiny-random-starcoder2-GGUF:Q2_K
- LM Studio
- Jan
- Ollama
How to use tensorblock/tiny-random-starcoder2-GGUF with Ollama:
ollama run hf.co/tensorblock/tiny-random-starcoder2-GGUF:Q2_K
- Unsloth Studio new
How to use tensorblock/tiny-random-starcoder2-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/tiny-random-starcoder2-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/tiny-random-starcoder2-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/tiny-random-starcoder2-GGUF to start chatting
- Docker Model Runner
How to use tensorblock/tiny-random-starcoder2-GGUF with Docker Model Runner:
docker model run hf.co/tensorblock/tiny-random-starcoder2-GGUF:Q2_K
- Lemonade
How to use tensorblock/tiny-random-starcoder2-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tensorblock/tiny-random-starcoder2-GGUF:Q2_K
Run and chat with the model
lemonade run user.tiny-random-starcoder2-GGUF-Q2_K
List all available models
lemonade list
Keep Q2_K/Q3_K_M gguf only
Browse files- tiny-random-starcoder2-Q3_K_L.gguf +0 -3
- tiny-random-starcoder2-Q3_K_S.gguf +0 -3
- tiny-random-starcoder2-Q4_0.gguf +0 -3
- tiny-random-starcoder2-Q4_K_M.gguf +0 -3
- tiny-random-starcoder2-Q4_K_S.gguf +0 -3
- tiny-random-starcoder2-Q5_0.gguf +0 -3
- tiny-random-starcoder2-Q5_K_M.gguf +0 -3
- tiny-random-starcoder2-Q5_K_S.gguf +0 -3
- tiny-random-starcoder2-Q6_K.gguf +0 -3
- tiny-random-starcoder2-Q8_0.gguf +0 -3
tiny-random-starcoder2-Q3_K_L.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:5cb53da86644416e0b7dea710dede1ed545425c605a8e91ac0c06e3c4fdad854
|
| 3 |
-
size 77038816
|
|
|
|
|
|
|
|
|
|
|
|
tiny-random-starcoder2-Q3_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:9f0865c3fddafcd7ab96cb24ad14b40725a56aa179cd5657b7af7649d9db9007
|
| 3 |
-
size 74200288
|
|
|
|
|
|
|
|
|
|
|
|
tiny-random-starcoder2-Q4_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:92672c0056ebedec2982cfecb7c4d7890493d9ec7909aac221e599abac2c15e6
|
| 3 |
-
size 83809504
|
|
|
|
|
|
|
|
|
|
|
|
tiny-random-starcoder2-Q4_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:470f16165909060ebfd4fc46e2a3c3a4bae7e8d73de8cee2b4a6742cdb32a25f
|
| 3 |
-
size 84958432
|
|
|
|
|
|
|
|
|
|
|
|
tiny-random-starcoder2-Q4_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:21f49573f86f9c0d64a417ac07dfc41d5d506d409617a5adaf5321baa9b0d641
|
| 3 |
-
size 83875040
|
|
|
|
|
|
|
|
|
|
|
|
tiny-random-starcoder2-Q5_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:246dd866f662effef15ee6563385a6875eaa100274130362fcaf596f1b5b5295
|
| 3 |
-
size 92853472
|
|
|
|
|
|
|
|
|
|
|
|
tiny-random-starcoder2-Q5_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:3b30274b864a04ed5250409898ea44d8ad61fb9cb1734ef990885f3614a84b64
|
| 3 |
-
size 93445344
|
|
|
|
|
|
|
|
|
|
|
|
tiny-random-starcoder2-Q5_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:243b4d816763aa98a104439996b58965049aa636efe4367325ce372239f94544
|
| 3 |
-
size 92853472
|
|
|
|
|
|
|
|
|
|
|
|
tiny-random-starcoder2-Q6_K.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:60aed044a48860e7fc10c9f263347013898da481bd035951ad549460d31c81a4
|
| 3 |
-
size 102462688
|
|
|
|
|
|
|
|
|
|
|
|
tiny-random-starcoder2-Q8_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:5478f237ce5c893ee6311bf417c607f9dcea14affae88e7c255ea23c70e89438
|
| 3 |
-
size 132175072
|
|
|
|
|
|
|
|
|
|
|
|