Instructions to use XiaoboX/TabPilot with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use XiaoboX/TabPilot with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="XiaoboX/TabPilot")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("XiaoboX/TabPilot", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use XiaoboX/TabPilot with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "XiaoboX/TabPilot" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "XiaoboX/TabPilot", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/XiaoboX/TabPilot
- SGLang
How to use XiaoboX/TabPilot 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 "XiaoboX/TabPilot" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "XiaoboX/TabPilot", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'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 "XiaoboX/TabPilot" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "XiaoboX/TabPilot", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use XiaoboX/TabPilot with Docker Model Runner:
docker model run hf.co/XiaoboX/TabPilot
Update model card
Browse files11 unmodified lines12131415161715161718192021222324252627282930313221333435366 unmodified lines434445343546474849505111 unmodified lines
# TabPilot
Trained agents of [TabPilot](https://github.com/fearlessAAA/TabPilot), which answersnatural-language tabular prediction requests with two Qwen3.5-4B agents and a frozen tabularfoundation model (TabPFN v3.5).**TabPilot: Empowering Small Language Models for Natural-Language Tabular Prediction viaDeclarative Query Compilation, Privileged Distillation, and Structure-Aware Rewards**· Code: [github.com/fearlessAAA/TabPilot](https://github.com/fearlessAAA/TabPilot)
TabPilot is an agentic framework that couples a 4B small language model with a **plug-and-playfrozen tabular foundation model (TFM)** through **declarative predictive query compilation**. An**Execution Agent** iteratively compiles each natural-language request into a structuredprediction query and validates it through leakage-safe tools; the frozen TFM executes the queryby in-context inference; a **Response Agent** synthesizes the TFM predictions into a groundedanswer. The agents are trained for unseen tables with a three-stage local-to-global curriculum:**Privileged Semantic On-Policy Self-Distillation (PS-OPSD)**, **Structure-Aware GRPO (SA-GRPO)**with an outcome-label-free, TFM-agnostic structural reward, and **Teacher-Guided Tabular ResponseDistillation (TTRD)**.
This repository holds the trained agents (backbone: Qwen3.5-4B, non-thinking mode):
| Folder | Model ||---|---|| `execution-agent/fold<k>/` | Execution Agent: full Qwen3.5-4B weights after PS-OPSD and SA-GRPO || `execution-agent/fold<k>/` | Execution Agent: full weights after PS-OPSD → SA-GRPO || `response-agent/fold<k>/` | Response Agent: TTRD LoRA adapter (rank 32) for `Qwen/Qwen3.5-4B` |
There is one model pair per fold `k` of the five-fold cross-validation over TopBench source tables6 unmodified lineshf download XiaoboX/TabPilot --include "execution-agent/fold0/*" "response-agent/fold0/*" --local-dir checkpoints```
Serve both agents with vLLM and run TabPilot as described in the code repository's README. Bothagents run in non-thinking mode.Serve both agents with vLLM and run TabPilot as described in the code repository's README. TheTFM is plug-and-play: the agents were trained without calling it, and the code repository usesTabPFN v3.5 by default.
## License
README.md+19-6