Instructions to use Tarxxxxxx/TX-12G with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Tarxxxxxx/TX-12G with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Tarxxxxxx/TX-12G") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Tarxxxxxx/TX-12G", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use Tarxxxxxx/TX-12G 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 Tarxxxxxx/TX-12G # Run inference directly in the terminal: llama cli -hf Tarxxxxxx/TX-12G
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Tarxxxxxx/TX-12G # Run inference directly in the terminal: llama cli -hf Tarxxxxxx/TX-12G
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 Tarxxxxxx/TX-12G # Run inference directly in the terminal: ./llama-cli -hf Tarxxxxxx/TX-12G
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 Tarxxxxxx/TX-12G # Run inference directly in the terminal: ./build/bin/llama-cli -hf Tarxxxxxx/TX-12G
Use Docker
docker model run hf.co/Tarxxxxxx/TX-12G
- LM Studio
- Jan
- vLLM
How to use Tarxxxxxx/TX-12G with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Tarxxxxxx/TX-12G" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Tarxxxxxx/TX-12G", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Tarxxxxxx/TX-12G
- SGLang
How to use Tarxxxxxx/TX-12G 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 "Tarxxxxxx/TX-12G" \ --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": "Tarxxxxxx/TX-12G", "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 "Tarxxxxxx/TX-12G" \ --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": "Tarxxxxxx/TX-12G", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use Tarxxxxxx/TX-12G with Ollama:
ollama run hf.co/Tarxxxxxx/TX-12G
- Unsloth Desktop
- Pi
How to use Tarxxxxxx/TX-12G with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Tarxxxxxx/TX-12G
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": "Tarxxxxxx/TX-12G" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use Tarxxxxxx/TX-12G with Docker Model Runner:
docker model run hf.co/Tarxxxxxx/TX-12G
- Lemonade
How to use Tarxxxxxx/TX-12G with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Tarxxxxxx/TX-12G
Run and chat with the model
lemonade run user.TX-12G-{{QUANT_TAG}}List all available models
lemonade list
- Hermes Agent
How to use Tarxxxxxx/TX-12G with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Tarxxxxxx/TX-12G
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 Tarxxxxxx/TX-12G
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use Tarxxxxxx/TX-12G with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Tarxxxxxx/TX-12G
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 "Tarxxxxxx/TX-12G" \ --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"
TX-12G
Enhanced reasoning and code generation. Runs on 12GB RAM.
TX-12G is TARX's mid-tier model, offering significantly improved reasoning and code generation while remaining accessible to users with 12GB+ RAM.
Model Details
| Property | Value |
|---|---|
| Parameters | 12B |
| Quantization | Optimized mixed precision |
| RAM Required | 12 GB minimum |
| GPU VRAM | 8 GB+ recommended |
| Context Length | 16,384 tokens |
| License | Apache 2.0 |
Capabilities
- ✅ Everything TX-8G does, plus:
- ✅ Complex multi-step reasoning
- ✅ Advanced code generation & debugging
- ✅ Nuanced writing with style matching
- ✅ Technical documentation
- ✅ Data analysis & interpretation
When to Use TX-12G vs TX-8G
| Use Case | TX-8G | TX-12G |
|---|---|---|
| Quick questions | ✅ | Overkill |
| Email drafting | ✅ | ✅ |
| Simple code | ✅ | ✅ |
| Complex debugging | ⚠️ | ✅ |
| Multi-file refactoring | ❌ | ✅ |
| Technical writing | ⚠️ | ✅ |
| Research synthesis | ⚠️ | ✅ |
Usage
With TARX Desktop
Settings → Model → TX-12G
Model downloads automatically on first use (~8GB download).
With Transformers
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained(
"Tarxxxxxx/TX-12G",
device_map="auto",
torch_dtype="auto"
)
tokenizer = AutoTokenizer.from_pretrained("Tarxxxxxx/TX-12G")
With llama.cpp
wget https://huggingface.co/Tarxxxxxx/TX-12G/resolve/main/tx-12g.Q6_K.gguf
./main -m tx-12g.Q6_K.gguf -p "Debug this Python function:" -n 512
Hardware Requirements
| Hardware | Performance |
|---|---|
| Apple M1 Pro/Max (16GB+) | ⭐⭐⭐⭐⭐ Excellent |
| Apple M2/M3 (16GB+) | ⭐⭐⭐⭐⭐ Excellent |
| NVIDIA RTX 3080+ | ⭐⭐⭐⭐⭐ Excellent |
| Intel i7 + 32GB RAM | ⭐⭐⭐⭐ Good |
| AMD Ryzen 7 + 32GB | ⭐⭐⭐⭐ Good |
Links
Built by TARX | tarx.com
- Downloads last month
- 8
We're not able to determine the quantization variants.