Dedicated Endpoints

Run this model inference on single tenant GPU with unmatched speed and reliability at scale.

Learn more

Get help setting up a custom Dedicated Endpoints.

Talk with our engineer to get a quote for reserved GPU instances with discounts.

README

License: mit

๐Ÿ”Ž 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

๐Ÿ“ฆ 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.

LevelHugging Face DatasetInputTargetMetric
Level 1LabHorizon-3D-Asset-PerceptionThree asset views, historical actions, candidate next actionsGold next actionNext-action accuracy
Level 2LabHorizon-Protocol-Conditioned-PlanningContext, goal, constraints, available inputs, action poolGold experimental action sequenceL2 Action Sequence Similarity, L2 Parameter Accuracy

๐Ÿ“ฆ Model

๐Ÿงพ Model Card

FieldValue
Base modelQwen/Qwen3.6-35B-A3B
Adapter typeLoRA / PEFT adapter
Training data6,000 LabHorizon train samples
Level 1 training split3,000 multimodal laboratory 3D asset samples
Level 2 training split3,000 text-only protocol-conditioned planning samples
Main taskProtocol-conditioned laboratory action prediction
Main metricsLevel 1 Next Action Accuracy; L2 Action Sequence Similarity and L2 Parameter Accuracy
Intended loading modeLoad 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

FileMeaning
adapter_model.safetensorsLoRA adapter weights.
adapter_config.jsonPEFT adapter configuration.
tokenizer.json, tokenizer_config.json, chat_template.jinjaTokenizer and chat template files used for training/evaluation.
processor_config.jsonProcessor configuration.
train_results.json, eval_results.json, all_results.jsonTraining and evaluation summaries from the LoRA run.
trainer_state.json, trainer_log.jsonl, training_args.binTraining state and arguments for reproducibility.
training_loss.png, training_eval_loss.pngLoss curves.

๐Ÿ“ Evaluation

LabHorizon uses the same evaluation contracts across direct-prompting models, the trained adapter, and the trained+agents setting.

LevelOutput formatMetric
Level 1Reasoning followed by a final next actionNext Action Accuracy
Level 2Structured action sequence parsed by Python ASTL2 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

RankModelNext Action Accuracy
๐Ÿฅ‡Grok 4.30.555
๐ŸฅˆKimi K2.60.550
๐Ÿฅ‰GPT-5.50.535
4GPT-5.40.520
5Claude Opus 4.80.515
6MiniMax M30.510
7Qwen3.6 Plus0.505
8Claude Opus 4.70.500
9Qwen3.5 35B-A3B0.495
10MiMo V2.50.495
11Qwen3.5 9B0.485
12Gemini 3.5 Flash0.485
13Qwen3.6 35B-A3B0.475
14Gemini 3.1 Pro0.465

๐Ÿงช Level 2: Protocol-Conditioned Planning

RankModelL2 Final ScoreL2 Action Sequence SimilarityL2 Parameter Accuracy
๐Ÿฅ‡Gemini 3.1 Pro0.32630.31950.3331
๐ŸฅˆGrok 4.30.32440.33390.3148
๐Ÿฅ‰Kimi K2.60.31500.28450.3456
4Gemini 3.5 Flash0.30390.26860.3391
5Qwen3.7 Max0.30030.29050.3102
6MiniMax M30.29540.28120.3095
7Claude Opus 4.80.29110.27560.3066
8Claude Opus 4.70.27370.26190.2856
9GPT-5.40.27150.21910.3239
10Qwen3.6 35B-A3B0.25340.25850.2483
11Qwen3.6 Plus0.25260.22640.2787
12MiMo V2.50.24910.22690.2713
13GLM 5.10.24130.23070.2519
14Qwen3.5 35B-A3B0.23910.23850.2398
15GPT-5.50.22760.20920.2459
16DeepSeek V4 Pro0.21350.19270.2342
17Qwen3.5 9B0.13150.13590.1271

๐Ÿงฌ Training Data and Setup

The adapter is trained on the public LabHorizon training split:

ComponentSizeRole
Level 1 train3,000Multi-view laboratory asset perception and next-action prediction
Level 2 train3,000Protocol-conditioned long-horizon experimental action-sequence planning
Total train6,000Unified 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:

SettingValue
LoRA rank / alpha / dropout32 / 64 / 0.10
Learning rate1.0e-4
SchedulerCosine
Warmup ratio0.10
Cutoff length4096
Image max pixels501760
Epochs / max steps10 / 2500
Precisionbf16
Gradient checkpointingEnabled
Runtime10014.77 s
Final train loss0.2691
Final eval loss0.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.

SystemLevel 1 Next Action AccuracyL2 Action Sequence SimilarityL2 Parameter AccuracyL2 Final Score
Grok 4.30.5550.33390.31480.3244
Gemini 3.1 Pro0.4650.31950.33310.3263
GPT-5.50.5350.20920.24590.2276
Kimi K2.60.5500.28450.34560.3150
Qwen3.6-35B-A3B0.4750.25850.24830.2534
Qwen3.6-35B-A3B(trained+agents)0.6650.44850.45800.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

python

from transformers import AutoModelForCausalLM, AutoProcessor
from peft import PeftModel
base_id = "Qwen/Qwen3.6-35B-A3B"
adapter_id = "Stanford-CongLab/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:

bash

git clone https://github.com/Stanford-CongLab/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...

Model provider

Stanford-CongLab

Model tree

Base

Qwen/Qwen3.6-35B-A3B

Adapter

this model

Modalities

Input

Video, Text, Image

Output

Text

Pricing

Dedicated Endpoints

View details

Supported Functionality

Model APIs

Dedicated Endpoints

Container

More information

Explore FriendliAI today