Instructions to use THARX/THAR.0X with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use THARX/THAR.0X with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="THARX/THAR.0X", filename="THAR.0X-Q4_K_M.gguf", )
llm.create_chat_completion( messages = "No input example has been defined for this model task." )
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use THARX/THAR.0X with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf THARX/THAR.0X:Q4_K_M # Run inference directly in the terminal: llama-cli -hf THARX/THAR.0X:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf THARX/THAR.0X:Q4_K_M # Run inference directly in the terminal: llama-cli -hf THARX/THAR.0X: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 THARX/THAR.0X:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf THARX/THAR.0X: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 THARX/THAR.0X:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf THARX/THAR.0X:Q4_K_M
Use Docker
docker model run hf.co/THARX/THAR.0X:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use THARX/THAR.0X with Ollama:
ollama run hf.co/THARX/THAR.0X:Q4_K_M
- Unsloth Studio new
How to use THARX/THAR.0X 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 THARX/THAR.0X 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 THARX/THAR.0X to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for THARX/THAR.0X to start chatting
- Pi new
How to use THARX/THAR.0X with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf THARX/THAR.0X:Q4_K_M
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": "THARX/THAR.0X:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use THARX/THAR.0X with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf THARX/THAR.0X: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 THARX/THAR.0X:Q4_K_M
Run Hermes
hermes
- Docker Model Runner
How to use THARX/THAR.0X with Docker Model Runner:
docker model run hf.co/THARX/THAR.0X:Q4_K_M
- Lemonade
How to use THARX/THAR.0X with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull THARX/THAR.0X:Q4_K_M
Run and chat with the model
lemonade run user.THAR.0X-Q4_K_M
List all available models
lemonade list
| { | |
| "thar_version": "1.0.0", | |
| "architecture": "cognitive-prompt", | |
| "model_agnostic": true, | |
| "inference": { | |
| "temperature": 0.85, | |
| "top_p": 0.92, | |
| "top_k": 45, | |
| "repeat_penalty": 1.15, | |
| "max_tokens": 2048, | |
| "context_window": 8192, | |
| "notes": { | |
| "temperature": "0.85 balances creativity with coherence. Lower to 0.7 for stricter technical work. Raise to 0.95 for creative tasks.", | |
| "top_p": "0.92 keeps outputs focused. Do not raise above 0.95.", | |
| "repeat_penalty": "1.15 prevents looping. Raise to 1.2 if you see repetition.", | |
| "context_window": "8192 recommended minimum. Raise to 16384+ if your hardware supports it." | |
| } | |
| }, | |
| "recommended_models": { | |
| "fastest": { | |
| "ollama": "llama3.2:1b", | |
| "ram_required_gb": 4, | |
| "notes": "Minimal hardware. Reduced reasoning depth." | |
| }, | |
| "fast": { | |
| "ollama": "llama3.2", | |
| "lm_studio": "Llama-3.2-3B-Instruct-Q8_0.gguf", | |
| "ram_required_gb": 6, | |
| "notes": "Good for quick tasks and prototyping." | |
| }, | |
| "balanced": { | |
| "ollama": "qwen2.5:14b", | |
| "lm_studio": "Qwen2.5-14B-Instruct-Q5_K_M.gguf", | |
| "ram_required_gb": 16, | |
| "notes": "Recommended default. Best quality-to-speed ratio." | |
| }, | |
| "best_quality": { | |
| "ollama": "qwen2.5:32b", | |
| "lm_studio": "Qwen2.5-32B-Instruct-Q4_K_M.gguf", | |
| "ram_required_gb": 32, | |
| "notes": "Highest reasoning quality. Slow on consumer hardware." | |
| }, | |
| "code_focused": { | |
| "ollama": "qwen2.5-coder:14b", | |
| "ram_required_gb": 16, | |
| "notes": "Technical and code-heavy workloads." | |
| }, | |
| "creative": { | |
| "ollama": "mistral:7b", | |
| "lm_studio": "Mistral-7B-Instruct-v0.3-Q5_K_M.gguf", | |
| "ram_required_gb": 8, | |
| "notes": "Creative writing, brainstorming, conversational tasks." | |
| } | |
| }, | |
| "platform_configs": { | |
| "ollama": { | |
| "base_url": "http://localhost:11434", | |
| "api_path": "/api/chat", | |
| "model_name": "THAR.0X", | |
| "setup": "ollama create THAR.0X -f Modelfile", | |
| "run": "ollama run THAR.0X" | |
| }, | |
| "lm_studio": { | |
| "base_url": "http://localhost:1234", | |
| "api_path": "/v1/chat/completions", | |
| "notes": "Paste system_prompt.txt into Thread Settings > System Prompt. Set temperature to 0.85." | |
| }, | |
| "llama_cpp": { | |
| "flags": "--temp 0.85 --top-p 0.92 --top-k 45 --repeat-penalty 1.15 -c 8192", | |
| "system_prompt_flag": "--system-prompt-file system_prompt.txt" | |
| }, | |
| "jan": { | |
| "notes": "Thread Settings > System Prompt > paste system_prompt.txt. Set temperature to 0.85 in model settings." | |
| }, | |
| "anythingllm": { | |
| "notes": "Workspace Settings > Agent Config > System Prompt field." | |
| } | |
| }, | |
| "identity": { | |
| "name": "THAR.0X", | |
| "tagline": "Zero as in origin. X as in unlimited.", | |
| "type": "cognitive-architecture", | |
| "streams": 10, | |
| "principles": 10, | |
| "license": "Open — personal and commercial use permitted. Keep the name." | |
| } | |
| } | |