Image-Text-to-Text
Transformers
Safetensors
qwen3_vl
multimodal
scientific
protein
rna
dna
molecule
weather
medical-imaging
conversational
Instructions to use sais-org/MKB with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use sais-org/MKB with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="sais-org/MKB") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("sais-org/MKB") model = AutoModelForMultimodalLM.from_pretrained("sais-org/MKB", device_map="auto") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.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=40) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use sais-org/MKB with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "sais-org/MKB" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "sais-org/MKB", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/sais-org/MKB
- SGLang
How to use sais-org/MKB 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 "sais-org/MKB" \ --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": "sais-org/MKB", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'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 "sais-org/MKB" \ --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": "sais-org/MKB", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }' - Docker Model Runner
How to use sais-org/MKB with Docker Model Runner:
docker model run hf.co/sais-org/MKB
Clarify total parameter count (~11B)
Browse files
README.md
CHANGED
|
@@ -33,11 +33,11 @@ extra_gated_description: >-
|
|
| 33 |
|
| 34 |
**η₯η is a unified scientific multimodal foundation model** that
|
| 35 |
supports scientific **understanding and generation** across Earth science,
|
| 36 |
-
proteins, RNA, DNA, and small molecules
|
| 37 |
-
|
| 38 |
-
heterogeneous scientific data (sequences, molecular graphs, gridded
|
| 39 |
-
fields, medical images) are reasoned about and generated in one
|
| 40 |
-
space β natural language in and out, no per-task fine-tuning.
|
| 41 |
|
| 42 |
> π **Technical report coming soon.**
|
| 43 |
|
|
@@ -67,13 +67,13 @@ space β natural language in and out, no per-task fine-tuning.
|
|
| 67 |
|
| 68 |
## Benchmarks
|
| 69 |
|
| 70 |
-
**η₯η** (
|
| 71 |
-
no scientific encoders) and **Intern-S1-Pro** (**~1T** MoE scientific
|
| 72 |
-
**Bold** = best; <u>underline</u> = second-best.
|
| 73 |
|
| 74 |
### Biological sequence understanding
|
| 75 |
|
| 76 |
-
| Task | Metric | η₯η (
|
| 77 |
|:-----|:------:|:----------------:|:-------------------------:|:-------------------:|
|
| 78 |
| DNA Β· Epigenetic marks (EMP) | MCC | **71.99** | 3.64 | <u>14.02</u> |
|
| 79 |
| DNA Β· Promoter det. 300bp (PD300) | MCC | **91.17** | 58.18 | <u>82.65</u> |
|
|
@@ -95,7 +95,7 @@ no scientific encoders) and **Intern-S1-Pro** (**~1T** MoE scientific model).
|
|
| 95 |
|
| 96 |
### Molecule understanding (SMolInstruct)
|
| 97 |
|
| 98 |
-
| Task | Metric | η₯η (
|
| 99 |
|:-----|:------:|:----------------:|:-------:|
|
| 100 |
| BBBP | Acc | **96.95** | 74.60 |
|
| 101 |
| HIV | Acc | **97.00** | 96.70 |
|
|
@@ -106,7 +106,7 @@ no scientific encoders) and **Intern-S1-Pro** (**~1T** MoE scientific model).
|
|
| 106 |
|
| 107 |
### Earth-science forecasting β vs ECMWF HRES (day-10, global ERA5 0.25Β°)
|
| 108 |
|
| 109 |
-
| Variable | Metric | η₯η (
|
| 110 |
|:---------|:------:|:----------------:|:----------------:|
|
| 111 |
| Z500 | RMSE β | **β740** | β810 |
|
| 112 |
| T2M | RMSE β (K) | **β2.65** | β2.90 |
|
|
|
|
| 33 |
|
| 34 |
**η₯η is a unified scientific multimodal foundation model** that
|
| 35 |
supports scientific **understanding and generation** across Earth science,
|
| 36 |
+
proteins, RNA, DNA, and small molecules. Native scientific encoders/decoders
|
| 37 |
+
wrap a shared **Qwen3-VL-8B-Instruct** backbone (about **11B** parameters in
|
| 38 |
+
total), so heterogeneous scientific data (sequences, molecular graphs, gridded
|
| 39 |
+
physical fields, medical images) are reasoned about and generated in one
|
| 40 |
+
representation space β natural language in and out, no per-task fine-tuning.
|
| 41 |
|
| 42 |
> π **Technical report coming soon.**
|
| 43 |
|
|
|
|
| 67 |
|
| 68 |
## Benchmarks
|
| 69 |
|
| 70 |
+
**η₯η** (8B backbone, ~11B total) vs **Biology-Instructions** (Llama-3.1-**8B**,
|
| 71 |
+
text-token, no scientific encoders) and **Intern-S1-Pro** (**~1T** MoE scientific
|
| 72 |
+
model). **Bold** = best; <u>underline</u> = second-best.
|
| 73 |
|
| 74 |
### Biological sequence understanding
|
| 75 |
|
| 76 |
+
| Task | Metric | η₯η (~11B) | Biology-Instructions (8B) | Intern-S1-Pro (~1T) |
|
| 77 |
|:-----|:------:|:----------------:|:-------------------------:|:-------------------:|
|
| 78 |
| DNA Β· Epigenetic marks (EMP) | MCC | **71.99** | 3.64 | <u>14.02</u> |
|
| 79 |
| DNA Β· Promoter det. 300bp (PD300) | MCC | **91.17** | 58.18 | <u>82.65</u> |
|
|
|
|
| 95 |
|
| 96 |
### Molecule understanding (SMolInstruct)
|
| 97 |
|
| 98 |
+
| Task | Metric | η₯η (~11B) | LlaSMol |
|
| 99 |
|:-----|:------:|:----------------:|:-------:|
|
| 100 |
| BBBP | Acc | **96.95** | 74.60 |
|
| 101 |
| HIV | Acc | **97.00** | 96.70 |
|
|
|
|
| 106 |
|
| 107 |
### Earth-science forecasting β vs ECMWF HRES (day-10, global ERA5 0.25Β°)
|
| 108 |
|
| 109 |
+
| Variable | Metric | η₯η (~11B) | ECMWF HRES (NWP) |
|
| 110 |
|:---------|:------:|:----------------:|:----------------:|
|
| 111 |
| Z500 | RMSE β | **β740** | β810 |
|
| 112 |
| T2M | RMSE β (K) | **β2.65** | β2.90 |
|