--- library_name: transformers pipeline_tag: text-generation base_model: Qwen/Qwen2.5-3B-Instruct datasets: - muradil211/AetherSearch_SFT tags: - aethersearch - agentic-search - search-augmented-generation - supervised-fine-tuning - qwen2 language: - en ---
AetherSearch monogram # ๐Ÿ”ญ AetherSearch SFT ### A compact search agent that learns to reason, retrieve, and answer Fine-tuned from **Qwen2.5-3B-Instruct** on **2,000 complete search trajectories**.

Base model: Qwen2.5-3B-Instruct Weights: BF16 Training trajectories: 2,000 Context window: 32K

[๐Ÿ  Project](https://github.com/Muradil-mamat-211/AetherSearch) ยท [๐Ÿงช Training code](https://github.com/Muradil-mamat-211/AetherSearch/tree/main/sft) ยท [๐Ÿ“š Dataset](https://huggingface.co/datasets/muradil211/AetherSearch_SFT)
> ๐Ÿ”Œ **Bring your own retriever.** AetherSearch SFT is a search-agent policy, > not a self-contained QA service. The host runtime must execute each > `...` request and return evidence inside > `...`. ## โœจ Highlights - ๐Ÿ”Ž **Search-native behavior** โ€” learns when and what to search before answering. - ๐Ÿ” **Single- and multi-search trajectories** โ€” trained on 1,025 single-search and 975 multi-search examples. - ๐Ÿงพ **Evidence-in-the-loop reasoning** โ€” retrieved passages stay visible as context while being excluded from the training loss. - โšก **Compact 3B backbone** โ€” built on Qwen2.5-3B-Instruct for accessible experimentation and deployment. - ๐Ÿงช **Reproducible release** โ€” public trainer, launcher, data checksum, schema tests, and artifact manifest are included or linked. ## ๐Ÿง  How it works ```text Question โ”‚ โ–ผ reason about what is missing โ”‚ โ–ผ focused retrieval query โ”€โ”€โ”€โ”€โ”€โ–บ Search / RAG backend โ–ฒ โ”‚ โ””โ”€โ”€โ”€โ”€ retrieved evidence โ—„โ”€โ”€โ”€โ”€โ”˜ โ”‚ โ”œโ”€โ”€ repeat the search loop when more evidence is needed โ–ผ evidence-grounded final answer ``` The model produces the reasoning, search, and answer spans. Your runtime owns retrieval: parse a completed `` span, run the query, append the result as ``, and resume generation until the model emits ``. ## ๐Ÿ“Š Model at a glance | Field | Value | |---|---| | ๐Ÿงฑ Base model | [`Qwen/Qwen2.5-3B-Instruct`](https://huggingface.co/Qwen/Qwen2.5-3B-Instruct) | | ๐Ÿงฌ Base revision | `aa8e72537993ba99e69dfaafa59ed015b17504d1` | | ๐Ÿ—๏ธ Architecture | Qwen2 causal language model | | ๐Ÿ”ข Parameters | 3,085,938,688 | | ๐ŸŽ›๏ธ Weight dtype | BF16 | | ๐Ÿ“ Context | 32,768 positions; training sequences capped at 4,096 | | ๐Ÿ“š Training data | 2,000 complete trajectories | | ๐Ÿ” Search mix | 1,025 single-search + 975 multi-search trajectories | | ๐ŸŽ“ Training stage | One full-trajectory SFT stage | ## ๐Ÿš€ Quick start ```python import torch from transformers import AutoModelForCausalLM, AutoTokenizer model_id = "muradil211/AetherSearch_SFT" tokenizer = AutoTokenizer.from_pretrained(model_id) model = AutoModelForCausalLM.from_pretrained( model_id, torch_dtype=torch.bfloat16, device_map="auto", ) model.config.use_cache = True model.eval() ``` > ๐Ÿ’ก Loading the checkpoint is only the first step. For end-to-end use, wrap > generation in the retrieval loop shown above and preserve the XML protocol > exactly. ## ๐Ÿงฌ Checkpoint identity This model was trained once on the 2,000 records in the canonical `final_sft_2000.jsonl` dataset, using the same configuration as the public AetherSearch SFT-2000 training code. The release contains the final model artifacts and reproducible code, not server-local logs or optimizer state. **Dataset SHA-256** ```text fec609652d3832c7a6c0ee2861c6f946b6cf7c3d3d40fc5d9be9b75df6325dcb ``` ## ๐Ÿงช Training recipe | Setting | Value | Setting | Value | |---|---:|---|---:| | Epochs | 1 | Learning rate | `2e-6` | | Scheduler | Cosine | Global batch size | 24 | | Precision | BF16 + TF32 | Max sequence length | 4,096 | | Padding | Dynamic | Distributed training | DeepSpeed ZeRO-3 | The training configuration matches the public SFT-2000 recipe: one epoch, learning rate `2e-6`, cosine scheduling, BF16, TF32, gradient checkpointing, dynamic padding, effective global batch size 24, and DeepSpeed ZeRO-3. On the three-worker training topology, per-device batch size 1 and gradient accumulation 8 resolve to that global batch. The completed checkpoint is exported as `final_model/`. The public launcher is hardware-topology independent: it uses the devices made visible by the surrounding runtime and derives gradient accumulation to keep global batch 24 unchanged. It does not embed physical GPU IDs, node addresses, NCCL fabric settings, allocator tuning, or server-local paths. ### ๐ŸŽฏ Supervision contract - โฌ› System, user, and question tokens are **masked**. - โฌ› Complete `...` spans are **masked**. - โœ… Assistant ``, ``, and `` spans are **supervised**. - โœ… The final assistant `<|im_end|>` token is **supervised**. The trainer, launcher, configuration, checksum, and schema tests are published in the [AetherSearch SFT directory](https://github.com/Muradil-mamat-211/AetherSearch/tree/main/sft). ## ๐Ÿ“ฆ Files and integrity The release contains two BF16 SafeTensors shards, the shard index, model and generation configuration, tokenizer assets, this model card, the project logo, and `MODEL_MANIFEST.sha256`. It intentionally excludes optimizer states, intermediate checkpoints, `training_args.bin`, evaluation bundles, and all log files. After download, verify the release from its repository directory: ```bash sha256sum -c MODEL_MANIFEST.sha256 ``` ## โš ๏ธ Limitations Generated searches and answers can be incorrect, unsupported, or unsafe; retrieval and answer verification remain the caller's responsibility. No evaluation result is claimed by this model card. ## ๐Ÿ“œ Terms No additional blanket license is asserted here. Review the [Qwen2.5-3B-Instruct license](https://huggingface.co/Qwen/Qwen2.5-3B-Instruct/blob/main/LICENSE) and the [AetherSearch SFT data attribution and rights status](https://github.com/Muradil-mamat-211/AetherSearch/blob/main/sft/ATTRIBUTION.md) before redistribution or downstream use. ---
**Built for experiments in agentic search and retrieval-augmented reasoning.** ๐Ÿ”Žโœจ