Instructions to use jain98aayush/AgenticSearch-R2A-step80 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use jain98aayush/AgenticSearch-R2A-step80 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("unsloth/qwen3-4b-instruct-2507-unsloth-bnb-4bit") model = PeftModel.from_pretrained(base_model, "jain98aayush/AgenticSearch-R2A-step80") - Notebooks
- Google Colab
- Kaggle
AgenticSearch R2A at checkpoint 80
Rank-32 LoRA adapter associated with the messaging condition in Small Open-Weight Search Agents, by Aayush Jain. This repository contains trained adapter weights, not standalone base-model weights.
Recorded evaluation
| Condition | Questions | Recall@10 | nDCG@10 | Mean agents | Mean prompt+completion tokens |
|---|---|---|---|---|---|
| R2a@80 messaging | 100 | 0.5617 | 0.4799 | 3.79 | 58,645 |
These are retrospective development results on the same 100 questions used in selection, from one training trajectory for this arm. They are not fresh held-out, multi-seed, or enterprise application results. Tokens include repeated context. The paper and its numeric exports contain paired confidence intervals and the independent-agent controls.
Weights, architecture, and lineage
The unchanged adapter config records base unsloth/qwen3-4b-instruct-2507-unsloth-bnb-4bit, rank 32, alpha 64, zero dropout, and LoRA on q/k/v/o and gate/up/down projections. The adapter has 66,060,288 F32 parameters and occupies 264,308,896 bytes. Base weights are downloaded separately under their upstream license.
Frozen training configs and bootstrap metadata name Qwen/Qwen3-4B-Instruct-2507, revision cdbee75f17c01a7cc42f958dc650907174af0554, while the adapter config names the quantized Unsloth base above and has no exact revision. The exact quantized training-weight revision and historical vLLM version were not established. Both facts are preserved; this release does not claim a fully verified base-weight lineage or a new inference replay.
Use with the retrieval harness
The evaluated system requires the paper's BM25 corpus, tools, prompts, turn limits, architecture configuration, and RRF fusion. Plain text generation alone does not reproduce the retrieval condition. Download the source snapshot and follow its README and Track B runbook.
An illustrative CUDA/PEFT loading pattern is below. It has not been executed against a GPU for this publication release; quantized-base loading requires compatible bitsandbytes/CUDA and the recorded package environment.
from transformers import AutoTokenizer
from peft import AutoPeftModelForCausalLM
repo = "jain98aayush/AgenticSearch-R2A-step80"
tokenizer = AutoTokenizer.from_pretrained(repo)
model = AutoPeftModelForCausalLM.from_pretrained(repo, device_map="auto")
Data and training
Open multi-hop questions from HotpotQA, 2WikiMultihopQA, and MuSiQue were mapped to Wikipedia passages. Training candidates and the frozen 100-question selection slice are documented in the dataset card. The team reward was Recall@10 minus the recorded malformed-call penalty. No BrowseComp-Plus data was used for Track B training.
License and responsibility
The author releases these original adapter weights under Apache-2.0. Base-model and tokenizer licenses remain applicable independently. The original tokenizer/chat-template files are preserved for reproducibility. The manuscript contains an AI-assistance disclosure; publication packaging generated no new model-evaluation measurements.
- Downloads last month
- -