Instructions to use EdisonScientific/Ibis0-30B-A3B-Thinking with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use EdisonScientific/Ibis0-30B-A3B-Thinking with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="EdisonScientific/Ibis0-30B-A3B-Thinking") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("EdisonScientific/Ibis0-30B-A3B-Thinking") model = AutoModelForCausalLM.from_pretrained("EdisonScientific/Ibis0-30B-A3B-Thinking", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use EdisonScientific/Ibis0-30B-A3B-Thinking with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "EdisonScientific/Ibis0-30B-A3B-Thinking" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "EdisonScientific/Ibis0-30B-A3B-Thinking", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/EdisonScientific/Ibis0-30B-A3B-Thinking
- SGLang
How to use EdisonScientific/Ibis0-30B-A3B-Thinking with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "EdisonScientific/Ibis0-30B-A3B-Thinking" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "EdisonScientific/Ibis0-30B-A3B-Thinking", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "EdisonScientific/Ibis0-30B-A3B-Thinking" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "EdisonScientific/Ibis0-30B-A3B-Thinking", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use EdisonScientific/Ibis0-30B-A3B-Thinking with Docker Model Runner:
docker model run hf.co/EdisonScientific/Ibis0-30B-A3B-Thinking
Ibis0-30B-A3B (thinking)
Ibis0 models read a biological hypothesis together with a set of experimental results (evidence stubs
from GWAS Catalog associations, DepMap CRISPR screens and Tahoe-100M perturbation data) and report the
probability that a held-out measurement supports the hypothesis. They are trained on
EDB-Bio v1.0.0.
This model is Qwen3-30B-A3B trained with reinforcement learning under the Brier reward, with thinking enabled.
Use
The prompt-building code lives in EdisonScientific/ibis0. Clone and install it first (Python 3.12 and uv required; serving this model locally with vLLM requires Linux and a CUDA GPU):
git clone --recurse-submodules https://github.com/EdisonScientific/ibis0.git
cd ibis0
uv sync --frozen --all-groups
uv sync installs the local ibis_env_utils
package, which loads EDB-Bio datasets, and the domain packages
tahoe_meta,
gwas_meta, and
depmap_meta, which render episodes
into the system and user messages used during training. These packages come from the code repository.
Start the model server from the cloned repository:
uv run vllm serve EdisonScientific/Ibis0-30B-A3B-Thinking --max-model-len 32768
In another terminal, save the following as example.py in the cloned repository and run
uv run python example.py. This loads a Tahoe test episode, builds its prompt, and sends it to the server:
import tahoe_meta as env
from ibis_env_utils import Split, load_dataset_split
from openai import OpenAI
df = load_dataset_split("hf://EdisonScientific/EDB-Bio/testsets/primary/tahoe", Split.TEST, revision="v1.0.0")
row = df.iloc[0]
record = env.build_record(row, len(row["context_pool"]), prompt_style="reasoning")
messages = [
{"role": "system", "content": env.system_prompt_for("reasoning")},
{"role": "user", "content": record["question"]},
]
client = OpenAI(base_url="http://localhost:8000/v1", api_key="unused")
response = client.chat.completions.create(
model="EdisonScientific/Ibis0-30B-A3B-Thinking",
messages=messages,
temperature=0.7,
max_tokens=24576,
extra_body={"chat_template_kwargs": {"enable_thinking": True}},
)
print(response.choices[0].message.content)
For another domain, use import gwas_meta as env or import depmap_meta as env and change
the dataset path's final component to gwas or depmap respectively.
The model answers with <probability>p</probability>. The example uses the paper's temperature of 0.7,
enables thinking, and allows up to 24,576 output tokens.
scripts/analysis/multidomain/eval_generative_testset.py
scores the published test set end to end.
Licence
Apache-2.0. Fine-tuned from Qwen/Qwen3-30B-A3B (Apache-2.0).
Citation
@article{ibis0,
title = {Do Language Models Know What Compelling Scientific Evidence Looks Like?},
author = {Igoe, Conor and Grand, Gabriel and Koch, Zane and Bou, Albert and Moss, Eli and Hinks, Michaela M. and Rodriques, Samuel G. and White, Andrew and Narayanan, Siddharth},
journal = {arXiv preprint arXiv:ARXIV_ID},
year = {2026}
}
- Downloads last month
- 2