teknium/OpenHermes-2.5
Viewer • Updated • 1M • 16.2k • 848
How to use bartowski/Liberated-Qwen1.5-7B-GGUF-old with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="bartowski/Liberated-Qwen1.5-7B-GGUF-old", filename="Liberated-Qwen1.5-7B-Q2_K.gguf", )
llm.create_chat_completion(
messages = [
{
"role": "user",
"content": "What is the capital of France?"
}
]
)How to use bartowski/Liberated-Qwen1.5-7B-GGUF-old with llama.cpp:
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf bartowski/Liberated-Qwen1.5-7B-GGUF-old:Q4_K_M # Run inference directly in the terminal: llama-cli -hf bartowski/Liberated-Qwen1.5-7B-GGUF-old:Q4_K_M
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf bartowski/Liberated-Qwen1.5-7B-GGUF-old:Q4_K_M # Run inference directly in the terminal: llama-cli -hf bartowski/Liberated-Qwen1.5-7B-GGUF-old: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/Liberated-Qwen1.5-7B-GGUF-old:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf bartowski/Liberated-Qwen1.5-7B-GGUF-old: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/Liberated-Qwen1.5-7B-GGUF-old:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf bartowski/Liberated-Qwen1.5-7B-GGUF-old:Q4_K_M
docker model run hf.co/bartowski/Liberated-Qwen1.5-7B-GGUF-old:Q4_K_M
How to use bartowski/Liberated-Qwen1.5-7B-GGUF-old with vLLM:
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "bartowski/Liberated-Qwen1.5-7B-GGUF-old"
# 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/Liberated-Qwen1.5-7B-GGUF-old",
"messages": [
{
"role": "user",
"content": "What is the capital of France?"
}
]
}'docker model run hf.co/bartowski/Liberated-Qwen1.5-7B-GGUF-old:Q4_K_M
How to use bartowski/Liberated-Qwen1.5-7B-GGUF-old with Ollama:
ollama run hf.co/bartowski/Liberated-Qwen1.5-7B-GGUF-old:Q4_K_M
How to use bartowski/Liberated-Qwen1.5-7B-GGUF-old 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/Liberated-Qwen1.5-7B-GGUF-old 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/Liberated-Qwen1.5-7B-GGUF-old to start chatting
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for bartowski/Liberated-Qwen1.5-7B-GGUF-old to start chatting
How to use bartowski/Liberated-Qwen1.5-7B-GGUF-old with Docker Model Runner:
docker model run hf.co/bartowski/Liberated-Qwen1.5-7B-GGUF-old:Q4_K_M
How to use bartowski/Liberated-Qwen1.5-7B-GGUF-old with Lemonade:
# Download Lemonade from https://lemonade-server.ai/ lemonade pull bartowski/Liberated-Qwen1.5-7B-GGUF-old:Q4_K_M
lemonade run user.Liberated-Qwen1.5-7B-GGUF-old-Q4_K_M
lemonade list
Using llama.cpp release b2405 for quantization.
Original model: https://huggingface.co/abacusai/Liberated-Qwen1.5-7B
Download a file (not the whole branch) from below:
| Filename | Quant type | File Size | Description |
|---|---|---|---|
| Liberated-Qwen1.5-7B-Q8_0.gguf | Q8_0 | 8.20GB | Extremely high quality, generally unneeded but max available quant. |
| Liberated-Qwen1.5-7B-Q6_K.gguf | Q6_K | 6.33GB | Very high quality, near perfect, recommended. |
| Liberated-Qwen1.5-7B-Q5_K_M.gguf | Q5_K_M | 5.52GB | High quality, very usable. |
| Liberated-Qwen1.5-7B-Q5_K_S.gguf | Q5_K_S | 5.39GB | High quality, very usable. |
| Liberated-Qwen1.5-7B-Q5_0.gguf | Q5_0 | 5.39GB | High quality, older format, generally not recommended. |
| Liberated-Qwen1.5-7B-Q4_K_M.gguf | Q4_K_M | 4.76GB | Good quality, similar to 4.25 bpw. |
| Liberated-Qwen1.5-7B-Q4_K_S.gguf | Q4_K_S | 4.54GB | Slightly lower quality with small space savings. |
| Liberated-Qwen1.5-7B-Q4_0.gguf | Q4_0 | 4.50GB | Decent quality, older format, generally not recommended. |
| Liberated-Qwen1.5-7B-Q3_K_L.gguf | Q3_K_L | 4.21GB | Lower quality but usable, good for low RAM availability. |
| Liberated-Qwen1.5-7B-Q3_K_M.gguf | Q3_K_M | 3.91GB | Even lower quality. |
| Liberated-Qwen1.5-7B-Q3_K_S.gguf | Q3_K_S | 3.56GB | Low quality, not recommended. |
| Liberated-Qwen1.5-7B-Q2_K.gguf | Q2_K | 3.10GB | 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