SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2408.08849 · 2024

ECG-Chat: A Large ECG-Language Model for Cardiac Disease Diagnosis

arXiv · PDF · Open in the Atlas

Code that ran

6 of 14 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 1 violated it and 1 has no contract verdict; 3 failures of our instrument; 8 no recorded run), measured 2026-11-22; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2408.08849.json · badge: /api/ran/2408.08849.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
YubaoZhao/ECG-Chat canonical (classifier label)
classifier basis: census
6 ran · 8 no recorded run
FunctionStatusWhere it lives
convert_to_custom_text_state_dict Ran
ran, violated the contract we drafted
YubaoZhao/ECG-Chat/open_clip/open_clip/model.py
pointer only (licence: NONE); the stored copy get_code serves, from deep-real/dcp, is pointer only (licence: NONE) · get_code("f19962ebb134b3d7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, YubaoZhao/ECG-Chat when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_cast_dtype Ran
ran; our contract draft was wrong, not the code
YubaoZhao/ECG-Chat/open_clip/open_clip/model.py
pointer only (licence: NONE) · get_code("dcd422d66b0581d8")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, YubaoZhao/ECG-Chat when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_input_dtype Ran
ran; our contract draft was wrong, not the code
YubaoZhao/ECG-Chat/open_clip/open_clip/model.py
pointer only (licence: NONE); the stored copy get_code serves, from deep-real/dcp, is pointer only (licence: NONE) · get_code("b476c8cfbf0f1f47")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, YubaoZhao/ECG-Chat when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_image_from_base64 Ran
ran, honoured the contract we drafted
YubaoZhao/ECG-Chat/llava/llava/mm_utils.py
pointer only (licence: NONE) · get_code("c3ee9d07c900dd55")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, YubaoZhao/ECG-Chat when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

prepare_inputs_for_generation Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
YubaoZhao/ECG-Chat/open_clip/open_clip/coca_model.py
pointer only (licence: NONE) · get_code("82c3cd0a861f967a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, YubaoZhao/ECG-Chat when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

register_pooler Ran
ran on a synthesized input
YubaoZhao/ECG-Chat/open_clip/open_clip/hf_model.py
pointer only (licence: NONE); the stored copy get_code serves, from WHU-USI3DV/TreeCLS, is pointer only (licence: NONE) · get_code("2a377da4a76a2d44")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, YubaoZhao/ECG-Chat when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

ecg_transform Not yet run
unverified (harvested, no recorded run)
YubaoZhao/ECG-Chat/open_clip/open_clip/ecg_transform.py
pointer only (licence: NONE) · get_code("57299f471f530fdc")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, YubaoZhao/ECG-Chat when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

gather_features Not yet run
unverified (harvested, no recorded run)
YubaoZhao/ECG-Chat/open_clip/open_clip/loss.py
pointer only (licence: NONE) · get_code("e3d14dccb8dfdb3d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, YubaoZhao/ECG-Chat when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

get_anyres_image_grid_shape Not yet run
unverified (harvested, no recorded run)
YubaoZhao/ECG-Chat/llava/llava/mm_utils.py
pointer only (licence: NONE) · get_code("fe18e00416933036")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, YubaoZhao/ECG-Chat when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

merge_preprocess_dict Not yet run
unverified (harvested, no recorded run)
YubaoZhao/ECG-Chat/open_clip/open_clip/ecg_transform.py
pointer only (licence: NONE) · get_code("1a9aca74478a4cdf")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, YubaoZhao/ECG-Chat when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

merge_preprocess_kwargs Not yet run
unverified (harvested, no recorded run)
YubaoZhao/ECG-Chat/open_clip/open_clip/ecg_transform.py
pointer only (licence: NONE) · get_code("d4f0eacd30c75582")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, YubaoZhao/ECG-Chat when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

neighbour_exchange Not yet run
unverified (harvested, no recorded run)
YubaoZhao/ECG-Chat/open_clip/open_clip/loss.py
pointer only (licence: NONE); the stored copy get_code serves, from lxa9867/imagefolder, is pointer only (licence: NOASSERTION) · get_code("e332856e3c2fc814")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, YubaoZhao/ECG-Chat when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

neighbour_exchange_bidir Not yet run
unverified (harvested, no recorded run)
YubaoZhao/ECG-Chat/open_clip/open_clip/loss.py
pointer only (licence: NONE); the stored copy get_code serves, from lxa9867/imagefolder, is pointer only (licence: NOASSERTION) · get_code("5b1fd364afcf3c05")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, YubaoZhao/ECG-Chat when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

process_anyres_image Not yet run
unverified (harvested, no recorded run)
YubaoZhao/ECG-Chat/llava/llava/mm_utils.py
pointer only (licence: NONE) · get_code("980ca0620504653b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, YubaoZhao/ECG-Chat when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 14 samples lifted from this paper's linked repositories, 14 carry a function identity and 0 do not. Of the 14 distinct functions with an identity, 9 are also present in other papers whose code we hold (8 with at least one paper dated earlier, 7 the same month, 9 later) and 5 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
load_image_from_base64 85 other papers
49 dated earlier, 1 the same month, 31 later, 4 same year, order not determinable
2112.05682 (2021-12)
Self-attention Does Not Need $O(n^2)$ Memory
2308.10253 (2023-08)
StableLLaVA: Enhanced Visual Instruction Tuning with Synthesized Image-Dialogue Data
2309.07120 (2023-09)
Sight Beyond Text: Multi-Modal Training Enhances LLMs in Truthfulness and Ethics
and 82 more not named here
get_cast_dtype 66 other papers
39 dated earlier, 1 the same month, 25 later, 1 same year, order not determinable
2103.00020 (2021-03)
Learning Transferable Visual Models From Natural Language Supervision
2210.08402 (2022-10)
LAION-5B: An open large-scale dataset for training next generation image-text models
2212.07143 (2022-12)
Reproducible scaling laws for contrastive language-image learning
and 63 more not named here
convert_to_custom_text_state_dict 49 other papers
31 dated earlier, 1 the same month, 16 later, 1 same year, order not determinable
2103.00020 (2021-03)
Learning Transferable Visual Models From Natural Language Supervision
2210.08402 (2022-10)
LAION-5B: An open large-scale dataset for training next generation image-text models
2212.07143 (2022-12)
Reproducible scaling laws for contrastive language-image learning
and 46 more not named here
register_pooler 45 other papers
29 dated earlier, 1 the same month, 14 later, 1 same year, order not determinable
2301.07094 (2023-01)
Learning Customized Visual Models with Retrieval-Augmented Knowledge
2302.03668 (2023-02)
Hard Prompts Made Easy: Gradient-Based Discrete Optimization for Prompt Tuning and Discovery
2303.14814 (2023-03)
WinCLIP: Zero-/Few-Shot Anomaly Classification and Segmentation
and 42 more not named here
get_input_dtype 29 other papers
14 dated earlier, 1 the same month, 14 later
2103.00020 (2021-03)
Learning Transferable Visual Models From Natural Language Supervision
2210.08402 (2022-10)
LAION-5B: An open large-scale dataset for training next generation image-text models
2212.07143 (2022-12)
Reproducible scaling laws for contrastive language-image learning
and 26 more not named here
neighbour_exchange 19 other papers
8 dated earlier, 1 the same month, 10 later
2303.15343 (2023-03)
Sigmoid Loss for Language Image Pre-Training
2403.15378 (2024-03)
Long-CLIP: Unlocking the Long-Text Capability of CLIP
2403.16831 (2024-03)
UrbanVLP: Multi-Granularity Vision-Language Pretraining for Urban Socioeconomic Indicator Prediction
and 16 more not named here
neighbour_exchange_bidir 17 other papers
6 dated earlier, 1 the same month, 10 later
2303.15343 (2023-03)
Sigmoid Loss for Language Image Pre-Training
2403.15378 (2024-03)
Long-CLIP: Unlocking the Long-Text Capability of CLIP
2403.16831 (2024-03)
UrbanVLP: Multi-Granularity Vision-Language Pretraining for Urban Socioeconomic Indicator Prediction
and 14 more not named here
get_anyres_image_grid_shape 5 other papers
3 dated earlier, 2 later · 4 only as an assembly brick
2304.08485 (2023-04)
Visual Instruction Tuning
2406.02539 (2024-06)
Parrot: Multilingual Visual Instruction Tuning
2406.20095 (2024-06)
LLaRA: Supercharging Robot Learning Data for Vision-Language Policy
and 2 more not named here
prepare_inputs_for_generation 1 other paper
1 later
2503.06073 (2025-03)
GEM: Empowering MLLM for Grounded ECG Understanding with Time Series and Images

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-22.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

The success of Multimodal Large Language Models (MLLMs) in the medical auxiliary field shows great potential, allowing patients to engage in conversations using physiological signal data. However, general MLLMs perform poorly in cardiac disease diagnosis, particularly in the integration of ECG data analysis and medical report generation, mainly due to the complexity of ECG data analysis and the gap between text and ECG signal modalities. To address these issues, we propose ECG-Chat, a multitask MLLMs focused on ECG medical report generation, providing multimodal conversational capabilities based on cardiology knowledge. We propose a contrastive learning approach that integrates ECG waveform data with text reports, aligning ECG features with reports in a fine-grained manner. This method also results in an ECG encoder that excels in zero-shot report retrieval tasks. Additionally, expanding existing datasets, we constructed a 19k ECG diagnosis dataset and a 25k multi-turn dialogue dataset for training and fine-tuning ECG-Chat, which provides professional diagnostic and conversational capabilities. Furthermore, ECG-Chat can generate comprehensive ECG analysis reports through an automated LaTeX generation pipeline. We established a benchmark for the ECG report generation task and tested our model on multiple baselines. ECG-Chat achieved the best performance in classification, retrieval, and medical report generation tasks. Our code is available at https://github.com/YubaoZhao/ECG-Chat.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2408.08849")
get_code_for_paper("2408.08849")
have("2408.08849")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2408.08849.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2408.08849.svg)](https://syntology.ai/paper/2408.08849)

Connect an agent — have() is free.