Bathys-9B / README.md
skyblooms's picture
Update README.md
be71846 verified
|
Raw History Blame Contribute Delete
9.29 kB
metadata
license: apache-2.0
language:
  - en
  - zh
base_model:
  - Qwen/Qwen3.5-9B
pipeline_tag: text-generation
library_name: transformers
tags:
  - deep-search
  - agent
  - web-search
  - tool-use
  - bathys

Bathys

Bathys 9B

A 9B deep search agent built around a training framework that spans verifiable question synthesis, post-training, and online reinforcement learning under context compression

Technical Report Base Model License

Introduction

Deep search has become a core capability of language-model agents, because many real-world questions can only be answered by chaining multiple searches and combining evidence scattered across sources. A single question may require dozens of tool calls, and the accumulated interaction history can exceed the context window before the agent reaches an answer.

Bathys 9B is a deep search agent post-trained from Qwen3.5-9B. It iteratively plans, issues search queries, reads web pages, reformulates its queries, and verifies candidate answers against the collected evidence. The model is trained with high-quality data construction that ensures both search depth and reliability, followed by an SFT → KTO → CM-GSPO post-training pipeline that ends with online reinforcement learning under context compression.

Attribute Details
Base model Qwen3.5-9B
Parameters 9B
Training context length 131,072 tokens (128K)
Post-training SFT → KTO → CM-GSPO
Evaluation languages English, Chinese
Deployment hardware 2 × NVIDIA H800 (80 GB)
License Apache 2.0

Performance

Bathys main benchmark results

Main benchmark results for selected models. Each panel shows a subset of the baselines. Bathys models are highlighted in purple.

Model Size BrowseComp BrowseComp-ZH Xbench-DeepSearch-2510 Seal-0
Open-source models (≤ 9B)
Qwen3.5-9B (base) 9B 18.33§ 32.18§ 36.00§ 28.83§
MiroThinker-v1.0-8B 8B 31.10 40.20 34.00† 40.40
Marco-DeepResearch-8B 8B 31.40 47.10 42.00 –
QUEST-9B-SFT 9B 45.40 – – –
Bathys 9B 9B 66.51 67.82 59.00 61.26
Larger models (for reference)
Qwen3.6-27B 27B 51.97§ 52.25§ 50.00§ 48.65§
MiroThinker-1.7-mini 30B 67.90 72.30 57.20 48.20
Agents-A1 35B 75.50 – 86.00 56.36
Qwen3.5-397B-A17B 397B 78.60 70.30 – 46.90
DeepSeek-V4-Pro 1.6T 83.40 85.47§ 90.00† 61.26§
Bathys 27B 27B 80.49 78.20 75.00 65.77

Scores are accuracies (%). Within the ≤ 9B group, bold marks the best score and underline the second best. § Measured by us under our harness, because the corresponding releases do not report these benchmarks. † Reported by a third party rather than by the model's own release. All other baseline scores are taken from the models' own release materials, so cross-model comparisons should be read as indicative rather than strictly controlled.

Deployment

Bathys 9B keeps the architecture of Qwen3.5-9B and can be served with any inference engine that supports it. All three engines below expose an OpenAI-compatible API.

We deploy Bathys 9B on NVIDIA H800 (80 GB) GPUs. The commands below run it on two H800 GPUs with tensor parallelism 2 and a 131,072-token context window.

LightLLM

docker run --rm --gpus all --ipc=host -p 8000:8000 \
  -v /path/to/Bathys-9B:/model \
  ghcr.io/modeltc/lightllm:main \
  python -m lightllm.server.api_server \
    --model_dir /model \
    --tp 2 \
    --max_req_total_len 131072 \
    --tool_call_parser qwen3_coder \
    --reasoning_parser qwen3 \
    --host 0.0.0.0 --port 8000

vLLM

docker run --rm --gpus all --ipc=host -p 8000:8000 \
  -v /path/to/Bathys-9B:/model \
  vllm/vllm-openai:latest \
    --model /model \
    --served-model-name Bathys-9B \
    --tensor-parallel-size 2 \
    --max-model-len 131072 \
    --reasoning-parser qwen3 \
    --enable-auto-tool-choice \
    --tool-call-parser qwen3_coder \
    --host 0.0.0.0 --port 8000

SGLang

docker run --rm --gpus all --ipc=host -p 8000:8000 \
  -v /path/to/Bathys-9B:/model \
  lmsysorg/sglang:latest \
  python -m sglang.launch_server \
    --model-path /model \
    --served-model-name Bathys-9B \
    --tp-size 2 \
    --context-length 131072 \
    --reasoning-parser qwen3 \
    --tool-call-parser qwen3_coder \
    --host 0.0.0.0 --port 8000

Usage

Once a server is running, the model can be used with any OpenAI-compatible client. To reproduce the deep-search behavior, connect it to an agent harness that provides web search and webpage-fetching tools (we use Hermes with Serper search and Jina fetch).

from openai import OpenAI

client = OpenAI(base_url="http://localhost:8000/v1", api_key="EMPTY")

response = client.chat.completions.create(
    model="Bathys-9B",
    messages=[{"role": "user", "content": "Your question here"}],
    tools=[...],  # e.g. search and fetch tool schemas from your agent harness
)
print(response.choices[0].message)

License

Bathys 9B is fine-tuned from Qwen3.5-9B, which is released under the Apache License 2.0. The Bathys 9B weights are likewise released under the Apache License 2.0.