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:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("tensorblock/tiny-random-starcoder2-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use tensorblock/tiny-random-starcoder2-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -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 serve -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/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -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
- Llama new
- 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 Desktop
- 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
- Atomic Chat
Download tiny-random-starcoder2-Q2_K.gguf from tensorblock/tiny-random-starcoder2-GGUF: direct link, hf CLI and curl.
- Browser
- Download file 68 MB
-
https://huggingface.co/tensorblock/tiny-random-starcoder2-GGUF/resolve/4a8dddc2d6c63526798cd6acb90ede44a2ca40e5/tiny-random-starcoder2-Q2_K.gguf
- Command line
-
hf download hf://tensorblock/tiny-random-starcoder2-GGUF@4a8dddc2d6c63526798cd6acb90ede44a2ca40e5/tiny-random-starcoder2-Q2_K.gguf
-
curl -L -o tiny-random-starcoder2-Q2_K.gguf https://huggingface.co/tensorblock/tiny-random-starcoder2-GGUF/resolve/4a8dddc2d6c63526798cd6acb90ede44a2ca40e5/tiny-random-starcoder2-Q2_K.gguf
68 MB
- Xet hash:
- 28b43df2534e5f7d673dbb6beda36c5bd7073cc91de379dd8b23b3512ccd5d5d
- Size of remote file:
- 68 MB
- SHA256:
- ab0a4b4e79c906520808db065a00a317c8b097e2176638b34088975eada6e0ed
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.