Instructions to use CongLab-Research/LabHorizon-Model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use CongLab-Research/LabHorizon-Model with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen3.6-35B-A3B") model = PeftModel.from_pretrained(base_model, "CongLab-Research/LabHorizon-Model") - Notebooks
- Google Colab
- Kaggle
Qwen3.6-35B-A3B LoRA for protocol-conditioned laboratory action prediction
Overview | News | Highlights | Datasets | Evaluation | Leaderboard | Training | Agent | Quick Start | Citation
π Overview
This repository releases the LabHorizon Qwen3.6 LoRA adapter trained from Qwen/Qwen3.6-35B-A3B on the 6,000-sample LabHorizon training split. The model is optimized for Protocol-Conditioned Action Prediction:
- Level 1: connect multi-view laboratory assets and historical actions to the gold next action.
- Level 2: produce a structured long-horizon experimental action sequence from context, constraints, available inputs, and an action pool.
This model repository is the model-side companion to the LabHorizon code and dataset releases. The GitHub repository is the full project entry point; the two dataset cards describe Level 1 and Level 2 data; this card focuses on the trained Qwen3.6 adapter, its files, training signal, evaluation result, and loading instructions.
π° News
- 2026-06-03: Released the LabHorizon LoRA adapter weights and reproducibility files on Hugging Face.
- 2026-06-03: Updated the public LabHorizon leaderboards with Claude Opus 4.8 and MiniMax M3 direct-prompting evaluations.
β¨ Highlights
| π§ͺ Qwen3.6 Adapter LoRA weights for Qwen3.6-35B-A3B |
π¬ Level 1 Signal Multi-view asset next-action prediction |
π§ Level 2 Signal Long-horizon protocol-conditioned planning |
π§ Train + Agent Supports trained and trained+agents settings |
π¦ Datasets
The adapter is trained on the same public LabHorizon train split described by the two dataset cards. The evaluation results below use the same v20260510-repaired test split as the GitHub README and the dataset READMEs.
| Level | Hugging Face Dataset | Input | Target | Metric |
|---|---|---|---|---|
| Level 1 | LabHorizon-3D-Asset-Perception | Three asset views, historical actions, candidate next actions | Gold next action | Next-action accuracy |
| Level 2 | LabHorizon-Protocol-Conditioned-Planning | Context, goal, constraints, available inputs, action pool | Gold experimental action sequence | L2 Action Sequence Similarity, L2 Parameter Accuracy |
π¦ Model
π§Ύ Model Card
| Field | Value |
|---|---|
| Base model | Qwen/Qwen3.6-35B-A3B |
| Adapter type | LoRA / PEFT adapter |
| Training data | 6,000 LabHorizon train samples |
| Level 1 training split | 3,000 multimodal laboratory 3D asset samples |
| Level 2 training split | 3,000 text-only protocol-conditioned planning samples |
| Main task | Protocol-conditioned laboratory action prediction |
| Main metrics | Level 1 Next Action Accuracy; L2 Action Sequence Similarity and L2 Parameter Accuracy |
| Intended loading mode | Load this adapter with the matching Qwen3.6-35B-A3B base model |
The released weights are an adapter, not the base model. Users must load them with the corresponding Qwen3.6-35B-A3B base model.
π Files
| File | Meaning |
|---|---|
adapter_model.safetensors |
LoRA adapter weights. |
adapter_config.json |
PEFT adapter configuration. |
tokenizer.json, tokenizer_config.json, chat_template.jinja |
Tokenizer and chat template files used for training/evaluation. |
processor_config.json |
Processor configuration. |
train_results.json, eval_results.json, all_results.json |
Training and evaluation summaries from the LoRA run. |
trainer_state.json, trainer_log.jsonl, training_args.bin |
Training state and arguments for reproducibility. |
training_loss.png, training_eval_loss.png |
Loss curves. |
π Evaluation
LabHorizon uses the same evaluation contracts across direct-prompting models, the trained adapter, and the trained+agents setting.
| Level | Output format | Metric |
|---|---|---|
| Level 1 | Reasoning followed by a final next action | Next Action Accuracy |
| Level 2 | Structured action sequence parsed by Python AST | L2 Action Sequence Similarity, L2 Parameter Accuracy, L2 Final Score |
For Level 1, the evaluator maps the final next action back to the candidate list. For Level 2, the evaluator parses action names, keyword parameters, assigned intermediate variables, and dependency references with Python AST. This model card reports the same metrics as the GitHub and dataset READMEs.
π Leaderboard
The tables below report direct-prompting baselines on the same test split used for the trained model comparison. The full code and evaluation scripts are maintained in the LabHorizon GitHub repository.
π¬ Level 1: 3D Asset Perception
| Rank | Model | Next Action Accuracy |
|---|---|---|
| π₯ | Grok 4.3 | 0.555 |
| π₯ | Kimi K2.6 | 0.550 |
| π₯ | GPT-5.5 | 0.535 |
| 4 | GPT-5.4 | 0.520 |
| 5 | Claude Opus 4.8 | 0.515 |
| 6 | MiniMax M3 | 0.510 |
| 7 | Qwen3.6 Plus | 0.505 |
| 8 | Claude Opus 4.7 | 0.500 |
| 9 | Qwen3.5 35B-A3B | 0.495 |
| 10 | MiMo V2.5 | 0.495 |
| 11 | Qwen3.5 9B | 0.485 |
| 12 | Gemini 3.5 Flash | 0.485 |
| 13 | Qwen3.6 35B-A3B | 0.475 |
| 14 | Gemini 3.1 Pro | 0.465 |
π§ͺ Level 2: Protocol-Conditioned Planning
| Rank | Model | L2 Final Score | L2 Action Sequence Similarity | L2 Parameter Accuracy |
|---|---|---|---|---|
| π₯ | Gemini 3.1 Pro | 0.3263 | 0.3195 | 0.3331 |
| π₯ | Grok 4.3 | 0.3244 | 0.3339 | 0.3148 |
| π₯ | Kimi K2.6 | 0.3150 | 0.2845 | 0.3456 |
| 4 | Gemini 3.5 Flash | 0.3039 | 0.2686 | 0.3391 |
| 5 | Qwen3.7 Max | 0.3003 | 0.2905 | 0.3102 |
| 6 | MiniMax M3 | 0.2954 | 0.2812 | 0.3095 |
| 7 | Claude Opus 4.8 | 0.2911 | 0.2756 | 0.3066 |
| 8 | Claude Opus 4.7 | 0.2737 | 0.2619 | 0.2856 |
| 9 | GPT-5.4 | 0.2715 | 0.2191 | 0.3239 |
| 10 | Qwen3.6 35B-A3B | 0.2534 | 0.2585 | 0.2483 |
| 11 | Qwen3.6 Plus | 0.2526 | 0.2264 | 0.2787 |
| 12 | MiMo V2.5 | 0.2491 | 0.2269 | 0.2713 |
| 13 | GLM 5.1 | 0.2413 | 0.2307 | 0.2519 |
| 14 | Qwen3.5 35B-A3B | 0.2391 | 0.2385 | 0.2398 |
| 15 | GPT-5.5 | 0.2276 | 0.2092 | 0.2459 |
| 16 | DeepSeek V4 Pro | 0.2135 | 0.1927 | 0.2342 |
| 17 | Qwen3.5 9B | 0.1315 | 0.1359 | 0.1271 |
𧬠Training Data and Setup
The adapter is trained on the public LabHorizon training split:
| Component | Size | Role |
|---|---|---|
| Level 1 train | 3,000 | Multi-view laboratory asset perception and next-action prediction |
| Level 2 train | 3,000 | Protocol-conditioned long-horizon experimental action-sequence planning |
| Total train | 6,000 | Unified supervised fine-tuning data for laboratory action prediction |
The training data are converted into Qwen chat format and then into the LLaMA-Factory ShareGPT-VL-style format. Level 1 keeps the three asset images and candidate next actions; Level 2 uses text-only context, constraints, available inputs, action pool, and gold experimental action sequence.
Main training settings:
| Setting | Value |
|---|---|
| LoRA rank / alpha / dropout | 32 / 64 / 0.10 |
| Learning rate | 1.0e-4 |
| Scheduler | Cosine |
| Warmup ratio | 0.10 |
| Cutoff length | 4096 |
| Image max pixels | 501760 |
| Epochs / max steps | 10 / 2500 |
| Precision | bf16 |
| Gradient checkpointing | Enabled |
| Runtime | 10014.77 s |
| Final train loss | 0.2691 |
| Final eval loss | 0.4426 |
π§ Training Result
The table compares direct-prompting SOTA/baseline systems, the base Qwen model, and the trained+agents system evaluated on the same LabHorizon test splits.
| System | Level 1 Next Action Accuracy | L2 Action Sequence Similarity | L2 Parameter Accuracy | L2 Final Score |
|---|---|---|---|---|
| Grok 4.3 | 0.555 | 0.3339 | 0.3148 | 0.3244 |
| Gemini 3.1 Pro | 0.465 | 0.3195 | 0.3331 | 0.3263 |
| GPT-5.5 | 0.535 | 0.2092 | 0.2459 | 0.2276 |
| Kimi K2.6 | 0.550 | 0.2845 | 0.3456 | 0.3150 |
| Qwen3.6-35B-A3B | 0.475 | 0.2585 | 0.2483 | 0.2534 |
| Qwen3.6-35B-A3B(trained+agents) | 0.665 | 0.4485 | 0.4580 | 0.4532 |
Agent setting: Qwen3.6-35B-A3B(trained) is used as Actor, and Gemini 3.1 Pro is used as Simulator/Selector. The Simulator/Selector choice is the current setting and has not been exhaustively ablated.
The trained adapter improves both levels over the direct Qwen3.6-35B-A3B baseline. Level 1 improves from 0.475 to 0.635, indicating better laboratory asset-to-action alignment. L2 Final Score improves from 0.2534 to 0.4100, indicating better action ordering, parameter retention, and dependency tracking. The trained+agents setting further improves consistency by selecting candidates with stronger symbolic protocol-state validity.
π€ Actor-Simulator-Selector Agent
The trained+agents result uses this adapter as the Actor and combines it with a separate Simulator/Selector model. The agent is not a physical simulator and does not execute wet-lab actions. It samples candidate next actions or action sequences, checks symbolic protocol-state consistency, and selects the most consistent candidate.
The trained Actor reads the same task inputs used by the public datasets: multi-view asset images, historical actions, and candidate next actions for Level 1, or wet experiment context, constraints, available inputs, and an action pool for Level 2. The Simulator builds current and target symbolic protocol states and predicts candidate reagent/instrument state transitions. The Selector compares the candidate-state pairs and returns the selected action prediction, which is evaluated with Level 1 next-action accuracy or Level 2 AST-based action-sequence and parameter metrics.
Agent setting: Qwen3.6-35B-A3B(trained) is used as Actor, and Gemini 3.1 Pro is used as Simulator/Selector. This Simulator/Selector choice is the current setting and has not been exhaustively ablated.
π Quick Start
Load Adapter
from transformers import AutoModelForCausalLM, AutoProcessor
from peft import PeftModel
base_id = "Qwen/Qwen3.6-35B-A3B"
adapter_id = "CongLab-Research/LabHorizon-Model"
processor = AutoProcessor.from_pretrained(adapter_id, trust_remote_code=True)
base = AutoModelForCausalLM.from_pretrained(
base_id,
device_map="auto",
torch_dtype="auto",
trust_remote_code=True,
)
model = PeftModel.from_pretrained(base, adapter_id)
Evaluate with LabHorizon
Use the public code repository for evaluation and agent workflows:
git clone https://github.com/CongLab-Research/LabHorizon
cd LabHorizon
Configure an OpenAI-compatible endpoint in .env, then run the Level 1 / Level 2 evaluators or the Actor-Simulator-Selector agent following the GitHub README.
For evaluation, use the public LabHorizon code repository and point the evaluator to a compatible model endpoint or local serving stack. The model card itself only releases the adapter and training artifacts.
β οΈ Intended Use
This adapter is intended for academic research on laboratory action prediction, experimental planning, and AI scientist systems. It is not an autonomous wet-lab controller. Outputs should be treated as model predictions and should not be used for safety-critical experimental decisions without expert review.
Recommended use cases:
- Evaluate protocol-conditioned next-action prediction and long-horizon planning.
- Study how training data improves laboratory action prediction.
- Use the adapter as the Actor in the Actor-Simulator-Selector framework.
- Analyze remaining failures in action order, parameter copying, dependency tracking, and protocol-stage consistency.
Not intended for:
- Autonomous wet-lab execution.
- Clinical, safety-critical, or regulated decision-making.
- Generating executable biological protocols without expert validation.
π Citation
Coming soon...
- Downloads last month
- -
Model tree for CongLab-Research/LabHorizon-Model
Base model
Qwen/Qwen3.6-35B-A3B
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen3.6-35B-A3B") model = PeftModel.from_pretrained(base_model, "CongLab-Research/LabHorizon-Model")