Instructions to use Open4bits/LocoOperator-4B-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use Open4bits/LocoOperator-4B-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf Open4bits/LocoOperator-4B-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf Open4bits/LocoOperator-4B-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Open4bits/LocoOperator-4B-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf Open4bits/LocoOperator-4B-GGUF:Q4_K_M
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf Open4bits/LocoOperator-4B-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf Open4bits/LocoOperator-4B-GGUF:Q4_K_M
Use Docker
docker model run hf.co/Open4bits/LocoOperator-4B-GGUF:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use Open4bits/LocoOperator-4B-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Open4bits/LocoOperator-4B-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Open4bits/LocoOperator-4B-GGUF", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/Open4bits/LocoOperator-4B-GGUF:Q4_K_M
- Ollama
How to use Open4bits/LocoOperator-4B-GGUF with Ollama:
ollama run hf.co/Open4bits/LocoOperator-4B-GGUF:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use Open4bits/LocoOperator-4B-GGUF with Docker Model Runner:
docker model run hf.co/Open4bits/LocoOperator-4B-GGUF:Q4_K_M
- Lemonade
How to use Open4bits/LocoOperator-4B-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Open4bits/LocoOperator-4B-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.LocoOperator-4B-GGUF-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Upload locooperator-4b-Q4_K_M.gguf
Browse filesFiles changed (2)
32 unmodified lines33343532 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -text32 unmodified lines3334353632 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -textlocooperator-4b-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
123version https://git-lfs.github.com/spec/v1oid sha256:0ba26abb6e3a38a6ee093f9e4a7cc145a896c997868609283ff3b60a8a630b98size 2497276704.gitattributes+1
locooperator-4b-Q4_K_M.ggufAdded+3