--- language: - en license: apache-2.0 library_name: peft pipeline_tag: text-generation base_model: unsloth/qwen3-4b-instruct-2507-unsloth-bnb-4bit base_model_relation: adapter tags: - lora - qwen3 - agentic-search - passage-retrieval - grpo datasets: - jain98aayush/AgenticSearch-OpenMultiHop --- # AgenticSearch R2S at checkpoint 80 Rank-32 LoRA adapter associated with the **single** condition in [Small Open-Weight Search Agents](https://huggingface.co/spaces/jain98aayush/AgenticSearch-Research), 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 | |---|---:|---:|---:|---:|---:| | R2s@80 single | 100 | 0.5642 | 0.4834 | 1.00 | 13,766 | 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](https://huggingface.co/spaces/jain98aayush/AgenticSearch-Research/resolve/main/downloads/AgenticSearch-code-v0.1.0.zip) 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. ```python from transformers import AutoTokenizer from peft import AutoPeftModelForCausalLM repo = "jain98aayush/AgenticSearch-R2S-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](https://huggingface.co/datasets/jain98aayush/AgenticSearch-OpenMultiHop). 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.