Run this model with HF Jobs

Run ai-forever/SMITH-Exp on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs and TRL to fine-tune https://huggingface.co/ai-forever/SMITH-Exp. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/ai-forever/SMITH-Exp on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Evaluate on a benchmark

Use HF Jobs to evaluate https://huggingface.co/ai-forever/SMITH-Exp. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.

Quantize for lower memory use

Use HF Jobs to create a 4-bit version of https://huggingface.co/ai-forever/SMITH-Exp. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.

SMITH-v1 cover

Search Agent SMITH

SMITH-v1 is a fast search agent that specializes in solving MultiHopQA and DeepResearchQA tasks. It tackles complex question topologies like those in BrowseComp+ and TRuST, as well as general complex queries in MuSiQue. It also shows strong performance on Russian-specific MultiHopQA benchmarks due to inherited large-scale pretraining on Russian language of the base model. It can be used either as a standalone agent or as a subagent that handles difficult QA tasks delegated by your main agent, freeing up capacity for other requests.

SMITH-v1 is based on GigaChat 3.1 Lightning, a mixture-of-experts model with 10B total parameters and 1.8B active parameters. The BF16 serving configuration allocates 31.2 GiB of GPU memory for a maximum context of 262,144 tokens, including the KV cache.

News

🔥 2026-11-28: [link] SMITH-v1 updates the retrieval checkpoint. Standalone Agent Recall@10 rose by 14.13 percentage points on BrowseComp-Plus and 7.75 points on TRuST on the shared evaluation cohorts. See Metrics for standalone and routed retrieval results.

🎯 2026-09-17: [link] SMITH-Exp was released on R&D Day. The original checkpoint and card are preserved under the exp tag, with a matching harness.

Evaluation

We evaluate SMITH-v1 in two modes. As a standalone agent, SMITH-v1 handles every question. As a subagent, it handles only the questions routed to it. SMITH-v1 performs best when the question names the entity to look up. When some questions require the entity to be inferred from clues, we recommend using FRIDA-Decisions to route questions between SMITH-v1 and the main agent.

FRIDA-Decisions routes retrieval to SMITH-v1 or the main agent. The main agent writes the answer using the retrieved documents.

We report Recall@10 (%) across six benchmarks:

  • BrowseComp-Plus — the full set of 830 questions.
  • TRuST — 324 questions about information from the Russian web.
  • MuSiQue — 300 questions stratified by hop count and topology. The sample has 100 questions each at two, three, and four hops. The three-hop and four-hop groups are split by topology in counts of 75/25 and 50/25/25, respectively.
  • DRAGON — 100 hard questions.
  • Internal benchmark
  • RUMBA — 157 hard questions from the Russian conversational memory benchmark.

Metrics

Model Average BrowseComp-Plus (full 830) TRuST (full 324) MuSiQue (strat 300) DRAGON (hard 100) Internal bench RUMBA (hard 157)
DeepSeek V4.1 Flash 68.1 65.4 46.3 77.1 61.5 67.3 90.8
DeepSeek V4.1 Flash
 + FRIDA‑Decisions
 + SMITH‑v1**
68.6 (44.2%) 61.2 (18.1%) 44.3 (17.6%) 78.8 (21.3%) 65.7 (82.0%) 71.4 (81.0%) 90.5 (100%)
SMITH-v1 62.5 41.3 27.7 79.5 63.2 72.7 90.5
SMITH-Exp 58.1 27.6 19.9 79.7 64.5 67.8 89.2
Embedder single-shot* 42.5 20.7 13.1 54.6 32.0 58.1 76.4

* Embedding models used by the baseline and retrieval agents.

** FRIDA-Decisions routes a question to SMITH-v1 when its “yes” probability is 0.75 or lower, and to DeepSeek otherwise. Percentages in parentheses show the share of questions routed to SMITH-v1. In the Average column, Recall@10 weights the six datasets equally, while the routing share counts all 2,383 questions equally (1,054 routed to SMITH-v1).

Usage

When pairing SMITH-v1 with the main agent, we recommend serving the compact mixture-of-experts model on the same GPU as the embedder when memory permits. In the example below, the main agent runs on eight H100s. A separate 80 GB H100 hosts Qwen3-Embedding-4B, SMITH-v1, and the router, with 31.2 GiB allocated to SMITH-v1 including its KV cache.

Eight H100s serve the main agent. The ninth H100 shares memory between the embedder, SMITH-v1 and the router.

Retrieval harness

SMITH-v1 calls search_index repeatedly, then calls answer with supporting_corpus_ids.

Use HarnessConfig(final_response_strategy="custom_tool_strategy_corpus_ids_only") in the SMITH retrieval harness or an equivalent tool-calling loop. In the reported evaluations, the model saw its remaining search budget at each turn. Changes to prompts, tools, parsing, or stopping logic can affect retrieval quality.

With vLLM, use gigachat3_guided_decoding.py with the supplied chat template, as shown below. The plugin integrates with vLLM’s GigaChat 3 tool parser and constrains the structure of search_index and answer calls so the harness can parse them reliably.

Serving dependencies

curl -fsSLO https://huggingface.co/ai-forever/SMITH-Exp/resolve/v1/requirements.txt
curl -fsSLO https://huggingface.co/ai-forever/SMITH-Exp/resolve/v1/gigachat3_guided_decoding.py
curl -fsSLO https://huggingface.co/ai-forever/SMITH-Exp/resolve/v1/chat_template.jinja
uv venv --python python3.11 --seed .venv
uv pip install -r requirements.txt \
  --python .venv/bin/python \
  --torch-backend=cu130 \
  --index-strategy unsafe-best-match

Package versions and license information are listed in requirements.txt. The model fits on a single 80 GB GPU.

transformers

import torch
from transformers import AutoTokenizer, AutoModelForCausalLM

model_name = "ai-forever/SMITH-Exp"
model_revision = "v1"
tokenizer = AutoTokenizer.from_pretrained(model_name, revision=model_revision)
model = AutoModelForCausalLM.from_pretrained(
    model_name,
    revision=model_revision,
    torch_dtype=torch.bfloat16,
    device_map="auto",
)
messages = [
    {"role": "user", "content": "Which corpus passages support the answer?"}
]
prompt = tokenizer.apply_chat_template(
    messages,
    tokenize=False,
    add_generation_prompt=True,
)
inputs = tokenizer(prompt, return_tensors="pt")
inputs = {k: v.to(model.device) for k, v in inputs.items()}
outputs = model.generate(**inputs, max_new_tokens=512)
prompt_len = inputs["input_ids"].shape[1]
print(tokenizer.decode(outputs[0][prompt_len:], skip_special_tokens=True))

vLLM

.venv/bin/vllm serve ai-forever/SMITH-Exp --revision v1 \
  --trust-remote-code \
  --enable-auto-tool-choice \
  --tool-call-parser gigachat3 \
  --tool-parser-plugin ./gigachat3_guided_decoding.py \
  --chat-template ./chat_template.jinja \
  --tensor-parallel-size 1 \
  --dtype bfloat16
curl http://localhost:8000/v1/chat/completions \
  -H "Content-Type: application/json" \
  -d '{
    "model": "ai-forever/SMITH-Exp",
    "temperature": 0,
    "tool_choice": "required",
    "messages": [
      {"role": "user", "content": "Which corpus passages support the answer?"}
    ],
    "tools": [
      {
        "type": "function",
        "function": {
          "name": "search_index",
          "description": "Search the local semantic index and return relevant text snippets.",
          "parameters": {
            "type": "object",
            "properties": {
              "query": {"type": "string", "description": "The search query string."},
              "k": {"type": "integer", "description": "Optional number of top results to return."}
            },
            "required": ["query"]
          }
        }
      }
    ]
  }'

Authors

Downloads last month
1,245
Safetensors
Model size
11B params
Tensor type
F32
·
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for ai-forever/SMITH-Exp

Finetuned
(6)
this model

Collection including ai-forever/SMITH-Exp