HuggingFaceH4/ultrafeedback_binarized
Viewer • Updated • 187k • 15k • 334
How to use bartowski/starchat2-15b-v0.1-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="bartowski/starchat2-15b-v0.1-GGUF", filename="starchat2-15b-v0.1-Q2_K.gguf", )
llm.create_chat_completion(
messages = [
{
"role": "user",
"content": "What is the capital of France?"
}
]
)How to use bartowski/starchat2-15b-v0.1-GGUF with llama.cpp:
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf bartowski/starchat2-15b-v0.1-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf bartowski/starchat2-15b-v0.1-GGUF:Q4_K_M
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf bartowski/starchat2-15b-v0.1-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf bartowski/starchat2-15b-v0.1-GGUF:Q4_K_M
# 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 bartowski/starchat2-15b-v0.1-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf bartowski/starchat2-15b-v0.1-GGUF:Q4_K_M
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 bartowski/starchat2-15b-v0.1-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf bartowski/starchat2-15b-v0.1-GGUF:Q4_K_M
docker model run hf.co/bartowski/starchat2-15b-v0.1-GGUF:Q4_K_M
How to use bartowski/starchat2-15b-v0.1-GGUF with vLLM:
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "bartowski/starchat2-15b-v0.1-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": "bartowski/starchat2-15b-v0.1-GGUF",
"messages": [
{
"role": "user",
"content": "What is the capital of France?"
}
]
}'docker model run hf.co/bartowski/starchat2-15b-v0.1-GGUF:Q4_K_M
How to use bartowski/starchat2-15b-v0.1-GGUF with Ollama:
ollama run hf.co/bartowski/starchat2-15b-v0.1-GGUF:Q4_K_M
How to use bartowski/starchat2-15b-v0.1-GGUF with Unsloth Studio:
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 bartowski/starchat2-15b-v0.1-GGUF to start chatting
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 bartowski/starchat2-15b-v0.1-GGUF to start chatting
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for bartowski/starchat2-15b-v0.1-GGUF to start chatting
How to use bartowski/starchat2-15b-v0.1-GGUF with Docker Model Runner:
docker model run hf.co/bartowski/starchat2-15b-v0.1-GGUF:Q4_K_M
How to use bartowski/starchat2-15b-v0.1-GGUF with Lemonade:
# Download Lemonade from https://lemonade-server.ai/ lemonade pull bartowski/starchat2-15b-v0.1-GGUF:Q4_K_M
lemonade run user.starchat2-15b-v0.1-GGUF-Q4_K_M
lemonade list
Using llama.cpp release b2405 for quantization.
Original model: https://huggingface.co/HuggingFaceH4/starchat2-15b-v0.1
Download a file (not the whole branch) from below:
| Filename | Quant type | File Size | Description |
|---|---|---|---|
| starchat2-15b-v0.1-Q8_0.gguf | Q8_0 | 16.96GB | Extremely high quality, generally unneeded but max available quant. |
| starchat2-15b-v0.1-Q6_K.gguf | Q6_K | 13.10GB | Very high quality, near perfect, recommended. |
| starchat2-15b-v0.1-Q5_K_M.gguf | Q5_K_M | 11.43GB | High quality, very usable. |
| starchat2-15b-v0.1-Q5_K_S.gguf | Q5_K_S | 11.02GB | High quality, very usable. |
| starchat2-15b-v0.1-Q5_0.gguf | Q5_0 | 11.02GB | High quality, older format, generally not recommended. |
| starchat2-15b-v0.1-Q4_K_M.gguf | Q4_K_M | 9.86GB | Good quality, similar to 4.25 bpw. |
| starchat2-15b-v0.1-Q4_K_S.gguf | Q4_K_S | 9.25GB | Slightly lower quality with small space savings. |
| starchat2-15b-v0.1-Q4_0.gguf | Q4_0 | 9.06GB | Decent quality, older format, generally not recommended. |
| starchat2-15b-v0.1-Q3_K_L.gguf | Q3_K_L | 8.96GB | Lower quality but usable, good for low RAM availability. |
| starchat2-15b-v0.1-Q3_K_M.gguf | Q3_K_M | 8.10GB | Even lower quality. |
| starchat2-15b-v0.1-Q3_K_S.gguf | Q3_K_S | 6.98GB | Low quality, not recommended. |
| starchat2-15b-v0.1-Q2_K.gguf | Q2_K | 6.19GB | Extremely low quality, not recommended. |
Want to support my work? Visit my ko-fi page here: https://ko-fi.com/bartowski
2-bit
3-bit
4-bit
5-bit
6-bit
8-bit
Base model
bigcode/starcoder2-15b