berkeley-nest/Nectar
Viewer • Updated • 183k • 1.19k • 296
How to use newsletter/Starling-LM-7B-beta-Q6_K-GGUF with Transformers:
# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("newsletter/Starling-LM-7B-beta-Q6_K-GGUF", device_map="auto")How to use newsletter/Starling-LM-7B-beta-Q6_K-GGUF with llama.cpp:
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf newsletter/Starling-LM-7B-beta-Q6_K-GGUF:Q6_K # Run inference directly in the terminal: llama cli -hf newsletter/Starling-LM-7B-beta-Q6_K-GGUF:Q6_K
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf newsletter/Starling-LM-7B-beta-Q6_K-GGUF:Q6_K # Run inference directly in the terminal: llama cli -hf newsletter/Starling-LM-7B-beta-Q6_K-GGUF:Q6_K
# 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 newsletter/Starling-LM-7B-beta-Q6_K-GGUF:Q6_K # Run inference directly in the terminal: ./llama-cli -hf newsletter/Starling-LM-7B-beta-Q6_K-GGUF:Q6_K
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 newsletter/Starling-LM-7B-beta-Q6_K-GGUF:Q6_K # Run inference directly in the terminal: ./build/bin/llama-cli -hf newsletter/Starling-LM-7B-beta-Q6_K-GGUF:Q6_K
docker model run hf.co/newsletter/Starling-LM-7B-beta-Q6_K-GGUF:Q6_K
How to use newsletter/Starling-LM-7B-beta-Q6_K-GGUF with Ollama:
ollama run hf.co/newsletter/Starling-LM-7B-beta-Q6_K-GGUF:Q6_K
How to use newsletter/Starling-LM-7B-beta-Q6_K-GGUF with Docker Model Runner:
docker model run hf.co/newsletter/Starling-LM-7B-beta-Q6_K-GGUF:Q6_K
How to use newsletter/Starling-LM-7B-beta-Q6_K-GGUF with Lemonade:
# Download Lemonade from https://lemonade-server.ai/ lemonade pull newsletter/Starling-LM-7B-beta-Q6_K-GGUF:Q6_K
lemonade run user.Starling-LM-7B-beta-Q6_K-GGUF-Q6_K
lemonade list
This model was converted to GGUF format from Nexusflow/Starling-LM-7B-beta using llama.cpp via the ggml.ai's GGUF-my-repo space.
Refer to the original model card for more details on the model.
Install llama.cpp through brew.
brew install ggerganov/ggerganov/llama.cpp
Invoke the llama.cpp server or the CLI.
CLI:
llama-cli --hf-repo newsletter/Starling-LM-7B-beta-Q6_K-GGUF --model starling-lm-7b-beta.Q6_K.gguf -p "The meaning to life and the universe is"
Server:
llama-server --hf-repo newsletter/Starling-LM-7B-beta-Q6_K-GGUF --model starling-lm-7b-beta.Q6_K.gguf -c 2048
Note: You can also use this checkpoint directly through the usage steps listed in the Llama.cpp repo as well.
git clone https://github.com/ggerganov/llama.cpp && cd llama.cpp && make && ./main -m starling-lm-7b-beta.Q6_K.gguf -n 128
6-bit