Instructions to use tensorblock/MIAOAI_qa-retailpro-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tensorblock/MIAOAI_qa-retailpro-GGUF with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="tensorblock/MIAOAI_qa-retailpro-GGUF") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("tensorblock/MIAOAI_qa-retailpro-GGUF", dtype="auto") - llama-cpp-python
How to use tensorblock/MIAOAI_qa-retailpro-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="tensorblock/MIAOAI_qa-retailpro-GGUF", filename="qa-retailpro-Q2_K.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": "What is the capital of France?" } ] ) - Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use tensorblock/MIAOAI_qa-retailpro-GGUF with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf tensorblock/MIAOAI_qa-retailpro-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/MIAOAI_qa-retailpro-GGUF:Q2_K
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf tensorblock/MIAOAI_qa-retailpro-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/MIAOAI_qa-retailpro-GGUF:Q2_K
Use pre-built binary
# 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 tensorblock/MIAOAI_qa-retailpro-GGUF:Q2_K # Run inference directly in the terminal: ./llama-cli -hf tensorblock/MIAOAI_qa-retailpro-GGUF:Q2_K
Build from source code
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 tensorblock/MIAOAI_qa-retailpro-GGUF:Q2_K # Run inference directly in the terminal: ./build/bin/llama-cli -hf tensorblock/MIAOAI_qa-retailpro-GGUF:Q2_K
Use Docker
docker model run hf.co/tensorblock/MIAOAI_qa-retailpro-GGUF:Q2_K
- LM Studio
- Jan
- vLLM
How to use tensorblock/MIAOAI_qa-retailpro-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "tensorblock/MIAOAI_qa-retailpro-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": "tensorblock/MIAOAI_qa-retailpro-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/tensorblock/MIAOAI_qa-retailpro-GGUF:Q2_K
- SGLang
How to use tensorblock/MIAOAI_qa-retailpro-GGUF with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "tensorblock/MIAOAI_qa-retailpro-GGUF" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "tensorblock/MIAOAI_qa-retailpro-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "tensorblock/MIAOAI_qa-retailpro-GGUF" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "tensorblock/MIAOAI_qa-retailpro-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use tensorblock/MIAOAI_qa-retailpro-GGUF with Ollama:
ollama run hf.co/tensorblock/MIAOAI_qa-retailpro-GGUF:Q2_K
- Unsloth Studio new
How to use tensorblock/MIAOAI_qa-retailpro-GGUF with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
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 tensorblock/MIAOAI_qa-retailpro-GGUF to start chatting
Install Unsloth Studio (Windows)
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 tensorblock/MIAOAI_qa-retailpro-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for tensorblock/MIAOAI_qa-retailpro-GGUF to start chatting
- Pi new
How to use tensorblock/MIAOAI_qa-retailpro-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf tensorblock/MIAOAI_qa-retailpro-GGUF:Q2_K
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "tensorblock/MIAOAI_qa-retailpro-GGUF:Q2_K" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use tensorblock/MIAOAI_qa-retailpro-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf tensorblock/MIAOAI_qa-retailpro-GGUF:Q2_K
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default tensorblock/MIAOAI_qa-retailpro-GGUF:Q2_K
Run Hermes
hermes
- Docker Model Runner
How to use tensorblock/MIAOAI_qa-retailpro-GGUF with Docker Model Runner:
docker model run hf.co/tensorblock/MIAOAI_qa-retailpro-GGUF:Q2_K
- Lemonade
How to use tensorblock/MIAOAI_qa-retailpro-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tensorblock/MIAOAI_qa-retailpro-GGUF:Q2_K
Run and chat with the model
lemonade run user.MIAOAI_qa-retailpro-GGUF-Q2_K
List all available models
lemonade list
Remove .gguf files (keep Q2_K.gguf)
Browse files- qa-retailpro-Q3_K_L.gguf +0 -3
- qa-retailpro-Q3_K_M.gguf +0 -3
- qa-retailpro-Q3_K_S.gguf +0 -3
- qa-retailpro-Q4_0.gguf +0 -3
- qa-retailpro-Q4_K_M.gguf +0 -3
- qa-retailpro-Q4_K_S.gguf +0 -3
- qa-retailpro-Q5_0.gguf +0 -3
- qa-retailpro-Q5_K_M.gguf +0 -3
- qa-retailpro-Q5_K_S.gguf +0 -3
- qa-retailpro-Q6_K.gguf +0 -3
- qa-retailpro-Q8_0.gguf +0 -3
qa-retailpro-Q3_K_L.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:6d116cc5ee87463d78a8fc6833286354df6f750f0f7b32270a7deba244df1f81
|
| 3 |
-
size 4088459360
|
|
|
|
|
|
|
|
|
|
|
|
qa-retailpro-Q3_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:1019f6a158073ce3a5cf7cac29c19cdac43c45ad61bb9534fef9b5ae2f045b76
|
| 3 |
-
size 3808391264
|
|
|
|
|
|
|
|
|
|
|
|
qa-retailpro-Q3_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:dc01c9c4813d97eee34fcbb24112faf7f4afd303ee305f35ad97657520ffe252
|
| 3 |
-
size 3492368480
|
|
|
|
|
|
|
|
|
|
|
|
qa-retailpro-Q4_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:11ed643bf63a7952a9b88b4bce23b4ce0a4dfdc8d4517d423d021d679e41fdeb
|
| 3 |
-
size 4431390816
|
|
|
|
|
|
|
|
|
|
|
|
qa-retailpro-Q4_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:87c7d5e09c39d31ccaabdef4ad4da55cd2fd59a9296a4ff02a3ba1a7c2efb196
|
| 3 |
-
size 4683073632
|
|
|
|
|
|
|
|
|
|
|
|
qa-retailpro-Q4_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:119fe1c3fae73c07d50e1f907b77d3e7ffa1193b917c93e717537d50d9488b1e
|
| 3 |
-
size 4457769056
|
|
|
|
|
|
|
|
|
|
|
|
qa-retailpro-Q5_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:e85ccaab1061472f8fae13d240f66e478a3ac629708baed224ad99f2728c7a8c
|
| 3 |
-
size 5315176544
|
|
|
|
|
|
|
|
|
|
|
|
qa-retailpro-Q5_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:06617dee6d0c4554735c72e6a79851b2c8bb2b5c0e83dc97ebb9921101f4768f
|
| 3 |
-
size 5444831328
|
|
|
|
|
|
|
|
|
|
|
|
qa-retailpro-Q5_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:074eb9a9c963a54ca3f7e7f4f5c496ccfe670d994737cb8dcd5bda8de1ed1c32
|
| 3 |
-
size 5315176544
|
|
|
|
|
|
|
|
|
|
|
|
qa-retailpro-Q6_K.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:ef29b2d00a00cd4e058995142430999575d54964a6be1c6f5e6e54dc6885a1ed
|
| 3 |
-
size 6254198880
|
|
|
|
|
|
|
|
|
|
|
|
qa-retailpro-Q8_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:ef0b5bce8ae8f5d4dc6b2077f21d0c9de6ee8d1bff59aa04d8a6459ea708b8d9
|
| 3 |
-
size 8098525280
|
|
|
|
|
|
|
|
|
|
|
|