Downloads · 30 days
27
2% of all-time downloads
ReXeeD/TASX-Cmd-0.5B
TASX-Cmd-0.5B is a text generation model from ReXeeD. Use it when you need the model to write or continue text. The card lists the license as apache-2.0.
TASX-Command-0.5B is a highly specialized, lightweight language model designed specifically for robotics. It translates natural language (including slang, typos, and complex phrasing) into strict, execution-ready JSON…
Downloads · 30 days
27
2% of all-time downloads
All-time downloads
1.5K
Public
Parameters
494M
1000 MB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors988 MB · 99%
From the Hugging Face model README
TASX-Command-0.5B is a highly specialized, lightweight language model designed specifically for robotics. It translates natural language (including slang, typos, and complex phrasing) into strict, execution-ready JSON command sequences for ROS2, SLAM, and physical robot control.
By fine-tuning the Qwen2.5-0.5B base model, we created a "robot brain" that is small and fast enough to run locally on edge hardware (like a Raspberry Pi) via llama.cpp while retaining the intelligence to understand complex human intent.
For high-performance inference , use these GGUF quants:
snake_case (e.g., professor_xavier_office).sit -> stand -> move) for fetching and delivering items without needing explicit user instruction.The model is trained to strictly output one or more of the following 20 commands formatted as a JSON array of actions.
{"type": "teleop", "cmd": "move_forward", "distance": <float>}{"type": "teleop", "cmd": "move_backward", "distance": <float>}{"type": "teleop", "cmd": "rotate_left", "angle": <float>}{"type": "teleop", "cmd": "rotate_right", "angle": <float>}{"type": "teleop", "cmd": "set_speed", "level": "slow" | "normal" | "fast"}{"type": "teleop", "cmd": "stop"} (For casual pauses){"type": "teleop", "cmd": "e_stop"} (For panicked/emergency stops){"type": "nav2", "cmd": "go_to_waypoint", "target": "<snake_case_string>"}{"type": "nav2", "cmd": "cancel_goal"}{"type": "stunt", "cmd": "full_sit"}{"type": "stunt", "cmd": "half_sit"}{"type": "stunt", "cmd": "stand_up"}{"type": "stunt", "cmd": "spin", "direction": "clockwise" | "anticlockwise"}TASX-Command-0.5B has been taught physical robotics logic. It knows a robot cannot drive while sitting.
If you ask it to perform a delivery (e.g., "Fetch my laptop from the server room and bring it to John's desk"), it will automatically output the required posture macros:
{
"actions": [
{"type": "nav2", "cmd": "go_to_waypoint", "target": "server_room"},
{"type": "stunt", "cmd": "full_sit"},
{"type": "stunt", "cmd": "stand_up"},
{"type": "nav2", "cmd": "go_to_waypoint", "target": "john_desk"},
{"type": "stunt", "cmd": "full_sit"}
]
}
# ============================================================
# ============================================================
from unsloth import FastLanguageModel
import torch
MODEL_PATH = "./tasx_sft_merged"
MAX_SEQ_LENGTH = 512
print("⏳ Loading your fine-tuned TASX model...")
model, tokenizer = FastLanguageModel.from_pretrained(
model_name = MODEL_PATH,
max_seq_length = MAX_SEQ_LENGTH,
dtype = torch.float16,
load_in_4bit = False,
)
FastLanguageModel.for_inference(model)
print("\n" + "="*50)
print("TASX ROBOT COMMAND TESTER READY")
print("Type a command in the box below and press Enter.")
print("Type 'quit' or 'q' to stop.")
print("="*50 + "\n")
while True:
user_text = input("🎤 You: ")
if user_text.lower() in ['quit', 'exit', 'q']:
print("Stopping inference. Great job!")
break
if not user_text.strip():
continue
prompt = f"<|im_start|>user\n{user_text}<|im_end|>\n<|im_start|>assistant\n"
inputs = tokenizer([prompt], return_tensors="pt").to("cuda")
# Generate the output
outputs = model.generate(
**inputs,
max_new_tokens=150,
use_cache=True,
temperature=0.1,
do_sample=True,
)
# Decode the output (slice off the prompt so we only see the assistant's new text)
response = tokenizer.batch_decode(
outputs[:, inputs.input_ids.shape[1]:],
skip_special_tokens=True
)[0]
print(f"TASX: {response.strip()}\n")
Need a custom version of this model for your specific robot's API or hardware? Contact: [[email protected]]