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", dtype="auto") - llama-cpp-python
How to use Tarxxxxxx/TX-12G with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="Tarxxxxxx/TX-12G", filename="tx-12g.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 Tarxxxxxx/TX-12G with llama.cpp:
Install from brew
brew install llama.cpp # 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
Install from WinGet (Windows)
winget install llama.cpp # 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
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 Studio new
How to use Tarxxxxxx/TX-12G 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 Tarxxxxxx/TX-12G 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 Tarxxxxxx/TX-12G to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for Tarxxxxxx/TX-12G to start chatting
- Pi new
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-server -hf Tarxxxxxx/TX-12G
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": "Tarxxxxxx/TX-12G" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
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-server -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
- 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
llm.create_chat_completion(
messages = [
{
"role": "user",
"content": "What is the capital of France?"
}
]
)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
- 7
We're not able to determine the quantization variants.
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="Tarxxxxxx/TX-12G", filename="tx-12g.gguf", )