Views
No views yet
Qwen/Qwen3.5-9B model fine-tuned to serve as the proposer inside a Large Discovery
Model (LDM): given the state of an ongoing optimization campaign, it reasons about the
search progress and proposes the next candidate experiment, amortising a high-budget
model-based search loop into a single forward pass.generate → select → evaluate → update loop in which an LLM
proposes candidates, a probabilistic surrogate turns observations into a posterior mean and
uncertainty, and an acquisition function selects the next experiment. This model is the
proposer, trained by full-parameter supervised fine-tuning on trajectories collected
from that loop across three scientific-discovery domains, so that the acquisition-guided
search policy is distilled into its weights. It emits a chain-of-thought trace followed by
a structured action (the proposed candidates).Qwen/Qwen3.5-9Bqwen3_5 (chain-of-thought / thinking enabled)1from transformers import AutoModelForCausalLM, AutoTokenizer
2
3repo = "Yangtze-ailab/LDM-SFT-Qwen3.5-9B-MixedScience"
4tok = AutoTokenizer.from_pretrained(repo, trust_remote_code=True)
5model = AutoModelForCausalLM.from_pretrained(
6 repo, torch_dtype="bfloat16", device_map="auto", trust_remote_code=True)
7
8messages = [
9 {"role": "system", "content": SYSTEM_PROMPT}, # proposer role + output contract
10 {"role": "user", "content": SEARCH_STATE}, # evaluated history + constraints
11]
12inputs = tok.apply_chat_template(
13 messages, add_generation_prompt=True, enable_thinking=True, return_tensors="pt"
14).to(model.device)
15out = model.generate(inputs, max_new_tokens=2048, temperature=0.7)
16print(tok.decode(out[0][inputs.shape[1]:], skip_special_tokens=True))<think> … </think> reasoning block followed by a JSON action describing
the proposed candidate(s).Qwen/Qwen3.5-9B remains subject to its own
license terms.