RoLlama2 GGUF
Collection
GGUF variants of https://huggingface.co/collections/OpenLLM-Ro/rollama2-664722bbf536ec14701ec81d • 6 items • Updated
How to use legraphista/RoLlama2-7b-Instruct-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 legraphista/RoLlama2-7b-Instruct-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf legraphista/RoLlama2-7b-Instruct-GGUF:Q4_K_M
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf legraphista/RoLlama2-7b-Instruct-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf legraphista/RoLlama2-7b-Instruct-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 legraphista/RoLlama2-7b-Instruct-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf legraphista/RoLlama2-7b-Instruct-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 legraphista/RoLlama2-7b-Instruct-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf legraphista/RoLlama2-7b-Instruct-GGUF:Q4_K_M
docker model run hf.co/legraphista/RoLlama2-7b-Instruct-GGUF:Q4_K_M
How to use legraphista/RoLlama2-7b-Instruct-GGUF with vLLM:
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "legraphista/RoLlama2-7b-Instruct-GGUF"
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:8000/v1/completions" \
-H "Content-Type: application/json" \
--data '{
"model": "legraphista/RoLlama2-7b-Instruct-GGUF",
"prompt": "Once upon a time,",
"max_tokens": 512,
"temperature": 0.5
}'docker model run hf.co/legraphista/RoLlama2-7b-Instruct-GGUF:Q4_K_M
How to use legraphista/RoLlama2-7b-Instruct-GGUF with Ollama:
ollama run hf.co/legraphista/RoLlama2-7b-Instruct-GGUF:Q4_K_M
How to use legraphista/RoLlama2-7b-Instruct-GGUF with Docker Model Runner:
docker model run hf.co/legraphista/RoLlama2-7b-Instruct-GGUF:Q4_K_M
How to use legraphista/RoLlama2-7b-Instruct-GGUF with Lemonade:
# Download Lemonade from https://lemonade-server.ai/ lemonade pull legraphista/RoLlama2-7b-Instruct-GGUF:Q4_K_M
lemonade run user.RoLlama2-7b-Instruct-GGUF-Q4_K_M
lemonade list
4-bit
5-bit
6-bit
8-bit
16-bit
Base model
meta-llama/Llama-2-7b-hf