Downloads · 30 days
18
4% of all-time downloads
LingJianAI/Lingjian-1.5
Lingjian-1.5 is a image-text-to-text model from LingJianAI. Use it for the image-text-to-text task on the model card, and read the license before you ship it in a product. It is set up for transformers. The card lists the license as apache-2.0.
Lingjian-1.5 is a specialized vision-language model for clinical laboratory medicine. It is designed for microscopic image understanding, cell identification, morphological analysis, clinical laboratory question answe…
Downloads · 30 days
18
4% of all-time downloads
All-time downloads
430
Public
Parameters
770K
17.5 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors17.5 GB · 100%
From the Hugging Face model README
Lingjian-1.5 is a specialized vision-language model for clinical laboratory medicine. It is designed for microscopic image understanding, cell identification, morphological analysis, clinical laboratory question answering, and key target localization.
Compared with Lingjian-1.0-Chat, Lingjian-1.5 is a qualitative upgrade with improved microscopy understanding accuracy, stronger instruction following, and better conversational ability. These improvements are intended to make the model more reliable in clinical laboratory image analysis, more responsive to user-specified answer formats, and more natural in open-ended or multi-turn dialogue.
Lingjian-1.5 ("灵检" signifies "Intelligent Laboratory Testing" in Chinese) is a domain-adapted multimodal model for clinical laboratory applications. The model continues the Lingjian series' focus on microscope-based laboratory scenarios, including blood cell morphology, abnormal finding recognition, concise report generation, medical terminology normalization, and localization-style responses.
This release is trained on a broader and more refined mixture of laboratory image-text data, grounding data, instruction-following data, self-cognition data, and general conversation data. The added training mix improves the model's ability to follow detailed instructions while preserving domain-specific visual reasoning.
Lingjian-1.5 improves over Lingjian-1.0-Chat in three main areas:
These statements describe qualitative release-level improvements. Users should run task-specific validation before relying on the model in production or clinical workflows.
Users should verify outputs with qualified clinical laboratory professionals. Clinical decisions should not be based solely on model predictions. For deployment, evaluate the model on representative local data, define human review requirements, and monitor errors across sample types, staining protocols, and instrument sources.
The model can be loaded with transformers. Use a recent version with Qwen3-VL support.
import torch
from PIL import Image
from transformers import AutoProcessor, Qwen3VLForConditionalGeneration
model_id = "LingJianAI/Lingjian-1.5"
model = Qwen3VLForConditionalGeneration.from_pretrained(
model_id,
torch_dtype=torch.bfloat16,
device_map="auto",
)
processor = AutoProcessor.from_pretrained(model_id)
image = Image.open("microscope_image.jpg").convert("RGB")
messages = [
{
"role": "user",
"content": [
{"type": "image", "image": image},
{"type": "text", "text": "请分析这张显微图像,指出关键细胞和异常形态。"},
],
}
]
text = processor.apply_chat_template(
messages,
tokenize=False,
add_generation_prompt=True,
)
inputs = processor(
text=[text],
images=[image],
return_tensors="pt",
).to(model.device)
generated_ids = model.generate(**inputs, max_new_tokens=512)
generated_ids = [
output_ids[len(input_ids):]
for input_ids, output_ids in zip(inputs.input_ids, generated_ids)
]
response = processor.batch_decode(
generated_ids,
skip_special_tokens=True,
clean_up_tokenization_spaces=False,
)[0]
print(response)
For localization-style tasks, use explicit instructions such as:
识别图中的关键细胞并标记位置。/bbox
If you use Lingjian-1.5 in research or products, please cite the model repository and the forthcoming technical report.