1pp-2.81b-v2-raw-search-rl
A Wikipedia search agent: the One Persona Pretraining (1PP) 2.81B model, condition raw, seed 28 (Raghav-Singhal/1pp-2.81b-v2-raw-sft, revision 216fc67), fine-tuned on search conversations (warm start) and then trained with GRPO to answer questions by searching a BM25 index of 2018 Wikipedia. Final checkpoint (step 660).
How it is used
- The first user turn is the question alone. The model either calls the search tool or replies.
- Search:
<tool_call>{"name": "search", "arguments": {"query": "..."}}</tool_call>. The results come back as a<tool_response>user turn with the top 3 passages (title and the first 100 words), BM25 over the Search-R1 2018 Wikipedia corpus. - Reply: free text with the answer inside exactly one
<answer>...</answer>tag. Up to 5 searches per user question; the conversation must fit 4,096 tokens (the pretraining length). Follow-up questions may come as later user turns. - Chat template: the base model's (
<|im_start|>/<|im_end|>).
Training
- Warm start: one epoch of supervised fine-tuning on 3,316 conversations: 90 % search episodes rewritten by Claude into a chat style with a tagged answer, 10 % ordinary chat conversations.
- RL: GRPO in verl (v1 sync trainer), 660 steps of 256 questions x 8 rollouts, on 4 nodes (16 GPUs).
- Optimizer: Muon, learning rate 1e-4 for the matrices; AdamW groups at the pretraining ratios. KL loss 0.001 (low-variance estimator) to the warm start.
- Questions: NQ and HotpotQA training questions (Search-R1 split) plus 25 % multi-turn conversations with Claude-written follow-ups; a follow-up is asked only after a right answer.
- Reward per conversation: 1 per user question answered right (exact match of the tagged answer, else PEDANTS soft match at 0.5 with a word-overlap rule and no padded answers), minus 0.03 per search after the first, minus 0.1 for a format mistake (once per episode).
- Correctness filter: question groups whose 8 rollouts all agree are replaced by new questions, up to 768 per step.
- Chat replay: 64 ordinary chat conversations per step join every update (loss on assistant tokens only, weight 0.1), to keep chat behaviour.
- RL compute: about 6-7 % of the model's pretraining compute (6ND convention, sampling included).
Results (dev, greedy, one answer per question)
| warm start | this model | |
|---|---|---|
| HotpotQA dev, % correct | 38.7 | 61.9 |
| NQ dev, % correct | 21.3 | 38.2 |
| dev conversations, % of user turns correct | 16.3 | 33.3 |
"Correct" is the training reward's answer score (exact match, else soft match), measured during training on a dev split carved from the training sets (1,024 single questions, 129 conversations).
Limits
- Replies often add details after the tagged answer that no passage supports.
- The model sometimes searches again to confirm an answer it already has.
- Research checkpoint, not tuned for safety beyond the base model's SFT.
- Downloads last month
- 32
Model tree for jkminder/1pp-2.81b-v2-raw-search-rl
Base model
Raghav-Singhal/1pp-2.81b-v2-raw-sft