Instructions to use PrithviRana/DevOps 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 PrithviRana/DevOps 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 PrithviRana/DevOps:Q4_K_M # Run inference directly in the terminal: llama cli -hf PrithviRana/DevOps:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf PrithviRana/DevOps:Q4_K_M # Run inference directly in the terminal: llama cli -hf PrithviRana/DevOps:Q4_K_M
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 PrithviRana/DevOps:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf PrithviRana/DevOps:Q4_K_M
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 PrithviRana/DevOps:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf PrithviRana/DevOps:Q4_K_M
Use Docker
docker model run hf.co/PrithviRana/DevOps:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use PrithviRana/DevOps with Ollama:
ollama run hf.co/PrithviRana/DevOps:Q4_K_M
- Unsloth Desktop
- Pi
How to use PrithviRana/DevOps with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf PrithviRana/DevOps:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "PrithviRana/DevOps:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use PrithviRana/DevOps with Docker Model Runner:
docker model run hf.co/PrithviRana/DevOps:Q4_K_M
- Lemonade
How to use PrithviRana/DevOps with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull PrithviRana/DevOps:Q4_K_M
Run and chat with the model
lemonade run user.DevOps-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use PrithviRana/DevOps with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf PrithviRana/DevOps:Q4_K_M
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 PrithviRana/DevOps:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use PrithviRana/DevOps with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf PrithviRana/DevOps:Q4_K_M
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "PrithviRana/DevOps:Q4_K_M" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
|
Download readme.md from PrithviRana/DevOps: direct link, hf CLI and curl.
- Browser
- Download file 5.52 kB
-
https://huggingface.co/PrithviRana/DevOps/resolve/main/readme.md
- Command line
-
hf download hf://PrithviRana/DevOps/readme.md
-
curl -L -o readme.md https://huggingface.co/PrithviRana/DevOps/resolve/main/readme.md
5.52 kB
| cd /root/ai-tuning | |
| cat > README.md <<'EOF' | |
| # π Fine-Tuned DevOps LLM | |
| A complete end-to-end project for fine-tuning **Qwen2.5-3B-Instruct** for DevOps and Cloud engineering tasks using **LoRA**, converting the model to **GGUF**, quantizing it to **Q4_K_M**, and deploying it with **Ollama inside Docker**. | |
| --- | |
| ## π Project Overview | |
| The complete pipeline: | |
| ```text | |
| DevOps Dataset | |
| β | |
| JSONL Dataset | |
| β | |
| Train / Validation Split | |
| β | |
| Qwen2.5-3B-Instruct | |
| β | |
| LoRA Fine-Tuning | |
| β | |
| LoRA Adapter | |
| β | |
| Merge Adapter + Base Model | |
| β | |
| Merged Model | |
| β | |
| GGUF F16 | |
| β | |
| Q4_K_M Quantization | |
| β | |
| Ollama | |
| β | |
| devops-qwen:latest | |
| β | |
| Benchmark | |
| β | |
| RAG + n8n / FastAPI | |
| β | |
| DevOps AI Assistant | |
| (.venv310) [root@e2e-77-184 ai-tuning]# hf auth whoami | |
| user: PrithviRana | |
| (.venv310) [root@e2e-77-184 ai-tuning]# hf repo create devops-qwen --type model | |
| usage: hf <command> [<args>] | |
| hf: error: unrecognized arguments: --type model | |
| (.venv310) [root@e2e-77-184 ai-tuning]# | |
| (.venv310) [root@e2e-77-184 ai-tuning]# hf repo create devops-qwen | |
| Successfully created PrithviRana/devops-qwen on the Hub. | |
| Your repo is now available at https://huggingface.co/PrithviRana/devops-qwen | |
| (.venv310) [root@e2e-77-184 ai-tuning]# hf upload \ | |
| > PrithviRana/devops-qwen \ | |
| > /root/ai-tuning/qwen-devops-q4_k_m.gguf \ | |
| > qwen-devops-q4_k_m.gguf | |
| Processing Files (1 / 1) : 100%|ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ| 1.93GB / 1.93GB, 41.3MB/s | |
| New Data Upload : 100%|ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ| 277MB / 277MB, 7.98MB/s | |
| ...g/qwen-devops-q4_k_m.gguf: 100%|ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ| 1.93GB / 1.93GB | |
| https://huggingface.co/PrithviRana/devops-qwen/blob/main/qwen-devops-q4_k_m.gguf | |
| (.venv310) [root@e2e-77-184 ai-tuning]# hf repo-files PrithviRana/devops-qwen | |
| usage: hf <command> [<args>] repo-files [-h] {delete} ... | |
| hf <command> [<args>] repo-files: error: argument {delete}: invalid choice: 'PrithviRana/devops-qwen' (choose from 'delete') | |
| (.venv310) [root@e2e-77-184 ai-tuning]# hf repo-files PrithviRana/devops-qwen | |
| usage: hf <command> [<args>] repo-files [-h] {delete} ... | |
| hf <command> [<args>] repo-files: error: argument {delete}: invalid choice: 'PrithviRana/devops-qwen' (choose from 'delete') | |
| (.venv310) [root@e2e-77-184 ai-tuning]# hf download PrithviRana/devops-qwen \ | |
| > qwen-devops-q4_k_m.gguf \ | |
| > --local-dir /tmp/devops-test | |
| Downloading 'qwen-devops-q4_k_m.gguf' to '/tmp/devops-test/.cache/huggingface/download/PRb-k0RfBjIZ_D61s_zXLFcUvb0=.6740758595869f0abd012e19a8e6ed73124f92a9c7a8435dd6ca17050c0f52d0.incomplete' | |
| qwen-devops-q4_k_m.gguf: 0%| | 0.00/1.93G [00:00<?, ?B/s]^CCancellation requested; stopping current tasks. | |
| Traceback (most recent call last): | |
| File "/root/ai-tuning/.venv310/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 633, in xet_get | |
| download_files( | |
| KeyboardInterrupt | |
| During handling of the above exception, another exception occurred: | |
| Traceback (most recent call last): | |
| File "/root/ai-tuning/.venv310/bin/hf", line 6, in <module> | |
| sys.exit(main()) | |
| File "/root/ai-tuning/.venv310/lib/python3.10/site-packages/huggingface_hub/cli/hf.py", line 59, in main | |
| service.run() | |
| File "/root/ai-tuning/.venv310/lib/python3.10/site-packages/huggingface_hub/cli/download.py", line 136, in run | |
| print(self._download()) # Print path to downloaded files | |
| File "/root/ai-tuning/.venv310/lib/python3.10/site-packages/huggingface_hub/cli/download.py", line 149, in _download | |
| return hf_hub_download( | |
| File "/root/ai-tuning/.venv310/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn | |
| return fn(*args, **kwargs) | |
| File "/root/ai-tuning/.venv310/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 994, in hf_hub_download | |
| return _hf_hub_download_to_local_dir( | |
| File "/root/ai-tuning/.venv310/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 1304, in _hf_hub_download_to_local_dir | |
| _download_to_tmp_and_move( | |
| File "/root/ai-tuning/.venv310/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 1727, in _download_to_tmp_and_move | |
| xet_get( | |
| File "/root/ai-tuning/.venv310/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 633, in xet_get | |
| download_files( | |
| KeyboardInterrupt | |
| qwen-devops-q4_k_m.gguf: 0%| | |