ankitbelbase034 commited on
Commit
80e6c74
·
verified ·
1 Parent(s): a009270

Upload folder using huggingface_hub

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +20 -0
  2. epoch_1/.claude/CLAUDE.md +446 -0
  3. epoch_1/.claude/settings.local.json +7 -0
  4. epoch_1/Hallucination-Aware-VLM/.gitignore +40 -0
  5. epoch_1/Hallucination-Aware-VLM/Images/MICCAI_benchmark_table.png +3 -0
  6. epoch_1/Hallucination-Aware-VLM/Images/category_comp.png +3 -0
  7. epoch_1/Hallucination-Aware-VLM/Images/data_pipeline_with_stats.png +3 -0
  8. epoch_1/Hallucination-Aware-VLM/Images/hal-aware.png +3 -0
  9. epoch_1/Hallucination-Aware-VLM/README.md +187 -0
  10. epoch_1/Hallucination-Aware-VLM/dataset/Gut-VLM/Images/README.md +38 -0
  11. epoch_1/Hallucination-Aware-VLM/dataset/Gut-VLM/VQA_format_all_annotations.json +0 -0
  12. epoch_1/Hallucination-Aware-VLM/dataset/Gut-VLM/all_annotations.json +0 -0
  13. epoch_1/Hallucination-Aware-VLM/dataset/Gut-VLM/train_test_split/VQA_format_testset_only.json +0 -0
  14. epoch_1/Hallucination-Aware-VLM/dataset/Gut-VLM/train_test_split/VQA_fromat_trainset_only.json +0 -0
  15. epoch_1/Hallucination-Aware-VLM/dataset/Gut-VLM/train_test_split/classwise_test_split/cecum_test.json +1826 -0
  16. epoch_1/Hallucination-Aware-VLM/dataset/Gut-VLM/train_test_split/classwise_test_split/dlp_test.json +1052 -0
  17. epoch_1/Hallucination-Aware-VLM/dataset/Gut-VLM/train_test_split/classwise_test_split/drm_test.json +986 -0
  18. epoch_1/Hallucination-Aware-VLM/dataset/Gut-VLM/train_test_split/classwise_test_split/eso_test.json +416 -0
  19. epoch_1/Hallucination-Aware-VLM/dataset/Gut-VLM/train_test_split/classwise_test_split/pol_test.json +1094 -0
  20. epoch_1/Hallucination-Aware-VLM/dataset/Gut-VLM/train_test_split/classwise_test_split/pylorus_test.json +1604 -0
  21. epoch_1/Hallucination-Aware-VLM/dataset/Gut-VLM/train_test_split/classwise_test_split/uc_test.json +1058 -0
  22. epoch_1/Hallucination-Aware-VLM/dataset/Gut-VLM/train_test_split/classwise_test_split/zline_test.json +0 -0
  23. epoch_1/Hallucination-Aware-VLM/dataset/Gut-VLM/train_test_split/classwise_train_split/cecum_train.json +0 -0
  24. epoch_1/Hallucination-Aware-VLM/dataset/Gut-VLM/train_test_split/classwise_train_split/dlp_train.json +0 -0
  25. epoch_1/Hallucination-Aware-VLM/dataset/Gut-VLM/train_test_split/classwise_train_split/drm_train.json +0 -0
  26. epoch_1/Hallucination-Aware-VLM/dataset/Gut-VLM/train_test_split/classwise_train_split/eso_train.json +1622 -0
  27. epoch_1/Hallucination-Aware-VLM/dataset/Gut-VLM/train_test_split/classwise_train_split/pol_train.json +0 -0
  28. epoch_1/Hallucination-Aware-VLM/dataset/Gut-VLM/train_test_split/classwise_train_split/pylorus_train.json +0 -0
  29. epoch_1/Hallucination-Aware-VLM/dataset/Gut-VLM/train_test_split/classwise_train_split/uc_train.json +0 -0
  30. epoch_1/Hallucination-Aware-VLM/dataset/Gut-VLM/train_test_split/classwise_train_split/zline_train.json +0 -0
  31. epoch_1/Hallucination-Aware-VLM/dataset/Gut-VLM/train_test_split/test.json +0 -0
  32. epoch_1/Hallucination-Aware-VLM/dataset/Gut-VLM/train_test_split/train.json +0 -0
  33. epoch_1/Hallucination-Aware-VLM/eval_scripts/caption2vqa.py +131 -0
  34. epoch_1/Hallucination-Aware-VLM/eval_scripts/evaluate_caption.py +145 -0
  35. epoch_1/Hallucination-Aware-VLM/eval_scripts/evaluate_vqa.py +81 -0
  36. epoch_1/Hallucination-Aware-VLM/eval_scripts/parse_vqa.py +281 -0
  37. epoch_1/Hallucination-Aware-VLM/results_example/final_qwen_caption_hal_aware_results.json +0 -0
  38. epoch_1/Hallucination-Aware-VLM/results_example/groundtruth_test_captions.json +0 -0
  39. epoch_1/Hallucination-Aware-VLM/training_style/hallucinated_aware_train.json +0 -0
  40. epoch_1/Mobile-O/LICENSE.txt +437 -0
  41. epoch_1/Mobile-O/Mobile-O-App/.gitignore +97 -0
  42. epoch_1/Mobile-O/Mobile-O-App/README.md +201 -0
  43. epoch_1/Mobile-O/Mobile-O-App/app/Configuration/Build.xcconfig +1 -0
  44. epoch_1/Mobile-O/Mobile-O-App/app/MobileO.xcodeproj/project.pbxproj +1181 -0
  45. epoch_1/Mobile-O/Mobile-O-App/app/MobileO.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
  46. epoch_1/Mobile-O/Mobile-O-App/app/MobileO.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings +5 -0
  47. epoch_1/Mobile-O/Mobile-O-App/app/MobileO.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved +78 -0
  48. epoch_1/Mobile-O/Mobile-O-App/app/MobileO.xcodeproj/xcshareddata/xcschemes/MobileO.xcscheme +78 -0
  49. epoch_1/Mobile-O/Mobile-O-App/app/MobileO/App/ContentView.swift +327 -0
  50. epoch_1/Mobile-O/Mobile-O-App/app/MobileO/App/MobileOApp.swift +17 -0
.gitattributes CHANGED
@@ -33,3 +33,23 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ epoch_1/epoch_1/tokenizer.json filter=lfs diff=lfs merge=lfs -text
37
+ epoch_1/Hallucination-Aware-VLM/Images/category_comp.png filter=lfs diff=lfs merge=lfs -text
38
+ epoch_1/Hallucination-Aware-VLM/Images/data_pipeline_with_stats.png filter=lfs diff=lfs merge=lfs -text
39
+ epoch_1/Hallucination-Aware-VLM/Images/hal-aware.png filter=lfs diff=lfs merge=lfs -text
40
+ epoch_1/Hallucination-Aware-VLM/Images/MICCAI_benchmark_table.png filter=lfs diff=lfs merge=lfs -text
41
+ epoch_1/Mobile-O/assets/app_settings.jpg filter=lfs diff=lfs merge=lfs -text
42
+ epoch_1/Mobile-O/assets/cute_cat.png filter=lfs diff=lfs merge=lfs -text
43
+ epoch_1/Mobile-O/assets/image_editing.gif filter=lfs diff=lfs merge=lfs -text
44
+ epoch_1/Mobile-O/assets/image_generation.gif filter=lfs diff=lfs merge=lfs -text
45
+ epoch_1/Mobile-O/assets/image_understanding.gif filter=lfs diff=lfs merge=lfs -text
46
+ epoch_1/Mobile-O/assets/mobile-o-arch.jpg filter=lfs diff=lfs merge=lfs -text
47
+ epoch_1/Mobile-O/assets/mobile-o-logo.png filter=lfs diff=lfs merge=lfs -text
48
+ epoch_1/Mobile-O/assets/mobile-o-qualitative.jpg filter=lfs diff=lfs merge=lfs -text
49
+ epoch_1/Mobile-O/assets/mobile-o-teaser.jpg filter=lfs diff=lfs merge=lfs -text
50
+ epoch_1/Mobile-O/assets/suppl_generation_comparison.png filter=lfs diff=lfs merge=lfs -text
51
+ epoch_1/Mobile-O/assets/suppl_qualitative_generation.png filter=lfs diff=lfs merge=lfs -text
52
+ epoch_1/Mobile-O/assets/suppl_qualitative_understanding_comparison.png filter=lfs diff=lfs merge=lfs -text
53
+ epoch_1/Mobile-O/assets/training_figure.jpg filter=lfs diff=lfs merge=lfs -text
54
+ epoch_1/Mobile-O/eval/lmms-eval/lmms_eval/tasks/mmmu/arial.ttf filter=lfs diff=lfs merge=lfs -text
55
+ epoch_1/Mobile-O/eval/lmms-eval/tools/live_bench/live_bench/data_generator/example/example_website.png filter=lfs diff=lfs merge=lfs -text
epoch_1/.claude/CLAUDE.md ADDED
@@ -0,0 +1,446 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Project: Mobile-O VLM Finetuning for GI Hallucination Detection
2
+
3
+ ## Goal
4
+ Finetune the VLM (understanding) half of Mobile-O on gastrointestinal endoscopy
5
+ data, ultimately using the Gut-VLM hallucination-aware dataset. Kvasir-VQA is
6
+ used as a smoke-test dataset to confirm the pipeline works before Gut-VLM arrives.
7
+
8
+ ---
9
+
10
+ ## Current Status
11
+ - [x] Smoke test COMPLETE — pipeline confirmed working on Lightning AI
12
+ - [x] Loss decreased: 11.25 → 2.69 over 12 steps (200 samples, 1 epoch)
13
+ - [x] wandb logging confirmed working on a real Lightning AI run (2026-06-25)
14
+ - [~] Full Kvasir-VQA run (58k samples, 3 epochs) — first attempt got to epoch 1,
15
+ step ~2200 with loss plateaued (~0.06-0.08) since step ~1000; STOPPED and
16
+ being RESTARTED with the new val split / per-epoch checkpoint code (see
17
+ "Held-Out Validation" section below) before letting epochs 2-3 run
18
+ - [x] Checkpoint-loading UNEXPECTED-keys scare investigated and resolved — see
19
+ "Checkpoint Key Duplication" section below; `Mobile-O-0.5B-SFT/model.safetensors`
20
+ loads correctly, no retraining needed for that reason
21
+ - [x] Gut-VLM dataset — already cloned locally at `Hallucination-Aware-VLM/`
22
+ (top-level, sibling of `Mobile-O/`), annotations present, NOT a future thing anymore
23
+ - [x] Gut-VLM data prep script — `Mobile-O/step3_gut_vlm_data.py` (written, verified)
24
+ - [x] Hallucination-aware finetuning script — `Mobile-O/step3_finetune_hallucination.py` (written)
25
+ - [ ] Download raw Kvasir-v2 images (uuid-named) — NOT bundled in Hallucination-Aware-VLM
26
+ repo, needed before step3 data prep can actually produce non-empty JSONL
27
+ - [ ] Run step3 data prep + hallucination-aware finetuning on Lightning AI/Clariden
28
+ (note: step3_finetune_hallucination.py does NOT yet have the val-split/
29
+ per-epoch-checkpoint treatment that step2 just got — only 1450 train examples,
30
+ worth porting the same pattern before trusting train-loss-only there too)
31
+
32
+ ### IMPORTANT: canonical step2 script moved
33
+ `Mobile-O/step2_finetune_vlm.py` is the **original buggy attempt** — kept only
34
+ for history, do not use it. The verified, correct version is
35
+ `step2_finetune_refined.py` at the **top level** (sibling of `Mobile-O/`, NOT
36
+ inside it). It subclasses `mobileoForInferenceLM` and reuses the repo's own
37
+ `prepare_inputs_labels_for_multimodal()` instead of hand-injecting image
38
+ features — see that file's module docstring for the full reasoning chain
39
+ (verified against actual repo source, point by point). Run it with
40
+ `MOBILEO_PATH` set to the `Mobile-O/` repo path, or from inside `Mobile-O/`
41
+ with the script copied/symlinked in — it does `sys.path.insert` either way.
42
+
43
+ ---
44
+
45
+ ## Repo Structure
46
+ ```
47
+ Finetune_mobile_o/ ← top level, this is where .claude/ lives
48
+ ├── .claude/CLAUDE.md ← this file
49
+ ├── step2_finetune_refined.py ← CANONICAL, verified step2 script (use this one)
50
+ ├── Hallucination-Aware-VLM/ ← cloned Gut-VLM repo (paper + dataset)
51
+ │ ├── dataset/Gut-VLM/
52
+ │ │ ├── all_annotations.json ← all 1816 images, full source format
53
+ │ │ ├── VQA_format_all_annotations.json
54
+ │ │ ├── Images/ ← placeholder only (README.md), actual
55
+ │ │ │ images NOT bundled — download kvasir-v2.zip
56
+ │ │ └── train_test_split/
57
+ │ │ ├── train.json ← 1450 images, SAME format as all_annotations
58
+ │ │ ├── test.json ← 366 images
59
+ │ │ ├── VQA_fromat_trainset_only.json
60
+ │ │ └── VQA_format_testset_only.json
61
+ │ ├── training_style/hallucinated_aware_train.json ← paper's own ms-swift-format
62
+ │ │ example (used to verify our step3_gut_vlm_data.py
63
+ │ │ output matches exactly — it does)
64
+ │ └── eval_scripts/ ← caption2vqa.py, evaluate_vqa.py, evaluate_caption.py
65
+ │ (QAAS / R-Sim metrics — not yet ported to our repo)
66
+ └── Mobile-O/ ← must run ALL python scripts from here
67
+ ├── step1_prepare_data.py ← download Kvasir-VQA, build JSONL
68
+ ├── step2_finetune_vlm.py ← BUGGY original attempt, do not use
69
+ ├── step3_gut_vlm_data.py ← converts Gut-VLM annotations → Mobile-O JSONL
70
+ ├── step3_finetune_hallucination.py ← hallucination-aware finetuning (continues from step2 ckpt)
71
+ ├── mobileo/ ← Mobile-O source code (custom, not HF)
72
+ │ ├── model/
73
+ │ │ ├── __init__.py ← exports: mobileoFastSFTForCausalLM
74
+ │ │ ├── language_model/
75
+ │ │ │ ├── mobileo_sft.py ← SFT model class (used for training)
76
+ │ │ │ ├── mobileo.py ← post-train model class (both losses)
77
+ │ │ │ └── mobileo_inference.py ← inference model (mobile_o_inference type)
78
+ │ │ ├── llava_arch.py ← LLaVA-style vision integration
79
+ │ │ └── multimodal_llava_encoder/
80
+ │ │ └── mobileclip_encoder.py ← FastViT vision encoder
81
+ │ ├── train/
82
+ │ │ ├── train.py ← SFT training (generation only)
83
+ │ │ ├── post_train.py ← post-training (gen + und, quadruplet format)
84
+ │ │ └── mobileo_trainer.py ← custom HF Trainer subclass
85
+ │ ├── mm_utils.py ← tokenizer_image_token() utility
86
+ │ └── constants.py ← IGNORE_INDEX=-100, IMAGE_TOKEN_INDEX=-200
87
+ ├── checkpoints/
88
+ │ ├── Mobile-O-0.5B-SFT/ ← base checkpoint to finetune FROM
89
+ │ ├── vlm_kvasir/ ← smoke test output
90
+ │ │ ├── vlm_kvasir/ ← saved model weights
91
+ │ │ └── train_log.jsonl ← loss log from smoke test
92
+ │ ├── vlm_kvasir_full/ ← Task 1 output (not yet run)
93
+ │ └── vlm_gutvlm_hal/ ← step3 output (not yet run)
94
+ ├── data/
95
+ │ ├── images/ ← kvasir-VQA images (~6500 jpg files)
96
+ │ ├── smoke_test.jsonl ← 200 samples used for smoke test
97
+ │ ├── train.jsonl ← full 58k Kvasir-VQA samples
98
+ │ └── gut_vlm/ ← step3_gut_vlm_data.py output (train.jsonl/test.jsonl),
99
+ │ NOT YET GENERATED — needs raw Kvasir-v2 images first
100
+ └── scripts/Mobile-O-0.5B/
101
+ ├── sft.sh ← original SFT training script
102
+ └── post_train.sh ← original post-training script
103
+ ```
104
+
105
+ ---
106
+
107
+ ## Critical Architecture Facts
108
+
109
+ ### Model Loading — NEVER use AutoModelForCausalLM
110
+ ```python
111
+ # WRONG — will fail with KeyError: 'mobile_o_inference'
112
+ from transformers import AutoModelForCausalLM
113
+ model = AutoModelForCausalLM.from_pretrained("Amshaker/Mobile-O-0.5B")
114
+
115
+ # CORRECT — must use Mobile-O's own class
116
+ from mobileo.model import mobileoFastSFTForCausalLM
117
+ model = mobileoFastSFTForCausalLM.from_pretrained("checkpoints/Mobile-O-0.5B-SFT")
118
+ ```
119
+
120
+ ### Three Model Classes (different use cases)
121
+ | Class | File | Use for |
122
+ |---|---|---|
123
+ | `mobileoFastSFTForCausalLM` | mobileo_sft.py | Our finetuning (what we use) |
124
+ | `mobileoFastForCausalLM` | mobileo.py | Post-training (gen + und jointly) |
125
+ | `mobileoForInferenceLM` | mobileo_inference.py | Inference only, loads as `mobile_o_inference` |
126
+
127
+ ### Why We Bypass model.forward()
128
+ `mobileoFastSFTForCausalLM.forward()` has `assert latents is not None` — it
129
+ ALWAYS runs diffusion loss. We can't use it for understanding-only training.
130
+ `mobileoFastForCausalLM` (post-train class) has the same assert.
131
+
132
+ **CURRENT (correct) solution — `step2_finetune_refined.py` / `step3_finetune_hallucination.py`:**
133
+ Subclass `mobileoForInferenceLM` (its `forward()` is never overridden anywhere
134
+ in the MRO, so it's literally stock `Qwen2ForCausalLM.forward` — no diffusion
135
+ assert at all) and override only `forward()` to call the repo's own
136
+ `LlavaMetaForCausalLM.prepare_inputs_labels_for_multimodal(..., gen_images=None,
137
+ und_images=und_image)`, which splices vision-tower + mm_projector features into
138
+ `inputs_embeds` at `IMAGE_TOKEN_INDEX` positions and returns them ready for
139
+ `super().forward()`. This reuses the repo's own multimodal wiring instead of
140
+ reimplementing it, and correctly handles conversations with more than one
141
+ `<image>` tag / multiple turns (the older approach below did not).
142
+
143
+ **OLD/BUGGY approach — `step2_finetune_vlm.py` (kept for history, do not use):**
144
+ 1. Call vision tower manually: `model.get_model().get_vision_tower()(und_image)`
145
+ 2. Call mm_projector: `model.get_model().mm_projector(image_features)`
146
+ 3. Inject image features into LLM input embeddings at IMAGE_TOKEN_INDEX (-200) positions
147
+ — bug: only replaces the FIRST contiguous image-token span, breaks on
148
+ multi-turn data
149
+ 4. Call `model.model(inputs_embeds=...)` → Qwen2 LLM only
150
+ 5. Compute CE loss ourselves with `F.cross_entropy(..., ignore_index=-100)`
151
+
152
+ ### What Gets Frozen vs Trained
153
+ ```
154
+ FROZEN (594M params): dit, diffusion_connector, sana_vae, noise_scheduler
155
+ TRAINED (1070M params): vision_tower (FastViT ~600M) + LLM (Qwen2-0.5B ~500M) + mm_projector
156
+ ```
157
+ To freeze vision tower too (faster, less memory):
158
+ Add `"vision_tower"` to `freeze_keywords` in `freeze_generation_components()`.
159
+ That gives ~500M trainable instead of 1070M.
160
+
161
+ ### Tokenization
162
+ - Mobile-O uses Qwen2 chat format with `<|im_start|>` / `<|im_end|>` tokens
163
+ - Image token: `<image>` in text → becomes `IMAGE_TOKEN_INDEX = -200` via `tokenizer_image_token()`
164
+ - Labels: human turns masked to `IGNORE_INDEX = -100`, only assistant tokens trained on
165
+ - `preprocess_qwen_2()` in post_train.py is the reference implementation
166
+
167
+ ### Data Format (our JSONL)
168
+ Single-turn (step1/Kvasir-VQA):
169
+ ```json
170
+ {
171
+ "image": "/abs/path/to/image.jpg",
172
+ "conversations": [
173
+ {"from": "human", "value": "<image>\nIs there a polyp in this image?"},
174
+ {"from": "gpt", "value": "Yes, there is a sessile polyp visible."}
175
+ ]
176
+ }
177
+ ```
178
+ 4-turn hallucination-aware (step3/Gut-VLM) — same `conversations` schema, just
179
+ more turns. The human/gpt-alternating per-message tokenize+mask loop in the
180
+ dataset class is turn-count-agnostic, so no code changes were needed to
181
+ support this beyond pointing at the right JSONL:
182
+ ```json
183
+ {
184
+ "image": "/abs/path/to/image.jpg",
185
+ "conversations": [
186
+ {"from": "human", "value": "<system framing>\n\n<image>\nCaption: <original_text>\n\nCan you detect which sentences are hallucinated in the given caption?"},
187
+ {"from": "gpt", "value": "<sentence1> <non-hallucinated>\n<sentence2> <hallucinated>\n..."},
188
+ {"from": "human", "value": "Can you please correct any hallucinated sentences and generate a modified response?"},
189
+ {"from": "gpt", "value": "Modified caption: <corrections>"}
190
+ ]
191
+ }
192
+ ```
193
+ Generated by `Mobile-O/step3_gut_vlm_data.py` from
194
+ `Hallucination-Aware-VLM/dataset/Gut-VLM/train_test_split/{train,test}.json`.
195
+ Sentence order comes from sorting the `annotations` dict by `start` offset —
196
+ do NOT rely on dict insertion order, it's not guaranteed in the source JSON.
197
+
198
+ ### Kvasir-VQA Dataset
199
+ - Source: `SimulaMet-HOST/Kvasir-VQA` on HuggingFace
200
+ - 6,500 images, ~58,849 QA pairs
201
+ - Fields: `img_id`, `image` (PIL), `question`, `answer`, `source`
202
+ - Already downloaded to `data/images/` and `data/train.jsonl`
203
+
204
+ ### Gut-VLM Image Matching — plain filename lookup, NOT all Kvasir images annotated
205
+ `step3_gut_vlm_data.py`'s `build_record()` does `images_dir / img_id` where
206
+ `img_id` is literally the dict key from `train.json`/`test.json` (a uuid.jpg
207
+ matching Kvasir-v2's original filenames) — no fuzzy matching, no ID
208
+ translation table. If the file isn't found at that path it's silently
209
+ skipped (counted in `skipped`, printed at the end) rather than erroring,
210
+ which is exactly why the script currently produces empty output (raw
211
+ Kvasir-v2 images not yet downloaded — see Task 2 blocker).
212
+ Gut-VLM only annotated **1,816 of the ~6,500-8,000 Kvasir images** (1,450
213
+ train + 366 test, verified by loading the actual JSON files) — it's a
214
+ curated subset, not full coverage. Images outside that 1,816 are simply
215
+ irrelevant to step3.
216
+
217
+ ---
218
+
219
+ ## Training Hyperparameters
220
+ **step2_finetune_refined.py** (Kvasir-VQA):
221
+ ```python
222
+ BATCH_SIZE = 4
223
+ GRAD_ACCUM = 4 # effective batch = 16
224
+ LR = 2e-5
225
+ WARMUP_RATIO = 0.03
226
+ MAX_LEN = 512
227
+ UND_IMAGE_SIZE = 1024
228
+ ```
229
+ **step3_finetune_hallucination.py** (Gut-VLM) — same except:
230
+ ```python
231
+ LR = 1e-5 # lower — small dataset, overfitting risk
232
+ MAX_LEN = 768 # 4-turn conversations run longer than single QA pairs
233
+ ```
234
+
235
+ ### Checkpoint Key Duplication — UNEXPECTED-keys load report is HARMLESS (verified 2026-06-25)
236
+ On the real Lightning AI run, `from_pretrained()` printed ~80+ `UNEXPECTED`
237
+ keys for `checkpoints/Mobile-O-0.5B-SFT`, all prefixed
238
+ `base_model.model.model.{vision_tower,dit,diffusion_connector,mm_projector}...`
239
+ — that prefix is PEFT's `get_peft_model()` wrapper signature, which looked
240
+ like the checkpoint might be an unmerged LoRA save (i.e. vision/diffusion
241
+ weights silently NOT loading, training from random init instead).
242
+
243
+ **Verified harmless** by dumping `model.safetensors` keys directly
244
+ (`safetensors.safe_open`): every group has an EXACT matching count of
245
+ prefixed vs. unprefixed keys (vision_tower 629/629, dit 548/548,
246
+ diffusion_connector 26/26, mm_projector 4/4). So the file contains a
247
+ complete, correctly-named copy of every module AND a redundant
248
+ `base_model.model.model.`-prefixed duplicate left over from however this
249
+ checkpoint was produced. The correctly-named keys load fine; the
250
+ UNEXPECTED rows are just the ignored duplicates. The sibling
251
+ `mm_projector.bin`/`gen_projector.bin` files in that checkpoint dir are
252
+ also redundant (same weights already in `model.safetensors`) — they're
253
+ only consumed via a `pretrain_mm_mlp_adapter` + `initialize_vision_modules()`
254
+ path that step2/step3 deliberately skip (see docstring point 7 in
255
+ step2_finetune_refined.py).
256
+ **If this check is ever needed again** (e.g. on a different checkpoint),
257
+ the verification script is reusable — see chat history 2026-06-25, or just
258
+ rerun the `safe_open` key-count-by-group snippet against any
259
+ `model.safetensors`.
260
+
261
+ ## Held-Out Validation / Per-Epoch Checkpoints (added 2026-06-25)
262
+ `step2_finetune_refined.py` now carves a fixed-seed (42) `--val_fraction`
263
+ slice (default 2%) out of `--data`, **excluded from training entirely**.
264
+ After each epoch: runs `evaluate()` (model.eval()/no_grad pass over the val
265
+ set), logs `val_loss` to both `train_log.jsonl` (as an `{"epoch_summary":
266
+ N, ...}` line) and wandb, and saves a full checkpoint to
267
+ `output_dir/epoch_{N}` (in addition to the final `output_dir/vlm_kvasir`
268
+ saved after all epochs). Set `--val_fraction 0` to disable and train on
269
+ 100% of data like before.
270
+
271
+ **Why:** on the first full Kvasir-VQA attempt, train loss (logged every
272
+ optimizer step) plateaued around step ~1000/3678 of epoch 1 (~0.06-0.08,
273
+ oscillating) but the script only saved ONE checkpoint at the very end of
274
+ all 3 epochs — there was no way to tell whether epochs 2-3 were still
275
+ learning or just overfitting/memorizing answer templates before letting
276
+ several more GPU-hours run. Train-loss-only is also a bad signal here
277
+ because Kvasir-VQA has many short/templated answers (single words), so
278
+ per-step CE swings hard between ~0 and ~0.3 depending on answer length —
279
+ need the held-out val_loss trend, not single-step train loss, to judge
280
+ whether to continue past an epoch.
281
+
282
+ **How to apply:** after epoch N finishes, check the printed
283
+ `Epoch N val_loss (held-out, never trained on): X.XXXX` line (or `analyze_train_log.py`,
284
+ or wandb). If val_loss is flat or rising epoch-to-epoch, stop there instead
285
+ of running the remaining epochs — they're not buying anything.
286
+ `Mobile-O/analyze_train_log.py` (rolling-average train loss viewer,
287
+ also prints per-epoch `val_loss` now) is the tool for inspecting
288
+ `train_log.jsonl` without needing wandb's UI:
289
+ ```bash
290
+ python analyze_train_log.py checkpoints/vlm_kvasir_full/train_log.jsonl --window 50
291
+ ```
292
+ **Not yet ported to `step3_finetune_hallucination.py`** — that script still
293
+ trains on 100% of `data/gut_vlm/train.jsonl` with only a final checkpoint.
294
+ Worth doing before trusting that run's loss either, especially since
295
+ Gut-VLM's train set is only 1,450 examples (higher overfitting risk than
296
+ Kvasir-VQA's 58k) — and Gut-VLM already HAS a proper held-out `test.json`
297
+ split (366 images) that step3 currently doesn't use at all.
298
+
299
+ ## Smoke Test Results
300
+ - 200 samples, 1 epoch, 12 optimizer steps
301
+ - Loss: 11.25 → 9.875 → 6.0 → 5.5 → 6.8 → 3.6 → 4.9 → 2.56 → 6.4 → 4.0 → 6.6 → **2.69**
302
+ - LR schedule hit 0.0 at step 12 — expected for 200-sample smoke test, not a bug
303
+ - Loss oscillates due to tiny dataset — will smooth with full 58k samples
304
+
305
+ ---
306
+
307
+ ## Compute Setup
308
+ - **Current (testing):** Lightning AI studio, A100 or H100
309
+ - **Full runs:** Clariden cluster with GH200 (96GB HBM3)
310
+ - **No macOS/iOS needed** — CoreML/MLX is only for mobile deployment, not training
311
+
312
+ ## Environment Setup (Lightning AI)
313
+ ```bash
314
+ cd ~/Mobile-O
315
+ pip install -e .
316
+ pip install timm diffusers datasets pillow tqdm huggingface_hub
317
+ # timm is required for MobileCLIP vision encoder
318
+ ```
319
+
320
+ ---
321
+
322
+ ## Next Immediate Tasks
323
+
324
+ ### Task 1: Full Kvasir-VQA Run (IN PROGRESS — being restarted with val split)
325
+ Use the CANONICAL `step2_finetune_refined.py` (top level), NOT
326
+ `Mobile-O/step2_finetune_vlm.py`. First attempt was stopped at epoch 1 once
327
+ train loss plateaued, to add held-out val_loss tracking before trusting
328
+ epochs 2-3 — see "Held-Out Validation" section above. Restart command:
329
+ ```bash
330
+ cd ~/Mobile-O
331
+ python ../step2_finetune_refined.py \
332
+ --model_path checkpoints/Mobile-O-0.5B-SFT \
333
+ --data data/train.jsonl \
334
+ --epochs 3 \
335
+ --output_dir checkpoints/vlm_kvasir_full
336
+ ```
337
+ (`--val_fraction` defaults to 0.02, no need to pass it explicitly.)
338
+ After each epoch, check the printed `val_loss` (or `epoch_N` checkpoint dirs,
339
+ or wandb) before letting the next epoch start — if it's flat/rising, stop
340
+ there rather than running the full 3 epochs. This run's final checkpoint
341
+ (`checkpoints/vlm_kvasir_full/vlm_kvasir`, or whichever `epoch_N` had the
342
+ best val_loss) is what Task 3's hallucination-aware finetuning continues from.
343
+
344
+ ### Task 2: Gut-VLM Data Prep — DONE, but blocked on raw images
345
+ `Mobile-O/step3_gut_vlm_data.py` reads
346
+ `Hallucination-Aware-VLM/dataset/Gut-VLM/train_test_split/{train,test}.json`
347
+ and writes Mobile-O 4-turn JSONL (see Data Format section above). Verified:
348
+ its output for image `53a543e6-...jpg` matches the paper's own
349
+ `training_style/hallucinated_aware_train.json` example exactly (same tags,
350
+ same corrected text).
351
+
352
+ **Blocker:** the Hallucination-Aware-VLM repo does NOT bundle the actual
353
+ Kvasir-v2 images (`dataset/Gut-VLM/Images/` is just a README placeholder).
354
+ Must download `kvasir-v2.zip` from https://datasets.simula.no/kvasir/ and
355
+ pass its directory to `--images_dir` before this script produces non-empty
356
+ output. Filenames in the annotation JSON are uuid.jpg, must match exactly.
357
+
358
+ ```bash
359
+ cd Mobile-O
360
+ python step3_gut_vlm_data.py \
361
+ --hal_repo ../Hallucination-Aware-VLM \
362
+ --images_dir /path/to/kvasir-v2/images \
363
+ --out_dir data/gut_vlm
364
+ ```
365
+
366
+ ### Task 3: Hallucination-Aware Finetuning — script written, not yet run
367
+ `Mobile-O/step3_finetune_hallucination.py`. Key design decisions (discussed
368
+ and confirmed with user 2026-06-25):
369
+ - **Full finetune, not LoRA**, even though the paper uses LoRA. Rationale:
370
+ the paper applies LoRA to large general-purpose VLMs already strong on
371
+ natural images; Mobile-O's vision tower + 0.5B LLM are smaller and were
372
+ never trained on endoscopy images at all, so the domain shift favors
373
+ continued full finetuning over LoRA's low-rank updates.
374
+ - **Continues from the step2 Kvasir-VQA checkpoint** (`checkpoints/vlm_kvasir_full/vlm_kvasir`),
375
+ not the base SFT checkpoint — so vision tower + LLM are already
376
+ domain-adapted to endoscopy images before this stage starts.
377
+ - **Freezes the vision tower by default** (`--freeze_vision_tower`, on by
378
+ default) — already adapted in step2 on the same image domain
379
+ (Kvasir-v2/Kvasir-VQA), so freezing it removes ~600M params from the
380
+ overfitting surface on the small (1450-example) Gut-VLM set.
381
+ - Lower LR (1e-5 vs step2's 2e-5) and fewer epochs (2 vs 3) as additional
382
+ overfitting mitigation.
383
+
384
+ ```bash
385
+ cd Mobile-O
386
+ python step3_finetune_hallucination.py \
387
+ --model_path checkpoints/vlm_kvasir_full/vlm_kvasir \
388
+ --data data/gut_vlm/train.jsonl \
389
+ --epochs 2
390
+ ```
391
+
392
+ ### Task 4: Evaluation Script — NOT YET PORTED
393
+ `Hallucination-Aware-VLM/eval_scripts/` has `caption2vqa.py` → `parse_vqa.py`
394
+ → `evaluate_vqa.py` (QAAS pipeline) and `evaluate_caption.py` (R-Sim, GPT-4o
395
+ based). Both rely on calling GPT-4o as a judge — not yet adapted to run
396
+ against our Mobile-O checkpoint's outputs. Use the 366-image
397
+ `train_test_split/test.json` split for eval, never `train.json`.
398
+
399
+ ## WandB Logging
400
+ Both `step2_finetune_refined.py` and `step3_finetune_hallucination.py` now
401
+ log to wandb every optimizer step (in addition to the existing
402
+ `train_log.jsonl`): `loss`, `lr`, `grad_norm`, `epoch`, `samples_per_sec`,
403
+ `gpu_mem_gb`, plus `epoch_avg_loss` once per epoch. Controlled via
404
+ `--wandb_project` / `--wandb_run_name` / `--no_wandb` (disables wandb,
405
+ keeps the jsonl log). Default projects: `mobile-o-vlm-finetune` (step2),
406
+ `mobile-o-hallucination-finetune` (step3). `wandb` is already in
407
+ `Mobile-O/requirements.txt`. Not yet exercised on an actual GPU run — first
408
+ real run should confirm `wandb.init()` doesn't need extra config (API key
409
+ via `wandb login` or `WANDB_API_KEY` env var) on Lightning AI/Clariden.
410
+
411
+ ---
412
+
413
+ ## Key Papers
414
+ 1. **Gut-VLM** (hallucination dataset): `bhattarailab/Hallucination-Aware-VLM`
415
+ (cloned locally at `Hallucination-Aware-VLM/`, sibling of `Mobile-O/`)
416
+ - 1,816 Kvasir-v2 images, 1450 train / 366 test (exact split files in
417
+ `dataset/Gut-VLM/train_test_split/{train,test}.json`)
418
+ - Source annotation format per image: `{"original_text": <hallucinated
419
+ VLM report>, "corrections": <expert-corrected report>, "annotations":
420
+ {"<start>-<end>": {"text", "start", "end", "type": "correct"|"incorrect"}}}`
421
+ - Labels: `<hallucinated>` / `<non-hallucinated>` per sentence (maps from
422
+ annotation `type: "incorrect"`/`"correct"` respectively)
423
+ - 2-stage finetuning = ONE multi-turn conversation per image: turn 1 asks
424
+ the model to tag each sentence of `original_text` as hallucinated/not,
425
+ turn 2 asks it to produce the corrected report. Not two separate
426
+ training runs/datasets. Paper used LoRA; we use full FT (see Task 3).
427
+ - Metrics: ROUGE-L, BLEU, METEOR, R-Sim (1-5), QAAS (%)
428
+ - Key result: hallucination-aware FT beats standard FT (90.89% vs 83.07% QAAS)
429
+ - Images NOT bundled in the cloned repo — separately download
430
+ `kvasir-v2.zip` from https://datasets.simula.no/kvasir/
431
+
432
+ 2. **Mobile-O**: `arXiv:2602.20161`
433
+ - FastVLM (FastViT + Qwen2-0.5B) + SANA DiT + MCP projector
434
+ - HF: `Amshaker/Mobile-O-0.5B` (SFT checkpoint we use as base)
435
+
436
+ ---
437
+
438
+ ## Common Errors and Fixes
439
+ | Error | Fix |
440
+ |---|---|
441
+ | `KeyError: 'mobile_o_inference'` | Use `mobileoFastSFTForCausalLM`, not `AutoModelForCausalLM` |
442
+ | `ModuleNotFoundError: No module named 'timm'` | `pip install timm` |
443
+ | `assert latents is not None` | Don't use `mobileoFastSFTForCausalLM`/`mobileoFastForCausalLM`'s own `forward()` — use the `mobileoForInferenceLM` subclass override in step2_finetune_refined.py / step3_finetune_hallucination.py |
444
+ | `initialize_vision_modules` warning | Safe to ignore — vision modules already loaded from checkpoint |
445
+ | Loss = NaN | Check `labels[labels != -100]` — may all be masked |
446
+ | LR hits 0 early | Expected for tiny smoke test — fine for full run |
epoch_1/.claude/settings.local.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "permissions": {
3
+ "allow": [
4
+ "Bash(python -c ' *)"
5
+ ]
6
+ }
7
+ }
epoch_1/Hallucination-Aware-VLM/.gitignore ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Ignore all folders in dataset/Gut-VLM/Images/ but keep README.md
2
+ dataset/Gut-VLM/Images/*/
3
+ !dataset/Gut-VLM/Images/README.md
4
+
5
+ # Common Python ignores
6
+ __pycache__/
7
+ *.py[cod]
8
+ *$py.class
9
+ *.so
10
+ .Python
11
+ build/
12
+ develop-eggs/
13
+ dist/
14
+ downloads/
15
+ eggs/
16
+ .eggs/
17
+ lib/
18
+ lib64/
19
+ parts/
20
+ sdist/
21
+ var/
22
+ wheels/
23
+ *.egg-info/
24
+ .installed.cfg
25
+ *.egg
26
+
27
+ # Virtual environments
28
+ venv/
29
+ env/
30
+ ENV/
31
+
32
+ # IDE files
33
+ .vscode/
34
+ .idea/
35
+ *.swp
36
+ *.swo
37
+
38
+ # OS files
39
+ .DS_Store
40
+ Thumbs.db
epoch_1/Hallucination-Aware-VLM/Images/MICCAI_benchmark_table.png ADDED

Git LFS Details

  • SHA256: 4d014f886a43d51f3d5c89bfcdbc9f1f1106bb393007359232ebdbfb66db43f4
  • Pointer size: 131 Bytes
  • Size of remote file: 323 kB
epoch_1/Hallucination-Aware-VLM/Images/category_comp.png ADDED

Git LFS Details

  • SHA256: 178c0ecac269e53d561b160c85f78c47a08bb2aaae1909027017c9b7bfc77cf4
  • Pointer size: 131 Bytes
  • Size of remote file: 968 kB
epoch_1/Hallucination-Aware-VLM/Images/data_pipeline_with_stats.png ADDED

Git LFS Details

  • SHA256: f59868f749f1ad0908cbcce7196f9c03fe8eb5341fb713a4808e1f59449421a4
  • Pointer size: 132 Bytes
  • Size of remote file: 3.98 MB
epoch_1/Hallucination-Aware-VLM/Images/hal-aware.png ADDED

Git LFS Details

  • SHA256: 8a2b1e90373df9aadb26eb739d5cffcb16a154ed1dcb33e55216eba11b2fa6f9
  • Pointer size: 132 Bytes
  • Size of remote file: 1.19 MB
epoch_1/Hallucination-Aware-VLM/README.md ADDED
@@ -0,0 +1,187 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Hallucination-Aware Multimodal Benchmark for Gastrointestinal Image Analysis with Large Vision Language Models #
2
+
3
+ 📄**Paper Available: https://arxiv.org/pdf/2505.07001**
4
+ 🎉 **Accepted to MICCAI 2025 (Top 9% of submissions)**
5
+
6
+
7
+ ## 🧠 Key Contributions ##
8
+ * Multimodal image-text Gastrointestinal (GI) dataset, with VLM-generated descriptive responses, expert-labeled tags identifying hallucinated sentences, and their corresponding corrections.
9
+
10
+ * Extensive evaluation of state-of-the-art VLMs using both existing and proposed LLM-assisted evaluation metrics.
11
+
12
+ * Hallucination-aware fine-tuning shown to improve robustness compared to standard fine-tuning.
13
+
14
+
15
+ ## 🗂 About Dataset ###
16
+ We used publicly available [Kvasir-v2](https://datasets.simula.no/kvasir/) images to generate medical reports using ChatGPT-4o, which were then reviewed by experts to identify and correct medical hallucinations. Our dataset not only provides the corrected responses of the vision-language model (VLM) but also includes sentence-level hallucination tags, offering additional insights into how the VLM hallucinates.
17
+ In summary it includes:
18
+ - VLM-generated medical reports
19
+ - Expert annotations:
20
+ - Sentence-level hallucination tags
21
+ - Corrected responses
22
+
23
+ ![Data annotation pipeline](Images/data_pipeline_with_stats.png)
24
+
25
+ ### Images ###
26
+ * Please refer to [Kvasir-v2](https://datasets.simula.no/kvasir/) dataset for the original images. Download **[kvasir-v2.zip](https://datasets.simula.no/kvasir/)**
27
+
28
+ * The images can be visualized and annotated using this [Image Caption Annotation](https://github.com/bhattarailab/image-caption-annotation) tool.
29
+
30
+ ### Text Annotations ###
31
+
32
+ The text annotations are available in the `dataset/Gut-VLM/` directory with the following structure:
33
+
34
+ * *`all_annotations.json`*: Complete dataset containing VLM-generated medical reports with expert annotations, including sentence-level hallucination tags and corrected responses.
35
+
36
+ * *`VQA_format_all_annotations.json`*: Question-Answer formatted version of the complete dataset, structured for VQA evaluation tasks.
37
+
38
+ * **Training/Testing Splits** (in `train_test_split/` directory):
39
+ - *`train.json`*: Training set annotations
40
+ - *`test.json`*: Testing set annotations
41
+ - *`VQA_fromat_trainset_only.json`*: VQA-formatted training data
42
+ - *`VQA_format_testset_only.json`*: VQA-formatted testing data
43
+ - In `classwise_train_split/`: Class-wise train-split json files
44
+ - In `classwise_test_split/`: Class-wise test-split json files
45
+
46
+ ### Additional Resources ###
47
+
48
+ * **Training Style Data** (in `training_style/` directory):
49
+ - *`hallucinated_aware_train.json`*: Hallucination-aware training example for fine-tuning VLMs
50
+
51
+ * **Example Results** (in `results_example/` directory):
52
+ - *`final_qwen_caption_hal_aware_results.json`*: Sample test results from hallucination-aware model
53
+ - *`groundtruth_test_captions.json`*: Ground-truth captions for the test set used for comparison
54
+
55
+ ## 📏 About Evaluation Metrics ##
56
+
57
+ While several metrics such as BLEU, ROUGE, and METEOR are commonly used to evaluate the similarity between ground-truth texts and generated texts, they are often limited by context-length dependence, insensitivity to subtle semantic differences, and an inability to assess factual accuracy. We propose two LLM-assited metrics that use GPT4o's strong overall textual and semantic understanding to assess the similarity between ground-truth and generated outputs:
58
+
59
+ * **📝 Report Similarity (R-Sim):** Rates coarse-level semantic similarity between the ground-truth and VLM responses on a scale of 1 to 5 (worst to best), using ChatGPT-4o
60
+ prompted to assess similarity with a focus on GI endoscopy and 12 diagnostic
61
+ questions.
62
+
63
+ * **❓ Question Answering Accuracy Score (QAAS):** Objectively
64
+ measures accuracy by comparing VLM responses to 12 ground-truth Q&A pairs,
65
+ with ChatGPT-4o handling synonyms and similar phrasing.
66
+
67
+
68
+ ## 🔥 Hallucination-aware finetuning ##
69
+
70
+ Instead of instruction finetuning VLM models with the objective of generating ground-truth texts, we have used instruction finetuning to first detect hallucinated sentences in the default pretrained VLM response, followed by correcting the response. We used standard LORA for parameter efficient finetuning.
71
+
72
+ ![Hal-aware finetuning](Images/hal-aware.png)
73
+
74
+
75
+ ## 📊 Benchmarks ##
76
+
77
+ We evaluate our hallucination-aware fine-tuning strategy across various open-source VLMs and consistently demonstrate improved performance across multiple evaluation metrics.
78
+
79
+ ![Benchmark Table](Images/MICCAI_benchmark_table.png)
80
+
81
+ ![Fine-grained results](Images/category_comp.png)
82
+
83
+
84
+ ## 📈 Evaluation Flow
85
+
86
+ The evaluation scripts are located in the `eval_scripts/` directory. The evaluation process consists of two evaluation methods:
87
+
88
+ <div style="display: flex; justify-content: space-between;">
89
+
90
+ <div style="width: 48%;">
91
+
92
+ ### 📝 QA-Based Evaluation (QAAS)
93
+
94
+ ```mermaid
95
+ flowchart TD
96
+ classDef inputStyle fill:#E3F2FD,stroke:#1976D2,stroke-width:3px,color:#000,font-weight:bold,font-size:12px
97
+ classDef scriptStyle fill:#FFF3E0,stroke:#F57C00,stroke-width:3px,color:#000,font-weight:bold,font-size:12px
98
+ classDef outputStyle fill:#E8F5E8,stroke:#388E3C,stroke-width:3px,color:#000,font-weight:bold,font-size:12px
99
+
100
+ A["📄 Input<br/>Descriptive Texts<br/>(Paragraph/Caption)"]
101
+ B["🔧 caption2vqa.py<br/>Extract QA Pairs"]
102
+ C["⚙️ parse_vqa.py<br/>Normalize Answers"]
103
+ D["📊 evaluate_vqa.py<br/>Compute QAAS"]
104
+ E["📈 QAAS Score<br/>(Accuracy)"]
105
+
106
+ class A inputStyle
107
+ class B,C,D scriptStyle
108
+ class E outputStyle
109
+
110
+ A -->|"VLM Generated<br/>Medical Reports"| B
111
+ B -->|"Raw Q&A Pairs<br/>(12 questions)"| C
112
+ C -->|"Normalized<br/>(Handle synonyms)"| D
113
+ D -->|"Compare with<br/>Ground Truth"| E
114
+
115
+ linkStyle 0 stroke:#1976D2,stroke-width:3px
116
+ linkStyle 1 stroke:#F57C00,stroke-width:3px
117
+ linkStyle 2 stroke:#F57C00,stroke-width:3px
118
+ linkStyle 3 stroke:#388E3C,stroke-width:3px
119
+ ```
120
+
121
+ </div>
122
+
123
+ <div style="width: 48%;">
124
+
125
+ ### 📝 Report Similarity Evaluation (R-Sim)
126
+
127
+ ```mermaid
128
+ flowchart TD
129
+ classDef inputStyle fill:#E3F2FD,stroke:#1976D2,stroke-width:3px,color:#000,font-weight:bold,font-size:12px
130
+ classDef scriptStyle fill:#FFF3E0,stroke:#F57C00,stroke-width:3px,color:#000,font-weight:bold,font-size:12px
131
+ classDef outputStyle fill:#E8F5E8,stroke:#388E3C,stroke-width:3px,color:#000,font-weight:bold,font-size:12px
132
+
133
+ A2["📄 Input<br/>Descriptive Texts<br/>(Paragraph/Caption)"]
134
+ B2["🔧 evaluate_caption.py<br/>Semantic Comparison"]
135
+ C2["📈 R-Sim Score<br/>(1-5 Scale)"]
136
+
137
+ class A2 inputStyle
138
+ class B2 scriptStyle
139
+ class C2 outputStyle
140
+
141
+ A2 -->|"VLM Generated<br/>Medical Reports"| B2
142
+ B2 -->|"GPT-4o Analysis<br/>Semantic Similarity"| C2
143
+
144
+ linkStyle 0 stroke:#1976D2,stroke-width:3px
145
+ linkStyle 1 stroke:#388E3C,stroke-width:3px
146
+ ```
147
+
148
+ </div>
149
+
150
+ </div>
151
+
152
+ ### Citation:
153
+
154
+ #### Cite our work in your research as follows:
155
+
156
+ ```bibtex
157
+ @inproceedings{khanal2025hallucination,
158
+ title={Hallucination-Aware Multimodal Benchmark for Gastrointestinal Image Analysis with Large Vision-Language Models},
159
+ author={Khanal, Bidur and Pokhrel, Sandesh and Bhandari, Sanjay and Rana, Ramesh and Shrestha, Nikesh and Gurung, Ram Bahadur and Linte, Cristian and Watson, Angus and Shrestha, Yash Raj and Bhattarai, Binod},
160
+ booktitle={MICCAI},
161
+ year={2025},
162
+ Note = {Early Accept and Spotlight Presentation}
163
+ }
164
+
165
+ ```
166
+
167
+ #### To cite Kvasir-v2:
168
+ ```@inproceedings{Pogorelov:2017:KMI:3083187.3083212,
169
+ title = {KVASIR: A Multi-Class Image Dataset for Computer Aided Gastrointestinal Disease Detection},
170
+ author = {
171
+ Pogorelov, Konstantin and Randel, Kristin Ranheim and Griwodz, Carsten and
172
+ Eskeland, Sigrun Losada and de Lange, Thomas and Johansen, Dag and
173
+ Spampinato, Concetto and Dang-Nguyen, Duc-Tien and Lux, Mathias and
174
+ Schmidt, Peter Thelin and Riegler, Michael and Halvorsen, P{\aa}l
175
+ },
176
+ booktitle = {Proceedings of the 8th ACM on Multimedia Systems Conference},
177
+ series = {MMSys'17},
178
+ year = {2017},
179
+ isbn = {978-1-4503-5002-0},
180
+ location = {Taipei, Taiwan},
181
+ pages = {164--169},
182
+ numpages = {6},
183
+ doi = {10.1145/3083187.3083212},
184
+ acmid = {3083212},
185
+ publisher = {ACM},
186
+ address = {New York, NY, USA},
187
+ }
epoch_1/Hallucination-Aware-VLM/dataset/Gut-VLM/Images/README.md ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ > 🖼️ **Note:** Please refer to [Kvasir-v2](https://datasets.simula.no/kvasir/) dataset for the original images. Download **[kvasir-v2.zip](https://datasets.simula.no/kvasir/)**
3
+
4
+ > Our contribution is **only annotations** — no modifications were made to the original image content.
5
+
6
+ ---
7
+
8
+ ## 📄 KVASIR License
9
+
10
+ Permission to use, copy, modify and distribute this data and its documentation is hereby granted, provided that both the copyright notice and this permission notice appear in all copies of the data, derivative works or modified versions, and any portions thereof, and that both notices appear in supporting documentation. THIS THE AUTHORS AND SIMULA RESEARCH LABORATORY DISCLAIM ANY LIABILITY OF ANY KIND FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS DATA.
11
+
12
+ ---
13
+
14
+ ## 📚 Citation
15
+
16
+ If you use these images, please also cite the original KVASIR paper:
17
+
18
+ ```bibtex
19
+ @inproceedings{Pogorelov:2017:KMI:3083187.3083212,
20
+ title = {KVASIR: A Multi-Class Image Dataset for Computer Aided Gastrointestinal Disease Detection},
21
+ author = {
22
+ Pogorelov, Konstantin and Randel, Kristin Ranheim and Griwodz, Carsten and
23
+ Eskeland, Sigrun Losada and de Lange, Thomas and Johansen, Dag and
24
+ Spampinato, Concetto and Dang-Nguyen, Duc-Tien and Lux, Mathias and
25
+ Schmidt, Peter Thelin and Riegler, Michael and Halvorsen, P{\aa}l
26
+ },
27
+ booktitle = {Proceedings of the 8th ACM on Multimedia Systems Conference},
28
+ series = {MMSys'17},
29
+ year = {2017},
30
+ isbn = {978-1-4503-5002-0},
31
+ location = {Taipei, Taiwan},
32
+ pages = {164--169},
33
+ numpages = {6},
34
+ doi = {10.1145/3083187.3083212},
35
+ acmid = {3083212},
36
+ publisher = {ACM},
37
+ address = {New York, NY, USA}
38
+ }
epoch_1/Hallucination-Aware-VLM/dataset/Gut-VLM/VQA_format_all_annotations.json ADDED
The diff for this file is too large to render. See raw diff
 
epoch_1/Hallucination-Aware-VLM/dataset/Gut-VLM/all_annotations.json ADDED
The diff for this file is too large to render. See raw diff
 
epoch_1/Hallucination-Aware-VLM/dataset/Gut-VLM/train_test_split/VQA_format_testset_only.json ADDED
The diff for this file is too large to render. See raw diff
 
epoch_1/Hallucination-Aware-VLM/dataset/Gut-VLM/train_test_split/VQA_fromat_trainset_only.json ADDED
The diff for this file is too large to render. See raw diff
 
epoch_1/Hallucination-Aware-VLM/dataset/Gut-VLM/train_test_split/classwise_test_split/cecum_test.json ADDED
@@ -0,0 +1,1826 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "c1284847-f2a7-40a5-ae91-bd51e966578d.jpg": {
3
+ "original_text": "An image of pylorus. There are no visible abnormalities, polyps, signs of inflammation, bleeding, or infection. The anatomical landmarks are normal in color, and no instruments or foreign bodies are present in the image.",
4
+ "corrections": "An image of cecum. There are no visible abnormalities, polyps, signs of inflammation, bleeding, or infection. The anatomical landmarks are normal in color, and no instruments or foreign bodies are present in the image.",
5
+ "annotations": {
6
+ "0-20": {
7
+ "text": "An image of pylorus.",
8
+ "type": "incorrect",
9
+ "start": 0,
10
+ "end": 20
11
+ },
12
+ "112-220": {
13
+ "text": "The anatomical landmarks are normal in color, and no instruments or foreign bodies are present in the image.",
14
+ "type": "correct",
15
+ "start": 112,
16
+ "end": 220
17
+ },
18
+ "20-111": {
19
+ "text": " There are no visible abnormalities, polyps, signs of inflammation, bleeding, or infection.",
20
+ "type": "correct",
21
+ "start": 20,
22
+ "end": 111
23
+ }
24
+ }
25
+ },
26
+ "0f04fc18-1740-4259-ac97-a7853a6e4486.jpg": {
27
+ "original_text": "An image of cecum. There is no visible abnormality, polyp, inflammation, bleeding, infection, or foreign bodies present. The anatomical landmark seen is the normal mucosa, which appears healthy. No instruments are visible in the image.",
28
+ "corrections": "An image of cecum. There is no visible abnormality, polyp, inflammation, bleeding, infection, or foreign bodies present. The anatomical landmark appears healthy. No instruments are visible in the image.",
29
+ "annotations": {
30
+ "0-19": {
31
+ "text": "An image of cecum. ",
32
+ "type": "correct",
33
+ "start": 0,
34
+ "end": 19
35
+ },
36
+ "19-120": {
37
+ "text": "There is no visible abnormality, polyp, inflammation, bleeding, infection, or foreign bodies present.",
38
+ "type": "correct",
39
+ "start": 19,
40
+ "end": 120
41
+ },
42
+ "121-194": {
43
+ "text": "The anatomical landmark seen is the normal mucosa, which appears healthy.",
44
+ "type": "correct",
45
+ "start": 121,
46
+ "end": 194
47
+ },
48
+ "195-235": {
49
+ "text": "No instruments are visible in the image.",
50
+ "type": "correct",
51
+ "start": 195,
52
+ "end": 235
53
+ }
54
+ }
55
+ },
56
+ "4016dab7-abd0-42a2-bb51-69c5b617a263.jpg": {
57
+ "original_text": "An image of cecum. There is a yellowish abnormality present, but no polyps, instruments, signs of bleeding, infection, or foreign bodies. The anatomical landmarks are evident, and there are no visible signs of inflammation. The abnormality is located toward the right side of the image.",
58
+ "corrections": "An image of cecum. There are no abnormalities present, no polyps, instruments, signs of bleeding, infection, or foreign bodies. The anatomical landmarks are evident, and there are no visible signs of inflammation.",
59
+ "annotations": {
60
+ "19-65": {
61
+ "text": "There is a yellowish abnormality present, but ",
62
+ "type": "incorrect",
63
+ "start": 19,
64
+ "end": 65
65
+ },
66
+ "65-223": {
67
+ "text": "no polyps, instruments, signs of bleeding, infection, or foreign bodies. The anatomical landmarks are evident, and there are no visible signs of inflammation.",
68
+ "type": "correct",
69
+ "start": 65,
70
+ "end": 223
71
+ },
72
+ "0-19": {
73
+ "text": "An image of cecum. ",
74
+ "type": "correct",
75
+ "start": 0,
76
+ "end": 19
77
+ },
78
+ "224-286": {
79
+ "text": "The abnormality is located toward the right side of the image.",
80
+ "type": "incorrect",
81
+ "start": 224,
82
+ "end": 286
83
+ }
84
+ }
85
+ },
86
+ "d74a5fc4-5e4f-4c50-ba13-4ea06206e610.jpg": {
87
+ "original_text": "An image of cecum. There is a visible abnormality that is dark-colored. The anatomical landmark is reddish and there are no polyps, instruments, or signs of bleeding, infection, or foreign bodies. The abnormality is centrally located and there are indications of inflammation.",
88
+ "corrections": "An image of cecum. There is no visible abnormality. The anatomical landmark is reddish and there are no polyps, instruments, or signs of bleeding, infection, or foreign bodies. The appendix opening is centrally located and there are no indications of inflammation.",
89
+ "annotations": {
90
+ "197-276": {
91
+ "text": "The abnormality is centrally located and there are indications of inflammation.",
92
+ "type": "incorrect",
93
+ "start": 197,
94
+ "end": 276
95
+ },
96
+ "19-71": {
97
+ "text": "There is a visible abnormality that is dark-colored.",
98
+ "type": "incorrect",
99
+ "start": 19,
100
+ "end": 71
101
+ },
102
+ "72-196": {
103
+ "text": "The anatomical landmark is reddish and there are no polyps, instruments, or signs of bleeding, infection, or foreign bodies.",
104
+ "type": "correct",
105
+ "start": 72,
106
+ "end": 196
107
+ },
108
+ "0-18": {
109
+ "text": "An image of cecum.",
110
+ "type": "correct",
111
+ "start": 0,
112
+ "end": 18
113
+ }
114
+ }
115
+ },
116
+ "afb4a8bd-1866-4ef9-86e0-b88c3d9818ce.jpg": {
117
+ "original_text": "An image of cecum. There is an abnormality that appears to be yellow, located centrally. There are no visible polyps, inflammation, bleeding, or foreign bodies. Anatomical landmarks are evident, and one instrument is seen in the insert image, with no signs of infection.",
118
+ "corrections": "An image of cecum. There is fecal remains(not abnormal) that appears to be yellow, located centrally. There are no visible polyps, inflammation, bleeding, or foreign bodies. Anatomical landmarks are evident, and one instrument is seen in the insert image, with no signs of infection.",
119
+ "annotations": {
120
+ "0-18": {
121
+ "text": "An image of cecum.",
122
+ "type": "correct",
123
+ "start": 0,
124
+ "end": 18
125
+ },
126
+ "18-88": {
127
+ "text": " There is an abnormality that appears to be yellow, located centrally.",
128
+ "type": "incorrect",
129
+ "start": 18,
130
+ "end": 88
131
+ },
132
+ "88-160": {
133
+ "text": " There are no visible polyps, inflammation, bleeding, or foreign bodies.",
134
+ "type": "correct",
135
+ "start": 88,
136
+ "end": 160
137
+ },
138
+ "161-270": {
139
+ "text": "Anatomical landmarks are evident, and one instrument is seen in the insert image, with no signs of infection.",
140
+ "type": "correct",
141
+ "start": 161,
142
+ "end": 270
143
+ }
144
+ }
145
+ },
146
+ "1f6ad53d-5fe7-4abb-abc0-6b8acb4692d6.jpg": {
147
+ "original_text": "An image of pylorus. There is a yellow abnormality, possibly signs of inflammation but no polyps or instruments visible. The anatomical landmark is pink. There are no obvious signs of bleeding, infection, or foreign bodies.",
148
+ "corrections": "An image of cecum. There is a yellow abnormality, possibly signs of inflammation but no polyps or instruments visible. The anatomical landmark is pink. There are no obvious signs of bleeding, infection, or foreign bodies.",
149
+ "annotations": {
150
+ "0-20": {
151
+ "text": "An image of pylorus.",
152
+ "type": "incorrect",
153
+ "start": 0,
154
+ "end": 20
155
+ },
156
+ "21-120": {
157
+ "text": "There is a yellow abnormality, possibly signs of inflammation but no polyps or instruments visible.",
158
+ "type": "correct",
159
+ "start": 21,
160
+ "end": 120
161
+ },
162
+ "121-153": {
163
+ "text": "The anatomical landmark is pink.",
164
+ "type": "correct",
165
+ "start": 121,
166
+ "end": 153
167
+ },
168
+ "154-223": {
169
+ "text": "There are no obvious signs of bleeding, infection, or foreign bodies.",
170
+ "type": "correct",
171
+ "start": 154,
172
+ "end": 223
173
+ }
174
+ }
175
+ },
176
+ "02f88968-7b55-468b-ae66-a0458c7d874f.jpg": {
177
+ "original_text": "An image of cecum. The mucosal surface is pinkish without any evident polyps or foreign bodies. There are no clear signs of abnormalities, inflammation, or infection, and no bleeding is visible. No anatomical landmarks or instruments are present in the image.",
178
+ "corrections": "An image of cecum. The mucosal surface is pinkish without any evident polyps or foreign bodies. There are no clear signs of abnormalities, inflammation, or infection, and no bleeding is visible. No instruments are present in the image.",
179
+ "annotations": {
180
+ "0-18": {
181
+ "text": "An image of cecum.",
182
+ "type": "correct",
183
+ "start": 0,
184
+ "end": 18
185
+ },
186
+ "19-95": {
187
+ "text": "The mucosal surface is pinkish without any evident polyps or foreign bodies.",
188
+ "type": "correct",
189
+ "start": 19,
190
+ "end": 95
191
+ },
192
+ "96-195": {
193
+ "text": "There are no clear signs of abnormalities, inflammation, or infection, and no bleeding is visible. ",
194
+ "type": "correct",
195
+ "start": 96,
196
+ "end": 195
197
+ },
198
+ "195-259": {
199
+ "text": "No anatomical landmarks or instruments are present in the image.",
200
+ "type": "correct",
201
+ "start": 195,
202
+ "end": 259
203
+ }
204
+ }
205
+ },
206
+ "561cc7f3-763c-42cf-b0f3-9e8909b0bf98.jpg": {
207
+ "original_text": "An image of cecum. There is an abnormality present, which is polyp; brown in color. The surrounding anatomical landmark tissue is pinkish. There is one brown polyp in the center. There are no visible signs of inflammation, bleeding, infection, or foreign bodies. No instruments are visible in the image.",
208
+ "corrections": "An image of cecum. There isn't any abnormality present. The surrounding anatomical landmark tissue is pinkish. There is appendix opening in the center. There are no visible signs of inflammation, bleeding, infection, or foreign bodies. No instruments are visible in the image.",
209
+ "annotations": {
210
+ "0-19": {
211
+ "text": "An image of cecum. ",
212
+ "type": "correct",
213
+ "start": 0,
214
+ "end": 19
215
+ },
216
+ "19-83": {
217
+ "text": "There is an abnormality present, which is polyp; brown in color.",
218
+ "type": "incorrect",
219
+ "start": 19,
220
+ "end": 83
221
+ },
222
+ "84-138": {
223
+ "text": "The surrounding anatomical landmark tissue is pinkish.",
224
+ "type": "correct",
225
+ "start": 84,
226
+ "end": 138
227
+ },
228
+ "138-178": {
229
+ "text": " There is one brown polyp in the center.",
230
+ "type": "incorrect",
231
+ "start": 138,
232
+ "end": 178
233
+ },
234
+ "263-303": {
235
+ "text": "No instruments are visible in the image.",
236
+ "type": "correct",
237
+ "start": 263,
238
+ "end": 303
239
+ },
240
+ "179-263": {
241
+ "text": "There are no visible signs of inflammation, bleeding, infection, or foreign bodies. ",
242
+ "type": "correct",
243
+ "start": 179,
244
+ "end": 263
245
+ }
246
+ }
247
+ },
248
+ "0233c35c-0bfd-4105-9756-7701de5f4901.jpg": {
249
+ "original_text": "An image of cecum. The abnormality, inflammation, bleeding, polyps, foreign bodies, and signs of infection are not present. The anatomical landmark is normal-colored, likely pink, which is typical for internal tissue. There are no instruments visible in the image.",
250
+ "corrections": "An image of cecum. The abnormality, inflammation, bleeding, polyps, foreign bodies, and signs of infection are not present. The anatomical landmark is normal-colored, likely pink, which is cecum. There are no instruments visible in the image.",
251
+ "annotations": {
252
+ "0-18": {
253
+ "text": "An image of cecum.",
254
+ "type": "correct",
255
+ "start": 0,
256
+ "end": 18
257
+ },
258
+ "218-264": {
259
+ "text": "There are no instruments visible in the image.",
260
+ "type": "correct",
261
+ "start": 218,
262
+ "end": 264
263
+ },
264
+ "19-124": {
265
+ "text": "The abnormality, inflammation, bleeding, polyps, foreign bodies, and signs of infection are not present. ",
266
+ "type": "correct",
267
+ "start": 19,
268
+ "end": 124
269
+ },
270
+ "124-218": {
271
+ "text": "The anatomical landmark is normal-colored, likely pink, which is typical for internal tissue. ",
272
+ "type": "correct",
273
+ "start": 124,
274
+ "end": 218
275
+ }
276
+ }
277
+ },
278
+ "5e73a118-4d47-495e-bd89-98df4c156533.jpg": {
279
+ "original_text": "An image of pylorus. There is a small, dark-colored abnormality present, possibly a polyp, but no clear signs of inflammation, bleeding, or infection. There are no instruments or foreign bodies visible. Anatomical landmarks are present, but no polyps or signs of infection mentioned.",
280
+ "corrections": "An image of cecum. No clear signs of inflammation, bleeding, or infection. There are no instruments or foreign bodies visible. Anatomical landmarks are present, but no polyps or signs of infection mentioned.",
281
+ "annotations": {
282
+ "0-21": {
283
+ "text": "An image of pylorus. ",
284
+ "type": "incorrect",
285
+ "start": 0,
286
+ "end": 21
287
+ },
288
+ "21-94": {
289
+ "text": "There is a small, dark-colored abnormality present, possibly a polyp, but",
290
+ "type": "incorrect",
291
+ "start": 21,
292
+ "end": 94
293
+ },
294
+ "203-283": {
295
+ "text": "Anatomical landmarks are present, but no polyps or signs of infection mentioned.",
296
+ "type": "correct",
297
+ "start": 203,
298
+ "end": 283
299
+ },
300
+ "94-150": {
301
+ "text": " no clear signs of inflammation, bleeding, or infection.",
302
+ "type": "correct",
303
+ "start": 94,
304
+ "end": 150
305
+ },
306
+ "151-202": {
307
+ "text": "There are no instruments or foreign bodies visible.",
308
+ "type": "correct",
309
+ "start": 151,
310
+ "end": 202
311
+ }
312
+ }
313
+ },
314
+ "6784a1ec-e4a5-4440-b472-ca99e1cf5533.jpg": {
315
+ "original_text": "An image of cecum. There are no visible abnormalities, polyps, instruments, or foreign bodies. The tissue exhibits signs of inflammation with a reddish hue, but there is no evidence of bleeding or infection. An anatomical landmark is not distinctly identifiable.",
316
+ "corrections": "An image of cecum. There are no visible abnormalities, polyps, instruments, or foreign bodies. There are no signs of inflammation . there is no evidence of bleeding or infection. An anatomical landmark is cecum.",
317
+ "annotations": {
318
+ "95-207": {
319
+ "text": "The tissue exhibits signs of inflammation with a reddish hue, but there is no evidence of bleeding or infection.",
320
+ "type": "incorrect",
321
+ "start": 95,
322
+ "end": 207
323
+ },
324
+ "207-262": {
325
+ "text": " An anatomical landmark is not distinctly identifiable.",
326
+ "type": "correct",
327
+ "start": 207,
328
+ "end": 262
329
+ },
330
+ "0-18": {
331
+ "text": "An image of cecum.",
332
+ "type": "correct",
333
+ "start": 0,
334
+ "end": 18
335
+ },
336
+ "18-94": {
337
+ "text": " There are no visible abnormalities, polyps, instruments, or foreign bodies.",
338
+ "type": "correct",
339
+ "start": 18,
340
+ "end": 94
341
+ }
342
+ }
343
+ },
344
+ "6591212c-eebc-4796-af9e-cf7b5ad4457d.jpg": {
345
+ "original_text": "An image of cecum. There are no polyps, instruments, signs of inflammation, bleeding, foreign bodies, or infection present. The prominent anatomical landmark is the surrounding intestinal wall.",
346
+ "corrections": "An image of cecum. There are no polyps, instruments, signs of inflammation, bleeding, foreign bodies, or infection present. The prominent anatomical landmark is the surrounding intestinal wall.",
347
+ "annotations": {
348
+ "0-18": {
349
+ "text": "An image of cecum.",
350
+ "type": "correct",
351
+ "start": 0,
352
+ "end": 18
353
+ },
354
+ "19-123": {
355
+ "text": "There are no polyps, instruments, signs of inflammation, bleeding, foreign bodies, or infection present.",
356
+ "type": "correct",
357
+ "start": 19,
358
+ "end": 123
359
+ },
360
+ "124-193": {
361
+ "text": "The prominent anatomical landmark is the surrounding intestinal wall.",
362
+ "type": "correct",
363
+ "start": 124,
364
+ "end": 193
365
+ }
366
+ }
367
+ },
368
+ "2da55236-f756-492f-96c2-4a3cb49a82fb.jpg": {
369
+ "original_text": "An image of pylorus. The abnormality, if present, is not obvious. The anatomical landmarks are generally normal in color. There are no visible polyps, instruments, signs of inflammation, infection, or bleeding, and no foreign bodies are evident.",
370
+ "corrections": "An image of cecum. There areno abnormalitis . The anatomical landmarks are generally normal in color. There are no visible polyps, instruments, signs of inflammation, infection, or bleeding, and no foreign bodies are evident.",
371
+ "annotations": {
372
+ "0-20": {
373
+ "text": "An image of pylorus.",
374
+ "type": "incorrect",
375
+ "start": 0,
376
+ "end": 20
377
+ },
378
+ "21-66": {
379
+ "text": "The abnormality, if present, is not obvious. ",
380
+ "type": "incorrect",
381
+ "start": 21,
382
+ "end": 66
383
+ },
384
+ "66-121": {
385
+ "text": "The anatomical landmarks are generally normal in color.",
386
+ "type": "correct",
387
+ "start": 66,
388
+ "end": 121
389
+ },
390
+ "122-245": {
391
+ "text": "There are no visible polyps, instruments, signs of inflammation, infection, or bleeding, and no foreign bodies are evident.",
392
+ "type": "correct",
393
+ "start": 122,
394
+ "end": 245
395
+ }
396
+ }
397
+ },
398
+ "32f1e163-9019-43e5-a2e8-54be53402202.jpg": {
399
+ "original_text": "An image of cecum. There is an abnormality visible, colored orange-yellow, located centrally. No polyps, instruments, bleeding, or foreign bodies present. The anatomical landmark is pinkish. Signs of inflammation and infection are absent.",
400
+ "corrections": "An image of cecum. There is no an abnormality visible, colored orange-yellow is fecal remains, located centrally. No polyps, instruments, bleeding, or foreign bodies present. The anatomical landmark is pinkish. Signs of inflammation and infection are absent.",
401
+ "annotations": {
402
+ "0-19": {
403
+ "text": "An image of cecum. ",
404
+ "type": "correct",
405
+ "start": 0,
406
+ "end": 19
407
+ },
408
+ "19-93": {
409
+ "text": "There is an abnormality visible, colored orange-yellow, located centrally.",
410
+ "type": "incorrect",
411
+ "start": 19,
412
+ "end": 93
413
+ },
414
+ "94-154": {
415
+ "text": "No polyps, instruments, bleeding, or foreign bodies present.",
416
+ "type": "correct",
417
+ "start": 94,
418
+ "end": 154
419
+ },
420
+ "191-238": {
421
+ "text": "Signs of inflammation and infection are absent.",
422
+ "type": "correct",
423
+ "start": 191,
424
+ "end": 238
425
+ },
426
+ "155-191": {
427
+ "text": "The anatomical landmark is pinkish. ",
428
+ "type": "correct",
429
+ "start": 155,
430
+ "end": 191
431
+ }
432
+ }
433
+ },
434
+ "4982f08b-975e-4570-8674-eeed7dca5f05.jpg": {
435
+ "original_text": "An image of pylorus. Abnormalities, potentially signs of inflammation or infection, are yellow. The anatomical landmarks are pink. There are no polyps, instruments, signs of bleeding, or foreign bodies present. The yellow abnormalities are dispersed across the mucosal surface.",
436
+ "corrections": "An image of cecum. No Abnormalities or signs of inflammation or infection. The anatomical landmarks are pink. There are no polyps, instruments, signs of bleeding, or foreign bodies present. ",
437
+ "annotations": {
438
+ "211-277": {
439
+ "text": "The yellow abnormalities are dispersed across the mucosal surface.",
440
+ "type": "correct",
441
+ "start": 211,
442
+ "end": 277
443
+ },
444
+ "96-210": {
445
+ "text": "The anatomical landmarks are pink. There are no polyps, instruments, signs of bleeding, or foreign bodies present.",
446
+ "type": "correct",
447
+ "start": 96,
448
+ "end": 210
449
+ },
450
+ "20-95": {
451
+ "text": " Abnormalities, potentially signs of inflammation or infection, are yellow.",
452
+ "type": "incorrect",
453
+ "start": 20,
454
+ "end": 95
455
+ },
456
+ "0-20": {
457
+ "text": "An image of pylorus.",
458
+ "type": "incorrect",
459
+ "start": 0,
460
+ "end": 20
461
+ }
462
+ }
463
+ },
464
+ "40d1b2ec-9b28-40cd-8996-0d06492351ef.jpg": {
465
+ "original_text": "An image of cecum. There are no visible abnormalities, polyps, signs of inflammation, bleeding, infection, or foreign bodies. The anatomical landmark is a reddish-pink mucosal surface, and there are no instruments present in the image.",
466
+ "corrections": "An image of cecum. There are no visible abnormalities, polyps, signs of inflammation, bleeding, infection, or foreign bodies. There are no instruments present in the image.",
467
+ "annotations": {
468
+ "0-19": {
469
+ "text": "An image of cecum. ",
470
+ "type": "correct",
471
+ "start": 0,
472
+ "end": 19
473
+ },
474
+ "19-125": {
475
+ "text": "There are no visible abnormalities, polyps, signs of inflammation, bleeding, infection, or foreign bodies.",
476
+ "type": "correct",
477
+ "start": 19,
478
+ "end": 125
479
+ },
480
+ "126-235": {
481
+ "text": "The anatomical landmark is a reddish-pink mucosal surface, and there are no instruments present in the image.",
482
+ "type": "correct",
483
+ "start": 126,
484
+ "end": 235
485
+ }
486
+ }
487
+ },
488
+ "e8a4ffdc-4d9d-4aef-80c0-a599615ac53d.jpg": {
489
+ "original_text": "An image of cecum. There are no visible abnormalities, polyps, signs of inflammation, evidence of bleeding, or foreign bodies. The anatomical landmark visible is a part of the gastrointestinal tract and is typically reddish in color. No instruments are present in the image.",
490
+ "corrections": "An image of cecum. There are no visible abnormalities, polyps, signs of inflammation, evidence of bleeding, or foreign bodies. The anatomical landmark visible is a part of cecum. No instruments are present in the image.",
491
+ "annotations": {
492
+ "127-233": {
493
+ "text": "The anatomical landmark visible is a part of the gastrointestinal tract and is typically reddish in color.",
494
+ "type": "incorrect",
495
+ "start": 127,
496
+ "end": 233
497
+ },
498
+ "233-274": {
499
+ "text": " No instruments are present in the image.",
500
+ "type": "correct",
501
+ "start": 233,
502
+ "end": 274
503
+ },
504
+ "0-18": {
505
+ "text": "An image of cecum.",
506
+ "type": "correct",
507
+ "start": 0,
508
+ "end": 18
509
+ },
510
+ "19-126": {
511
+ "text": "There are no visible abnormalities, polyps, signs of inflammation, evidence of bleeding, or foreign bodies.",
512
+ "type": "correct",
513
+ "start": 19,
514
+ "end": 126
515
+ }
516
+ }
517
+ },
518
+ "83531089-a10a-4ab8-9143-3f8874aef824.jpg": {
519
+ "original_text": "An image of cecum. There are no visible abnormalities, polyps, signs of inflammation, bleeding, or infection. The anatomical landmark is pink in color. One instrument is visible in the lower left corner. There are no foreign bodies present.",
520
+ "corrections": "An image of cecum. There are no visible abnormalities, polyps, signs of inflammation, bleeding, or infection. The anatomical landmark is pink in color. No instrument . There are no foreign bodies present.",
521
+ "annotations": {
522
+ "152-204": {
523
+ "text": "One instrument is visible in the lower left corner. ",
524
+ "type": "incorrect",
525
+ "start": 152,
526
+ "end": 204
527
+ },
528
+ "204-240": {
529
+ "text": "There are no foreign bodies present.",
530
+ "type": "correct",
531
+ "start": 204,
532
+ "end": 240
533
+ },
534
+ "19-109": {
535
+ "text": "There are no visible abnormalities, polyps, signs of inflammation, bleeding, or infection.",
536
+ "type": "correct",
537
+ "start": 19,
538
+ "end": 109
539
+ },
540
+ "110-151": {
541
+ "text": "The anatomical landmark is pink in color.",
542
+ "type": "correct",
543
+ "start": 110,
544
+ "end": 151
545
+ },
546
+ "0-18": {
547
+ "text": "An image of cecum.",
548
+ "type": "correct",
549
+ "start": 0,
550
+ "end": 18
551
+ }
552
+ }
553
+ },
554
+ "820ebb5f-9327-4969-8ff9-de625d82db3e.jpg": {
555
+ "original_text": "An image of cecum. There is a yellow abnormality present on the surface. The anatomical landmark appears to be light pink. No polyps were observed. The abnormality is at the center-bottom of the image. No instruments, inflammation, bleeding, foreign bodies, or signs of infection were identified.",
556
+ "corrections": "An image of cecum. The anatomical landmark appears to be light pink. No polyps were observed. No instruments, inflammation, bleeding, foreign bodies, or signs of infection were identified.",
557
+ "annotations": {
558
+ "0-19": {
559
+ "text": "An image of cecum. ",
560
+ "type": "correct",
561
+ "start": 0,
562
+ "end": 19
563
+ },
564
+ "19-72": {
565
+ "text": "There is a yellow abnormality present on the surface.",
566
+ "type": "incorrect",
567
+ "start": 19,
568
+ "end": 72
569
+ },
570
+ "72-148": {
571
+ "text": " The anatomical landmark appears to be light pink. No polyps were observed. ",
572
+ "type": "correct",
573
+ "start": 72,
574
+ "end": 148
575
+ },
576
+ "148-202": {
577
+ "text": "The abnormality is at the center-bottom of the image. ",
578
+ "type": "incorrect",
579
+ "start": 148,
580
+ "end": 202
581
+ },
582
+ "202-296": {
583
+ "text": "No instruments, inflammation, bleeding, foreign bodies, or signs of infection were identified.",
584
+ "type": "correct",
585
+ "start": 202,
586
+ "end": 296
587
+ }
588
+ }
589
+ },
590
+ "1030eb9b-4bb4-494b-be3a-42dd71b262fa.jpg": {
591
+ "original_text": "An image of cecum. The abnormality is not clearly visible, and no polyps are present. The anatomical landmark is red, and there are no instruments, signs of inflammation, bleeding, foreign bodies, or infection visible in the image.",
592
+ "corrections": "An image of cecum. The abnormality is not clearly visible, and no polyps are present. The anatomical landmark is red, and there are no instruments, signs of inflammation, bleeding, foreign bodies, or infection visible in the image.",
593
+ "annotations": {
594
+ "0-18": {
595
+ "text": "An image of cecum.",
596
+ "type": "correct",
597
+ "start": 0,
598
+ "end": 18
599
+ },
600
+ "19-85": {
601
+ "text": "The abnormality is not clearly visible, and no polyps are present.",
602
+ "type": "correct",
603
+ "start": 19,
604
+ "end": 85
605
+ },
606
+ "86-231": {
607
+ "text": "The anatomical landmark is red, and there are no instruments, signs of inflammation, bleeding, foreign bodies, or infection visible in the image.",
608
+ "type": "correct",
609
+ "start": 86,
610
+ "end": 231
611
+ }
612
+ }
613
+ },
614
+ "7cd6e447-1567-4153-bde1-9e38d5f929fb.jpg": {
615
+ "original_text": "An image of cecum. There is no visible abnormality, polyps, inflammation, bleeding, infection, or foreign bodies. The anatomical landmark is primarily reddish-brown. No instruments are present in the image.",
616
+ "corrections": "An image of cecum. There is no visible abnormality, polyps, inflammation, bleeding, infection, or foreign bodies. No instruments are present in the image.",
617
+ "annotations": {
618
+ "166-206": {
619
+ "text": "No instruments are present in the image.",
620
+ "type": "correct",
621
+ "start": 166,
622
+ "end": 206
623
+ },
624
+ "114-165": {
625
+ "text": "The anatomical landmark is primarily reddish-brown.",
626
+ "type": "incorrect",
627
+ "start": 114,
628
+ "end": 165
629
+ },
630
+ "19-112": {
631
+ "text": "There is no visible abnormality, polyps, inflammation, bleeding, infection, or foreign bodies",
632
+ "type": "correct",
633
+ "start": 19,
634
+ "end": 112
635
+ },
636
+ "0-18": {
637
+ "text": "An image of cecum.",
638
+ "type": "correct",
639
+ "start": 0,
640
+ "end": 18
641
+ }
642
+ }
643
+ },
644
+ "53067fc1-44d0-4023-a2a9-af6b31b4c3f8.jpg": {
645
+ "original_text": "An image of pylorus. The anatomical landmarks and no abnormalities, polyps, instruments, inflammation, bleeding, signs of infection, or foreign bodies are present.",
646
+ "corrections": "An image of cecum. There are no abnormalities, polyps, instruments, inflammation, bleeding, signs of infection, or foreign bodies are present.",
647
+ "annotations": {
648
+ "0-20": {
649
+ "text": "An image of pylorus.",
650
+ "type": "incorrect",
651
+ "start": 0,
652
+ "end": 20
653
+ },
654
+ "21-163": {
655
+ "text": "The anatomical landmarks and no abnormalities, polyps, instruments, inflammation, bleeding, signs of infection, or foreign bodies are present.",
656
+ "type": "correct",
657
+ "start": 21,
658
+ "end": 163
659
+ }
660
+ }
661
+ },
662
+ "2c28fb94-02ff-45ff-bd5d-155f25fa2b79.jpg": {
663
+ "original_text": "An image of pylorus. No abnormalities, polyps, instruments, inflammation, infection, or foreign bodies are present. The anatomical landmark is of normal color, and there is no evidence of bleeding. The anatomical landmark present is the gastric pylorus.",
664
+ "corrections": "An image of cecum. No abnormalities, polyps, instruments, inflammation, infection, or foreign bodies are present. The anatomical landmark is of normal color, and there is no evidence of bleeding. The anatomical landmark present is cecum .",
665
+ "annotations": {
666
+ "198-253": {
667
+ "text": "The anatomical landmark present is the gastric pylorus.",
668
+ "type": "incorrect",
669
+ "start": 198,
670
+ "end": 253
671
+ },
672
+ "0-20": {
673
+ "text": "An image of pylorus.",
674
+ "type": "incorrect",
675
+ "start": 0,
676
+ "end": 20
677
+ },
678
+ "116-197": {
679
+ "text": "The anatomical landmark is of normal color, and there is no evidence of bleeding.",
680
+ "type": "correct",
681
+ "start": 116,
682
+ "end": 197
683
+ },
684
+ "21-115": {
685
+ "text": "No abnormalities, polyps, instruments, inflammation, infection, or foreign bodies are present.",
686
+ "type": "correct",
687
+ "start": 21,
688
+ "end": 115
689
+ }
690
+ }
691
+ },
692
+ "e2f734eb-4372-43bc-99c8-4f3cb1f464b2.jpg": {
693
+ "original_text": "An image of pylorus. No visible abnormalities, polyps, signs of inflammation, bleeding, infection, or foreign bodies are present. The anatomical landmark is normal in color. No instruments are visible in the image.",
694
+ "corrections": "An image of cecum. No visible abnormalities, polyps, signs of inflammation, bleeding, infection, or foreign bodies are present. The anatomical landmark is normal in color. No instruments are visible in the image.",
695
+ "annotations": {
696
+ "0-20": {
697
+ "text": "An image of pylorus.",
698
+ "type": "incorrect",
699
+ "start": 0,
700
+ "end": 20
701
+ },
702
+ "21-129": {
703
+ "text": "No visible abnormalities, polyps, signs of inflammation, bleeding, infection, or foreign bodies are present.",
704
+ "type": "correct",
705
+ "start": 21,
706
+ "end": 129
707
+ },
708
+ "130-214": {
709
+ "text": "The anatomical landmark is normal in color. No instruments are visible in the image.",
710
+ "type": "correct",
711
+ "start": 130,
712
+ "end": 214
713
+ }
714
+ }
715
+ },
716
+ "158e02a2-d752-4830-a528-ae2a21634b2e.jpg": {
717
+ "original_text": "An image of cecum. There are no visible abnormalities, polyps, instruments, signs of inflammation, bleeding, foreign bodies, or infection present in the image.",
718
+ "corrections": "An image of cecum. There are no visible abnormalities, polyps, instruments, signs of inflammation, bleeding, foreign bodies, or infection present in the image.",
719
+ "annotations": {
720
+ "0-19": {
721
+ "text": "An image of cecum. ",
722
+ "type": "correct",
723
+ "start": 0,
724
+ "end": 19
725
+ },
726
+ "19-159": {
727
+ "text": "There are no visible abnormalities, polyps, instruments, signs of inflammation, bleeding, foreign bodies, or infection present in the image.",
728
+ "type": "correct",
729
+ "start": 19,
730
+ "end": 159
731
+ }
732
+ }
733
+ },
734
+ "8deb863b-7c69-4612-a235-632e14906e8d.jpg": {
735
+ "original_text": "An image of cecum. There is no noticeable abnormality or polyp present. The anatomical landmarks are primarily light yellow and pink. There are no instruments, signs of inflammation, bleeding, foreign bodies, or infection visible in the image.",
736
+ "corrections": "An image of cecum. There is no noticeable abnormality or polyp present. The anatomical landmarks are primarily light yellow and pink. There are no instruments, signs of inflammation, bleeding, foreign bodies, or infection visible in the image.",
737
+ "annotations": {
738
+ "0-19": {
739
+ "text": "An image of cecum. ",
740
+ "type": "correct",
741
+ "start": 0,
742
+ "end": 19
743
+ },
744
+ "19-71": {
745
+ "text": "There is no noticeable abnormality or polyp present.",
746
+ "type": "correct",
747
+ "start": 19,
748
+ "end": 71
749
+ },
750
+ "72-134": {
751
+ "text": "The anatomical landmarks are primarily light yellow and pink. ",
752
+ "type": "correct",
753
+ "start": 72,
754
+ "end": 134
755
+ },
756
+ "134-243": {
757
+ "text": "There are no instruments, signs of inflammation, bleeding, foreign bodies, or infection visible in the image.",
758
+ "type": "correct",
759
+ "start": 134,
760
+ "end": 243
761
+ }
762
+ }
763
+ },
764
+ "0f601b5d-d7ea-4bd1-af97-3fe395620a39.jpg": {
765
+ "original_text": "An image of cecum. There is no noticeable abnormality, polyps, signs of inflammation, bleeding, or infection. The anatomical structure visible is light brown, and no foreign bodies are present. One instrument is visible in the bottom left corner inset.",
766
+ "corrections": "An image of cecum. There is no noticeable abnormality, polyps, signs of inflammation, bleeding, or infection. No foreign bodies are present. No instrument is visible. The anatomical landmark, the cecum is light brown.",
767
+ "annotations": {
768
+ "159-194": {
769
+ "text": "and no foreign bodies are present. ",
770
+ "type": "correct",
771
+ "start": 159,
772
+ "end": 194
773
+ },
774
+ "110-158": {
775
+ "text": "The anatomical structure visible is light brown,",
776
+ "type": "correct",
777
+ "start": 110,
778
+ "end": 158
779
+ },
780
+ "194-252": {
781
+ "text": "One instrument is visible in the bottom left corner inset.",
782
+ "type": "incorrect",
783
+ "start": 194,
784
+ "end": 252
785
+ },
786
+ "19-108": {
787
+ "text": "There is no noticeable abnormality, polyps, signs of inflammation, bleeding, or infection",
788
+ "type": "correct",
789
+ "start": 19,
790
+ "end": 108
791
+ },
792
+ "0-18": {
793
+ "text": "An image of cecum.",
794
+ "type": "correct",
795
+ "start": 0,
796
+ "end": 18
797
+ }
798
+ }
799
+ },
800
+ "61e52f7b-9490-4cc4-8a1a-9bccb38d5db2.jpg": {
801
+ "original_text": "An image of cecum. The abnormality is yellow, located in the upper left corner, with no polyps present. The anatomical landmark is reddish. There are no instruments, signs of inflammation, bleeding, foreign bodies, or signs of infection visible in the image.",
802
+ "corrections": "An image of cecum. There is no visible abnormality, with no polyps present. The anatomical landmark is reddish. There are no instruments, signs of inflammation, bleeding, foreign bodies, or signs of infection visible in the image.",
803
+ "annotations": {
804
+ "0-19": {
805
+ "text": "An image of cecum. ",
806
+ "type": "correct",
807
+ "start": 0,
808
+ "end": 19
809
+ },
810
+ "19-102": {
811
+ "text": "The abnormality is yellow, located in the upper left corner, with no polyps present",
812
+ "type": "incorrect",
813
+ "start": 19,
814
+ "end": 102
815
+ },
816
+ "103-139": {
817
+ "text": " The anatomical landmark is reddish.",
818
+ "type": "correct",
819
+ "start": 103,
820
+ "end": 139
821
+ },
822
+ "140-258": {
823
+ "text": "There are no instruments, signs of inflammation, bleeding, foreign bodies, or signs of infection visible in the image.",
824
+ "type": "correct",
825
+ "start": 140,
826
+ "end": 258
827
+ }
828
+ }
829
+ },
830
+ "c3cc4e95-5ca0-4af2-a17a-5525b9a207a7.jpg": {
831
+ "original_text": "An image of cecum. No polyps, anatomical landmarks, instruments, signs of inflammation, evidence of bleeding, foreign bodies, or infections are present. The abnormality is centrally located in the image.",
832
+ "corrections": "An image of cecum. No polyps, anatomical landmarks, instruments, signs of inflammation, evidence of bleeding, foreign bodies, or infections are present. No abnormality is present.",
833
+ "annotations": {
834
+ "153-203": {
835
+ "text": "The abnormality is centrally located in the image.",
836
+ "type": "incorrect",
837
+ "start": 153,
838
+ "end": 203
839
+ },
840
+ "0-18": {
841
+ "text": "An image of cecum.",
842
+ "type": "correct",
843
+ "start": 0,
844
+ "end": 18
845
+ },
846
+ "19-152": {
847
+ "text": "No polyps, anatomical landmarks, instruments, signs of inflammation, evidence of bleeding, foreign bodies, or infections are present.",
848
+ "type": "correct",
849
+ "start": 19,
850
+ "end": 152
851
+ }
852
+ }
853
+ },
854
+ "bb99fe61-8d52-48e1-ae99-c21a5572d57e.jpg": {
855
+ "original_text": "An image of cecum. There is no clear abnormality present, no polyps are visible, and no anatomical landmarks are identified. The image shows an instrument in the bottom left corner. There are no signs of inflammation, bleeding, infection, or foreign bodies observed.",
856
+ "corrections": "An image of cecum. There is no clear abnormality present, no polyps are visible, and no anatomical landmarks are identified. There are no instruments . There are no signs of inflammation, bleeding, infection, or foreign bodies observed.",
857
+ "annotations": {
858
+ "125-181": {
859
+ "text": "The image shows an instrument in the bottom left corner.",
860
+ "type": "incorrect",
861
+ "start": 125,
862
+ "end": 181
863
+ },
864
+ "181-266": {
865
+ "text": " There are no signs of inflammation, bleeding, infection, or foreign bodies observed.",
866
+ "type": "correct",
867
+ "start": 181,
868
+ "end": 266
869
+ },
870
+ "0-19": {
871
+ "text": "An image of cecum. ",
872
+ "type": "correct",
873
+ "start": 0,
874
+ "end": 19
875
+ },
876
+ "19-124": {
877
+ "text": "There is no clear abnormality present, no polyps are visible, and no anatomical landmarks are identified.",
878
+ "type": "correct",
879
+ "start": 19,
880
+ "end": 124
881
+ }
882
+ }
883
+ },
884
+ "1e2720c4-d073-4335-9315-3745f36df90e.jpg": {
885
+ "original_text": "An image of cecum. The anatomical landmark is primarily pink. There is no visible abnormality, polyps, inflammation, bleeding, foreign bodies, or signs of infection present. There are no instruments in the image.",
886
+ "corrections": "An image of cecum. There is no visible abnormality, polyps, inflammation, bleeding, foreign bodies, or signs of infection present. There are no instruments in the image.",
887
+ "annotations": {
888
+ "0-18": {
889
+ "text": "An image of cecum.",
890
+ "type": "correct",
891
+ "start": 0,
892
+ "end": 18
893
+ },
894
+ "62-174": {
895
+ "text": "There is no visible abnormality, polyps, inflammation, bleeding, foreign bodies, or signs of infection present. ",
896
+ "type": "correct",
897
+ "start": 62,
898
+ "end": 174
899
+ },
900
+ "174-212": {
901
+ "text": "There are no instruments in the image.",
902
+ "type": "correct",
903
+ "start": 174,
904
+ "end": 212
905
+ },
906
+ "18-61": {
907
+ "text": " The anatomical landmark is primarily pink.",
908
+ "type": "correct",
909
+ "start": 18,
910
+ "end": 61
911
+ }
912
+ }
913
+ },
914
+ "791da276-ec04-4592-a20b-7f8431572676.jpg": {
915
+ "original_text": "An image of cecum. The abnormality, if present, is yellowish. The anatomical landmarks are also visible. No polyps are present. The abnormality appears on the upper part of the image. There are no signs of inflammation, bleeding, foreign bodies, or infection. No instruments are visible.",
916
+ "corrections": "An image of cecum. There are no abnormalities. The anatomical landmarks are visible. No polyps are present. There are no signs of inflammation, bleeding, foreign bodies, or infection. No instruments are visible.",
917
+ "annotations": {
918
+ "128-183": {
919
+ "text": "The abnormality appears on the upper part of the image.",
920
+ "type": "incorrect",
921
+ "start": 128,
922
+ "end": 183
923
+ },
924
+ "183-287": {
925
+ "text": " There are no signs of inflammation, bleeding, foreign bodies, or infection. No instruments are visible.",
926
+ "type": "correct",
927
+ "start": 183,
928
+ "end": 287
929
+ },
930
+ "0-18": {
931
+ "text": "An image of cecum.",
932
+ "type": "correct",
933
+ "start": 0,
934
+ "end": 18
935
+ },
936
+ "19-61": {
937
+ "text": "The abnormality, if present, is yellowish.",
938
+ "type": "incorrect",
939
+ "start": 19,
940
+ "end": 61
941
+ },
942
+ "62-104": {
943
+ "text": "The anatomical landmarks are also visible.",
944
+ "type": "correct",
945
+ "start": 62,
946
+ "end": 104
947
+ },
948
+ "105-127": {
949
+ "text": "No polyps are present.",
950
+ "type": "correct",
951
+ "start": 105,
952
+ "end": 127
953
+ }
954
+ }
955
+ },
956
+ "7b3622e1-36c5-4d70-8742-3c14c7936f26.jpg": {
957
+ "original_text": "An image of cecum. There are no visible abnormalities, polyps, instruments, signs of inflammation, bleeding, foreign bodies, or infection present in the image.",
958
+ "corrections": "An image of cecum. There are no visible abnormalities, polyps, instruments, signs of inflammation, bleeding, foreign bodies, or infection present in the image.",
959
+ "annotations": {
960
+ "0-19": {
961
+ "text": "An image of cecum. ",
962
+ "type": "correct",
963
+ "start": 0,
964
+ "end": 19
965
+ },
966
+ "19-159": {
967
+ "text": "There are no visible abnormalities, polyps, instruments, signs of inflammation, bleeding, foreign bodies, or infection present in the image.",
968
+ "type": "correct",
969
+ "start": 19,
970
+ "end": 159
971
+ }
972
+ }
973
+ },
974
+ "fc1c7f84-220f-4f26-b9ba-3674b01e4207.jpg": {
975
+ "original_text": "An image of cecum. The primary color visible is a normal reddish-orange mucosal tone, indicating no visible abnormalities, polyps, instruments, signs of inflammation, or bleeding. There are no foreign bodies or signs of infection, and no specific anatomical landmarks or instruments are identifiable in the image.",
976
+ "corrections": "An image of cecum. The primary color visible is a normal reddish-orange mucosal tone, indicating no visible abnormalities, polyps, instruments, signs of inflammation, or bleeding. There are no foreign bodies, signs of infection or instruments are identifiable in the image.",
977
+ "annotations": {
978
+ "0-19": {
979
+ "text": "An image of cecum. ",
980
+ "type": "correct",
981
+ "start": 0,
982
+ "end": 19
983
+ },
984
+ "19-179": {
985
+ "text": "The primary color visible is a normal reddish-orange mucosal tone, indicating no visible abnormalities, polyps, instruments, signs of inflammation, or bleeding.",
986
+ "type": "correct",
987
+ "start": 19,
988
+ "end": 179
989
+ },
990
+ "180-313": {
991
+ "text": "There are no foreign bodies or signs of infection, and no specific anatomical landmarks or instruments are identifiable in the image.",
992
+ "type": "correct",
993
+ "start": 180,
994
+ "end": 313
995
+ }
996
+ }
997
+ },
998
+ "0c192d17-18ae-4731-bbb5-1117b8576466.jpg": {
999
+ "original_text": "An image of cecum. No clear abnormalities or polyps are visible. The anatomical landmarks are pink. There is no evidence of inflammation, infection, bleeding, or foreign bodies. No instruments are present in the image.",
1000
+ "corrections": "An image of cecum. No clear abnormalities or polyps are visible. The anatomical landmarks are pink. There is no evidence of inflammation, infection, bleeding, or foreign bodies. No instruments are present in the image.",
1001
+ "annotations": {
1002
+ "0-18": {
1003
+ "text": "An image of cecum.",
1004
+ "type": "correct",
1005
+ "start": 0,
1006
+ "end": 18
1007
+ },
1008
+ "18-65": {
1009
+ "text": " No clear abnormalities or polyps are visible. ",
1010
+ "type": "correct",
1011
+ "start": 18,
1012
+ "end": 65
1013
+ },
1014
+ "65-100": {
1015
+ "text": "The anatomical landmarks are pink. ",
1016
+ "type": "correct",
1017
+ "start": 65,
1018
+ "end": 100
1019
+ },
1020
+ "100-177": {
1021
+ "text": "There is no evidence of inflammation, infection, bleeding, or foreign bodies.",
1022
+ "type": "correct",
1023
+ "start": 100,
1024
+ "end": 177
1025
+ },
1026
+ "178-218": {
1027
+ "text": "No instruments are present in the image.",
1028
+ "type": "correct",
1029
+ "start": 178,
1030
+ "end": 218
1031
+ }
1032
+ }
1033
+ },
1034
+ "00b99f19-2c31-4c7c-931a-4c3b38d70d1a.jpg": {
1035
+ "original_text": "An image of cecum. There are no visible abnormalities, polyps, instruments, signs of inflammation, bleeding, infection, or foreign bodies. The anatomical landmark is pinkish in color, and no abnormalities are apparent in the image.",
1036
+ "corrections": "An image of cecum. There are no visible abnormalities, polyps, instruments, signs of inflammation, bleeding, infection, or foreign bodies. The anatomical landmark is pinkish in color, and no abnormalities are apparent in the image.",
1037
+ "annotations": {
1038
+ "0-18": {
1039
+ "text": "An image of cecum.",
1040
+ "type": "correct",
1041
+ "start": 0,
1042
+ "end": 18
1043
+ },
1044
+ "19-139": {
1045
+ "text": "There are no visible abnormalities, polyps, instruments, signs of inflammation, bleeding, infection, or foreign bodies. ",
1046
+ "type": "correct",
1047
+ "start": 19,
1048
+ "end": 139
1049
+ },
1050
+ "139-231": {
1051
+ "text": "The anatomical landmark is pinkish in color, and no abnormalities are apparent in the image.",
1052
+ "type": "correct",
1053
+ "start": 139,
1054
+ "end": 231
1055
+ }
1056
+ }
1057
+ },
1058
+ "831db0a8-17a5-4d31-ba13-135c81a46b25.jpg": {
1059
+ "original_text": "An image of cecum. No abnormalities, polyps, or signs of inflammation, infection, or bleeding are present. The anatomical landmark is brown in color and no instruments or foreign bodies are visible in the image.",
1060
+ "corrections": "An image of cecum. No abnormalities, polyps, or signs of inflammation, infection, or bleeding are present. No instruments or foreign bodies are visible in the image.",
1061
+ "annotations": {
1062
+ "0-18": {
1063
+ "text": "An image of cecum.",
1064
+ "type": "correct",
1065
+ "start": 0,
1066
+ "end": 18
1067
+ },
1068
+ "19-106": {
1069
+ "text": "No abnormalities, polyps, or signs of inflammation, infection, or bleeding are present.",
1070
+ "type": "correct",
1071
+ "start": 19,
1072
+ "end": 106
1073
+ },
1074
+ "107-211": {
1075
+ "text": "The anatomical landmark is brown in color and no instruments or foreign bodies are visible in the image.",
1076
+ "type": "correct",
1077
+ "start": 107,
1078
+ "end": 211
1079
+ }
1080
+ }
1081
+ },
1082
+ "4ef52d45-8595-4700-ab03-b11406cd197c.jpg": {
1083
+ "original_text": "An image of pylorus. An abnormality, a pale yellow lesion, is present on the left. The anatomical landmark, the colon wall, is reddish. One polyp is visible. No instruments, signs of inflammation, bleeding, foreign bodies, or infection are apparent in the image.",
1084
+ "corrections": "An image of cecumus. There are no abnormalities. The anatomical landmark, the pylorus, is reddish. No polyp is visible. No instruments, signs of inflammation, bleeding, foreign bodies, or infection are apparent in the image.",
1085
+ "annotations": {
1086
+ "0-20": {
1087
+ "text": "An image of pylorus.",
1088
+ "type": "incorrect",
1089
+ "start": 0,
1090
+ "end": 20
1091
+ },
1092
+ "136-158": {
1093
+ "text": "One polyp is visible. ",
1094
+ "type": "incorrect",
1095
+ "start": 136,
1096
+ "end": 158
1097
+ },
1098
+ "83-134": {
1099
+ "text": "The anatomical landmark, the colon wall, is reddish",
1100
+ "type": "incorrect",
1101
+ "start": 83,
1102
+ "end": 134
1103
+ },
1104
+ "158-262": {
1105
+ "text": "No instruments, signs of inflammation, bleeding, foreign bodies, or infection are apparent in the image.",
1106
+ "type": "correct",
1107
+ "start": 158,
1108
+ "end": 262
1109
+ },
1110
+ "21-82": {
1111
+ "text": "An abnormality, a pale yellow lesion, is present on the left.",
1112
+ "type": "incorrect",
1113
+ "start": 21,
1114
+ "end": 82
1115
+ }
1116
+ }
1117
+ },
1118
+ "d35bb433-48de-48e6-8821-6bc6a5c614b1.jpg": {
1119
+ "original_text": "An image of cecum. No instruments are present either.",
1120
+ "corrections": "An image of cecum. No abnormality is seen in the image. No polyps, foreign bodies, signs of infection, inflammation or evidence of bleeding are evident. There are no instruments visible in the image.",
1121
+ "annotations": {
1122
+ "0-18": {
1123
+ "text": "An image of cecum.",
1124
+ "type": "correct",
1125
+ "start": 0,
1126
+ "end": 18
1127
+ },
1128
+ "19-53": {
1129
+ "text": "No instruments are present either.",
1130
+ "type": "correct",
1131
+ "start": 19,
1132
+ "end": 53
1133
+ }
1134
+ }
1135
+ },
1136
+ "98df6a55-25ea-4387-a61b-815c623916bf.jpg": {
1137
+ "original_text": "An image of cecum. There are no visible abnormalities, polyps, inflammation, bleeding, foreign bodies, or signs of infection. The image shows normal anatomical landmarks, with healthy tissue appearing as shades of pink and orange. Additionally, no instruments are present in the image.",
1138
+ "corrections": "An image of cecum. There are no visible abnormalities, polyps, inflammation, bleeding, foreign bodies, or signs of infection. The image shows normal anatomical landmarks, with healthy tissue appearing as shades of pink and orange. Additionally, no instruments are present in the image.",
1139
+ "annotations": {
1140
+ "0-18": {
1141
+ "text": "An image of cecum.",
1142
+ "type": "correct",
1143
+ "start": 0,
1144
+ "end": 18
1145
+ },
1146
+ "19-125": {
1147
+ "text": "There are no visible abnormalities, polyps, inflammation, bleeding, foreign bodies, or signs of infection.",
1148
+ "type": "correct",
1149
+ "start": 19,
1150
+ "end": 125
1151
+ },
1152
+ "126-230": {
1153
+ "text": "The image shows normal anatomical landmarks, with healthy tissue appearing as shades of pink and orange.",
1154
+ "type": "correct",
1155
+ "start": 126,
1156
+ "end": 230
1157
+ },
1158
+ "231-285": {
1159
+ "text": "Additionally, no instruments are present in the image.",
1160
+ "type": "correct",
1161
+ "start": 231,
1162
+ "end": 285
1163
+ }
1164
+ }
1165
+ },
1166
+ "fcdf8263-d57e-4a18-98e0-d9c43ff31bcb.jpg": {
1167
+ "original_text": "An image of pylorus. No foreign bodies or instruments are seen. The anatomical view reveals the colon wall, which appears to be normal and healthy in color.",
1168
+ "corrections": "An image of cecum. No foreign bodies, polyps ,bleeding or inflamation or instruments are seen. The anatomical view reveals the cecum, which appears to be normal and healthy in color.",
1169
+ "annotations": {
1170
+ "0-21": {
1171
+ "text": "An image of pylorus. ",
1172
+ "type": "incorrect",
1173
+ "start": 0,
1174
+ "end": 21
1175
+ },
1176
+ "21-64": {
1177
+ "text": "No foreign bodies or instruments are seen. ",
1178
+ "type": "correct",
1179
+ "start": 21,
1180
+ "end": 64
1181
+ },
1182
+ "64-156": {
1183
+ "text": "The anatomical view reveals the colon wall, which appears to be normal and healthy in color.",
1184
+ "type": "incorrect",
1185
+ "start": 64,
1186
+ "end": 156
1187
+ }
1188
+ }
1189
+ },
1190
+ "e45b7e1e-a014-4301-bda3-7cac7f05ca97.jpg": {
1191
+ "original_text": "An image of cecum. The prominent features are orange in color. There is no visible abnormality, polyp, instrument, inflammation, bleeding, foreign body, or sign of infection. The anatomical landmarks are evident and prominently displayed.",
1192
+ "corrections": "An image of cecum. The prominent features are orange in color. There is no visible abnormality, polyp, instrument, inflammation, bleeding, foreign body, or sign of infection. The anatomical landmarks are evident and prominently displayed.",
1193
+ "annotations": {
1194
+ "175-238": {
1195
+ "text": "The anatomical landmarks are evident and prominently displayed.",
1196
+ "type": "correct",
1197
+ "start": 175,
1198
+ "end": 238
1199
+ },
1200
+ "63-174": {
1201
+ "text": "There is no visible abnormality, polyp, instrument, inflammation, bleeding, foreign body, or sign of infection.",
1202
+ "type": "correct",
1203
+ "start": 63,
1204
+ "end": 174
1205
+ },
1206
+ "19-62": {
1207
+ "text": "The prominent features are orange in color.",
1208
+ "type": "correct",
1209
+ "start": 19,
1210
+ "end": 62
1211
+ },
1212
+ "0-18": {
1213
+ "text": "An image of cecum.",
1214
+ "type": "correct",
1215
+ "start": 0,
1216
+ "end": 18
1217
+ }
1218
+ }
1219
+ },
1220
+ "367e3055-75c5-4fb2-af31-2f1b2894db3a.jpg": {
1221
+ "original_text": "An image of pylorus. There is no visible abnormality, polyps, inflammation, bleeding, infection, or foreign bodies. The anatomical landmark appears reddish. No instruments are visible in the image.",
1222
+ "corrections": "An image of cecum. There is no visible abnormality, polyps, inflammation, bleeding, infection, or foreign bodies. The anatomical landmark appears reddish. No instruments are visible in the image.",
1223
+ "annotations": {
1224
+ "0-20": {
1225
+ "text": "An image of pylorus.",
1226
+ "type": "incorrect",
1227
+ "start": 0,
1228
+ "end": 20
1229
+ },
1230
+ "21-115": {
1231
+ "text": "There is no visible abnormality, polyps, inflammation, bleeding, infection, or foreign bodies.",
1232
+ "type": "correct",
1233
+ "start": 21,
1234
+ "end": 115
1235
+ },
1236
+ "157-197": {
1237
+ "text": "No instruments are visible in the image.",
1238
+ "type": "correct",
1239
+ "start": 157,
1240
+ "end": 197
1241
+ },
1242
+ "116-156": {
1243
+ "text": "The anatomical landmark appears reddish.",
1244
+ "type": "correct",
1245
+ "start": 116,
1246
+ "end": 156
1247
+ }
1248
+ }
1249
+ },
1250
+ "0c9ae570-1bb9-44ee-96db-11deabcc791e.jpg": {
1251
+ "original_text": "An image of pylorus. There is no apparent abnormality, polyps, inflammation, bleeding, infection, or foreign bodies. The anatomical landmark appears normal in color, and there is one visible instrument in the lower left of the image.",
1252
+ "corrections": "An image of cecum. There is no apparent abnormality, polyps, inflammation, bleeding, infection, or foreign bodies. The anatomical landmark appears normal in color, and there are no visible instruments in the image.",
1253
+ "annotations": {
1254
+ "0-20": {
1255
+ "text": "An image of pylorus.",
1256
+ "type": "incorrect",
1257
+ "start": 0,
1258
+ "end": 20
1259
+ },
1260
+ "165-233": {
1261
+ "text": " and there is one visible instrument in the lower left of the image.",
1262
+ "type": "incorrect",
1263
+ "start": 165,
1264
+ "end": 233
1265
+ },
1266
+ "117-165": {
1267
+ "text": "The anatomical landmark appears normal in color,",
1268
+ "type": "correct",
1269
+ "start": 117,
1270
+ "end": 165
1271
+ },
1272
+ "21-116": {
1273
+ "text": "There is no apparent abnormality, polyps, inflammation, bleeding, infection, or foreign bodies.",
1274
+ "type": "correct",
1275
+ "start": 21,
1276
+ "end": 116
1277
+ }
1278
+ }
1279
+ },
1280
+ "3beead6a-3d8a-49a9-b231-faf06f7b614b.jpg": {
1281
+ "original_text": "An image of cecum. The anatomical landmarks appear pinkish, with no abnormalities, polyps, foreign bodies, or signs of inflammation, infection, or bleeding. There are no instruments present in the image.",
1282
+ "corrections": "An image of cecum. The anatomical landmarks appear pinkish, with no abnormalities, polyps, foreign bodies, or signs of inflammation, infection, or bleeding. There are no instruments present in the image.",
1283
+ "annotations": {
1284
+ "0-18": {
1285
+ "text": "An image of cecum.",
1286
+ "type": "correct",
1287
+ "start": 0,
1288
+ "end": 18
1289
+ },
1290
+ "156-203": {
1291
+ "text": " There are no instruments present in the image.",
1292
+ "type": "correct",
1293
+ "start": 156,
1294
+ "end": 203
1295
+ },
1296
+ "19-156": {
1297
+ "text": "The anatomical landmarks appear pinkish, with no abnormalities, polyps, foreign bodies, or signs of inflammation, infection, or bleeding.",
1298
+ "type": "correct",
1299
+ "start": 19,
1300
+ "end": 156
1301
+ }
1302
+ }
1303
+ },
1304
+ "da185292-8d49-4291-a673-1053632d2fdc.jpg": {
1305
+ "original_text": "An image of cecum. There are no visible abnormalities, polyps, signs of inflammation, bleeding, infection, or foreign bodies. The image includes anatomical landmarks of the colon, but no instruments are present.",
1306
+ "corrections": "An image of cecum. There are no visible abnormalities, polyps, signs of inflammation, bleeding, infection, or foreign bodies. The image includes anatomical landmarks of the colon, but no instruments are present.",
1307
+ "annotations": {
1308
+ "18-126": {
1309
+ "text": " There are no visible abnormalities, polyps, signs of inflammation, bleeding, infection, or foreign bodies. ",
1310
+ "type": "correct",
1311
+ "start": 18,
1312
+ "end": 126
1313
+ },
1314
+ "126-211": {
1315
+ "text": "The image includes anatomical landmarks of the colon, but no instruments are present.",
1316
+ "type": "correct",
1317
+ "start": 126,
1318
+ "end": 211
1319
+ },
1320
+ "0-18": {
1321
+ "text": "An image of cecum.",
1322
+ "type": "correct",
1323
+ "start": 0,
1324
+ "end": 18
1325
+ }
1326
+ }
1327
+ },
1328
+ "60200e78-95ef-4dc2-be8f-002f1452316c.jpg": {
1329
+ "original_text": "An image of pylorus. The abnormality appears yellow and is located centrally. Anatomical landmarks are visible, and no polyps, instruments, foreign bodies, signs of inflammation, infection, or bleeding are observed.",
1330
+ "corrections": "An image of cecum. There are no abnormalitis appear. Anatomical landmarks are visible, and no polyps, instruments, foreign bodies, signs of inflammation, infection, or bleeding are observed.",
1331
+ "annotations": {
1332
+ "78-215": {
1333
+ "text": "Anatomical landmarks are visible, and no polyps, instruments, foreign bodies, signs of inflammation, infection, or bleeding are observed.",
1334
+ "type": "correct",
1335
+ "start": 78,
1336
+ "end": 215
1337
+ },
1338
+ "20-76": {
1339
+ "text": " The abnormality appears yellow and is located centrally",
1340
+ "type": "incorrect",
1341
+ "start": 20,
1342
+ "end": 76
1343
+ },
1344
+ "0-19": {
1345
+ "text": "An image of pylorus",
1346
+ "type": "incorrect",
1347
+ "start": 0,
1348
+ "end": 19
1349
+ }
1350
+ }
1351
+ },
1352
+ "ede04820-c31e-4916-9a60-de1bd8109a4f.jpg": {
1353
+ "original_text": "An image of cecum. There are no visible abnormalities, polyps, inflammation, bleeding, signs of infection, or foreign bodies. The anatomical landmark present is healthy mucosal tissue, which is primarily pinkish in color. No instruments are visible in the image.",
1354
+ "corrections": "An image of cecum. There are no visible abnormalities, polyps, inflammation, bleeding, signs of infection, or foreign bodies. The anatomical landmark present is healthy mucosal tissue, which is primarily pinkish in color. No instruments are visible in the image.",
1355
+ "annotations": {
1356
+ "0-18": {
1357
+ "text": "An image of cecum.",
1358
+ "type": "correct",
1359
+ "start": 0,
1360
+ "end": 18
1361
+ },
1362
+ "19-125": {
1363
+ "text": "There are no visible abnormalities, polyps, inflammation, bleeding, signs of infection, or foreign bodies.",
1364
+ "type": "correct",
1365
+ "start": 19,
1366
+ "end": 125
1367
+ },
1368
+ "127-222": {
1369
+ "text": "he anatomical landmark present is healthy mucosal tissue, which is primarily pinkish in color. ",
1370
+ "type": "correct",
1371
+ "start": 127,
1372
+ "end": 222
1373
+ },
1374
+ "222-262": {
1375
+ "text": "No instruments are visible in the image.",
1376
+ "type": "correct",
1377
+ "start": 222,
1378
+ "end": 262
1379
+ }
1380
+ }
1381
+ },
1382
+ "d39704b3-6dff-45db-a46a-c8bb9d3f01dc.jpg": {
1383
+ "original_text": "An image of cecum. The observed abnormalities, if any, are not clearly distinguishable in terms of color or location. No anatomical landmarks or polyps are identifiable. No instruments, signs of inflammation, bleeding, foreign bodies, or infections are present in the visible area.",
1384
+ "corrections": "An image of cecum. There are no abnormalities . No anatomical landmarks or polyps are identifiable. No instruments, signs of inflammation, bleeding, foreign bodies, or infections are present in the visible area.",
1385
+ "annotations": {
1386
+ "19-117": {
1387
+ "text": "The observed abnormalities, if any, are not clearly distinguishable in terms of color or location.",
1388
+ "type": "incorrect",
1389
+ "start": 19,
1390
+ "end": 117
1391
+ },
1392
+ "0-18": {
1393
+ "text": "An image of cecum.",
1394
+ "type": "correct",
1395
+ "start": 0,
1396
+ "end": 18
1397
+ },
1398
+ "170-281": {
1399
+ "text": "No instruments, signs of inflammation, bleeding, foreign bodies, or infections are present in the visible area.",
1400
+ "type": "correct",
1401
+ "start": 170,
1402
+ "end": 281
1403
+ },
1404
+ "118-169": {
1405
+ "text": "No anatomical landmarks or polyps are identifiable.",
1406
+ "type": "correct",
1407
+ "start": 118,
1408
+ "end": 169
1409
+ }
1410
+ }
1411
+ },
1412
+ "01e023db-5c76-4c28-91ab-06e36cd31495.jpg": {
1413
+ "original_text": "An image of cecum. There are no visible abnormalities, polyps, instruments, signs of inflammation, bleeding, infection, or foreign bodies. The anatomical landmark is pinkish in color and there is no evidence of any concerning features.",
1414
+ "corrections": "An image of cecum. There are no visible abnormalities, polyps, instruments, signs of inflammation, bleeding, infection, or foreign bodies. The anatomical landmark is pinkish in color and there is no evidence of any concerning features.",
1415
+ "annotations": {
1416
+ "139-235": {
1417
+ "text": "The anatomical landmark is pinkish in color and there is no evidence of any concerning features.",
1418
+ "type": "correct",
1419
+ "start": 139,
1420
+ "end": 235
1421
+ },
1422
+ "19-138": {
1423
+ "text": "There are no visible abnormalities, polyps, instruments, signs of inflammation, bleeding, infection, or foreign bodies.",
1424
+ "type": "correct",
1425
+ "start": 19,
1426
+ "end": 138
1427
+ },
1428
+ "0-18": {
1429
+ "text": "An image of cecum.",
1430
+ "type": "correct",
1431
+ "start": 0,
1432
+ "end": 18
1433
+ }
1434
+ }
1435
+ },
1436
+ "32757af0-076e-409e-892c-298f99bac185.jpg": {
1437
+ "original_text": "An image of pylorus. There is an abnormality indicated by lesions in yellowish color. The anatomical landmark appears to be reddish-orange mucosa. No polyps, instruments, signs of inflammation, bleeding, foreign bodies, or infection are visible. An abnormality is present in the central region of the image.",
1438
+ "corrections": "An image of cecum. There are no abnormalitis . The anatomical landmark appears to be reddish-orange mucosa. No polyps, instruments, signs of inflammation, bleeding, foreign bodies, or infection are visible. ",
1439
+ "annotations": {
1440
+ "246-307": {
1441
+ "text": "An abnormality is present in the central region of the image.",
1442
+ "type": "incorrect",
1443
+ "start": 246,
1444
+ "end": 307
1445
+ },
1446
+ "21-86": {
1447
+ "text": "There is an abnormality indicated by lesions in yellowish color. ",
1448
+ "type": "incorrect",
1449
+ "start": 21,
1450
+ "end": 86
1451
+ },
1452
+ "0-21": {
1453
+ "text": "An image of pylorus. ",
1454
+ "type": "incorrect",
1455
+ "start": 0,
1456
+ "end": 21
1457
+ },
1458
+ "86-146": {
1459
+ "text": "The anatomical landmark appears to be reddish-orange mucosa.",
1460
+ "type": "correct",
1461
+ "start": 86,
1462
+ "end": 146
1463
+ },
1464
+ "146-245": {
1465
+ "text": " No polyps, instruments, signs of inflammation, bleeding, foreign bodies, or infection are visible.",
1466
+ "type": "correct",
1467
+ "start": 146,
1468
+ "end": 245
1469
+ }
1470
+ }
1471
+ },
1472
+ "03ee914b-190c-4aec-a05b-88f47b482908.jpg": {
1473
+ "original_text": "An image of pylorus. There are no visible abnormalities, polyps, anatomical landmarks, instruments, signs of inflammation, bleeding, foreign bodies, or infection present. The color of the tissue is normal, indicating no evident abnormality.",
1474
+ "corrections": "An image of cecum. There are no visible abnormalities, polyps, anatomical landmarks, instruments, signs of inflammation, bleeding, foreign bodies, or infection present. The color of the tissue is normal, indicating no evident abnormality.",
1475
+ "annotations": {
1476
+ "0-21": {
1477
+ "text": "An image of pylorus. ",
1478
+ "type": "incorrect",
1479
+ "start": 0,
1480
+ "end": 21
1481
+ },
1482
+ "171-240": {
1483
+ "text": "The color of the tissue is normal, indicating no evident abnormality.",
1484
+ "type": "correct",
1485
+ "start": 171,
1486
+ "end": 240
1487
+ },
1488
+ "21-170": {
1489
+ "text": "There are no visible abnormalities, polyps, anatomical landmarks, instruments, signs of inflammation, bleeding, foreign bodies, or infection present.",
1490
+ "type": "correct",
1491
+ "start": 21,
1492
+ "end": 170
1493
+ }
1494
+ }
1495
+ },
1496
+ "c22eeaea-0ccc-4d72-81d3-a6fb4275a50a.jpg": {
1497
+ "original_text": "An image of cecum. The color of the anatomical landmark is red, indicating no clear infection or evidence of bleeding.",
1498
+ "corrections": "An image of cecum. The color of the anatomical landmark is red. No abnormality is seen in the image. No polyps, foreign bodies, signs of infection, inflammation or evidence of bleeding are evident. There are no instruments visible in the image.",
1499
+ "annotations": {
1500
+ "0-18": {
1501
+ "text": "An image of cecum.",
1502
+ "type": "correct",
1503
+ "start": 0,
1504
+ "end": 18
1505
+ },
1506
+ "19-118": {
1507
+ "text": "The color of the anatomical landmark is red, indicating no clear infection or evidence of bleeding.",
1508
+ "type": "correct",
1509
+ "start": 19,
1510
+ "end": 118
1511
+ }
1512
+ }
1513
+ },
1514
+ "9cd26cfc-a4b9-497b-baf9-2133e2f8eb80.jpg": {
1515
+ "original_text": "An image of cecum. There appear to be no visible abnormalities, polyps, instruments, signs of inflammation, bleeding, foreign bodies, or infection. The anatomical landmark is primarily orange. The image seems normal with no discernible issues.",
1516
+ "corrections": "An image of cecum. There appear to be no visible abnormalities, polyps, instruments, signs of inflammation, bleeding, foreign bodies, or infection. The anatomical landmark is primarily orange. The image seems normal with no discernible issues.",
1517
+ "annotations": {
1518
+ "0-18": {
1519
+ "text": "An image of cecum.",
1520
+ "type": "correct",
1521
+ "start": 0,
1522
+ "end": 18
1523
+ },
1524
+ "19-147": {
1525
+ "text": "There appear to be no visible abnormalities, polyps, instruments, signs of inflammation, bleeding, foreign bodies, or infection.",
1526
+ "type": "correct",
1527
+ "start": 19,
1528
+ "end": 147
1529
+ },
1530
+ "148-243": {
1531
+ "text": "The anatomical landmark is primarily orange. The image seems normal with no discernible issues.",
1532
+ "type": "correct",
1533
+ "start": 148,
1534
+ "end": 243
1535
+ }
1536
+ }
1537
+ },
1538
+ "13a2abae-4c38-4c0a-936c-500b6c97a3cd.jpg": {
1539
+ "original_text": "An image of pylorus. There is an anatomical landmark visible, but no instruments are present in the image.",
1540
+ "corrections": "An image of cecum. There is an anatomical landmark visible, but no instruments are present in the image.There are no abnormalitis . There are no polyps seen. , signs of inflammation, bleeding, foreign bodies, or infection present",
1541
+ "annotations": {
1542
+ "0-20": {
1543
+ "text": "An image of pylorus.",
1544
+ "type": "incorrect",
1545
+ "start": 0,
1546
+ "end": 20
1547
+ },
1548
+ "20-106": {
1549
+ "text": " There is an anatomical landmark visible, but no instruments are present in the image.",
1550
+ "type": "correct",
1551
+ "start": 20,
1552
+ "end": 106
1553
+ }
1554
+ }
1555
+ },
1556
+ "1d119601-469e-4685-b6e6-6f9501b5a331.jpg": {
1557
+ "original_text": "An image of pylorus. No visible abnormalities, polyps, inflammation, evidence of bleeding, foreign bodies, or signs of infection are present. The anatomical landmark is the reddish-brown intestinal lining, and no instruments are visible.",
1558
+ "corrections": "An image of cecum. No visible abnormalities, polyps, inflammation, evidence of bleeding, foreign bodies, or signs of infection are present. The anatomical landmark is the pinkish intestinal lining, and no instruments are visible.",
1559
+ "annotations": {
1560
+ "142-237": {
1561
+ "text": "The anatomical landmark is the reddish-brown intestinal lining, and no instruments are visible.",
1562
+ "type": "incorrect",
1563
+ "start": 142,
1564
+ "end": 237
1565
+ },
1566
+ "0-20": {
1567
+ "text": "An image of pylorus.",
1568
+ "type": "correct",
1569
+ "start": 0,
1570
+ "end": 20
1571
+ },
1572
+ "21-141": {
1573
+ "text": "No visible abnormalities, polyps, inflammation, evidence of bleeding, foreign bodies, or signs of infection are present.",
1574
+ "type": "correct",
1575
+ "start": 21,
1576
+ "end": 141
1577
+ }
1578
+ }
1579
+ },
1580
+ "fcfc6589-cb35-4848-a667-6be1dc08940a.jpg": {
1581
+ "original_text": "An image of cecum. There are no polyps, instruments, signs of inflammation, bleeding, foreign bodies, or infection present in the image.",
1582
+ "corrections": "An image of cecum. There are no polyps, instruments, signs of inflammation, bleeding, foreign bodies, or infection present in the image.",
1583
+ "annotations": {
1584
+ "0-18": {
1585
+ "text": "An image of cecum.",
1586
+ "type": "correct",
1587
+ "start": 0,
1588
+ "end": 18
1589
+ },
1590
+ "19-136": {
1591
+ "text": "There are no polyps, instruments, signs of inflammation, bleeding, foreign bodies, or infection present in the image.",
1592
+ "type": "correct",
1593
+ "start": 19,
1594
+ "end": 136
1595
+ }
1596
+ }
1597
+ },
1598
+ "2d73486e-9d3a-4c8f-bb51-5e1df14a52e5.jpg": {
1599
+ "original_text": "An image of pylorus. There is no visible abnormality, polyps, inflammation, or signs of infection or bleeding. The anatomical landmark present is light brown. No instruments or foreign bodies are seen in the image.",
1600
+ "corrections": "An image of cecum. There is no visible abnormality, polyps, inflammation, or signs of infection or bleeding. The anatomical landmark is cecum . No instruments or foreign bodies are seen in the image.",
1601
+ "annotations": {
1602
+ "0-21": {
1603
+ "text": "An image of pylorus. ",
1604
+ "type": "incorrect",
1605
+ "start": 0,
1606
+ "end": 21
1607
+ },
1608
+ "21-111": {
1609
+ "text": "There is no visible abnormality, polyps, inflammation, or signs of infection or bleeding. ",
1610
+ "type": "correct",
1611
+ "start": 21,
1612
+ "end": 111
1613
+ },
1614
+ "111-158": {
1615
+ "text": "The anatomical landmark present is light brown.",
1616
+ "type": "correct",
1617
+ "start": 111,
1618
+ "end": 158
1619
+ },
1620
+ "159-214": {
1621
+ "text": "No instruments or foreign bodies are seen in the image.",
1622
+ "type": "correct",
1623
+ "start": 159,
1624
+ "end": 214
1625
+ }
1626
+ }
1627
+ },
1628
+ "0db6d3b2-52ca-493c-aed2-040695867805.jpg": {
1629
+ "original_text": "An image of cecum. There are no visible abnormalities, polyps, signs of inflammation, bleeding, infection, or foreign bodies. The anatomical landmark present is normal in color. There are no instruments visible in the image either.",
1630
+ "corrections": "An image of cecum. There are no visible abnormalities, polyps, signs of inflammation, bleeding, infection, or foreign bodies. The anatomical landmark present is normal in color. There are no instruments visible in the image either.",
1631
+ "annotations": {
1632
+ "178-231": {
1633
+ "text": "There are no instruments visible in the image either.",
1634
+ "type": "correct",
1635
+ "start": 178,
1636
+ "end": 231
1637
+ },
1638
+ "126-177": {
1639
+ "text": "The anatomical landmark present is normal in color.",
1640
+ "type": "correct",
1641
+ "start": 126,
1642
+ "end": 177
1643
+ },
1644
+ "19-125": {
1645
+ "text": "There are no visible abnormalities, polyps, signs of inflammation, bleeding, infection, or foreign bodies.",
1646
+ "type": "correct",
1647
+ "start": 19,
1648
+ "end": 125
1649
+ },
1650
+ "0-18": {
1651
+ "text": "An image of cecum.",
1652
+ "type": "correct",
1653
+ "start": 0,
1654
+ "end": 18
1655
+ }
1656
+ }
1657
+ },
1658
+ "49da2176-6517-42bb-b2dc-a152c705fa53.jpg": {
1659
+ "original_text": "An image of cecum. No abnormalities, polyps, inflammation, infection, bleeding, or foreign bodies are observed. The anatomical landmark is light pink. No instruments are present in the image.",
1660
+ "corrections": "An image of cecum. No abnormalities, polyps, inflammation, infection, bleeding, or foreign bodies are observed. The anatomical landmark is light pink. No instruments are present in the image.",
1661
+ "annotations": {
1662
+ "112-191": {
1663
+ "text": "The anatomical landmark is light pink. No instruments are present in the image.",
1664
+ "type": "correct",
1665
+ "start": 112,
1666
+ "end": 191
1667
+ },
1668
+ "19-111": {
1669
+ "text": "No abnormalities, polyps, inflammation, infection, bleeding, or foreign bodies are observed.",
1670
+ "type": "correct",
1671
+ "start": 19,
1672
+ "end": 111
1673
+ },
1674
+ "0-19": {
1675
+ "text": "An image of cecum. ",
1676
+ "type": "correct",
1677
+ "start": 0,
1678
+ "end": 19
1679
+ }
1680
+ }
1681
+ },
1682
+ "8ea05ad6-2986-42af-a856-ccc3ac9d704c.jpg": {
1683
+ "original_text": "An image of cecum. The abnormality is brown and located near the center. The anatomical landmark is pink. There are no polyps, instruments, signs of inflammation, bleeding, foreign bodies, or infections present. ",
1684
+ "corrections": "An image of cecum. There are fecal remains in brown color and located near the center. The anatomical landmark is pink. There are no polyps, instruments, signs of inflammation, bleeding, foreign bodies, or infections present. ",
1685
+ "annotations": {
1686
+ "0-19": {
1687
+ "text": "An image of cecum. ",
1688
+ "type": "correct",
1689
+ "start": 0,
1690
+ "end": 19
1691
+ },
1692
+ "19-72": {
1693
+ "text": "The abnormality is brown and located near the center.",
1694
+ "type": "incorrect",
1695
+ "start": 19,
1696
+ "end": 72
1697
+ },
1698
+ "106-212": {
1699
+ "text": "There are no polyps, instruments, signs of inflammation, bleeding, foreign bodies, or infections present. ",
1700
+ "type": "correct",
1701
+ "start": 106,
1702
+ "end": 212
1703
+ },
1704
+ "73-106": {
1705
+ "text": "The anatomical landmark is pink. ",
1706
+ "type": "correct",
1707
+ "start": 73,
1708
+ "end": 106
1709
+ }
1710
+ }
1711
+ },
1712
+ "ded1855b-d337-47f5-ac6f-48bc1635c905.jpg": {
1713
+ "original_text": "An image of cecum. No clear abnormalities, polyps, signs of inflammation, bleeding, or infection are present. The anatomical landmark appears healthy, and no instruments or foreign bodies are seen. The color of the tissue appears normal, and there are no notable issues observed.",
1714
+ "corrections": "An image of cecum. No clear abnormalities, polyps, signs of inflammation, bleeding, or infection are present. The anatomical landmark appears healthy, and no instruments or foreign bodies are seen. The color of the tissue appears normal, and there are no notable issues observed.",
1715
+ "annotations": {
1716
+ "0-18": {
1717
+ "text": "An image of cecum.",
1718
+ "type": "correct",
1719
+ "start": 0,
1720
+ "end": 18
1721
+ },
1722
+ "19-110": {
1723
+ "text": "No clear abnormalities, polyps, signs of inflammation, bleeding, or infection are present. ",
1724
+ "type": "correct",
1725
+ "start": 19,
1726
+ "end": 110
1727
+ },
1728
+ "110-198": {
1729
+ "text": "The anatomical landmark appears healthy, and no instruments or foreign bodies are seen. ",
1730
+ "type": "correct",
1731
+ "start": 110,
1732
+ "end": 198
1733
+ },
1734
+ "198-279": {
1735
+ "text": "The color of the tissue appears normal, and there are no notable issues observed.",
1736
+ "type": "correct",
1737
+ "start": 198,
1738
+ "end": 279
1739
+ }
1740
+ }
1741
+ },
1742
+ "7dedfd42-79ba-446d-86d1-bb78350e14bf.jpg": {
1743
+ "original_text": "An image of pylorus. There is no evident abnormality, polyps, signs of inflammation, infection, bleeding, or foreign bodies. The anatomical landmark is pink. No instruments are present, and no polyps are visible. The image shows the inner lining of the gastrointestinal tract.",
1744
+ "corrections": "An image of cecum. There is no evident abnormality, polyps, signs of inflammation, infection, bleeding, or foreign bodies. The anatomical landmark is cecum. No instruments are present, and no polyps are visible. The image shows the inner lining of the gastrointestinal tract.",
1745
+ "annotations": {
1746
+ "0-20": {
1747
+ "text": "An image of pylorus.",
1748
+ "type": "incorrect",
1749
+ "start": 0,
1750
+ "end": 20
1751
+ },
1752
+ "20-124": {
1753
+ "text": " There is no evident abnormality, polyps, signs of inflammation, infection, bleeding, or foreign bodies.",
1754
+ "type": "correct",
1755
+ "start": 20,
1756
+ "end": 124
1757
+ },
1758
+ "124-157": {
1759
+ "text": " The anatomical landmark is pink.",
1760
+ "type": "incorrect",
1761
+ "start": 124,
1762
+ "end": 157
1763
+ },
1764
+ "157-276": {
1765
+ "text": " No instruments are present, and no polyps are visible. The image shows the inner lining of the gastrointestinal tract.",
1766
+ "type": "correct",
1767
+ "start": 157,
1768
+ "end": 276
1769
+ }
1770
+ }
1771
+ },
1772
+ "3b9e52de-a724-4160-85c9-b0bf4066f94f.jpg": {
1773
+ "original_text": "An image of pylorus. There's no notable abnormality, polyps, signs of inflammation, infection, evidence of bleeding, or foreign bodies present. The anatomical structure seems normal and no instruments can be seen in the image.",
1774
+ "corrections": "An image of cecum. There's no notable abnormality, polyps, signs of inflammation, infection, evidence of bleeding, or foreign bodies present. The anatomical structure seems normal and no instruments can be seen in the image.",
1775
+ "annotations": {
1776
+ "0-20": {
1777
+ "text": "An image of pylorus.",
1778
+ "type": "incorrect",
1779
+ "start": 0,
1780
+ "end": 20
1781
+ },
1782
+ "21-143": {
1783
+ "text": "There's no notable abnormality, polyps, signs of inflammation, infection, evidence of bleeding, or foreign bodies present.",
1784
+ "type": "correct",
1785
+ "start": 21,
1786
+ "end": 143
1787
+ },
1788
+ "144-226": {
1789
+ "text": "The anatomical structure seems normal and no instruments can be seen in the image.",
1790
+ "type": "correct",
1791
+ "start": 144,
1792
+ "end": 226
1793
+ }
1794
+ }
1795
+ },
1796
+ "61f57795-b129-44f7-9100-a31f8a828071.jpg": {
1797
+ "original_text": "An image of cecum. There is a yellow abnormality visible, with anatomical landmarks present and identifiable by their natural color. A single polyp is visible. No instruments, inflammation, bleeding, foreign bodies, or signs of infection are evident in the image.",
1798
+ "corrections": "An image of cecum. There are no abnormalitis , no polyp is visible. No instruments, inflammation, bleeding, foreign bodies, or signs of infection are evident in the image.",
1799
+ "annotations": {
1800
+ "0-18": {
1801
+ "text": "An image of cecum.",
1802
+ "type": "correct",
1803
+ "start": 0,
1804
+ "end": 18
1805
+ },
1806
+ "159-263": {
1807
+ "text": " No instruments, inflammation, bleeding, foreign bodies, or signs of infection are evident in the image.",
1808
+ "type": "correct",
1809
+ "start": 159,
1810
+ "end": 263
1811
+ },
1812
+ "133-159": {
1813
+ "text": "A single polyp is visible.",
1814
+ "type": "incorrect",
1815
+ "start": 133,
1816
+ "end": 159
1817
+ },
1818
+ "19-132": {
1819
+ "text": "There is a yellow abnormality visible, with anatomical landmarks present and identifiable by their natural color.",
1820
+ "type": "incorrect",
1821
+ "start": 19,
1822
+ "end": 132
1823
+ }
1824
+ }
1825
+ }
1826
+ }
epoch_1/Hallucination-Aware-VLM/dataset/Gut-VLM/train_test_split/classwise_test_split/dlp_test.json ADDED
@@ -0,0 +1,1052 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "389c76a0-5206-4a9e-8904-754938f84146.jpg": {
3
+ "original_text": "An image of pylorus. The abnormality is blue-green in color, and occupies a central position in the image. An anatomical landmark is visible, characterized by dark blue coloring. No polyps, instruments, signs of inflammation, infection, bleeding, or foreign bodies are present in the image.",
4
+ "corrections": "An image of colon. The abnormality is blue-green in color, and occupies a central position in the image. An anatomical landmark is visible, characterized by dark blue coloring. No polyps, instruments, signs of inflammation, infection, bleeding, or foreign bodies are present in the image.",
5
+ "annotations": {
6
+ "0-19": {
7
+ "text": "An image of pylorus",
8
+ "start": 0,
9
+ "end": 19,
10
+ "type": "incorrect"
11
+ },
12
+ "20-105": {
13
+ "text": "The abnormality is blue-green in color, and occupies a central position in the image.",
14
+ "start": 20,
15
+ "end": 105,
16
+ "type": "correct"
17
+ },
18
+ "106-177": {
19
+ "text": "An anatomical landmark is visible, characterized by dark blue coloring.",
20
+ "start": 106,
21
+ "end": 177,
22
+ "type": "correct"
23
+ },
24
+ "178-289": {
25
+ "text": "No polyps, instruments, signs of inflammation, infection, bleeding, or foreign bodies are present in the image.",
26
+ "start": 178,
27
+ "end": 289,
28
+ "type": "correct"
29
+ }
30
+ }
31
+ },
32
+ "d26a11ac-fe40-4e87-8c0c-1f5087feb768.jpg": {
33
+ "original_text": "An image of cecum. Anatomical landmarks are visible, and there are no instruments or signs of inflammation, bleeding, foreign bodies, or infection.",
34
+ "corrections": "An image of cecum. Anatomical landmarks are visible, one polyp located centrally, and there are no instruments or signs of inflammation, bleeding, foreign bodies, or infection.",
35
+ "annotations": {
36
+ "0-18": {
37
+ "text": "An image of cecum.",
38
+ "start": 0,
39
+ "end": 18,
40
+ "type": "correct"
41
+ },
42
+ "19-147": {
43
+ "text": "Anatomical landmarks are visible, and there are no instruments or signs of inflammation, bleeding, foreign bodies, or infection.",
44
+ "start": 19,
45
+ "end": 147,
46
+ "type": "incorrect"
47
+ }
48
+ }
49
+ },
50
+ "5f3d6ed3-dca1-4fb0-a0e3-fd53fffa4cff.jpg": {
51
+ "original_text": "An image of cecum. An abnormality is present and is white in color. The surrounding tissue appears reddish-pink, indicating possible inflammation around the abnormality. There is no sign of polyps, bleeding, foreign bodies, anatomical landmarks, or instruments.",
52
+ "corrections": "An image of colon. An abnormality is present and is white in color. The surrounding tissue appears reddish-pink, indicating possible inflammation around the abnormality. There is one polyp, and minor bleeding in the inage. No foreign bodies, or instruments. The anatomical landmark appears pink.",
53
+ "annotations": {
54
+ "0-17": {
55
+ "text": "An image of cecum",
56
+ "start": 0,
57
+ "end": 17,
58
+ "type": "incorrect"
59
+ },
60
+ "19-66": {
61
+ "text": "An abnormality is present and is white in color",
62
+ "start": 19,
63
+ "end": 66,
64
+ "type": "correct"
65
+ },
66
+ "67-110": {
67
+ "text": "The surrounding tissue appears reddish-pink",
68
+ "start": 67,
69
+ "end": 110,
70
+ "type": "correct"
71
+ },
72
+ "111-169": {
73
+ "text": ", indicating possible inflammation around the abnormality.",
74
+ "start": 111,
75
+ "end": 169,
76
+ "type": "correct"
77
+ },
78
+ "170-261": {
79
+ "text": "There is no sign of polyps, bleeding, foreign bodies, anatomical landmarks, or instruments.",
80
+ "start": 170,
81
+ "end": 261,
82
+ "type": "incorrect"
83
+ }
84
+ }
85
+ },
86
+ "d7594e2b-93d2-47cb-8e51-82f3804659b7.jpg": {
87
+ "original_text": "An image of cecum. No specific anatomical landmark is highlighted, but the abnormality is clearly visible in the center. Multiple polyps are present. There are no visible instruments, signs of inflammation, bleeding, foreign bodies, or infection.",
88
+ "corrections": "An image of cecum. No specific anatomical landmark is highlighted, but the abnormality is clearly visible in the center. Multiple polyps are present. There are no visible instruments, signs of inflammation, bleeding, foreign bodies, or infection.",
89
+ "annotations": {
90
+ "0-18": {
91
+ "text": "An image of cecum.",
92
+ "start": 0,
93
+ "end": 18,
94
+ "type": "correct"
95
+ },
96
+ "19-120": {
97
+ "text": "No specific anatomical landmark is highlighted, but the abnormality is clearly visible in the center.",
98
+ "start": 19,
99
+ "end": 120,
100
+ "type": "correct"
101
+ },
102
+ "121-149": {
103
+ "text": "Multiple polyps are present.",
104
+ "start": 121,
105
+ "end": 149,
106
+ "type": "correct"
107
+ },
108
+ "150-246": {
109
+ "text": "There are no visible instruments, signs of inflammation, bleeding, foreign bodies, or infection.",
110
+ "start": 150,
111
+ "end": 246,
112
+ "type": "correct"
113
+ }
114
+ }
115
+ },
116
+ "e05779e5-50c8-4340-886c-72e46782ce79.jpg": {
117
+ "original_text": "An image of cecum. Beige-pink colored mucosal surfaces serve as anatomical landmarks. No instruments, inflammation, bleeding, infection, or foreign bodies are present.",
118
+ "corrections": "An image of cecum. The anatomical landmark appears pink No instruments, inflammation, bleeding, infection, or foreign bodies are present. There is one polyp present in the center of the image.",
119
+ "annotations": {
120
+ "0-18": {
121
+ "text": "An image of cecum.",
122
+ "start": 0,
123
+ "end": 18,
124
+ "type": "correct"
125
+ },
126
+ "19-85": {
127
+ "text": "Beige-pink colored mucosal surfaces serve as anatomical landmarks.",
128
+ "start": 19,
129
+ "end": 85,
130
+ "type": "incorrect"
131
+ },
132
+ "85-166": {
133
+ "text": "No instruments, inflammation, bleeding, infection, or foreign bodies are present.",
134
+ "start": 85,
135
+ "end": 166,
136
+ "type": "correct"
137
+ }
138
+ }
139
+ },
140
+ "3d6522a9-2ad7-41cb-91e6-cc4fe56189f5.jpg": {
141
+ "original_text": "An image of cecum. The abnormality, a small dark spot, is located towards the center. The anatomical structures are normal in color. No polyps or instruments are present. Mild inflammation is visible but there are no signs of bleeding, foreign bodies, or infection.",
142
+ "corrections": "An image of cecum. There is a polyp, it located in the right of the image. The anatomical structures are normal in color.There is one polyp, but no instruments are present. Mild inflammation is visible but there are no signs of bleeding, foreign bodies, or infection.",
143
+ "annotations": {
144
+ "0-18": {
145
+ "text": "An image of cecum.",
146
+ "start": 0,
147
+ "end": 18,
148
+ "type": "correct"
149
+ },
150
+ "19-85": {
151
+ "text": "The abnormality, a small dark spot, is located towards the center.",
152
+ "start": 19,
153
+ "end": 85,
154
+ "type": "incorrect"
155
+ },
156
+ "86-132": {
157
+ "text": "The anatomical structures are normal in color.",
158
+ "start": 86,
159
+ "end": 132,
160
+ "type": "correct"
161
+ },
162
+ "133-170": {
163
+ "text": "No polyps or instruments are present.",
164
+ "start": 133,
165
+ "end": 170,
166
+ "type": "incorrect"
167
+ },
168
+ "171-265": {
169
+ "text": "Mild inflammation is visible but there are no signs of bleeding, foreign bodies, or infection.",
170
+ "start": 171,
171
+ "end": 265,
172
+ "type": "correct"
173
+ }
174
+ }
175
+ },
176
+ "98ecb81e-5a43-4a3b-96fd-03a02b715764.jpg": {
177
+ "original_text": "An image of z-line. It shows a light-colored abnormality at the center, indicative of a cluster of polyps. There is no evident landmark or instrument. There are signs of inflammation and possible bleeding, but no foreign bodies or clear infection signs.",
178
+ "corrections": "An image of colon. It shows a light-colored abnormality at the center, indicative of a cluster of polyps. There is no evident landmark or instrument. There are signs of inflammation and possible bleeding, but no foreign bodies or clear infection signs.",
179
+ "annotations": {
180
+ "0-19": {
181
+ "text": "An image of z-line.",
182
+ "start": 0,
183
+ "end": 19,
184
+ "type": "incorrect"
185
+ },
186
+ "20-106": {
187
+ "text": "It shows a light-colored abnormality at the center, indicative of a cluster of polyps.",
188
+ "start": 20,
189
+ "end": 106,
190
+ "type": "correct"
191
+ },
192
+ "106-149": {
193
+ "text": "There is no evident landmark or instrument.",
194
+ "start": 106,
195
+ "end": 149,
196
+ "type": "correct"
197
+ },
198
+ "151-253": {
199
+ "text": "There are signs of inflammation and possible bleeding, but no foreign bodies or clear infection signs.",
200
+ "start": 151,
201
+ "end": 253,
202
+ "type": "correct"
203
+ }
204
+ }
205
+ },
206
+ "50210199-bd31-4b70-ab68-cbf64a47c871.jpg": {
207
+ "original_text": "An image of z-line. The anatomical landmark is the colon, appearing as reddish tissue. There is one visible polyp in the center of the image. No instruments, signs of inflammation, bleeding, foreign bodies, or infection are observed.",
208
+ "corrections": "An image of anormal colon. The anatomical landmark is the colon, appearing as reddish tissue. There is one visible polyp in the center of the image. No instruments, bleeding, foreign bodies are observed. There are signs of inflammation and infection.",
209
+ "annotations": {
210
+ "0-19": {
211
+ "text": "An image of z-line.",
212
+ "start": 0,
213
+ "end": 19,
214
+ "type": "incorrect"
215
+ },
216
+ "20-86": {
217
+ "text": "The anatomical landmark is the colon, appearing as reddish tissue.",
218
+ "start": 20,
219
+ "end": 86,
220
+ "type": "correct"
221
+ },
222
+ "87-141": {
223
+ "text": "There is one visible polyp in the center of the image.",
224
+ "start": 87,
225
+ "end": 141,
226
+ "type": "correct"
227
+ },
228
+ "142-233": {
229
+ "text": "No instruments, signs of inflammation, bleeding, foreign bodies, or infection are observed.",
230
+ "start": 142,
231
+ "end": 233,
232
+ "type": "incorrect"
233
+ }
234
+ }
235
+ },
236
+ "7a052613-d4c4-4645-9b5f-190cd5779161.jpg": {
237
+ "original_text": "An image of pylorus. No polyps, instruments, inflammation, bleeding, foreign bodies, signs of infection, or additional anatomical landmarks are observed.",
238
+ "corrections": "An image of cecum . There is a polyp appears to be light blue located centrally , There are no instruments, inflammation, bleeding, foreign bodies, signs of infection, or additional anatomical landmarks are observed.",
239
+ "annotations": {
240
+ "0-20": {
241
+ "text": "An image of pylorus.",
242
+ "start": 0,
243
+ "end": 20,
244
+ "type": "incorrect"
245
+ },
246
+ "21-153": {
247
+ "text": "No polyps, instruments, inflammation, bleeding, foreign bodies, signs of infection, or additional anatomical landmarks are observed.",
248
+ "start": 21,
249
+ "end": 153,
250
+ "type": "incorrect"
251
+ }
252
+ }
253
+ },
254
+ "512ee76f-9cfd-4af3-ab7f-1bb442046162.jpg": {
255
+ "original_text": "An image of pylorus. The abnormality is a white-colored polyp located centrally. There is one polyp present. Anatomical landmarks are visible. No instruments, signs of inflammation, bleeding, foreign bodies, or signs of infection are evident in the image.",
256
+ "corrections": "An image of cecum. The abnormality is a white-colored polyp located centrally. Anatomical landmarks are visible. No instruments, signs of inflammation, bleeding, foreign bodies, or signs of infection are evident in the image.",
257
+ "annotations": {
258
+ "0-19": {
259
+ "text": "An image of pylorus",
260
+ "start": 0,
261
+ "end": 19,
262
+ "type": "incorrect"
263
+ },
264
+ "21-80": {
265
+ "text": "The abnormality is a white-colored polyp located centrally.",
266
+ "start": 21,
267
+ "end": 80,
268
+ "type": "correct"
269
+ },
270
+ "80-106": {
271
+ "text": "There is one polyp present",
272
+ "start": 80,
273
+ "end": 106,
274
+ "type": "incorrect"
275
+ },
276
+ "109-142": {
277
+ "text": "Anatomical landmarks are visible.",
278
+ "start": 109,
279
+ "end": 142,
280
+ "type": "correct"
281
+ },
282
+ "143-255": {
283
+ "text": "No instruments, signs of inflammation, bleeding, foreign bodies, or signs of infection are evident in the image.",
284
+ "start": 143,
285
+ "end": 255,
286
+ "type": "correct"
287
+ }
288
+ }
289
+ },
290
+ "7d743ce9-2624-4c82-8f03-f4c0851683d3.jpg": {
291
+ "original_text": "An image of pylorus. There is a blue abnormality present, and a polyp is seen. The polyp is located centrally, but only one polyp is observed. The anatomical landmarks and no inflammation, bleeding, foreign bodies, or signs of infection are noted. No instruments are visible.",
292
+ "corrections": "An image of cecum. There is a blue abnormality present, and a polyp is seen. The polyp is located below of the image, but only one polyp is observed. The anatomical landmarks and no inflammation, bleeding, foreign bodies, or signs of infection are noted. No instruments are visible.",
293
+ "annotations": {
294
+ "0-20": {
295
+ "text": "An image of pylorus.",
296
+ "start": 0,
297
+ "end": 20,
298
+ "type": "incorrect"
299
+ },
300
+ "20-77": {
301
+ "text": "There is a blue abnormality present, and a polyp is seen.",
302
+ "start": 20,
303
+ "end": 77,
304
+ "type": "correct"
305
+ },
306
+ "79-142": {
307
+ "text": "The polyp is located centrally, but only one polyp is observed.",
308
+ "start": 79,
309
+ "end": 142,
310
+ "type": "incorrect"
311
+ },
312
+ "142-246": {
313
+ "text": "The anatomical landmarks and no inflammation, bleeding, foreign bodies, or signs of infection are noted.",
314
+ "start": 142,
315
+ "end": 246,
316
+ "type": "correct"
317
+ },
318
+ "247-274": {
319
+ "text": "No instruments are visible.",
320
+ "start": 247,
321
+ "end": 274,
322
+ "type": "correct"
323
+ }
324
+ }
325
+ },
326
+ "927bb7b7-7d03-475e-abde-3d1f4b691f7e.jpg": {
327
+ "original_text": "An image of cecum. An abnormality is present and is of a light beige color. The anatomical landmark appears pink. There is one polyp present in the lower center of the image. There are no instruments, signs of inflammation, bleeding, infection, or any foreign bodies visible in the image.",
328
+ "corrections": "An image of cecum. An abnormality is present and is of a light beige color. The anatomical landmark appears pink. There is one polyp present in the lower center of the image. There are no instruments, signs of inflammation, bleeding, infection, or any foreign bodies visible in the image.",
329
+ "annotations": {
330
+ "0-18": {
331
+ "text": "An image of cecum.",
332
+ "start": 0,
333
+ "end": 18,
334
+ "type": "correct"
335
+ },
336
+ "18-74": {
337
+ "text": "An abnormality is present and is of a light beige color.",
338
+ "start": 18,
339
+ "end": 74,
340
+ "type": "correct"
341
+ },
342
+ "75-112": {
343
+ "text": "The anatomical landmark appears pink.",
344
+ "start": 75,
345
+ "end": 112,
346
+ "type": "correct"
347
+ },
348
+ "114-174": {
349
+ "text": "There is one polyp present in the lower center of the image.",
350
+ "start": 114,
351
+ "end": 174,
352
+ "type": "correct"
353
+ },
354
+ "174-287": {
355
+ "text": "There are no instruments, signs of inflammation, bleeding, infection, or any foreign bodies visible in the image.",
356
+ "start": 174,
357
+ "end": 287,
358
+ "type": "correct"
359
+ }
360
+ }
361
+ },
362
+ "1b03c9ad-70b6-484f-b342-8614d5062e34.jpg": {
363
+ "original_text": "An image of cecum. Anatamical landmarks appear more reddish, and no instruments, inflammation, bleeding, foreign bodies, or signs of infections are present. The polyps are located in the lower part of the image.",
364
+ "corrections": "An image of cecum. Anatamical landmarks appear more reddish, sings of bleeding are preseant and no instruments, inflammation, foreign bodies, or signs of infections are present. The polyps are located in the lower part of the image.",
365
+ "annotations": {
366
+ "0-17": {
367
+ "text": "An image of cecum",
368
+ "start": 0,
369
+ "end": 17,
370
+ "type": "correct"
371
+ },
372
+ "19-60": {
373
+ "text": "Anatamical landmarks appear more reddish,",
374
+ "start": 19,
375
+ "end": 60,
376
+ "type": "correct"
377
+ },
378
+ "60-154": {
379
+ "text": "and no instruments, inflammation, bleeding, foreign bodies, or signs of infections are present",
380
+ "start": 60,
381
+ "end": 154,
382
+ "type": "incorrect"
383
+ },
384
+ "157-211": {
385
+ "text": "The polyps are located in the lower part of the image.",
386
+ "start": 157,
387
+ "end": 211,
388
+ "type": "correct"
389
+ }
390
+ }
391
+ },
392
+ "e6c793fe-0e40-4597-87b5-d9733cbaf3de.jpg": {
393
+ "original_text": "An image of cecum. The polyp is located centrally in the image, with no instruments, inflammation, bleeding, foreign bodies, or signs of infection present.",
394
+ "corrections": "An image of cecum. The polyp is located centrally in the image, with no instruments, inflammation, bleeding, foreign bodies, or signs of infection present.",
395
+ "annotations": {
396
+ "0-18": {
397
+ "text": "An image of cecum.",
398
+ "start": 0,
399
+ "end": 18,
400
+ "type": "correct"
401
+ },
402
+ "19-155": {
403
+ "text": "The polyp is located centrally in the image, with no instruments, inflammation, bleeding, foreign bodies, or signs of infection present.",
404
+ "start": 19,
405
+ "end": 155,
406
+ "type": "correct"
407
+ }
408
+ }
409
+ },
410
+ "0f4eaa7a-c074-48c1-b01f-9117b94e1938.jpg": {
411
+ "original_text": "An image of cecum. The anatomical structure, likely part of the colon, is pinkish, and the abnormality is located on the right side. There are no instruments, foreign bodies, or signs of infection evident in the image.",
412
+ "corrections": "An image of cecum. The anatomical structure, likely part of the cecum, is pinkish, and the abnormality, which is polyp, is located on the left side. There are no instruments, foreign bodies, or signs of infection evident in the image.",
413
+ "annotations": {
414
+ "0-18": {
415
+ "text": "An image of cecum.",
416
+ "start": 0,
417
+ "end": 18,
418
+ "type": "correct"
419
+ },
420
+ "19-131": {
421
+ "text": "The anatomical structure, likely part of the colon, is pinkish, and the abnormality is located on the right side",
422
+ "start": 19,
423
+ "end": 131,
424
+ "type": "incorrect"
425
+ },
426
+ "82-130": {
427
+ "text": "and the abnormality is located on the right side",
428
+ "start": 82,
429
+ "end": 130,
430
+ "type": "incorrect"
431
+ },
432
+ "133-218": {
433
+ "text": "There are no instruments, foreign bodies, or signs of infection evident in the image.",
434
+ "start": 133,
435
+ "end": 218,
436
+ "type": "correct"
437
+ }
438
+ }
439
+ },
440
+ "f9a74476-8623-4a6e-8b21-c11a70ae8ab5.jpg": {
441
+ "original_text": "An image of pylorus. An abnormality can be observed, characterized by a blue coloration. The image also shows areas with normal anatomical tissue, colored pink. No polyps or foreign bodies are evident, but there are signs of bleeding and possible inflammation. No instruments or signs of infection are visible.",
442
+ "corrections": "An image of cecum. An abnormality can be observed, characterized by a blue coloration. The image also shows areas with normal anatomical tissue, colored pink. Many polyps visibler, but there are signs of bleeding and possible inflammation. No instruments, foreign bodies, or signs of infection are visible.",
443
+ "annotations": {
444
+ "0-20": {
445
+ "text": "An image of pylorus.",
446
+ "start": 0,
447
+ "end": 20,
448
+ "type": "incorrect"
449
+ },
450
+ "21-88": {
451
+ "text": "An abnormality can be observed, characterized by a blue coloration.",
452
+ "start": 21,
453
+ "end": 88,
454
+ "type": "correct"
455
+ },
456
+ "89-159": {
457
+ "text": "The image also shows areas with normal anatomical tissue, colored pink",
458
+ "start": 89,
459
+ "end": 159,
460
+ "type": "correct"
461
+ },
462
+ "161-260": {
463
+ "text": "No polyps or foreign bodies are evident, but there are signs of bleeding and possible inflammation.",
464
+ "start": 161,
465
+ "end": 260,
466
+ "type": "incorrect"
467
+ },
468
+ "261-310": {
469
+ "text": "No instruments or signs of infection are visible.",
470
+ "start": 261,
471
+ "end": 310,
472
+ "type": "correct"
473
+ }
474
+ }
475
+ },
476
+ "73932b1b-fd8d-48bd-a788-efd3b7f7409b.jpg": {
477
+ "original_text": "An image of cecum. The abnormality, likely a polyp, is blue and located centrally. No instruments, inflammation, bleeding, foreign bodies, or signs of infection are observed. The anatomical landmark in brown is visible in the background. There is one polyp present in the image.",
478
+ "corrections": "An image of cecum. The abnormality, likely a polyp, is blue and located centrally. No instruments, inflammation, bleeding, foreign bodies, or signs of infection are observed. The anatomical landmark in pink is visible in the background. There is one polyp present in the image.",
479
+ "annotations": {
480
+ "0-18": {
481
+ "text": "An image of cecum.",
482
+ "start": 0,
483
+ "end": 18,
484
+ "type": "correct"
485
+ },
486
+ "19-82": {
487
+ "text": "The abnormality, likely a polyp, is blue and located centrally.",
488
+ "start": 19,
489
+ "end": 82,
490
+ "type": "correct"
491
+ },
492
+ "83-174": {
493
+ "text": "No instruments, inflammation, bleeding, foreign bodies, or signs of infection are observed.",
494
+ "start": 83,
495
+ "end": 174,
496
+ "type": "correct"
497
+ },
498
+ "175-237": {
499
+ "text": "The anatomical landmark in brown is visible in the background.",
500
+ "start": 175,
501
+ "end": 237,
502
+ "type": "incorrect"
503
+ },
504
+ "238-278": {
505
+ "text": "There is one polyp present in the image.",
506
+ "start": 238,
507
+ "end": 278,
508
+ "type": "correct"
509
+ }
510
+ }
511
+ },
512
+ "a5cf92b3-ddaf-411b-ac9e-391a12469325.jpg": {
513
+ "original_text": "An image of pylorus. The abnormality, if present, is not clearly identifiable while the anatomical landmark is blue. There are no polyps, instruments, signs of inflammation, bleeding, foreign bodies, or infection visible in the image.",
514
+ "corrections": "An image of colon. The abnormality, if present, is not clearly identifiable while the anatomical landmark is blue. There are no polyps, instruments, signs of inflammation, bleeding, foreign bodies, or infection visible in the image.",
515
+ "annotations": {
516
+ "0-20": {
517
+ "text": "An image of pylorus.",
518
+ "start": 0,
519
+ "end": 20,
520
+ "type": "incorrect"
521
+ },
522
+ "20-115": {
523
+ "text": "The abnormality, if present, is not clearly identifiable while the anatomical landmark is blue.",
524
+ "start": 20,
525
+ "end": 115,
526
+ "type": "correct"
527
+ },
528
+ "116-233": {
529
+ "text": "There are no polyps, instruments, signs of inflammation, bleeding, foreign bodies, or infection visible in the image.",
530
+ "start": 116,
531
+ "end": 233,
532
+ "type": "correct"
533
+ }
534
+ }
535
+ },
536
+ "b8ba70d6-bfa4-4ac1-9042-7b7cdfccc55b.jpg": {
537
+ "original_text": "An image of pylorus. A notable anatomical landmark is observed, and there are no visible polyps, instruments, signs of inflammation, bleeding, foreign bodies, or infection. The abnormality is prominently located in the center of the image.",
538
+ "corrections": "An image of cecum. A notable anatomical landmark is observed, and there is one visible polyp , No instruments, no signs of inflammation, no bleeding,no foreign bodies, or infection. The abnormality is prominently located in the center of the image.",
539
+ "annotations": {
540
+ "0-20": {
541
+ "text": "An image of pylorus.",
542
+ "start": 0,
543
+ "end": 20,
544
+ "type": "incorrect"
545
+ },
546
+ "21-171": {
547
+ "text": "A notable anatomical landmark is observed, and there are no visible polyps, instruments, signs of inflammation, bleeding, foreign bodies, or infection",
548
+ "start": 21,
549
+ "end": 171,
550
+ "type": "incorrect"
551
+ },
552
+ "172-238": {
553
+ "text": "The abnormality is prominently located in the center of the image.",
554
+ "start": 172,
555
+ "end": 238,
556
+ "type": "correct"
557
+ }
558
+ }
559
+ },
560
+ "7efed3ac-abef-453f-a526-5c5b9c19151d.jpg": {
561
+ "original_text": "An image of cecum. There is only one polyp observed located centrally. Inflammations and signs of bleeding are present, but no instruments or foreign bodies are observed. Anatomical landmarks are visible, and there are no clear signs of infection.",
562
+ "corrections": "An image of cecum. There is only one polyp observed located centrally. No Inflammations or signs of bleeding are present, no instruments or foreign bodies are observed. Anatomical landmarks are visible, and there are no clear signs of infection.",
563
+ "annotations": {
564
+ "0-17": {
565
+ "text": "An image of cecum",
566
+ "start": 0,
567
+ "end": 17,
568
+ "type": "correct"
569
+ },
570
+ "18-69": {
571
+ "text": "There is only one polyp observed located centrally.",
572
+ "start": 18,
573
+ "end": 69,
574
+ "type": "correct"
575
+ },
576
+ "71-169": {
577
+ "text": "Inflammations and signs of bleeding are present, but no instruments or foreign bodies are observed",
578
+ "start": 71,
579
+ "end": 169,
580
+ "type": "incorrect"
581
+ },
582
+ "171-247": {
583
+ "text": "Anatomical landmarks are visible, and there are no clear signs of infection.",
584
+ "start": 171,
585
+ "end": 247,
586
+ "type": "correct"
587
+ }
588
+ }
589
+ },
590
+ "5d287826-e12a-4ca4-b949-9d0d491d1b34.jpg": {
591
+ "original_text": "An image of cecum. There is a blue abnormality and a reddish anatomical landmark. One polyp is present, located centrally. No instruments, inflammation, bleeding, foreign bodies, or signs of infection are evident.",
592
+ "corrections": "An image of cecum. There is a blue abnormality and a reddish anatomical landmark. One polyp is present, located centrally. No instruments, inflammation, bleeding, foreign bodies, or signs of infection are evident.",
593
+ "annotations": {
594
+ "0-17": {
595
+ "text": "An image of cecum",
596
+ "start": 0,
597
+ "end": 17,
598
+ "type": "correct"
599
+ },
600
+ "19-81": {
601
+ "text": "There is a blue abnormality and a reddish anatomical landmark.",
602
+ "start": 19,
603
+ "end": 81,
604
+ "type": "correct"
605
+ },
606
+ "82-122": {
607
+ "text": "One polyp is present, located centrally.",
608
+ "start": 82,
609
+ "end": 122,
610
+ "type": "correct"
611
+ },
612
+ "123-213": {
613
+ "text": "No instruments, inflammation, bleeding, foreign bodies, or signs of infection are evident.",
614
+ "start": 123,
615
+ "end": 213,
616
+ "type": "correct"
617
+ }
618
+ }
619
+ },
620
+ "555ed1c9-b57e-4110-a14c-c5f17c344bfe.jpg": {
621
+ "original_text": "An image of cecum. There is one polyp, blue in color, present in the center. The anatomical landmark is pink in color and located near the periphery. There are no signs of inflammation, bleeding, infection, or foreign bodies, and no instruments are present.",
622
+ "corrections": "An image of colon. There is one polyp, blue in color, present in the center. The anatomical landmark is pink in color and located near the periphery. There are no signs of inflammation, bleeding, infection, or foreign bodies, and no instruments are present.",
623
+ "annotations": {
624
+ "0-18": {
625
+ "text": "An image of cecum.",
626
+ "start": 0,
627
+ "end": 18,
628
+ "type": "incorrect"
629
+ },
630
+ "19-76": {
631
+ "text": "There is one polyp, blue in color, present in the center.",
632
+ "start": 19,
633
+ "end": 76,
634
+ "type": "correct"
635
+ },
636
+ "77-149": {
637
+ "text": "The anatomical landmark is pink in color and located near the periphery.",
638
+ "start": 77,
639
+ "end": 149,
640
+ "type": "correct"
641
+ },
642
+ "150-257": {
643
+ "text": "There are no signs of inflammation, bleeding, infection, or foreign bodies, and no instruments are present.",
644
+ "start": 150,
645
+ "end": 257,
646
+ "type": "correct"
647
+ }
648
+ }
649
+ },
650
+ "a70fecce-0464-4144-80d2-052ae4e98257.jpg": {
651
+ "original_text": "An image of cecum. The anatomical landmark is not distinctly identifiable. Multiple polyps are present. There are indications of inflammation and signs of bleeding in the image. No instruments, foreign bodies, or clear signs of infection are visible.",
652
+ "corrections": "An image of cecum. The anatomical landmark is not distinctly identifiable. One polyp is present and located centrally. There are indications of inflammation and signs of bleeding in the image. No instruments, foreign bodies, or clear signs of infection are visible.",
653
+ "annotations": {
654
+ "0-18": {
655
+ "text": "An image of cecum.",
656
+ "start": 0,
657
+ "end": 18,
658
+ "type": "correct"
659
+ },
660
+ "19-74": {
661
+ "text": "The anatomical landmark is not distinctly identifiable.",
662
+ "start": 19,
663
+ "end": 74,
664
+ "type": "correct"
665
+ },
666
+ "75-103": {
667
+ "text": "Multiple polyps are present.",
668
+ "start": 75,
669
+ "end": 103,
670
+ "type": "incorrect"
671
+ },
672
+ "104-177": {
673
+ "text": "There are indications of inflammation and signs of bleeding in the image.",
674
+ "start": 104,
675
+ "end": 177,
676
+ "type": "correct"
677
+ },
678
+ "178-250": {
679
+ "text": "No instruments, foreign bodies, or clear signs of infection are visible.",
680
+ "start": 178,
681
+ "end": 250,
682
+ "type": "correct"
683
+ }
684
+ }
685
+ },
686
+ "0ecfc13c-9213-4738-9365-ca94a5dd3eed.jpg": {
687
+ "original_text": "An image of z-line. No polyps, instruments, or foreign bodies are present. The anatomical landmarks appear normal, with no visible signs of inflammation, infection, or bleeding.",
688
+ "corrections": "An image of cecum. There is one instrument appers in lower part of the image. No polyps, the anatomical landmarks appear blueish, with no visible signs of inflammation, infection, or bleeding.",
689
+ "annotations": {
690
+ "0-19": {
691
+ "text": "An image of z-line.",
692
+ "start": 0,
693
+ "end": 19,
694
+ "type": "incorrect"
695
+ },
696
+ "19-72": {
697
+ "text": "No polyps, instruments, or foreign bodies are present",
698
+ "start": 19,
699
+ "end": 72,
700
+ "type": "incorrect"
701
+ },
702
+ "74-176": {
703
+ "text": "The anatomical landmarks appear normal, with no visible signs of inflammation, infection, or bleeding.",
704
+ "start": 74,
705
+ "end": 176,
706
+ "type": "incorrect"
707
+ }
708
+ }
709
+ },
710
+ "e700910a-7e00-44bc-8453-0d09372ad5c9.jpg": {
711
+ "original_text": "An image of z-line. An abnormality is present and is colored white. There are no visible anatomical landmarks, polyps, instruments, signs of inflammation, evidence of bleeding, foreign bodies, or signs of infection. The abnormality is centrally located in the image.",
712
+ "corrections": "An image of colon. An abnormality is present and is colored white. There are no visible anatomical landmarks, instruments, signs of inflammation, evidence of bleeding, foreign bodies, or signs of infection. The abnormality is centrally located in the image. There is one polyp present in the center of the image.",
713
+ "annotations": {
714
+ "0-18": {
715
+ "text": "An image of z-line",
716
+ "start": 0,
717
+ "end": 18,
718
+ "type": "incorrect"
719
+ },
720
+ "19-66": {
721
+ "text": "An abnormality is present and is colored white.",
722
+ "start": 19,
723
+ "end": 66,
724
+ "type": "correct"
725
+ },
726
+ "68-215": {
727
+ "text": "There are no visible anatomical landmarks, polyps, instruments, signs of inflammation, evidence of bleeding, foreign bodies, or signs of infection.",
728
+ "start": 68,
729
+ "end": 215,
730
+ "type": "incorrect"
731
+ },
732
+ "216-266": {
733
+ "text": "The abnormality is centrally located in the image.",
734
+ "start": 216,
735
+ "end": 266,
736
+ "type": "correct"
737
+ }
738
+ }
739
+ },
740
+ "1a0e5a49-c3d9-47be-bc09-25bbe93cfa57.jpg": {
741
+ "original_text": "An image of cecum. The anatomical landmark is the blue-colored colon mucosa. There is one polyp present located centrally. No instruments or foreign bodies are visible, and there are no signs of inflammation, bleeding, or infection.",
742
+ "corrections": "An image of cecum. The anatomical landmark is the blue-colored colon mucosa. There is one polyp present located centrally. No instruments or foreign bodies are visible, and there are no signs of inflammation, bleeding, or infection.",
743
+ "annotations": {
744
+ "0-18": {
745
+ "text": "An image of cecum.",
746
+ "start": 0,
747
+ "end": 18,
748
+ "type": "correct"
749
+ },
750
+ "19-76": {
751
+ "text": "The anatomical landmark is the blue-colored colon mucosa.",
752
+ "start": 19,
753
+ "end": 76,
754
+ "type": "correct"
755
+ },
756
+ "77-122": {
757
+ "text": "There is one polyp present located centrally.",
758
+ "start": 77,
759
+ "end": 122,
760
+ "type": "correct"
761
+ },
762
+ "123-232": {
763
+ "text": "No instruments or foreign bodies are visible, and there are no signs of inflammation, bleeding, or infection.",
764
+ "start": 123,
765
+ "end": 232,
766
+ "type": "correct"
767
+ }
768
+ }
769
+ },
770
+ "0a693b92-89c9-48ea-9ad8-dc1d2f84aaca.jpg": {
771
+ "original_text": "An image of cecum. A blue abnormality is present in the image. The anatomical landmark appears pink. There's one polyp present in the center-right. No signs of inflammation, bleeding, infection, or foreign bodies are visible. There are no instruments present in the image.",
772
+ "corrections": "An image of cecum. A blue abnormality is present in the image. The anatomical landmark appears pink. There's one polyp present in the center-right. No signs of inflammation, bleeding, infection, or foreign bodies are visible. There are no instruments present in the image.",
773
+ "annotations": {
774
+ "0-18": {
775
+ "text": "An image of cecum.",
776
+ "start": 0,
777
+ "end": 18,
778
+ "type": "correct"
779
+ },
780
+ "19-62": {
781
+ "text": "A blue abnormality is present in the image.",
782
+ "start": 19,
783
+ "end": 62,
784
+ "type": "correct"
785
+ },
786
+ "63-100": {
787
+ "text": "The anatomical landmark appears pink.",
788
+ "start": 63,
789
+ "end": 100,
790
+ "type": "correct"
791
+ },
792
+ "101-147": {
793
+ "text": "There's one polyp present in the center-right.",
794
+ "start": 101,
795
+ "end": 147,
796
+ "type": "correct"
797
+ },
798
+ "148-225": {
799
+ "text": "No signs of inflammation, bleeding, infection, or foreign bodies are visible.",
800
+ "start": 148,
801
+ "end": 225,
802
+ "type": "correct"
803
+ },
804
+ "226-272": {
805
+ "text": "There are no instruments present in the image.",
806
+ "start": 226,
807
+ "end": 272,
808
+ "type": "correct"
809
+ }
810
+ }
811
+ },
812
+ "e7e5f165-2c56-4333-82aa-4fc8045e8e1c.jpg": {
813
+ "original_text": "An image of z-line. There is a blue-colored substance likely used for staining, but no visible abnormalities such as polyps or foreign bodies. The anatomical landmark is the intestinal lining, which is reddish-pink, indicating no signs of inflammation, infection, or bleeding. No instruments are visible in the image.",
814
+ "corrections": "An image of cecum. There is a blue-colored substance likely used for staining,there is one polyp in the upper section of the image. The anatomical landmark is the cecum, which is reddish-pink, indicating no signs of inflammation, infection, or bleeding. No instruments are visible in the image.",
815
+ "annotations": {
816
+ "0-19": {
817
+ "text": "An image of z-line.",
818
+ "start": 0,
819
+ "end": 19,
820
+ "type": "incorrect"
821
+ },
822
+ "20-142": {
823
+ "text": "There is a blue-colored substance likely used for staining, but no visible abnormalities such as polyps or foreign bodies.",
824
+ "start": 20,
825
+ "end": 142,
826
+ "type": "incorrect"
827
+ },
828
+ "143-276": {
829
+ "text": "The anatomical landmark is the intestinal lining, which is reddish-pink, indicating no signs of inflammation, infection, or bleeding.",
830
+ "start": 143,
831
+ "end": 276,
832
+ "type": "incorrect"
833
+ },
834
+ "276-316": {
835
+ "text": "No instruments are visible in the image.",
836
+ "start": 276,
837
+ "end": 316,
838
+ "type": "correct"
839
+ }
840
+ }
841
+ },
842
+ "a0685864-7196-4ce9-9c35-2ee706ab181e.jpg": {
843
+ "original_text": "An image of cecum. An abnormality colored yellow is present in the center. The anatomical tissue surrounding the area is light pink and blue. No polyps or instruments are visible, and there are signs of inflammation but no evidence of bleeding, infection, or foreign bodies.",
844
+ "corrections": "An image of cecum. An abnormality colored yellow is present in the center. The anatomical tissue surrounding the area is light pink and blue. No polyps or instruments are visible, and there are signs of inflammation but no evidence of bleeding, infection, or foreign bodies.",
845
+ "annotations": {
846
+ "0-18": {
847
+ "text": "An image of cecum.",
848
+ "start": 0,
849
+ "end": 18,
850
+ "type": "correct"
851
+ },
852
+ "19-74": {
853
+ "text": "An abnormality colored yellow is present in the center.",
854
+ "start": 19,
855
+ "end": 74,
856
+ "type": "correct"
857
+ },
858
+ "75-141": {
859
+ "text": "The anatomical tissue surrounding the area is light pink and blue.",
860
+ "start": 75,
861
+ "end": 141,
862
+ "type": "correct"
863
+ },
864
+ "142-274": {
865
+ "text": "No polyps or instruments are visible, and there are signs of inflammation but no evidence of bleeding, infection, or foreign bodies.",
866
+ "start": 142,
867
+ "end": 274,
868
+ "type": "correct"
869
+ }
870
+ }
871
+ },
872
+ "5bc3f392-f00f-4978-8f0d-02bb1f54f4c0.jpg": {
873
+ "original_text": "An image of cecum. An abnormality is present, which is white and roughly in the center. There are no polyps, anatomical landmarks, instruments, signs of inflammation, bleeding, foreign bodies, or infection visible in the image.",
874
+ "corrections": "An image of cecum. An abnormality is present, which is white and roughly in the center. There is one polyp ,but no anatomical landmarks, instruments, signs of inflammation, bleeding, foreign bodies, or infection visible in the image.",
875
+ "annotations": {
876
+ "0-17": {
877
+ "text": "An image of cecum",
878
+ "start": 0,
879
+ "end": 17,
880
+ "type": "correct"
881
+ },
882
+ "19-87": {
883
+ "text": "An abnormality is present, which is white and roughly in the center.",
884
+ "start": 19,
885
+ "end": 87,
886
+ "type": "correct"
887
+ },
888
+ "88-227": {
889
+ "text": "There are no polyps, anatomical landmarks, instruments, signs of inflammation, bleeding, foreign bodies, or infection visible in the image.",
890
+ "start": 88,
891
+ "end": 227,
892
+ "type": "incorrect"
893
+ }
894
+ }
895
+ },
896
+ "88d77dd6-c870-497c-b156-96417620efe1.jpg": {
897
+ "original_text": "An image of z-line. There is a blue abnormality present. The anatomical landmark is pink. No polyps are observed. The abnormality is centralized on the right side. No polyps, instruments, inflammation, bleeding, foreign bodies, or signs of infection are evident in the image.",
898
+ "corrections": "An image of colon. There is a blue abnormality present. The anatomical landmark is pink. The abnormality is centralized on the right side. No instruments, inflammation, bleeding, foreign bodies, or signs of infection are evident in the image. There is one polyp present in the left the image. ",
899
+ "annotations": {
900
+ "0-19": {
901
+ "text": "An image of z-line.",
902
+ "type": "incorrect",
903
+ "start": 0,
904
+ "end": 19
905
+ },
906
+ "20-89": {
907
+ "text": "There is a blue abnormality present. The anatomical landmark is pink.",
908
+ "type": "correct",
909
+ "start": 20,
910
+ "end": 89
911
+ },
912
+ "90-113": {
913
+ "text": "No polyps are observed.",
914
+ "type": "incorrect",
915
+ "start": 90,
916
+ "end": 113
917
+ },
918
+ "114-163": {
919
+ "text": "The abnormality is centralized on the right side.",
920
+ "type": "correct",
921
+ "start": 114,
922
+ "end": 163
923
+ },
924
+ "163-275": {
925
+ "text": " No polyps, instruments, inflammation, bleeding, foreign bodies, or signs of infection are evident in the image.",
926
+ "type": "incorrect",
927
+ "start": 163,
928
+ "end": 275
929
+ }
930
+ }
931
+ },
932
+ "85ef9795-f799-4397-b6d0-63db1db8196b.jpg": {
933
+ "original_text": "An image of pylorus. There are two polyps present, located in the lower right of the image. No instruments, inflammation, bleeding, foreign bodies, or signs of infection are visible.",
934
+ "corrections": "An image of colon. There one polyp present, located in the lower right of the image. No instruments, inflammation, bleeding, foreign bodies, or signs of infection are visible. The anatomical landmark appears pink.",
935
+ "annotations": {
936
+ "0-19": {
937
+ "text": "An image of pylorus",
938
+ "start": 0,
939
+ "end": 19,
940
+ "type": "incorrect"
941
+ },
942
+ "20-90": {
943
+ "text": "There are two polyps present, located in the lower right of the image.",
944
+ "start": 20,
945
+ "end": 90,
946
+ "type": "incorrect"
947
+ },
948
+ "91-181": {
949
+ "text": "No instruments, inflammation, bleeding, foreign bodies, or signs of infection are visible.",
950
+ "start": 91,
951
+ "end": 181,
952
+ "type": "correct"
953
+ }
954
+ }
955
+ },
956
+ "93bfd318-0523-4ff8-ad19-93b4eb329ed5.jpg": {
957
+ "original_text": "An image of cecum. The abnormality is greenish-white and located centrally. There are no visible polyps, anatomical landmarks, instruments, signs of inflammation, bleeding, foreign bodies, or infection.",
958
+ "corrections": "An image of cecum. The abnormality is greenish-white and located centrally.There is one polyp present in the lowe center of the image.The anatomical landmark is colon wall. No instruments or foreign bodies. There are signs of minor inflammation and infection.",
959
+ "annotations": {
960
+ "0-18": {
961
+ "text": "An image of cecum.",
962
+ "start": 0,
963
+ "end": 18,
964
+ "type": "correct"
965
+ },
966
+ "17-18": {
967
+ "text": ".",
968
+ "start": 17,
969
+ "end": 18,
970
+ "type": "correct"
971
+ },
972
+ "18-74": {
973
+ "text": "The abnormality is greenish-white and located centrally.",
974
+ "start": 18,
975
+ "end": 74,
976
+ "type": "incorrect"
977
+ },
978
+ "19-75": {
979
+ "text": "The abnormality is greenish-white and located centrally.",
980
+ "start": 19,
981
+ "end": 75,
982
+ "type": "correct"
983
+ },
984
+ "75-201": {
985
+ "text": "There are no visible polyps, anatomical landmarks, instruments, signs of inflammation, bleeding, foreign bodies, or infection.",
986
+ "start": 75,
987
+ "end": 201,
988
+ "type": "incorrect"
989
+ }
990
+ }
991
+ },
992
+ "3c229b33-6e5c-4c02-afae-cdd5ea65cf72.jpg": {
993
+ "original_text": "An image of cecum. The anatomical landmark, the surrounding tissue, appears blue. There are no signs of inflammation, bleeding, infection, foreign bodies, or instruments present.",
994
+ "corrections": "An image of cecum. The anatomical landmark, the surrounding tissue, appears blue.There is one polyp located centrally. There are no signs of inflammation, bleeding, infection, foreign bodies, or instruments present.",
995
+ "annotations": {
996
+ "0-18": {
997
+ "text": "An image of cecum.",
998
+ "start": 0,
999
+ "end": 18,
1000
+ "type": "correct"
1001
+ },
1002
+ "19-81": {
1003
+ "text": "The anatomical landmark, the surrounding tissue, appears blue.",
1004
+ "start": 19,
1005
+ "end": 81,
1006
+ "type": "correct"
1007
+ },
1008
+ "82-178": {
1009
+ "text": "There are no signs of inflammation, bleeding, infection, foreign bodies, or instruments present.",
1010
+ "start": 82,
1011
+ "end": 178,
1012
+ "type": "correct"
1013
+ }
1014
+ }
1015
+ },
1016
+ "4d80eeda-2481-4cc8-84cb-e80d119ce4c5.jpg": {
1017
+ "original_text": "An image of cecum. The abnormality is a white polyp, located centrally. The landmark appears to be blue. There is one polyp present. No instruments, signs of inflammation, bleeding, foreign bodies, or infection are visible.",
1018
+ "corrections": "An image of cecum. The abnormality is a white polyp, located centrally. The landmark appears to be blue. There is one polyp present. No instruments, signs of inflammation, bleeding, foreign bodies, or infection are visible.",
1019
+ "annotations": {
1020
+ "0-18": {
1021
+ "text": "An image of cecum.",
1022
+ "start": 0,
1023
+ "end": 18,
1024
+ "type": "correct"
1025
+ },
1026
+ "19-71": {
1027
+ "text": "The abnormality is a white polyp, located centrally.",
1028
+ "start": 19,
1029
+ "end": 71,
1030
+ "type": "correct"
1031
+ },
1032
+ "72-104": {
1033
+ "text": "The landmark appears to be blue.",
1034
+ "start": 72,
1035
+ "end": 104,
1036
+ "type": "correct"
1037
+ },
1038
+ "105-132": {
1039
+ "text": "There is one polyp present.",
1040
+ "start": 105,
1041
+ "end": 132,
1042
+ "type": "correct"
1043
+ },
1044
+ "133-223": {
1045
+ "text": "No instruments, signs of inflammation, bleeding, foreign bodies, or infection are visible.",
1046
+ "start": 133,
1047
+ "end": 223,
1048
+ "type": "correct"
1049
+ }
1050
+ }
1051
+ }
1052
+ }
epoch_1/Hallucination-Aware-VLM/dataset/Gut-VLM/train_test_split/classwise_test_split/drm_test.json ADDED
@@ -0,0 +1,986 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "6c1f1b20-6f67-4491-b153-adc8e3936bce.jpg": {
3
+ "original_text": "An image of z-line. No polyps, signs of inflammation, bleeding, infection, or foreign bodies are evident. No instruments are present and the abnormality is located centrally.",
4
+ "corrections": "An image of colon. There is a blue-colored abnormality present. No polyps, signs of inflammation, bleeding, infection, or foreign bodies are evident. No instruments are present and the abnormality is located centrally.",
5
+ "annotations": {
6
+ "0-19": {
7
+ "text": "An image of z-line.",
8
+ "start": 0,
9
+ "end": 19,
10
+ "type": "incorrect"
11
+ },
12
+ "20-105": {
13
+ "text": "No polyps, signs of inflammation, bleeding, infection, or foreign bodies are evident.",
14
+ "start": 20,
15
+ "end": 105,
16
+ "type": "correct"
17
+ },
18
+ "106-174": {
19
+ "text": "No instruments are present and the abnormality is located centrally.",
20
+ "start": 106,
21
+ "end": 174,
22
+ "type": "correct"
23
+ }
24
+ }
25
+ },
26
+ "4dc3a037-c552-4c9a-9159-2bfc448ad957.jpg": {
27
+ "original_text": "An image of z-line. An abnormality, if present, appears bluish, and the anatomical landmarks have a brownish color. No polyps, instruments, signs of inflammation, bleeding, or infection are visible. There are no foreign bodies present.",
28
+ "corrections": "An image of cecum. An abnormality, if appears bluish, and the anatomical landmarks have a brownish color. No polyps, instruments, signs of inflammation, bleeding, or infection are visible. There are no foreign bodies present.",
29
+ "annotations": {
30
+ "0-19": {
31
+ "text": "An image of z-line.",
32
+ "start": 0,
33
+ "end": 19,
34
+ "type": "incorrect"
35
+ },
36
+ "20-115": {
37
+ "text": "An abnormality, if present, appears bluish, and the anatomical landmarks have a brownish color.",
38
+ "start": 20,
39
+ "end": 115,
40
+ "type": "incorrect"
41
+ },
42
+ "115-197": {
43
+ "text": "No polyps, instruments, signs of inflammation, bleeding, or infection are visible.",
44
+ "start": 115,
45
+ "end": 197,
46
+ "type": "correct"
47
+ },
48
+ "198-234": {
49
+ "text": "There are no foreign bodies present.",
50
+ "start": 198,
51
+ "end": 234,
52
+ "type": "correct"
53
+ }
54
+ }
55
+ },
56
+ "e3fd6b64-6901-47e3-acff-376f5e596863.jpg": {
57
+ "original_text": "An image of cecum. A blue-stained abnormality is present on the left side. No anatomical landmarks or polyps are visible. There are no instruments, signs of inflammation, evidence of bleeding, foreign bodies, or signs of infection observable in the image.",
58
+ "corrections": "An image of cecum. A blue-stained abnormality is present on the left side. No anatomical landmarks or polyps are visible. There are no instruments, signs of inflammation, evidence of bleeding, foreign bodies, or signs of infection observable in the image.",
59
+ "annotations": {
60
+ "0-23": {
61
+ "text": "n image of normal cecum",
62
+ "start": 0,
63
+ "end": 23,
64
+ "type": "correct"
65
+ },
66
+ "19-74": {
67
+ "text": "A blue-stained abnormality is present on the left side.",
68
+ "start": 19,
69
+ "end": 74,
70
+ "type": "correct"
71
+ },
72
+ "75-121": {
73
+ "text": "No anatomical landmarks or polyps are visible.",
74
+ "start": 75,
75
+ "end": 121,
76
+ "type": "correct"
77
+ },
78
+ "122-255": {
79
+ "text": "There are no instruments, signs of inflammation, evidence of bleeding, foreign bodies, or signs of infection observable in the image.",
80
+ "start": 122,
81
+ "end": 255,
82
+ "type": "correct"
83
+ }
84
+ }
85
+ },
86
+ "12bb7f55-8434-4f31-b1e1-93ecd0f67051.jpg": {
87
+ "original_text": "An image of cecum. There is a dark blue abnormality present on the right side. The anatomical landmark is flesh-colored. No polyps, instruments, signs of inflammation, bleeding, foreign bodies, or infection are observed.",
88
+ "corrections": "An image of cecum. There is a dark blue abnormality present on the right side. The anatomical landmark is flesh-colored. No polyps, instruments, signs of inflammation, bleeding, foreign bodies, or infection are observed.",
89
+ "annotations": {
90
+ "0-18": {
91
+ "text": "An image of cecum.",
92
+ "start": 0,
93
+ "end": 18,
94
+ "type": "correct"
95
+ },
96
+ "19-78": {
97
+ "text": "There is a dark blue abnormality present on the right side.",
98
+ "start": 19,
99
+ "end": 78,
100
+ "type": "correct"
101
+ },
102
+ "79-120": {
103
+ "text": "The anatomical landmark is flesh-colored.",
104
+ "start": 79,
105
+ "end": 120,
106
+ "type": "correct"
107
+ },
108
+ "121-220": {
109
+ "text": "No polyps, instruments, signs of inflammation, bleeding, foreign bodies, or infection are observed.",
110
+ "start": 121,
111
+ "end": 220,
112
+ "type": "correct"
113
+ }
114
+ }
115
+ },
116
+ "4c430475-576e-424d-a1f7-d26a6ca7b521.jpg": {
117
+ "original_text": "An image of cecum. The anatomical landmark is visually normal in color, situated in the periphery. One instrument is present. There are signs of inflammation and evidence of bleeding, but no foreign bodies or signs of infection are seen.",
118
+ "corrections": "An image of cecum. The anatomical landmark is visually normal in color, situated in the periphery. There appears a bluish dye in the center. No instrument is present. There are no signs of inflammation and evidence of bleeding, and no foreign bodies or signs of infection are seen.",
119
+ "annotations": {
120
+ "0-18": {
121
+ "text": "An image of cecum.",
122
+ "start": 0,
123
+ "end": 18,
124
+ "type": "correct"
125
+ },
126
+ "19-98": {
127
+ "text": "The anatomical landmark is visually normal in color, situated in the periphery.",
128
+ "start": 19,
129
+ "end": 98,
130
+ "type": "correct"
131
+ },
132
+ "99-125": {
133
+ "text": "One instrument is present.",
134
+ "start": 99,
135
+ "end": 125,
136
+ "type": "incorrect"
137
+ },
138
+ "126-237": {
139
+ "text": "There are signs of inflammation and evidence of bleeding, but no foreign bodies or signs of infection are seen.",
140
+ "start": 126,
141
+ "end": 237,
142
+ "type": "incorrect"
143
+ }
144
+ }
145
+ },
146
+ "c7ca5137-2a2c-43bd-a430-13ef512a0c9d.jpg": {
147
+ "original_text": "An image of z-line. There is a blue abnormality present in the image with an anatomical landmark colored in reddish-pink. No polyps, instruments, foreign bodies, signs of inflammation, infection, or evidence of bleeding are observed. The blue abnormality is located centrally in the image.",
148
+ "corrections": "An image of colon. There is a blue abnormality present in the image with an anatomical landmark colored in reddish-pink. No polyps, instruments, foreign bodies, signs of inflammation, infection, or evidence of bleeding are observed. The blue abnormality is located centrally in the image.",
149
+ "annotations": {
150
+ "0-19": {
151
+ "text": "An image of z-line.",
152
+ "start": 0,
153
+ "end": 19,
154
+ "type": "incorrect"
155
+ },
156
+ "20-121": {
157
+ "text": "There is a blue abnormality present in the image with an anatomical landmark colored in reddish-pink.",
158
+ "start": 20,
159
+ "end": 121,
160
+ "type": "correct"
161
+ },
162
+ "122-233": {
163
+ "text": "No polyps, instruments, foreign bodies, signs of inflammation, infection, or evidence of bleeding are observed.",
164
+ "start": 122,
165
+ "end": 233,
166
+ "type": "correct"
167
+ },
168
+ "234-289": {
169
+ "text": "The blue abnormality is located centrally in the image.",
170
+ "start": 234,
171
+ "end": 289,
172
+ "type": "correct"
173
+ }
174
+ }
175
+ },
176
+ "87067da4-8aac-4f04-8641-9a67365510aa.jpg": {
177
+ "original_text": "An image of z-line. There is one instrument on the lower left part of the image. There are no signs of inflammation, bleeding, infection, or foreign bodies.",
178
+ "corrections": "An image of cecum. There is one blue abnormality located centrally. There are no signs of inflammation, bleeding, instruments, infection, or foreign bodies.",
179
+ "annotations": {
180
+ "0-18": {
181
+ "text": "An image of z-line",
182
+ "start": 0,
183
+ "end": 18,
184
+ "type": "incorrect"
185
+ },
186
+ "20-80": {
187
+ "text": "There is one instrument on the lower left part of the image.",
188
+ "start": 20,
189
+ "end": 80,
190
+ "type": "incorrect"
191
+ },
192
+ "81-156": {
193
+ "text": "There are no signs of inflammation, bleeding, infection, or foreign bodies.",
194
+ "start": 81,
195
+ "end": 156,
196
+ "type": "correct"
197
+ }
198
+ }
199
+ },
200
+ "2a2592fc-4557-4276-8c96-d7ac1ee49d37.jpg": {
201
+ "original_text": "An image of cecum. The abnormality, if present, is green in color. There is an anatomical landmark visible, and there are no polyps present. No instruments, signs of inflammation, bleeding, foreign bodies, or infection are noted in the image. The abnormality, if present, is on the left side.",
202
+ "corrections": "An image of cecum. The abnormality is green-blue in color. There is an anatomical landmark visible, and there are no polyps present. No instruments, signs of inflammation, bleeding, foreign bodies, or infection are noted in the image. The abnormality is on the left side.",
203
+ "annotations": {
204
+ "0-18": {
205
+ "text": "An image of cecum.",
206
+ "start": 0,
207
+ "end": 18,
208
+ "type": "correct"
209
+ },
210
+ "19-66": {
211
+ "text": "The abnormality, if present, is green in color.",
212
+ "start": 19,
213
+ "end": 66,
214
+ "type": "incorrect"
215
+ },
216
+ "67-140": {
217
+ "text": "There is an anatomical landmark visible, and there are no polyps present.",
218
+ "start": 67,
219
+ "end": 140,
220
+ "type": "correct"
221
+ },
222
+ "141-242": {
223
+ "text": "No instruments, signs of inflammation, bleeding, foreign bodies, or infection are noted in the image.",
224
+ "start": 141,
225
+ "end": 242,
226
+ "type": "correct"
227
+ },
228
+ "243-292": {
229
+ "text": "The abnormality, if present, is on the left side.",
230
+ "start": 243,
231
+ "end": 292,
232
+ "type": "incorrect"
233
+ }
234
+ }
235
+ },
236
+ "50e85dfb-7d6c-4158-bf44-c17d4ed54ab3.jpg": {
237
+ "original_text": "An image of pylorus. There are no polyps, signs of inflammation, bleeding, or infection. No anatomical landmarks or foreign bodies are present.",
238
+ "corrections": "An image of cecum. There are no polyps, signs of inflammation, bleeding, or infection. No anatomical landmarks or foreign bodies are present. There is blue dye on the image.",
239
+ "annotations": {
240
+ "0-20": {
241
+ "text": "An image of pylorus.",
242
+ "start": 0,
243
+ "end": 20,
244
+ "type": "incorrect"
245
+ },
246
+ "21-88": {
247
+ "text": "There are no polyps, signs of inflammation, bleeding, or infection.",
248
+ "start": 21,
249
+ "end": 88,
250
+ "type": "correct"
251
+ },
252
+ "89-143": {
253
+ "text": "No anatomical landmarks or foreign bodies are present.",
254
+ "start": 89,
255
+ "end": 143,
256
+ "type": "correct"
257
+ }
258
+ }
259
+ },
260
+ "7ad847a5-c570-4225-88cd-a74196096339.jpg": {
261
+ "original_text": "An image of z-line. The abnormality appears bluish, with no distinct anatomical landmarks present. No polyps or instruments are visible, nor are there signs of inflammation, bleeding, infection, or foreign bodies.",
262
+ "corrections": "An image of colon. The abnormality appears bluish, with no distinct anatomical landmarks present. No polyps or instruments are visible, nor are there signs of inflammation, bleeding, infection, or foreign bodies.",
263
+ "annotations": {
264
+ "0-19": {
265
+ "text": "An image of z-line.",
266
+ "start": 0,
267
+ "end": 19,
268
+ "type": "incorrect"
269
+ },
270
+ "20-51": {
271
+ "text": "The abnormality appears bluish,",
272
+ "start": 20,
273
+ "end": 51,
274
+ "type": "correct"
275
+ },
276
+ "50-97": {
277
+ "text": ", with no distinct anatomical landmarks present",
278
+ "start": 50,
279
+ "end": 97,
280
+ "type": "correct"
281
+ },
282
+ "96-98": {
283
+ "text": "t.",
284
+ "start": 96,
285
+ "end": 98,
286
+ "type": "correct"
287
+ },
288
+ "99-213": {
289
+ "text": "No polyps or instruments are visible, nor are there signs of inflammation, bleeding, infection, or foreign bodies.",
290
+ "start": 99,
291
+ "end": 213,
292
+ "type": "correct"
293
+ }
294
+ }
295
+ },
296
+ "abe3e92d-dd24-46c4-b009-a7149a6b75f0.jpg": {
297
+ "original_text": "An image of cecum. The abnormality is a blueish area, and there is also a red spot indicating possible bleeding. An anatomical landmark is visible, but no polyps, instruments, signs of inflammation, infection, or foreign bodies are present.",
298
+ "corrections": "An image of cecum. The abnormality is a blueish area, and there is also a red spot indicating possible bleeding. An anatomical landmark is visible, but no polyps, instruments, signs of inflammation, infection, or foreign bodies are present.",
299
+ "annotations": {
300
+ "0-17": {
301
+ "text": "An image of cecum",
302
+ "start": 0,
303
+ "end": 17,
304
+ "type": "correct"
305
+ },
306
+ "18-111": {
307
+ "text": "The abnormality is a blueish area, and there is also a red spot indicating possible bleeding.",
308
+ "start": 18,
309
+ "end": 111,
310
+ "type": "correct"
311
+ },
312
+ "112-239": {
313
+ "text": "An anatomical landmark is visible, but no polyps, instruments, signs of inflammation, infection, or foreign bodies are present.",
314
+ "start": 112,
315
+ "end": 239,
316
+ "type": "correct"
317
+ }
318
+ }
319
+ },
320
+ "b18e7b6b-8a3c-4d3f-aede-42cef78ec091.jpg": {
321
+ "original_text": "An image of cecum. The abnormality, a lesion, is blue in color and located on the right side. The anatomical landmark, the intestinal lining, is light brown. There are no polyps, instruments, signs of inflammation, bleeding, foreign bodies, or infection present.",
322
+ "corrections": "An image of cecum. The abnormality, a lesion, is blue in color and located on the right side. The anatomical landmark, the intestinal lining, is pink in color. There are no polyps, instruments, signs of inflammation, bleeding, foreign bodies, or infection present.",
323
+ "annotations": {
324
+ "0-18": {
325
+ "text": "An image of cecum.",
326
+ "start": 0,
327
+ "end": 18,
328
+ "type": "incorrect"
329
+ },
330
+ "19-93": {
331
+ "text": "The abnormality, a lesion, is blue in color and located on the right side.",
332
+ "start": 19,
333
+ "end": 93,
334
+ "type": "correct"
335
+ },
336
+ "93-156": {
337
+ "text": "The anatomical landmark, the intestinal lining, is light brown.",
338
+ "start": 93,
339
+ "end": 156,
340
+ "type": "incorrect"
341
+ },
342
+ "157-261": {
343
+ "text": "There are no polyps, instruments, signs of inflammation, bleeding, foreign bodies, or infection present.",
344
+ "start": 157,
345
+ "end": 261,
346
+ "type": "correct"
347
+ }
348
+ }
349
+ },
350
+ "c8cb218f-5f64-409e-a1a3-0cb4163a24f4.jpg": {
351
+ "original_text": "An image of z-line. The abnormality, if present, appears to be reddish in color, located on the right side. There are no visible polyps, no inflammation, bleeding, foreign bodies, or signs of infection. No instruments or clear anatomical landmarks are visible.",
352
+ "corrections": "An image of cecum. The abnormality appears to be bluish in color, located on the left side. There are no visible polyps, no inflammation, bleeding, foreign bodies, or signs of infection. No instruments or clear anatomical landmarks are visible.",
353
+ "annotations": {
354
+ "0-19": {
355
+ "text": "An image of z-line.",
356
+ "start": 0,
357
+ "end": 19,
358
+ "type": "incorrect"
359
+ },
360
+ "19-106": {
361
+ "text": "The abnormality, if present, appears to be reddish in color, located on the right side.",
362
+ "start": 19,
363
+ "end": 106,
364
+ "type": "incorrect"
365
+ },
366
+ "108-202": {
367
+ "text": "There are no visible polyps, no inflammation, bleeding, foreign bodies, or signs of infection.",
368
+ "start": 108,
369
+ "end": 202,
370
+ "type": "correct"
371
+ },
372
+ "203-260": {
373
+ "text": "No instruments or clear anatomical landmarks are visible.",
374
+ "start": 203,
375
+ "end": 260,
376
+ "type": "correct"
377
+ }
378
+ }
379
+ },
380
+ "bac98c43-6e7e-4287-92de-119100adf1de.jpg": {
381
+ "original_text": "An image of pylorus. The abnormality might be bluish in color, with red tissue being the anatomical landmark. There are no visible polyps, instruments, inflammation, bleeding, foreign bodies, or signs of infection present in the image. The abnormality is located towards the lower left quadrant.",
382
+ "corrections": "An image of colon. The abnormality might be bluish in color, with red tissue being the anatomical landmark. There are no visible polyps, instruments, inflammation, bleeding, foreign bodies, or signs of infection present in the image. The abnormality is located towards the lower left quadrant.",
383
+ "annotations": {
384
+ "0-20": {
385
+ "text": "An image of pylorus.",
386
+ "start": 0,
387
+ "end": 20,
388
+ "type": "incorrect"
389
+ },
390
+ "21-109": {
391
+ "text": "The abnormality might be bluish in color, with red tissue being the anatomical landmark.",
392
+ "start": 21,
393
+ "end": 109,
394
+ "type": "correct"
395
+ },
396
+ "110-235": {
397
+ "text": "There are no visible polyps, instruments, inflammation, bleeding, foreign bodies, or signs of infection present in the image.",
398
+ "start": 110,
399
+ "end": 235,
400
+ "type": "correct"
401
+ },
402
+ "236-295": {
403
+ "text": "The abnormality is located towards the lower left quadrant.",
404
+ "start": 236,
405
+ "end": 295,
406
+ "type": "correct"
407
+ }
408
+ }
409
+ },
410
+ "32425083-f790-4977-b2b5-b8f801e099c6.jpg": {
411
+ "original_text": "An image of pylorus. There is an abnormality present, characterized by a white color. No polyps or anatomical landmarks are observable. There are no instruments, signs of inflammation, bleeding, foreign bodies, or infection in the image. The abnormality is located in the upper part of the image.",
412
+ "corrections": "An image of pylorus. There is an abnormality present in the upper part of the image. No polyps or anatomical landmarks are observable. There are no instruments, signs of inflammation, bleeding, foreign bodies, or infection in the image. The abnormality is located in the upper part of the image.",
413
+ "annotations": {
414
+ "0-20": {
415
+ "text": "An image of pylorus.",
416
+ "start": 0,
417
+ "end": 20,
418
+ "type": "correct"
419
+ },
420
+ "21-85": {
421
+ "text": "There is an abnormality present, characterized by a white color.",
422
+ "start": 21,
423
+ "end": 85,
424
+ "type": "incorrect"
425
+ },
426
+ "85-134": {
427
+ "text": "No polyps or anatomical landmarks are observable.",
428
+ "start": 85,
429
+ "end": 134,
430
+ "type": "correct"
431
+ },
432
+ "135-236": {
433
+ "text": "There are no instruments, signs of inflammation, bleeding, foreign bodies, or infection in the image.",
434
+ "start": 135,
435
+ "end": 236,
436
+ "type": "correct"
437
+ },
438
+ "237-295": {
439
+ "text": "The abnormality is located in the upper part of the image.",
440
+ "start": 237,
441
+ "end": 295,
442
+ "type": "correct"
443
+ }
444
+ }
445
+ },
446
+ "c424e137-66dc-449d-a70e-e6f28ea7a49d.jpg": {
447
+ "original_text": "An image of z-line. There is a noticeable abnormality, which is blue-grey in the center of the image. No polyps are present, but abnormalities and anatomical landmarks are visible. There are no instruments, signs of inflammation, bleeding, foreign bodies, or infection present in the image.",
448
+ "corrections": "An image of colon. There is a noticeable abnormality, which is blue-grey in the center of the image. No polyps are present, but abnormalities and anatomical landmarks are visible. There are no instruments, signs of inflammation, bleeding, foreign bodies, or infection present in the image.",
449
+ "annotations": {
450
+ "0-19": {
451
+ "text": "An image of z-line.",
452
+ "start": 0,
453
+ "end": 19,
454
+ "type": "incorrect"
455
+ },
456
+ "20-101": {
457
+ "text": "There is a noticeable abnormality, which is blue-grey in the center of the image.",
458
+ "start": 20,
459
+ "end": 101,
460
+ "type": "correct"
461
+ },
462
+ "102-180": {
463
+ "text": "No polyps are present, but abnormalities and anatomical landmarks are visible.",
464
+ "start": 102,
465
+ "end": 180,
466
+ "type": "correct"
467
+ },
468
+ "181-290": {
469
+ "text": "There are no instruments, signs of inflammation, bleeding, foreign bodies, or infection present in the image.",
470
+ "start": 181,
471
+ "end": 290,
472
+ "type": "correct"
473
+ }
474
+ }
475
+ },
476
+ "cce35aa9-c34d-4f7c-ad74-e584c8f4a6b1.jpg": {
477
+ "original_text": "An image of z-line. The surrounding anatomical landmark is cream-colored, and there are no signs of inflammation, bleeding, infection, or foreign bodies. There are no instruments visible in the image.",
478
+ "corrections": "An image of cecum. The surrounding anatomical landmark is cream-colored, and there are no signs of inflammation, bleeding, infection, or foreign bodies. There are no instruments visible in the image.",
479
+ "annotations": {
480
+ "0-19": {
481
+ "text": "An image of z-line.",
482
+ "start": 0,
483
+ "end": 19,
484
+ "type": "incorrect"
485
+ },
486
+ "20-153": {
487
+ "text": "The surrounding anatomical landmark is cream-colored, and there are no signs of inflammation, bleeding, infection, or foreign bodies.",
488
+ "start": 20,
489
+ "end": 153,
490
+ "type": "correct"
491
+ },
492
+ "154-200": {
493
+ "text": "There are no instruments visible in the image.",
494
+ "start": 154,
495
+ "end": 200,
496
+ "type": "correct"
497
+ }
498
+ }
499
+ },
500
+ "9f68ecd9-b57c-4d44-b171-d076fb049291.jpg": {
501
+ "original_text": "An image of pylorus. The image shows a blue-stained anatomical landmark, with no clear abnormalities, polyps, instruments, inflammation, bleeding, infection, or foreign bodies present.",
502
+ "corrections": "An image of cecum. The image shows a blue-stained anatomical landmark, with no clear abnormalities, polyps, instruments, inflammation, bleeding, infection, or foreign bodies present.",
503
+ "annotations": {
504
+ "0-20": {
505
+ "text": "An image of pylorus.",
506
+ "start": 0,
507
+ "end": 20,
508
+ "type": "incorrect"
509
+ },
510
+ "21-184": {
511
+ "text": "The image shows a blue-stained anatomical landmark, with no clear abnormalities, polyps, instruments, inflammation, bleeding, infection, or foreign bodies present.",
512
+ "start": 21,
513
+ "end": 184,
514
+ "type": "correct"
515
+ }
516
+ }
517
+ },
518
+ "bbdb51fd-74c3-4dcc-9f2a-348992bd7656.jpg": {
519
+ "original_text": "An image of pylorus. An abnormality, possibly a polyp, is white and located in the lower right of the image. Anatomical landmarks might be present but are not distinctly identifiable. There are no visible instruments, signs of inflammation, bleeding, foreign bodies, or signs of infection.",
520
+ "corrections": "An image of cecum. An abnormality, possibly a polyp, is white and located in the lower right of the image. Anatomical landmarks might be present but are not distinctly identifiable. There are no visible instruments, signs of inflammation, bleeding, foreign bodies, or signs of infection.",
521
+ "annotations": {
522
+ "0-20": {
523
+ "text": "An image of pylorus.",
524
+ "start": 0,
525
+ "end": 20,
526
+ "type": "incorrect"
527
+ },
528
+ "21-108": {
529
+ "text": "An abnormality, possibly a polyp, is white and located in the lower right of the image.",
530
+ "start": 21,
531
+ "end": 108,
532
+ "type": "correct"
533
+ },
534
+ "109-183": {
535
+ "text": "Anatomical landmarks might be present but are not distinctly identifiable.",
536
+ "start": 109,
537
+ "end": 183,
538
+ "type": "correct"
539
+ },
540
+ "184-289": {
541
+ "text": "There are no visible instruments, signs of inflammation, bleeding, foreign bodies, or signs of infection.",
542
+ "start": 184,
543
+ "end": 289,
544
+ "type": "correct"
545
+ }
546
+ }
547
+ },
548
+ "8fc7d933-245f-48ba-b0db-ac2a125b4d81.jpg": {
549
+ "original_text": "An image of z-line. The anatomical landmark appears blue due to dye application, with no instruments present.",
550
+ "corrections": "An image of cecum. The anatomical landmark appears blue due to dye application, with no instruments present.",
551
+ "annotations": {
552
+ "0-19": {
553
+ "text": "An image of z-line.",
554
+ "start": 0,
555
+ "end": 19,
556
+ "type": "incorrect"
557
+ },
558
+ "20-109": {
559
+ "text": "The anatomical landmark appears blue due to dye application, with no instruments present.",
560
+ "start": 20,
561
+ "end": 109,
562
+ "type": "correct"
563
+ }
564
+ }
565
+ },
566
+ "ac578e96-77a2-446a-8a87-021613273dc3.jpg": {
567
+ "original_text": "An image of cecum. No polyps, instruments, inflammation, bleeding, foreign bodies, or signs of infection are present.",
568
+ "corrections": "An image of cecum. There is a blue-colored abnormality present. The surrounding anatomical landmark is pink in color. No polyps, instruments, inflammation, bleeding, foreign bodies, or signs of infection are present.",
569
+ "annotations": {
570
+ "0-18": {
571
+ "text": "An image of cecum.",
572
+ "start": 0,
573
+ "end": 18,
574
+ "type": "correct"
575
+ },
576
+ "19-117": {
577
+ "text": "No polyps, instruments, inflammation, bleeding, foreign bodies, or signs of infection are present.",
578
+ "start": 19,
579
+ "end": 117,
580
+ "type": "correct"
581
+ }
582
+ }
583
+ },
584
+ "e32f7f15-7ac8-4c4c-ad2f-bd1812bfb87a.jpg": {
585
+ "original_text": "An image of z-line. There is a blue abnormality present with signs of inflammation and bleeding on the right. There are no polyps, instruments, or foreign bodies visible. No anatomical landmarks are identified, and there is no clear evidence of infection.",
586
+ "corrections": "An image of cecum . There is a blue abnormality present with signs of inflammation and bleeding on the right. There are no polyps, instruments, or foreign bodies visible. No anatomical landmarks are identified, and there is no clear evidence of infection.",
587
+ "annotations": {
588
+ "0-19": {
589
+ "text": "An image of z-line.",
590
+ "start": 0,
591
+ "end": 19,
592
+ "type": "incorrect"
593
+ },
594
+ "20-109": {
595
+ "text": "There is a blue abnormality present with signs of inflammation and bleeding on the right.",
596
+ "start": 20,
597
+ "end": 109,
598
+ "type": "correct"
599
+ },
600
+ "110-170": {
601
+ "text": "There are no polyps, instruments, or foreign bodies visible.",
602
+ "start": 110,
603
+ "end": 170,
604
+ "type": "correct"
605
+ },
606
+ "171-254": {
607
+ "text": "No anatomical landmarks are identified, and there is no clear evidence of infection",
608
+ "start": 171,
609
+ "end": 254,
610
+ "type": "correct"
611
+ }
612
+ }
613
+ },
614
+ "3d47d74a-fcdf-469e-940b-cd6999a79556.jpg": {
615
+ "original_text": "An image of cecum. No polyps or instruments are visible. The abnormality is central, with signs of bleeding but no obvious inflammation, infection, or foreign bodies detected.",
616
+ "corrections": "An image of cecum. No polyps or instruments are visible. The abnormality is central, with signs of bleeding but no obvious inflammation, infection, or foreign bodies detected.",
617
+ "annotations": {
618
+ "0-18": {
619
+ "text": "An image of cecum.",
620
+ "start": 0,
621
+ "end": 18,
622
+ "type": "correct"
623
+ },
624
+ "19-56": {
625
+ "text": "No polyps or instruments are visible.",
626
+ "start": 19,
627
+ "end": 56,
628
+ "type": "correct"
629
+ },
630
+ "57-175": {
631
+ "text": "The abnormality is central, with signs of bleeding but no obvious inflammation, infection, or foreign bodies detected.",
632
+ "start": 57,
633
+ "end": 175,
634
+ "type": "correct"
635
+ }
636
+ }
637
+ },
638
+ "05607d9c-9577-4190-8040-ee73f7982241.jpg": {
639
+ "original_text": "An image of z-line. There are no polyps, anatomical landmarks, instruments, signs of inflammation, evidence of bleeding, or foreign bodies visible in the image. There are also no signs of infection present.",
640
+ "corrections": "An image of cecum. There is one instrument seen down-right of the image. There are no polyps, anatomical landmarks, signs of inflammation, evidence of bleeding, or foreign bodies visible in the image. There are also no signs of infection present.",
641
+ "annotations": {
642
+ "0-18": {
643
+ "text": "An image of z-line",
644
+ "start": 0,
645
+ "end": 18,
646
+ "type": "incorrect"
647
+ },
648
+ "20-160": {
649
+ "text": "There are no polyps, anatomical landmarks, instruments, signs of inflammation, evidence of bleeding, or foreign bodies visible in the image.",
650
+ "start": 20,
651
+ "end": 160,
652
+ "type": "incorrect"
653
+ },
654
+ "161-206": {
655
+ "text": "There are also no signs of infection present.",
656
+ "start": 161,
657
+ "end": 206,
658
+ "type": "incorrect"
659
+ }
660
+ }
661
+ },
662
+ "2781dc1f-d88f-48cc-982e-9f0f147eb6f6.jpg": {
663
+ "original_text": "An image of cecum. The anatomical landmark appears in a pinkish-red color. There are no polyps, instruments, bleeding, foreign bodies, or signs of inflammation or infection present.",
664
+ "corrections": "An image of cecum. There is a blue abnomality located cantarlly. The anatomical landmark appears in a pinkish-red color. There are no polyps, instruments, bleeding, foreign bodies, or signs of inflammation or infection present.",
665
+ "annotations": {
666
+ "0-17": {
667
+ "text": "An image of cecum",
668
+ "start": 0,
669
+ "end": 17,
670
+ "type": "correct"
671
+ },
672
+ "19-74": {
673
+ "text": "The anatomical landmark appears in a pinkish-red color.",
674
+ "start": 19,
675
+ "end": 74,
676
+ "type": "incorrect"
677
+ },
678
+ "75-180": {
679
+ "text": "There are no polyps, instruments, bleeding, foreign bodies, or signs of inflammation or infection present",
680
+ "start": 75,
681
+ "end": 180,
682
+ "type": "incorrect"
683
+ }
684
+ }
685
+ },
686
+ "5c063c9e-07f3-4ea3-bd09-3a4fc79ae9a4.jpg": {
687
+ "original_text": "An image of pylorus. The abnormality (polyp) is blue-colored and located near the center of the image. There are no instruments, inflammation, bleeding, foreign bodies, or signs of infection present in the image.",
688
+ "corrections": "An image of colon. The abnormality (resected polyp) is blue-colored and located near the center of the image. There are no instruments, inflammation, bleeding, foreign bodies, or signs of infection present in the image.",
689
+ "annotations": {
690
+ "0-20": {
691
+ "text": "An image of pylorus.",
692
+ "start": 0,
693
+ "end": 20,
694
+ "type": "incorrect"
695
+ },
696
+ "20-101": {
697
+ "text": "The abnormality (polyp) is blue-colored and located near the center of the image.",
698
+ "start": 20,
699
+ "end": 101,
700
+ "type": "incorrect"
701
+ },
702
+ "103-212": {
703
+ "text": "There are no instruments, inflammation, bleeding, foreign bodies, or signs of infection present in the image.",
704
+ "start": 103,
705
+ "end": 212,
706
+ "type": "correct"
707
+ }
708
+ }
709
+ },
710
+ "cbefd66f-20df-4d31-aa62-73ac73713e9d.jpg": {
711
+ "original_text": "An image of cecum. There are no visible abnormalities, polyps, inflammation, bleeding, foreign bodies, or signs of infection. The anatomical landmarks present are a pinkish color, and no instruments are observed in the image. The image otherwise appears normal with typical internal structures.",
712
+ "corrections": "An image of cecum. There is visible abnormality, but no polyps, inflammation, bleeding, foreign bodies, or signs of infection. The anatomical landmarks present are a pinkish color, and no instruments are observed in the image. ",
713
+ "annotations": {
714
+ "0-17": {
715
+ "text": "An image of cecum",
716
+ "start": 0,
717
+ "end": 17,
718
+ "type": "correct"
719
+ },
720
+ "18-123": {
721
+ "text": "There are no visible abnormalities, polyps, inflammation, bleeding, foreign bodies, or signs of infection",
722
+ "start": 18,
723
+ "end": 123,
724
+ "type": "incorrect"
725
+ },
726
+ "126-225": {
727
+ "text": "The anatomical landmarks present are a pinkish color, and no instruments are observed in the image.",
728
+ "start": 126,
729
+ "end": 225,
730
+ "type": "correct"
731
+ },
732
+ "226-294": {
733
+ "text": "The image otherwise appears normal with typical internal structures.",
734
+ "start": 226,
735
+ "end": 294,
736
+ "type": "incorrect"
737
+ }
738
+ }
739
+ },
740
+ "400af79d-4386-4d62-b755-94acc38f1d3b.jpg": {
741
+ "original_text": "An image of pylorus. There is no visible abnormality, no polyps, and no sign of inflammation, bleeding, or infection. The anatomical landmark appears reddish. No instruments or foreign bodies are present in the image.",
742
+ "corrections": "An image of pylorus. There is no visible abnormality, no polyps, and no sign of inflammation, bleeding, or infection. The anatomical landmark appears bluish. No instruments or foreign bodies are present in the image.",
743
+ "annotations": {
744
+ "0-19": {
745
+ "text": "An image of pylorus",
746
+ "start": 0,
747
+ "end": 19,
748
+ "type": "incorrect"
749
+ },
750
+ "21-116": {
751
+ "text": "There is no visible abnormality, no polyps, and no sign of inflammation, bleeding, or infection",
752
+ "start": 21,
753
+ "end": 116,
754
+ "type": "correct"
755
+ },
756
+ "117-157": {
757
+ "text": "The anatomical landmark appears reddish.",
758
+ "start": 117,
759
+ "end": 157,
760
+ "type": "incorrect"
761
+ },
762
+ "158-216": {
763
+ "text": "No instruments or foreign bodies are present in the image.",
764
+ "start": 158,
765
+ "end": 216,
766
+ "type": "incorrect"
767
+ }
768
+ }
769
+ },
770
+ "894bded3-493a-482f-b8b0-737d9c23f48d.jpg": {
771
+ "original_text": "An image of z-line. The abnormality is bluish-green in color, located at the center. No polyps, inflammation, bleeding, infection, anatomical landmarks, instruments, or foreign bodies are present.",
772
+ "corrections": "An image of colon. The abnormality is bluish-green in color, located at the center. No polyps, inflammation, bleeding, infection, anatomical landmarks, instruments, or foreign bodies are present.",
773
+ "annotations": {
774
+ "0-18": {
775
+ "text": "An image of z-line",
776
+ "start": 0,
777
+ "end": 18,
778
+ "type": "incorrect"
779
+ },
780
+ "19-83": {
781
+ "text": "The abnormality is bluish-green in color, located at the center.",
782
+ "start": 19,
783
+ "end": 83,
784
+ "type": "correct"
785
+ },
786
+ "84-195": {
787
+ "text": "No polyps, inflammation, bleeding, infection, anatomical landmarks, instruments, or foreign bodies are present.",
788
+ "start": 84,
789
+ "end": 195,
790
+ "type": "correct"
791
+ }
792
+ }
793
+ },
794
+ "63fd6c97-9c00-4aef-8594-c72e539ec4ca.jpg": {
795
+ "original_text": "An image of pylorus. There appears to be a blue-colored abnormality on the right side. The main anatomical landmark is pink. No polyps, instruments, signs of inflammation, bleeding, infection, or foreign bodies are present in the image.",
796
+ "corrections": "An image of cecum. There appears to be a blue-colored abnormality on the right side. The main anatomical landmark is pink. No polyps, instruments, signs of inflammation, bleeding, infection, or foreign bodies are present in the image.",
797
+ "annotations": {
798
+ "0-19": {
799
+ "text": "An image of pylorus",
800
+ "start": 0,
801
+ "end": 19,
802
+ "type": "incorrect"
803
+ },
804
+ "21-86": {
805
+ "text": "There appears to be a blue-colored abnormality on the right side.",
806
+ "start": 21,
807
+ "end": 86,
808
+ "type": "correct"
809
+ },
810
+ "86-123": {
811
+ "text": "The main anatomical landmark is pink.",
812
+ "start": 86,
813
+ "end": 123,
814
+ "type": "correct"
815
+ },
816
+ "124-235": {
817
+ "text": "No polyps, instruments, signs of inflammation, bleeding, infection, or foreign bodies are present in the image.",
818
+ "start": 124,
819
+ "end": 235,
820
+ "type": "correct"
821
+ }
822
+ }
823
+ },
824
+ "15cfd43f-7118-4169-9725-e7badac83d05.jpg": {
825
+ "original_text": "An image of pylorus. There is a noticeable abnormality colored blue. The surrounding anatomical structures are in shades of pink and red. No polyps, instruments, or signs of infection, inflammation, or bleeding are observed. The blue-colored abnormality is prominently located in the center of the image.",
826
+ "corrections": "An image of colon. There is a noticeable abnormality colored blue. The surrounding anatomical structures are in shades of pink and red. No polyps, instruments, or signs of infection, inflammation, or bleeding are observed. The blue-colored abnormality is prominently located in the center of the image.",
827
+ "annotations": {
828
+ "0-20": {
829
+ "text": "An image of pylorus.",
830
+ "start": 0,
831
+ "end": 20,
832
+ "type": "incorrect"
833
+ },
834
+ "21-68": {
835
+ "text": "There is a noticeable abnormality colored blue.",
836
+ "start": 21,
837
+ "end": 68,
838
+ "type": "correct"
839
+ },
840
+ "69-137": {
841
+ "text": "The surrounding anatomical structures are in shades of pink and red.",
842
+ "start": 69,
843
+ "end": 137,
844
+ "type": "correct"
845
+ },
846
+ "138-224": {
847
+ "text": "No polyps, instruments, or signs of infection, inflammation, or bleeding are observed.",
848
+ "start": 138,
849
+ "end": 224,
850
+ "type": "correct"
851
+ },
852
+ "225-304": {
853
+ "text": "The blue-colored abnormality is prominently located in the center of the image.",
854
+ "start": 225,
855
+ "end": 304,
856
+ "type": "correct"
857
+ }
858
+ }
859
+ },
860
+ "c4364082-40e4-41e5-ab67-0459aad4983e.jpg": {
861
+ "original_text": "An image of pylorus. The abnormality present is blue in color. The surrounding anatomical landmarks are reddish-brown. No polyps are evident, and there are no apparent instruments. There's no sign of inflammation, bleeding, foreign bodies, or infection visible in the image.",
862
+ "corrections": "An image of cecum. The abnormality present is blue in color. The surrounding anatomical landmarks are reddish-brown. No polyps are evident, and there are no apparent instruments. There's no sign of inflammation, bleeding, foreign bodies, or infection visible in the image.",
863
+ "annotations": {
864
+ "0-19": {
865
+ "text": "An image of pylorus",
866
+ "start": 0,
867
+ "end": 19,
868
+ "type": "incorrect"
869
+ },
870
+ "21-62": {
871
+ "text": "The abnormality present is blue in color.",
872
+ "start": 21,
873
+ "end": 62,
874
+ "type": "correct"
875
+ },
876
+ "63-118": {
877
+ "text": "The surrounding anatomical landmarks are reddish-brown.",
878
+ "start": 63,
879
+ "end": 118,
880
+ "type": "correct"
881
+ },
882
+ "119-180": {
883
+ "text": "No polyps are evident, and there are no apparent instruments.",
884
+ "start": 119,
885
+ "end": 180,
886
+ "type": "correct"
887
+ },
888
+ "181-274": {
889
+ "text": "There's no sign of inflammation, bleeding, foreign bodies, or infection visible in the image.",
890
+ "start": 181,
891
+ "end": 274,
892
+ "type": "correct"
893
+ }
894
+ }
895
+ },
896
+ "0d4173fc-096a-4a7c-b431-939f36b44908.jpg": {
897
+ "original_text": "An image of pylorus. There is a red abnormality, which might indicate bleeding, located towards the upper left area of the image. No polyps are present. The image contains no identifiable anatomical landmarks, instruments, foreign bodies, or signs of inflammation or infection.",
898
+ "corrections": "An image of cecum. There is a blue abnormality, located towards the right area of the image. No polyps are present. The image contains no identifiable anatomical landmarks, instruments, foreign bodies, or signs of inflammation or infection.",
899
+ "annotations": {
900
+ "0-20": {
901
+ "text": "An image of pylorus.",
902
+ "start": 0,
903
+ "end": 20,
904
+ "type": "incorrect"
905
+ },
906
+ "21-129": {
907
+ "text": "There is a red abnormality, which might indicate bleeding, located towards the upper left area of the image.",
908
+ "start": 21,
909
+ "end": 129,
910
+ "type": "incorrect"
911
+ },
912
+ "130-152": {
913
+ "text": "No polyps are present.",
914
+ "start": 130,
915
+ "end": 152,
916
+ "type": "correct"
917
+ },
918
+ "152-276": {
919
+ "text": "The image contains no identifiable anatomical landmarks, instruments, foreign bodies, or signs of inflammation or infection.",
920
+ "start": 152,
921
+ "end": 276,
922
+ "type": "correct"
923
+ },
924
+ "153-277": {
925
+ "text": "The image contains no identifiable anatomical landmarks, instruments, foreign bodies, or signs of inflammation or infection.",
926
+ "start": 153,
927
+ "end": 277,
928
+ "type": "incorrect"
929
+ }
930
+ }
931
+ },
932
+ "622b5c30-78c5-4330-beaf-d4cfcb7c8ce0.jpg": {
933
+ "original_text": "An image of pylorus. The abnormality appears blue-green, with surrounding tissue being reddish-pink. No polyps are present, but there is an instrument near the abnormality, which is located centrally. The image shows signs of inflammation with no evidence of bleeding, infection, or foreign bodies. ",
934
+ "corrections": "An image of colon. The abnormality appears blue-green, with surrounding tissue being reddish-pink. No polyps, instruments are present. The image shows signs of inflammation with no evidence of bleeding, infection, or foreign bodies. ",
935
+ "annotations": {
936
+ "0-20": {
937
+ "text": "An image of pylorus.",
938
+ "start": 0,
939
+ "end": 20,
940
+ "type": "incorrect"
941
+ },
942
+ "20-99": {
943
+ "text": "The abnormality appears blue-green, with surrounding tissue being reddish-pink.",
944
+ "start": 20,
945
+ "end": 99,
946
+ "type": "correct"
947
+ },
948
+ "100-199": {
949
+ "text": "No polyps are present, but there is an instrument near the abnormality, which is located centrally.",
950
+ "start": 100,
951
+ "end": 199,
952
+ "type": "incorrect"
953
+ },
954
+ "200-297": {
955
+ "text": "The image shows signs of inflammation with no evidence of bleeding, infection, or foreign bodies.",
956
+ "start": 200,
957
+ "end": 297,
958
+ "type": "correct"
959
+ }
960
+ }
961
+ },
962
+ "09e7389d-4965-4dd5-a781-f396d8cd87c2.jpg": {
963
+ "original_text": "An image of pylorus. There is an abnormality, which is black and located centrally. There is no clear anatomical landmark or evident polyps, instruments, foreign bodies, signs of inflammation, infection, or bleeding present.",
964
+ "corrections": "An image of cecum. There is an abnormality, which is black and located centrally. There is no clear anatomical landmark or evident polyps, instruments, foreign bodies, signs of inflammation, infection, or bleeding present.",
965
+ "annotations": {
966
+ "0-20": {
967
+ "text": "An image of pylorus.",
968
+ "start": 0,
969
+ "end": 20,
970
+ "type": "incorrect"
971
+ },
972
+ "20-82": {
973
+ "text": "There is an abnormality, which is black and located centrally.",
974
+ "start": 20,
975
+ "end": 82,
976
+ "type": "correct"
977
+ },
978
+ "83-223": {
979
+ "text": "There is no clear anatomical landmark or evident polyps, instruments, foreign bodies, signs of inflammation, infection, or bleeding present.",
980
+ "start": 83,
981
+ "end": 223,
982
+ "type": "correct"
983
+ }
984
+ }
985
+ }
986
+ }
epoch_1/Hallucination-Aware-VLM/dataset/Gut-VLM/train_test_split/classwise_test_split/eso_test.json ADDED
@@ -0,0 +1,416 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bba3ca13-8cf8-4721-91ef-29a281655c3a.jpg": {
3
+ "original_text": "An image of pylorus. Anatomical landmarks are visible without signs of inflammation, bleeding, or infection. There is one polyp present, located towards the bottom-right. No instruments or foreign bodies are seen.",
4
+ "corrections": "An image of z-line. Anatomical landmarks are visible without signs of inflammation, bleeding, or infection. There is one polyp present, located towards the bottom-right. No instruments or foreign bodies are seen.",
5
+ "annotations": {
6
+ "0-20": {
7
+ "text": "An image of pylorus.",
8
+ "start": 0,
9
+ "end": 20,
10
+ "type": "incorrect"
11
+ },
12
+ "21-108": {
13
+ "text": "Anatomical landmarks are visible without signs of inflammation, bleeding, or infection.",
14
+ "start": 21,
15
+ "end": 108,
16
+ "type": "correct"
17
+ },
18
+ "109-170": {
19
+ "text": "There is one polyp present, located towards the bottom-right.",
20
+ "start": 109,
21
+ "end": 170,
22
+ "type": "correct"
23
+ },
24
+ "171-213": {
25
+ "text": "No instruments or foreign bodies are seen.",
26
+ "start": 171,
27
+ "end": 213,
28
+ "type": "correct"
29
+ }
30
+ }
31
+ },
32
+ "c2e79235-b422-4cec-997a-973becd8cac4.jpg": {
33
+ "original_text": "An image of z-line. There is an abnormality, which appears red and white in color, present around the central area. The anatomical landmark is also visible. No polyps, instruments, foreign bodies, or signs of infection are detected. However, there are signs of inflammation and possible evidence of bleeding.",
34
+ "corrections": "An image of z-line. There is an abnormality, which appears red and white in color, present around the central area. The anatomical landmark is also visible. No polyps, instruments, foreign bodies, or signs of infection are detected. However, there are signs of inflammation and possible evidence of bleeding.",
35
+ "annotations": {
36
+ "0-18": {
37
+ "text": "An image of z-line",
38
+ "start": 0,
39
+ "end": 18,
40
+ "type": "correct"
41
+ },
42
+ "20-115": {
43
+ "text": "There is an abnormality, which appears red and white in color, present around the central area.",
44
+ "start": 20,
45
+ "end": 115,
46
+ "type": "correct"
47
+ },
48
+ "116-156": {
49
+ "text": "The anatomical landmark is also visible.",
50
+ "start": 116,
51
+ "end": 156,
52
+ "type": "correct"
53
+ },
54
+ "157-232": {
55
+ "text": "No polyps, instruments, foreign bodies, or signs of infection are detected.",
56
+ "start": 157,
57
+ "end": 232,
58
+ "type": "correct"
59
+ },
60
+ "233-308": {
61
+ "text": "However, there are signs of inflammation and possible evidence of bleeding.",
62
+ "start": 233,
63
+ "end": 308,
64
+ "type": "correct"
65
+ }
66
+ }
67
+ },
68
+ "71a4671e-3257-4b64-9a8b-2d0b154ed7d0.jpg": {
69
+ "original_text": "An image of z-line. There appears to be an abnormality in red, localized centrally, with some signs of inflammation, no polyps, foreign bodies, or evident infection. There is no clear evidence of bleeding present, and one instrument is visible in the lower-left corner.",
70
+ "corrections": "An image of z-line. There appears to be an abnormality in red, localized centrally, with some signs of inflammation, no polyps, foreign bodies, or evident infection. There is no clear evidence of bleeding present, and one instrument is visible in the lower-left corner.",
71
+ "annotations": {
72
+ "0-18": {
73
+ "text": "An image of z-line",
74
+ "start": 0,
75
+ "end": 18,
76
+ "type": "correct"
77
+ },
78
+ "20-165": {
79
+ "text": "There appears to be an abnormality in red, localized centrally, with some signs of inflammation, no polyps, foreign bodies, or evident infection.",
80
+ "start": 20,
81
+ "end": 165,
82
+ "type": "correct"
83
+ },
84
+ "166-269": {
85
+ "text": "There is no clear evidence of bleeding present, and one instrument is visible in the lower-left corner.",
86
+ "start": 166,
87
+ "end": 269,
88
+ "type": "correct"
89
+ }
90
+ }
91
+ },
92
+ "a877de82-3a2a-48b4-8a6b-e1c7bba51c1f.jpg": {
93
+ "original_text": "An image of z-line. No clear abnormalities, polyps, inflammation, bleeding, foreign bodies, or signs of infection are present. The anatomical landmark appears pinkish. No instruments are visible in the image.",
94
+ "corrections": "An image of z-line. There is visible dilated veins. The anatomical landmark appears pinkish. No instruments, foreign bodies, polyps, ulcer or bleeding is evident.",
95
+ "annotations": {
96
+ "0-19": {
97
+ "text": "An image of z-line.",
98
+ "start": 0,
99
+ "end": 19,
100
+ "type": "correct"
101
+ },
102
+ "20-126": {
103
+ "text": "No clear abnormalities, polyps, inflammation, bleeding, foreign bodies, or signs of infection are present.",
104
+ "start": 20,
105
+ "end": 126,
106
+ "type": "incorrect"
107
+ },
108
+ "126-166": {
109
+ "text": "The anatomical landmark appears pinkish.",
110
+ "start": 126,
111
+ "end": 166,
112
+ "type": "correct"
113
+ },
114
+ "167-207": {
115
+ "text": "No instruments are visible in the image.",
116
+ "start": 167,
117
+ "end": 207,
118
+ "type": "correct"
119
+ }
120
+ }
121
+ },
122
+ "3ef58f64-0c9c-4985-8641-0db885028d9f.jpg": {
123
+ "original_text": "An image of pylorus. A brown abnormality is present near the center. No polyps or instruments are visible. There are no evident signs of inflammation, bleeding, infection, or foreign bodies. There is an anatomical landmark in the image; it is likely the pylorus.",
124
+ "corrections": "An image of z-line. There is no visible abnormality. No polyps or instruments are visible. There are no evident signs of bleeding, infection, or foreign bodies. There is an anatomical landmark in the image; it is likely the esophageal opening. There are signs of minor inflammation.",
125
+ "annotations": {
126
+ "0-20": {
127
+ "text": "An image of pylorus.",
128
+ "type": "incorrect",
129
+ "start": 0,
130
+ "end": 20
131
+ },
132
+ "20-68": {
133
+ "text": " A brown abnormality is present near the center.",
134
+ "type": "incorrect",
135
+ "start": 20,
136
+ "end": 68
137
+ },
138
+ "69-262": {
139
+ "text": "No polyps or instruments are visible. There are no evident signs of inflammation, bleeding, infection, or foreign bodies. There is an anatomical landmark in the image; it is likely the pylorus.",
140
+ "type": "correct",
141
+ "start": 69,
142
+ "end": 262
143
+ }
144
+ }
145
+ },
146
+ "23a964b5-fc4f-463f-a987-e6684d18a3a1.jpg": {
147
+ "original_text": "An image of z-line. There is a white abnormality present near the center of the image. The anatomical landmark is not clearly distinguishable. No polyps, instruments, signs of inflammation, bleeding, foreign bodies, or infection are evident.",
148
+ "corrections": "An image of z-line. There is a white abnormality present near the center of the image.The anatomical landmark, the esophageal opening, is predominantly pink in color. No polyps, instruments, signs of inflammation, bleeding, foreign bodies, or infection are evident.",
149
+ "annotations": {
150
+ "0-19": {
151
+ "text": "An image of z-line.",
152
+ "start": 0,
153
+ "end": 19,
154
+ "type": "correct"
155
+ },
156
+ "20-85": {
157
+ "text": "There is a white abnormality present near the center of the image",
158
+ "start": 20,
159
+ "end": 85,
160
+ "type": "correct"
161
+ },
162
+ "87-142": {
163
+ "text": "The anatomical landmark is not clearly distinguishable.",
164
+ "start": 87,
165
+ "end": 142,
166
+ "type": "incorrect"
167
+ },
168
+ "143-241": {
169
+ "text": "No polyps, instruments, signs of inflammation, bleeding, foreign bodies, or infection are evident.",
170
+ "start": 143,
171
+ "end": 241,
172
+ "type": "correct"
173
+ }
174
+ }
175
+ },
176
+ "d7d6eea6-4cd4-4fc7-9d2e-3e388726d4b7.jpg": {
177
+ "original_text": "An image of z-line. The anatomical landmarks are a light pink color, with no visible abnormalities, inflammation, bleeding, or signs of infection.",
178
+ "corrections": "An image of z-line. There is a polypoidal mucosa noted. No instruments, bleeding, polyps or instruments are visible.",
179
+ "annotations": {
180
+ "0-19": {
181
+ "text": "An image of z-line.",
182
+ "start": 0,
183
+ "end": 19,
184
+ "type": "correct"
185
+ },
186
+ "20-146": {
187
+ "text": "The anatomical landmarks are a light pink color, with no visible abnormalities, inflammation, bleeding, or signs of infection.",
188
+ "start": 20,
189
+ "end": 146,
190
+ "type": "incorrect"
191
+ }
192
+ }
193
+ },
194
+ "e7e495ed-5afd-4322-b8b2-5339b9f44a41.jpg": {
195
+ "original_text": "An image of Normal Cecum One polyp is located in the center bottom. There are no instruments, foreign bodies, signs of inflammation or infection, and no evidence of bleeding. Anatomical landmarks are present.",
196
+ "corrections": "An image of colon. One polyp is located in the center bottom. There are no instruments, foreign bodies, signs of inflammation or infection, and no evidence of bleeding. Anatomical landmarks are present.",
197
+ "annotations": {
198
+ "0-24": {
199
+ "text": "An image of Normal Cecum",
200
+ "start": 0,
201
+ "end": 24,
202
+ "type": "incorrect"
203
+ },
204
+ "25-66": {
205
+ "text": "One polyp is located in the center bottom",
206
+ "start": 25,
207
+ "end": 66,
208
+ "type": "correct"
209
+ },
210
+ "68-174": {
211
+ "text": "There are no instruments, foreign bodies, signs of inflammation or infection, and no evidence of bleeding.",
212
+ "start": 68,
213
+ "end": 174,
214
+ "type": "correct"
215
+ },
216
+ "175-208": {
217
+ "text": "Anatomical landmarks are present.",
218
+ "start": 175,
219
+ "end": 208,
220
+ "type": "correct"
221
+ }
222
+ }
223
+ },
224
+ "10f25b4e-9c94-4b8d-af0f-d4d820d52092.jpg": {
225
+ "original_text": "An image of Normal Z-line An apparent abnormality is visible, with a dark discoloration, centrally located. The anatomical landmark is pink in color. There are no polyps, instruments, or foreign bodies present. There are visible signs of inflammation, but no evidence of bleeding or infection.",
226
+ "corrections": "An image of z-line. There is no visible abnormality is visible. The anatomical landmark is pink in color. There are no polyps, instruments, or foreign bodies present. There are visible signs of inflammation, but no evidence of bleeding or infection.",
227
+ "annotations": {
228
+ "0-25": {
229
+ "text": "An image of Normal Z-line",
230
+ "start": 0,
231
+ "end": 25,
232
+ "type": "correct"
233
+ },
234
+ "26-106": {
235
+ "text": "An apparent abnormality is visible, with a dark discoloration, centrally located",
236
+ "start": 26,
237
+ "end": 106,
238
+ "type": "incorrect"
239
+ },
240
+ "108-149": {
241
+ "text": "The anatomical landmark is pink in color.",
242
+ "start": 108,
243
+ "end": 149,
244
+ "type": "correct"
245
+ },
246
+ "150-210": {
247
+ "text": "There are no polyps, instruments, or foreign bodies present.",
248
+ "start": 150,
249
+ "end": 210,
250
+ "type": "correct"
251
+ },
252
+ "211-293": {
253
+ "text": "There are visible signs of inflammation, but no evidence of bleeding or infection.",
254
+ "start": 211,
255
+ "end": 293,
256
+ "type": "correct"
257
+ }
258
+ }
259
+ },
260
+ "f93416dd-2fbe-4ffa-a62e-42c6096ac6b2.jpg": {
261
+ "original_text": "An image of z-line. There are no instruments, signs of inflammation, bleeding, foreign bodies, or infection apparent in this image.",
262
+ "corrections": "An image of z-line. There are no instruments, but seen signs of inflammation. There are no bleeding, foreign bodies, or infection apparent in this image.",
263
+ "annotations": {
264
+ "0-18": {
265
+ "text": "An image of z-line",
266
+ "start": 0,
267
+ "end": 18,
268
+ "type": "correct"
269
+ },
270
+ "20-131": {
271
+ "text": "There are no instruments, signs of inflammation, bleeding, foreign bodies, or infection apparent in this image.",
272
+ "start": 20,
273
+ "end": 131,
274
+ "type": "incorrect"
275
+ }
276
+ }
277
+ },
278
+ "46b9af9b-df93-4cb4-9a27-fe2c758f1a29.jpg": {
279
+ "original_text": "An image of z-line. The abnormalities, if present, are reddish in color. The anatomical landmarks appear pink. There are no polyps, instruments, evidence of bleeding, foreign bodies, signs of inflammation, or infection in the image. The abnormality is located centrally.",
280
+ "corrections": "An image of z-line. The abnormalities, if present, are reddish in color. The anatomical landmarks appear pink. There are no polyps, instruments, evidence of bleeding, foreign bodies, signs of inflammation, or infection in the image. The abnormality is located centrally.",
281
+ "annotations": {
282
+ "0-19": {
283
+ "text": "An image of z-line.",
284
+ "start": 0,
285
+ "end": 19,
286
+ "type": "correct"
287
+ },
288
+ "20-72": {
289
+ "text": "The abnormalities, if present, are reddish in color.",
290
+ "start": 20,
291
+ "end": 72,
292
+ "type": "correct"
293
+ },
294
+ "21-72": {
295
+ "text": "he abnormalities, if present, are reddish in color.",
296
+ "start": 21,
297
+ "end": 72,
298
+ "type": "correct"
299
+ },
300
+ "73-110": {
301
+ "text": "The anatomical landmarks appear pink.",
302
+ "start": 73,
303
+ "end": 110,
304
+ "type": "correct"
305
+ },
306
+ "111-232": {
307
+ "text": "There are no polyps, instruments, evidence of bleeding, foreign bodies, signs of inflammation, or infection in the image.",
308
+ "start": 111,
309
+ "end": 232,
310
+ "type": "correct"
311
+ },
312
+ "233-270": {
313
+ "text": "The abnormality is located centrally.",
314
+ "start": 233,
315
+ "end": 270,
316
+ "type": "correct"
317
+ }
318
+ }
319
+ },
320
+ "3662a9bc-b209-432b-9ab4-ca8ccd540b7c.jpg": {
321
+ "original_text": "An image of pylorus. The abnormality, a polyp, is red and located centrally. There is one polyp present. Anatomical landmarks are visible and pinkish. No instruments, signs of inflammation, bleeding, foreign bodies, or infection are observed.",
322
+ "corrections": "An image of z-line. The abnormality, a polyp, is red and located centrally. There is one polyp present. Anatomical landmarks are visible and pinkish. No instruments, signs of inflammation, bleeding, foreign bodies, or infection are observed.",
323
+ "annotations": {
324
+ "0-19": {
325
+ "text": "An image of pylorus",
326
+ "start": 0,
327
+ "end": 19,
328
+ "type": "incorrect"
329
+ },
330
+ "21-76": {
331
+ "text": "The abnormality, a polyp, is red and located centrally.",
332
+ "start": 21,
333
+ "end": 76,
334
+ "type": "correct"
335
+ },
336
+ "77-104": {
337
+ "text": "There is one polyp present.",
338
+ "start": 77,
339
+ "end": 104,
340
+ "type": "correct"
341
+ },
342
+ "105-150": {
343
+ "text": "Anatomical landmarks are visible and pinkish.",
344
+ "start": 105,
345
+ "end": 150,
346
+ "type": "correct"
347
+ },
348
+ "151-242": {
349
+ "text": "No instruments, signs of inflammation, bleeding, foreign bodies, or infection are observed.",
350
+ "start": 151,
351
+ "end": 242,
352
+ "type": "correct"
353
+ }
354
+ }
355
+ },
356
+ "6ea979d7-209b-49bf-ab40-c9dc4c277231.jpg": {
357
+ "original_text": "An image of z-line. The abnormality is diffusely present, with no clear anatomical landmarks or instruments visible. There are signs suggestive of infection, given the inflamed appearance.",
358
+ "corrections": "An image of z-line. The abnormality is diffusely present. No instruments visible. There are signs suggestive of infection, given the inflamed appearance. The anatomical landmark is the esophageal opening.",
359
+ "annotations": {
360
+ "0-19": {
361
+ "text": "An image of z-line.",
362
+ "start": 0,
363
+ "end": 19,
364
+ "type": "correct"
365
+ },
366
+ "20-116": {
367
+ "text": "The abnormality is diffusely present, with no clear anatomical landmarks or instruments visible.",
368
+ "start": 20,
369
+ "end": 116,
370
+ "type": "incorrect"
371
+ },
372
+ "117-188": {
373
+ "text": "There are signs suggestive of infection, given the inflamed appearance.",
374
+ "start": 117,
375
+ "end": 188,
376
+ "type": "correct"
377
+ }
378
+ }
379
+ },
380
+ "ad3bc1e3-2c9c-4cec-92bd-06a6fca991a5.jpg": {
381
+ "original_text": "An image of pylorus. The abnormality, if present, would be red. The anatomical landmark is pink. There are no polyps, instruments, or foreign bodies visible. Mild signs of inflammation are present, but there is no evidence of bleeding or infection.",
382
+ "corrections": "An image of z-line. There are no abnormalities. The anatomical landmark is pink. There are no polyps, instruments, or foreign bodies visible. Mild signs of inflammation are present, but there is no evidence of bleeding or infection.",
383
+ "annotations": {
384
+ "158-248": {
385
+ "text": "Mild signs of inflammation are present, but there is no evidence of bleeding or infection.",
386
+ "type": "correct",
387
+ "start": 158,
388
+ "end": 248
389
+ },
390
+ "97-157": {
391
+ "text": "There are no polyps, instruments, or foreign bodies visible.",
392
+ "type": "correct",
393
+ "start": 97,
394
+ "end": 157
395
+ },
396
+ "63-96": {
397
+ "text": " The anatomical landmark is pink.",
398
+ "type": "correct",
399
+ "start": 63,
400
+ "end": 96
401
+ },
402
+ "21-62": {
403
+ "text": "The abnormality, if present, would be red",
404
+ "type": "incorrect",
405
+ "start": 21,
406
+ "end": 62
407
+ },
408
+ "0-21": {
409
+ "text": "An image of pylorus. ",
410
+ "type": "incorrect",
411
+ "start": 0,
412
+ "end": 21
413
+ }
414
+ }
415
+ }
416
+ }
epoch_1/Hallucination-Aware-VLM/dataset/Gut-VLM/train_test_split/classwise_test_split/pol_test.json ADDED
@@ -0,0 +1,1094 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "78f877f3-083c-40ef-a82c-65764f6ab285.jpg": {
3
+ "original_text": "An image of cecum. The abnormality, a polyp, is red in color, located on the right side of the image. There is one polyp visible, indicating inflammation and potential signs of minor bleeding. No instruments, anatomical landmarks, foreign bodies, or infections are observed in the image.",
4
+ "corrections": "An image of colon. The abnormality, a polyp, is red in color, located on the right side of the image. There is one polyp visible, indicating inflammation and potential signs of minor bleeding. No instruments, anatomical landmarks, foreign bodies, or infections are observed in the image.",
5
+ "annotations": {
6
+ "0-18": {
7
+ "text": "An image of cecum.",
8
+ "start": 0,
9
+ "end": 18,
10
+ "type": "incorrect"
11
+ },
12
+ "18-100": {
13
+ "text": "The abnormality, a polyp, is red in color, located on the right side of the image.",
14
+ "start": 18,
15
+ "end": 100,
16
+ "type": "correct"
17
+ },
18
+ "101-191": {
19
+ "text": "There is one polyp visible, indicating inflammation and potential signs of minor bleeding.",
20
+ "start": 101,
21
+ "end": 191,
22
+ "type": "correct"
23
+ },
24
+ "192-286": {
25
+ "text": "No instruments, anatomical landmarks, foreign bodies, or infections are observed in the image.",
26
+ "start": 192,
27
+ "end": 286,
28
+ "type": "correct"
29
+ }
30
+ }
31
+ },
32
+ "df58d6ca-842d-48f4-8f57-a15a2e104bdd.jpg": {
33
+ "original_text": "An image of pylorus. The abnormality, a polyp, is pinkish and is present in the central part of the image. Anatomical landmarks are visible but no instruments, signs of inflammation, bleeding, infection, or foreign bodies are present.",
34
+ "corrections": "An image of pylorus. The abnormality, a polyp, is pinkish and is present in the central part of the image. Anatomical landmarks are visible but no instruments, signs of inflammation, bleeding, infection, or foreign bodies are present.",
35
+ "annotations": {
36
+ "0-20": {
37
+ "text": "An image of pylorus.",
38
+ "start": 0,
39
+ "end": 20,
40
+ "type": "correct"
41
+ },
42
+ "21-106": {
43
+ "text": "The abnormality, a polyp, is pinkish and is present in the central part of the image.",
44
+ "start": 21,
45
+ "end": 106,
46
+ "type": "correct"
47
+ },
48
+ "107-234": {
49
+ "text": "Anatomical landmarks are visible but no instruments, signs of inflammation, bleeding, infection, or foreign bodies are present.",
50
+ "start": 107,
51
+ "end": 234,
52
+ "type": "correct"
53
+ }
54
+ }
55
+ },
56
+ "0b24da49-ad71-4965-95f9-12a6d0d60906.jpg": {
57
+ "original_text": "An image of cecum. There is a pink polyp as the abnormality located centrally. The anatomical landmark, visible surrounding tissue, is pink. A single polyp is present. There are no instruments, inflammation, bleeding, foreign bodies, or signs of infection visible.",
58
+ "corrections": "An image of colon. There is a pink polyp as the abnormality located centrally. The anatomical landmark, visible surrounding tissue, is pink. A single polyp is present. There are no instruments, inflammation, bleeding, foreign bodies, or signs of infection visible.",
59
+ "annotations": {
60
+ "0-18": {
61
+ "text": "An image of cecum.",
62
+ "type": "incorrect",
63
+ "start": 0,
64
+ "end": 18
65
+ },
66
+ "20-78": {
67
+ "text": "here is a pink polyp as the abnormality located centrally.",
68
+ "type": "correct",
69
+ "start": 20,
70
+ "end": 78
71
+ },
72
+ "78-140": {
73
+ "text": " The anatomical landmark, visible surrounding tissue, is pink.",
74
+ "type": "correct",
75
+ "start": 78,
76
+ "end": 140
77
+ },
78
+ "141-167": {
79
+ "text": "A single polyp is present.",
80
+ "type": "correct",
81
+ "start": 141,
82
+ "end": 167
83
+ },
84
+ "168-264": {
85
+ "text": "There are no instruments, inflammation, bleeding, foreign bodies, or signs of infection visible.",
86
+ "type": "correct",
87
+ "start": 168,
88
+ "end": 264
89
+ }
90
+ }
91
+ },
92
+ "bb6072e5-26f9-4a1a-9d0c-8fcb99de2f84.jpg": {
93
+ "original_text": "An image of pylorus. There are no visible abnormalities, polyps, anatomical landmarks, instruments, signs of inflammation, bleeding, foreign bodies, or signs of infection present in the image.",
94
+ "corrections": "An image of pylorus. There is an abnormalities seem like polyp on the hight of image, There are no anatomical landmarks, instruments, signs of inflammation, bleeding, foreign bodies, or signs of infection present in the image.",
95
+ "annotations": {
96
+ "0-20": {
97
+ "text": "An image of pylorus.",
98
+ "start": 0,
99
+ "end": 20,
100
+ "type": "correct"
101
+ },
102
+ "20-191": {
103
+ "text": "There are no visible abnormalities, polyps, anatomical landmarks, instruments, signs of inflammation, bleeding, foreign bodies, or signs of infection present in the image.",
104
+ "start": 20,
105
+ "end": 191,
106
+ "type": "incorrect"
107
+ }
108
+ }
109
+ },
110
+ "67e1310a-37d8-4689-8fee-f7c411b19918.jpg": {
111
+ "original_text": "An image of cecum. There are no visible abnormalities, polyps, signs of inflammation, bleeding, infection, or foreign bodies present. The anatomical landmarks appear normal with no instruments visible in the image.",
112
+ "corrections": "An image of cecum. There are many polyps located centrally. No signs of inflammation, bleeding, infection, or foreign bodies present. The anatomical landmarks appear normal with no instruments visible in the image.",
113
+ "annotations": {
114
+ "0-17": {
115
+ "text": "An image of cecum",
116
+ "start": 0,
117
+ "end": 17,
118
+ "type": "correct"
119
+ },
120
+ "18-132": {
121
+ "text": "There are no visible abnormalities, polyps, signs of inflammation, bleeding, infection, or foreign bodies present.",
122
+ "start": 18,
123
+ "end": 132,
124
+ "type": "incorrect"
125
+ },
126
+ "133-213": {
127
+ "text": "The anatomical landmarks appear normal with no instruments visible in the image.",
128
+ "start": 133,
129
+ "end": 213,
130
+ "type": "incorrect"
131
+ }
132
+ }
133
+ },
134
+ "3d8f51f7-f49d-4e4b-9bfb-cc9be3fec5e2.jpg": {
135
+ "original_text": "An image of cecum. There is one white-colored polyp visible, and it is located in the center-right of the image. There is some redness indicating possible inflammation, but no signs of infection, bleeding, foreign bodies, or instruments are visible.",
136
+ "corrections": "An image of cecum. There is one white-colored polyp visible, and it is located in the center-right of the image. There is some redness indicating possible inflammation, but no signs of infection, bleeding, foreign bodies, or instruments are visible.",
137
+ "annotations": {
138
+ "0-18": {
139
+ "text": "An image of cecum.",
140
+ "start": 0,
141
+ "end": 18,
142
+ "type": "correct"
143
+ },
144
+ "19-112": {
145
+ "text": "There is one white-colored polyp visible, and it is located in the center-right of the image.",
146
+ "start": 19,
147
+ "end": 112,
148
+ "type": "correct"
149
+ },
150
+ "113-249": {
151
+ "text": "There is some redness indicating possible inflammation, but no signs of infection, bleeding, foreign bodies, or instruments are visible.",
152
+ "start": 113,
153
+ "end": 249,
154
+ "type": "correct"
155
+ }
156
+ }
157
+ },
158
+ "0f14b105-4cad-4ca5-a43a-796cded9f07e.jpg": {
159
+ "original_text": "An image of cecum. The polyp, located centrally in the image, seems solitary. No anatomical landmarks, instruments, foreign bodies, signs of inflammation, infection, or bleeding are evident.",
160
+ "corrections": "An image of cecum. The polyp, located centrally in the image, seems solitary. No anatomical landmarks, instruments, foreign bodies, signs of inflammation, infection, or bleeding are evident.",
161
+ "annotations": {
162
+ "0-18": {
163
+ "text": "An image of cecum.",
164
+ "start": 0,
165
+ "end": 18,
166
+ "type": "correct"
167
+ },
168
+ "19-77": {
169
+ "text": "The polyp, located centrally in the image, seems solitary.",
170
+ "start": 19,
171
+ "end": 77,
172
+ "type": "correct"
173
+ },
174
+ "78-190": {
175
+ "text": "No anatomical landmarks, instruments, foreign bodies, signs of inflammation, infection, or bleeding are evident.",
176
+ "start": 78,
177
+ "end": 190,
178
+ "type": "correct"
179
+ }
180
+ }
181
+ },
182
+ "9507e070-3dc1-466e-ac10-aeb0e7c95edd.jpg": {
183
+ "original_text": "An image of cecum. There is a slight reddish abnormality present. The anatomical landmark is a normal-colored mucosal fold. There are no polyps, instruments, inflammation, bleeding, foreign bodies, or signs of infection visible in the image. The abnormality is located centrally within the image.",
184
+ "corrections": "An image of cecum. There is a one polyp present. The anatomical landmark is a normal-colored mucosal fold. There are no instruments, inflammation, bleeding, foreign bodies, or signs of infection visible in the image. The abnormality is located centrally within the image.",
185
+ "annotations": {
186
+ "0-17": {
187
+ "text": "An image of cecum",
188
+ "start": 0,
189
+ "end": 17,
190
+ "type": "correct"
191
+ },
192
+ "17-18": {
193
+ "text": ".",
194
+ "start": 17,
195
+ "end": 18,
196
+ "type": "correct"
197
+ },
198
+ "19-65": {
199
+ "text": "There is a slight reddish abnormality present.",
200
+ "start": 19,
201
+ "end": 65,
202
+ "type": "correct"
203
+ },
204
+ "66-122": {
205
+ "text": "The anatomical landmark is a normal-colored mucosal fold",
206
+ "start": 66,
207
+ "end": 122,
208
+ "type": "correct"
209
+ },
210
+ "123-240": {
211
+ "text": "There are no polyps, instruments, inflammation, bleeding, foreign bodies, or signs of infection visible in the image.",
212
+ "start": 123,
213
+ "end": 240,
214
+ "type": "incorrect"
215
+ },
216
+ "242-296": {
217
+ "text": "The abnormality is located centrally within the image.",
218
+ "start": 242,
219
+ "end": 296,
220
+ "type": "correct"
221
+ }
222
+ }
223
+ },
224
+ "ec06080b-a2a0-40d3-97f7-313297ef8adb.jpg": {
225
+ "original_text": "An image of pylorus. The anatomical landmark and surrounding tissue appear healthy without signs of inflammation or infection. No bleeding or foreign bodies are evident. One polyp, located centrally, is present with a single instrument visible in the lower part of the image.",
226
+ "corrections": "An image of cecum. The anatomical landmark and surrounding tissue appear healthy without signs of inflammation or infection. No bleeding or foreign bodies are evident. One polyp, located centrally, is present with a single instrument visible in the lower part of the image.",
227
+ "annotations": {
228
+ "0-19": {
229
+ "text": "An image of pylorus",
230
+ "start": 0,
231
+ "end": 19,
232
+ "type": "incorrect"
233
+ },
234
+ "21-126": {
235
+ "text": "The anatomical landmark and surrounding tissue appear healthy without signs of inflammation or infection.",
236
+ "start": 21,
237
+ "end": 126,
238
+ "type": "correct"
239
+ },
240
+ "127-169": {
241
+ "text": "No bleeding or foreign bodies are evident.",
242
+ "start": 127,
243
+ "end": 169,
244
+ "type": "correct"
245
+ },
246
+ "170-275": {
247
+ "text": "One polyp, located centrally, is present with a single instrument visible in the lower part of the image.",
248
+ "start": 170,
249
+ "end": 275,
250
+ "type": "correct"
251
+ }
252
+ }
253
+ },
254
+ "d3578743-78bd-48c2-a81a-1cfad04c383d.jpg": {
255
+ "original_text": "An image of cecum. An orange abnormality is present on the right side. The anatomical landmark is pink. One polyp is visible. There are no instruments, signs of inflammation, bleeding, foreign bodies, or infection evident in the image.",
256
+ "corrections": "An image of cecum. There are no abnormalities. The anatomical landmark is pink.No polyps. There are no instruments, signs of inflammation, bleeding, foreign bodies, or infection evident in the image.",
257
+ "annotations": {
258
+ "0-18": {
259
+ "text": "An image of cecum.",
260
+ "start": 0,
261
+ "end": 18,
262
+ "type": "correct"
263
+ },
264
+ "18-69": {
265
+ "text": "An orange abnormality is present on the right side.",
266
+ "start": 18,
267
+ "end": 69,
268
+ "type": "incorrect"
269
+ },
270
+ "70-102": {
271
+ "text": "The anatomical landmark is pink.",
272
+ "start": 70,
273
+ "end": 102,
274
+ "type": "incorrect"
275
+ },
276
+ "103-124": {
277
+ "text": "One polyp is visible.",
278
+ "start": 103,
279
+ "end": 124,
280
+ "type": "incorrect"
281
+ },
282
+ "126-235": {
283
+ "text": "There are no instruments, signs of inflammation, bleeding, foreign bodies, or infection evident in the image.",
284
+ "start": 126,
285
+ "end": 235,
286
+ "type": "correct"
287
+ }
288
+ }
289
+ },
290
+ "7b701543-fd81-408b-9230-f3ca54d3c799.jpg": {
291
+ "original_text": "An image of cecum. There is a single visible polyp, which is the same color as the surrounding tissue. No other abnormalities, anatomical landmarks, instruments, inflammation, bleeding, foreign bodies, or signs of infection are present. The polyp is located toward the lower center of the image.",
292
+ "corrections": "An image of cecum. There is a single visible polyp, which is the same color as the surrounding tissue. No other abnormalities, anatomical landmarks, instruments, inflammation, bleeding, foreign bodies, or signs of infection are present. The polyp is located toward the lower center of the image.",
293
+ "annotations": {
294
+ "0-18": {
295
+ "text": "An image of cecum.",
296
+ "start": 0,
297
+ "end": 18,
298
+ "type": "correct"
299
+ },
300
+ "19-102": {
301
+ "text": "There is a single visible polyp, which is the same color as the surrounding tissue.",
302
+ "start": 19,
303
+ "end": 102,
304
+ "type": "correct"
305
+ },
306
+ "103-236": {
307
+ "text": "No other abnormalities, anatomical landmarks, instruments, inflammation, bleeding, foreign bodies, or signs of infection are present.",
308
+ "start": 103,
309
+ "end": 236,
310
+ "type": "correct"
311
+ },
312
+ "237-295": {
313
+ "text": "The polyp is located toward the lower center of the image.",
314
+ "start": 237,
315
+ "end": 295,
316
+ "type": "correct"
317
+ }
318
+ }
319
+ },
320
+ "a5fb73eb-d77a-4737-b0b5-3b39814e14de.jpg": {
321
+ "original_text": "An image of cecum. The anatomical landmark's color is consistent with the surrounding tissue. There's one polyp present and no visible signs of inflammation, bleeding, infection, foreign bodies, or instruments.",
322
+ "corrections": "An image of cecum. The anatomical landmark's color is consistent with the surrounding tissue. There's one polyp present and no visible signs of inflammation, bleeding, infection, foreign bodies, or instruments.",
323
+ "annotations": {
324
+ "0-18": {
325
+ "text": "An image of cecum.",
326
+ "start": 0,
327
+ "end": 18,
328
+ "type": "correct"
329
+ },
330
+ "19-93": {
331
+ "text": "The anatomical landmark's color is consistent with the surrounding tissue.",
332
+ "start": 19,
333
+ "end": 93,
334
+ "type": "correct"
335
+ },
336
+ "94-210": {
337
+ "text": "There's one polyp present and no visible signs of inflammation, bleeding, infection, foreign bodies, or instruments.",
338
+ "start": 94,
339
+ "end": 210,
340
+ "type": "correct"
341
+ }
342
+ }
343
+ },
344
+ "61f1c0fe-c4df-448d-a2c9-4aaccf82458c.jpg": {
345
+ "original_text": "An image of pylorus. The abnormality, a polyp, is light brown. The anatomical landmark, surrounding tissue, is pink. One polyp is present centrally. There are no instruments, signs of bleeding, foreign bodies, or infections, but there is minor inflammation.",
346
+ "corrections": "An image of cecum. The abnormality, a polyp, is light brown. The anatomical landmark, surrounding tissue, is pink. One polyp is present centrally. There are no instruments, signs of bleeding, foreign bodies, or infections, but there is minor inflammation.",
347
+ "annotations": {
348
+ "0-19": {
349
+ "text": "An image of pylorus",
350
+ "start": 0,
351
+ "end": 19,
352
+ "type": "incorrect"
353
+ },
354
+ "20-61": {
355
+ "text": "The abnormality, a polyp, is light brown.",
356
+ "start": 20,
357
+ "end": 61,
358
+ "type": "correct"
359
+ },
360
+ "62-115": {
361
+ "text": "The anatomical landmark, surrounding tissue, is pink.",
362
+ "start": 62,
363
+ "end": 115,
364
+ "type": "correct"
365
+ },
366
+ "116-147": {
367
+ "text": "One polyp is present centrally.",
368
+ "start": 116,
369
+ "end": 147,
370
+ "type": "correct"
371
+ },
372
+ "148-256": {
373
+ "text": "There are no instruments, signs of bleeding, foreign bodies, or infections, but there is minor inflammation.",
374
+ "start": 148,
375
+ "end": 256,
376
+ "type": "correct"
377
+ }
378
+ }
379
+ },
380
+ "7c5031b5-5f93-479b-a2bd-61736f1ee140.jpg": {
381
+ "original_text": "An image of cecum. A polyp, pink in color, is present in the center. The anatomical landmark is the intestine, pink in color. There is one polyp visible. No instruments, signs of inflammation, bleeding, foreign bodies, or infection are observed.",
382
+ "corrections": "An image of cecum. A polyp, pink in color, is present in the center. The anatomical landmark is the intestine, pink in color. There is one polyp visible. No instruments, signs of inflammation, bleeding, foreign bodies, or infection are observed.",
383
+ "annotations": {
384
+ "0-18": {
385
+ "text": "An image of cecum.",
386
+ "start": 0,
387
+ "end": 18,
388
+ "type": "correct"
389
+ },
390
+ "19-68": {
391
+ "text": "A polyp, pink in color, is present in the center.",
392
+ "start": 19,
393
+ "end": 68,
394
+ "type": "correct"
395
+ },
396
+ "69-125": {
397
+ "text": "The anatomical landmark is the intestine, pink in color.",
398
+ "start": 69,
399
+ "end": 125,
400
+ "type": "correct"
401
+ },
402
+ "126-153": {
403
+ "text": "There is one polyp visible.",
404
+ "start": 126,
405
+ "end": 153,
406
+ "type": "correct"
407
+ },
408
+ "154-245": {
409
+ "text": "No instruments, signs of inflammation, bleeding, foreign bodies, or infection are observed.",
410
+ "start": 154,
411
+ "end": 245,
412
+ "type": "correct"
413
+ }
414
+ }
415
+ },
416
+ "03adaef7-3900-4624-9ffa-6df25d1ee70c.jpg": {
417
+ "original_text": "An image of cecum. There is an abnormality present, identifiable by its differently colored appearance. The image does show anatomical landmarks, but there are no visible polyps, instruments, signs of inflammation, bleeding, foreign bodies, or infection.",
418
+ "corrections": "An image of cecum. There is a polyp present in the Upper right section of the image identifiable by its differently colored appearance . The anatomical landmark is cecum , but there are no visible instruments, signs of inflammation, bleeding, foreign bodies, or infection.",
419
+ "annotations": {
420
+ "0-18": {
421
+ "text": "An image of cecum.",
422
+ "start": 0,
423
+ "end": 18,
424
+ "type": "correct"
425
+ },
426
+ "19-102": {
427
+ "text": "There is an abnormality present, identifiable by its differently colored appearance",
428
+ "start": 19,
429
+ "end": 102,
430
+ "type": "correct"
431
+ },
432
+ "104-254": {
433
+ "text": "The image does show anatomical landmarks, but there are no visible polyps, instruments, signs of inflammation, bleeding, foreign bodies, or infection.",
434
+ "start": 104,
435
+ "end": 254,
436
+ "type": "incorrect"
437
+ }
438
+ }
439
+ },
440
+ "1c6cd97d-b81c-418b-8e80-3439a5f33a1e.jpg": {
441
+ "original_text": "An image of pylorus. There are no polyps, instruments, signs of inflammation, or evidence of bleeding, infection, or foreign bodies present.",
442
+ "corrections": "An image of cecum. There is one polyp located centrally. There are no instruments, signs of inflammation, or evidence of bleeding, infection, or foreign bodies present.",
443
+ "annotations": {
444
+ "0-19": {
445
+ "text": "An image of pylorus",
446
+ "start": 0,
447
+ "end": 19,
448
+ "type": "incorrect"
449
+ },
450
+ "21-140": {
451
+ "text": "There are no polyps, instruments, signs of inflammation, or evidence of bleeding, infection, or foreign bodies present.",
452
+ "start": 21,
453
+ "end": 140,
454
+ "type": "incorrect"
455
+ }
456
+ }
457
+ },
458
+ "7e5fd908-7bf8-4171-99af-196c8fdf0624.jpg": {
459
+ "original_text": "An image of cecum. The anatomic landmark is normal and pink. There are no signs of inflammation, bleeding, foreign bodies, or infection. An instrument is visible in the bottom right.",
460
+ "corrections": "An image of cecum. The anatomic landmark is normal and pink. There is one polyp. There are no signs of inflammation, bleeding, foreign bodies, or infection. An instrument is visible in the bottom right.",
461
+ "annotations": {
462
+ "0-18": {
463
+ "text": "An image of cecum.",
464
+ "start": 0,
465
+ "end": 18,
466
+ "type": "correct"
467
+ },
468
+ "19-60": {
469
+ "text": "The anatomic landmark is normal and pink.",
470
+ "start": 19,
471
+ "end": 60,
472
+ "type": "correct"
473
+ },
474
+ "61-136": {
475
+ "text": "There are no signs of inflammation, bleeding, foreign bodies, or infection.",
476
+ "start": 61,
477
+ "end": 136,
478
+ "type": "correct"
479
+ },
480
+ "137-182": {
481
+ "text": "An instrument is visible in the bottom right.",
482
+ "start": 137,
483
+ "end": 182,
484
+ "type": "correct"
485
+ }
486
+ }
487
+ },
488
+ "eb3ad0b1-8f9c-4c57-8af1-fd34b05406fa.jpg": {
489
+ "original_text": "An image of cecum. There is a polyp present, the polyp is reddish, and it is located centrally in the image. The surrounding tissue appears healthy without signs of inflammation or bleeding. No instruments or foreign bodies are visible in the image.",
490
+ "corrections": "An image of cecum. The abnormality present is a polyp, which is light brown in color. The anatomical landmark and background tissue are pinkish-brown. There is one polyp in the center of the image. No instruments, signs of inflammation, bleeding, infection, or foreign bodies are visible.",
491
+ "annotations": {
492
+ "0-18": {
493
+ "text": "An image of cecum.",
494
+ "start": 0,
495
+ "end": 18,
496
+ "type": "correct"
497
+ },
498
+ "19-108": {
499
+ "text": "There is a polyp present, the polyp is reddish, and it is located centrally in the image.",
500
+ "start": 19,
501
+ "end": 108,
502
+ "type": "correct"
503
+ },
504
+ "109-190": {
505
+ "text": "The surrounding tissue appears healthy without signs of inflammation or bleeding.",
506
+ "start": 109,
507
+ "end": 190,
508
+ "type": "correct"
509
+ },
510
+ "191-249": {
511
+ "text": "No instruments or foreign bodies are visible in the image.",
512
+ "start": 191,
513
+ "end": 249,
514
+ "type": "correct"
515
+ }
516
+ }
517
+ },
518
+ "0eed63cb-174b-4aca-b473-75a01c41025f.jpg": {
519
+ "original_text": "An image of pylorus. There is one notable polyp present. No instruments, inflammation, bleeding, foreign bodies, or signs of infection are evident.",
520
+ "corrections": "An image of pylorus. There is one notable polyp present. No instruments, inflammation, bleeding, foreign bodies, or signs of infection are evident. There is one polyp visible in the image.",
521
+ "annotations": {
522
+ "0-19": {
523
+ "text": "An image of pylorus",
524
+ "start": 0,
525
+ "end": 19,
526
+ "type": "incorrect"
527
+ },
528
+ "21-56": {
529
+ "text": "There is one notable polyp present.",
530
+ "start": 21,
531
+ "end": 56,
532
+ "type": "correct"
533
+ },
534
+ "57-147": {
535
+ "text": "No instruments, inflammation, bleeding, foreign bodies, or signs of infection are evident.",
536
+ "start": 57,
537
+ "end": 147,
538
+ "type": "correct"
539
+ }
540
+ }
541
+ },
542
+ "0589644e-cdb7-413a-8ea0-c26ff26707c9.jpg": {
543
+ "original_text": "An image of pylorus. An anatomical landmark, dark tissue, is visible. No instruments, signs of inflammation, bleeding, foreign bodies, or infection are present. The abnormalities are yellow and located centrally.",
544
+ "corrections": "An image of colon. The anatomical landmark appears pink in color. No instruments, signs of inflammation, bleeding, foreign bodies, or infection are present. The abnormalities are yellow and located centrally. There are three polyps visible in the image.",
545
+ "annotations": {
546
+ "0-20": {
547
+ "text": "An image of pylorus.",
548
+ "start": 0,
549
+ "end": 20,
550
+ "type": "incorrect"
551
+ },
552
+ "21-69": {
553
+ "text": "An anatomical landmark, dark tissue, is visible.",
554
+ "start": 21,
555
+ "end": 69,
556
+ "type": "incorrect"
557
+ },
558
+ "69-159": {
559
+ "text": "No instruments, signs of inflammation, bleeding, foreign bodies, or infection are present.",
560
+ "start": 69,
561
+ "end": 159,
562
+ "type": "correct"
563
+ },
564
+ "160-211": {
565
+ "text": "The abnormalities are yellow and located centrally.",
566
+ "start": 160,
567
+ "end": 211,
568
+ "type": "correct"
569
+ }
570
+ }
571
+ },
572
+ "ca3f724c-c1ae-4381-84cf-acdb07cfa424.jpg": {
573
+ "original_text": "An image of cecum. The abnormality is pink but anatomical landmarks are not specified. One polyp is present in the center. There are no instruments visible, signs of inflammation, bleeding, foreign bodies, or infection.",
574
+ "corrections": "An image of cecum. The abnormality is pink but anatomical landmarks are not specified. One polyp is present in the center. There are no instruments visible, signs of inflammation, bleeding, foreign bodies, or infection.",
575
+ "annotations": {
576
+ "0-18": {
577
+ "text": "An image of cecum.",
578
+ "start": 0,
579
+ "end": 18,
580
+ "type": "correct"
581
+ },
582
+ "18-85": {
583
+ "text": "The abnormality is pink but anatomical landmarks are not specified.",
584
+ "start": 18,
585
+ "end": 85,
586
+ "type": "correct"
587
+ },
588
+ "86-121": {
589
+ "text": "One polyp is present in the center.",
590
+ "start": 86,
591
+ "end": 121,
592
+ "type": "correct"
593
+ },
594
+ "122-218": {
595
+ "text": "There are no instruments visible, signs of inflammation, bleeding, foreign bodies, or infection.",
596
+ "start": 122,
597
+ "end": 218,
598
+ "type": "correct"
599
+ }
600
+ }
601
+ },
602
+ "b92c7c77-ca09-4efb-b4a1-74d0b56038d6.jpg": {
603
+ "original_text": "An image of pylorus. It shows a polyp with a yellowish abnormality. The brownish-pink mucosa indicates an anatomical landmark. There is one polyp present. The abnormality is located on the polyp. No instruments, signs of inflammation, bleeding, foreign bodies, or infections are evident.",
604
+ "corrections": "An image of cecum. The brownish-pink mucosa indicates an anatomical landmark. There is one polyp present. The abnormality is located on the polyp. No instruments, signs of inflammation, bleeding, foreign bodies, or infections are evident.",
605
+ "annotations": {
606
+ "0-19": {
607
+ "text": "An image of pylorus",
608
+ "start": 0,
609
+ "end": 19,
610
+ "type": "incorrect"
611
+ },
612
+ "20-65": {
613
+ "text": "It shows a polyp with a yellowish abnormality",
614
+ "start": 20,
615
+ "end": 65,
616
+ "type": "incorrect"
617
+ },
618
+ "21-67": {
619
+ "text": "It shows a polyp with a yellowish abnormality.",
620
+ "start": 21,
621
+ "end": 67,
622
+ "type": "correct"
623
+ },
624
+ "68-126": {
625
+ "text": "The brownish-pink mucosa indicates an anatomical landmark.",
626
+ "start": 68,
627
+ "end": 126,
628
+ "type": "correct"
629
+ },
630
+ "127-154": {
631
+ "text": "There is one polyp present.",
632
+ "start": 127,
633
+ "end": 154,
634
+ "type": "correct"
635
+ },
636
+ "155-195": {
637
+ "text": "The abnormality is located on the polyp.",
638
+ "start": 155,
639
+ "end": 195,
640
+ "type": "correct"
641
+ },
642
+ "196-287": {
643
+ "text": "No instruments, signs of inflammation, bleeding, foreign bodies, or infections are evident.",
644
+ "start": 196,
645
+ "end": 287,
646
+ "type": "correct"
647
+ }
648
+ }
649
+ },
650
+ "7c842733-aae9-41d6-8b81-8f5f891bfa68.jpg": {
651
+ "original_text": "An image of cecum. The abnormality, a polyp, is pink in color and located on the right side of the image. The anatomical landmark and signs of inflammation are visible. No instruments, foreign bodies, or signs of bleeding and infection are present.",
652
+ "corrections": "An image of colon. The abnormality, a polyp, is pink in color and located on the right side of the image. The anatomical landmark and signs of inflammation are visible. No instruments, foreign bodies, or signs of bleeding and infection are present.",
653
+ "annotations": {
654
+ "0-18": {
655
+ "text": "An image of cecum.",
656
+ "start": 0,
657
+ "end": 18,
658
+ "type": "incorrect"
659
+ },
660
+ "18-104": {
661
+ "text": "The abnormality, a polyp, is pink in color and located on the right side of the image.",
662
+ "start": 18,
663
+ "end": 104,
664
+ "type": "correct"
665
+ },
666
+ "105-167": {
667
+ "text": "The anatomical landmark and signs of inflammation are visible.",
668
+ "start": 105,
669
+ "end": 167,
670
+ "type": "correct"
671
+ },
672
+ "168-247": {
673
+ "text": "No instruments, foreign bodies, or signs of bleeding and infection are present.",
674
+ "start": 168,
675
+ "end": 247,
676
+ "type": "correct"
677
+ }
678
+ }
679
+ },
680
+ "0a8570b0-405c-4880-8800-a1e2a310a03c.jpg": {
681
+ "original_text": "An image of pylorus. A yellow abnormality is present, located in the upper center of the image. The anatomical landmarks appear red. One polyp is visible. No instruments, inflammation, bleeding, foreign bodies, or signs of infection are noted.",
682
+ "corrections": "An image of colon. A yellow abnormality is present, located in the upper center of the image. The anatomical landmarks appear red. One polyp is visible. No instruments, inflammation, bleeding, foreign bodies, or signs of infection are noted.",
683
+ "annotations": {
684
+ "0-20": {
685
+ "text": "An image of pylorus.",
686
+ "start": 0,
687
+ "end": 20,
688
+ "type": "incorrect"
689
+ },
690
+ "20-94": {
691
+ "text": "A yellow abnormality is present, located in the upper center of the image.",
692
+ "start": 20,
693
+ "end": 94,
694
+ "type": "correct"
695
+ },
696
+ "95-131": {
697
+ "text": "The anatomical landmarks appear red.",
698
+ "start": 95,
699
+ "end": 131,
700
+ "type": "correct"
701
+ },
702
+ "132-153": {
703
+ "text": "One polyp is visible.",
704
+ "start": 132,
705
+ "end": 153,
706
+ "type": "correct"
707
+ },
708
+ "154-242": {
709
+ "text": "No instruments, inflammation, bleeding, foreign bodies, or signs of infection are noted.",
710
+ "start": 154,
711
+ "end": 242,
712
+ "type": "correct"
713
+ }
714
+ }
715
+ },
716
+ "9c0bebe8-0a32-44ab-952a-484161586ac1.jpg": {
717
+ "original_text": "An image of cecum. There are no signs of inflammation, bleeding, infection, or foreign bodies. An anatomical landmark is visible, and no instruments are present in the image.",
718
+ "corrections": "An image of cecum. There are no signs of inflammation, bleeding, infection, or foreign bodies. An anatomical landmark is visible, and no instruments are present in the image. There is one polyp located centrally.",
719
+ "annotations": {
720
+ "0-18": {
721
+ "text": "An image of cecum.",
722
+ "start": 0,
723
+ "end": 18,
724
+ "type": "correct"
725
+ },
726
+ "19-94": {
727
+ "text": "There are no signs of inflammation, bleeding, infection, or foreign bodies.",
728
+ "start": 19,
729
+ "end": 94,
730
+ "type": "correct"
731
+ },
732
+ "95-174": {
733
+ "text": "An anatomical landmark is visible, and no instruments are present in the image.",
734
+ "start": 95,
735
+ "end": 174,
736
+ "type": "correct"
737
+ }
738
+ }
739
+ },
740
+ "664c57ef-32b3-4573-aa45-d83d96b3c967.jpg": {
741
+ "original_text": "An image of cecum. There is an abnormality present in the form of a single polyp, colored pinkish, near the center of the image. The anatomical landmark is not specifically identifiable, and no instruments, signs of inflammation, bleeding, or infection, nor foreign bodies are seen.",
742
+ "corrections": "An image of colon. There is an abnormality present in the form of a single polyp, colored pinkish, near the center of the image. The anatomical landmark appears pink in color, and no instruments, signs of inflammation, bleeding, or infection, nor foreign bodies are seen.",
743
+ "annotations": {
744
+ "0-18": {
745
+ "text": "An image of cecum.",
746
+ "start": 0,
747
+ "end": 18,
748
+ "type": "incorrect"
749
+ },
750
+ "19-128": {
751
+ "text": "There is an abnormality present in the form of a single polyp, colored pinkish, near the center of the image.",
752
+ "start": 19,
753
+ "end": 128,
754
+ "type": "correct"
755
+ },
756
+ "129-282": {
757
+ "text": "The anatomical landmark is not specifically identifiable, and no instruments, signs of inflammation, bleeding, or infection, nor foreign bodies are seen.",
758
+ "start": 129,
759
+ "end": 282,
760
+ "type": "incorrect"
761
+ }
762
+ }
763
+ },
764
+ "82447158-b261-4128-896f-23dc0366d4da.jpg": {
765
+ "original_text": "An image of cecum. The anatomical landmark is pinkish-brown with no visible polyps, abnormalities, signs of inflammation, infection, or bleeding. There are no foreign bodies or instruments present in the image.",
766
+ "corrections": "An image of cecum. The anatomical landmark is pinkish-brown with visible polyp located centrally ,no other abnormalities, signs of inflammation, infection, or bleeding. There are no foreign bodies or instruments present in the image.",
767
+ "annotations": {
768
+ "0-17": {
769
+ "text": "An image of cecum",
770
+ "start": 0,
771
+ "end": 17,
772
+ "type": "correct"
773
+ },
774
+ "19-144": {
775
+ "text": "The anatomical landmark is pinkish-brown with no visible polyps, abnormalities, signs of inflammation, infection, or bleeding",
776
+ "start": 19,
777
+ "end": 144,
778
+ "type": "incorrect"
779
+ },
780
+ "146-210": {
781
+ "text": "There are no foreign bodies or instruments present in the image.",
782
+ "start": 146,
783
+ "end": 210,
784
+ "type": "correct"
785
+ }
786
+ }
787
+ },
788
+ "53aa8af7-1846-49eb-83ec-2cc531b6babd.jpg": {
789
+ "original_text": "An image of cecum. The abnormality, a polyp, is light pink or whitish. The surrounding anatomical landmark is reddish. There is one visible polyp, positioned on the right. There are no signs of inflammation, bleeding, foreign bodies, or infection. No instruments are visible.",
790
+ "corrections": "An image of cecum. The abnormality, a polyp, is light pink or whitish. The surrounding anatomical landmark is reddish. There is one visible polyp, positioned on the right. There are no signs of inflammation, bleeding, foreign bodies, or infection. No instruments are visible.",
791
+ "annotations": {
792
+ "0-17": {
793
+ "text": "An image of cecum",
794
+ "start": 0,
795
+ "end": 17,
796
+ "type": "correct"
797
+ },
798
+ "19-70": {
799
+ "text": "The abnormality, a polyp, is light pink or whitish.",
800
+ "start": 19,
801
+ "end": 70,
802
+ "type": "correct"
803
+ },
804
+ "71-118": {
805
+ "text": "The surrounding anatomical landmark is reddish.",
806
+ "start": 71,
807
+ "end": 118,
808
+ "type": "correct"
809
+ },
810
+ "119-171": {
811
+ "text": "There is one visible polyp, positioned on the right.",
812
+ "start": 119,
813
+ "end": 171,
814
+ "type": "correct"
815
+ },
816
+ "172-247": {
817
+ "text": "There are no signs of inflammation, bleeding, foreign bodies, or infection.",
818
+ "start": 172,
819
+ "end": 247,
820
+ "type": "correct"
821
+ },
822
+ "248-275": {
823
+ "text": "No instruments are visible.",
824
+ "start": 248,
825
+ "end": 275,
826
+ "type": "correct"
827
+ }
828
+ }
829
+ },
830
+ "c7c598d0-a21d-4cb3-aceb-e697d25c84f6.jpg": {
831
+ "original_text": "An image of cecum. The anatomical landmark is light pink. There is one polyp present in the center. No other abnormalities, instruments, signs of inflammation, bleeding, foreign bodies, or infection are evident.",
832
+ "corrections": "An image of cecum. The anatomical landmark is light pink. There is one polyp present in the center. No other abnormalities, instruments, signs of inflammation, bleeding, foreign bodies, or infection are evident.",
833
+ "annotations": {
834
+ "0-17": {
835
+ "text": "An image of cecum",
836
+ "start": 0,
837
+ "end": 17,
838
+ "type": "correct"
839
+ },
840
+ "18-56": {
841
+ "text": "The anatomical landmark is light pink.",
842
+ "start": 18,
843
+ "end": 56,
844
+ "type": "correct"
845
+ },
846
+ "57-98": {
847
+ "text": "There is one polyp present in the center.",
848
+ "start": 57,
849
+ "end": 98,
850
+ "type": "correct"
851
+ },
852
+ "99-210": {
853
+ "text": "No other abnormalities, instruments, signs of inflammation, bleeding, foreign bodies, or infection are evident.",
854
+ "start": 99,
855
+ "end": 210,
856
+ "type": "correct"
857
+ }
858
+ }
859
+ },
860
+ "a1f89f5e-cfb1-4c24-bf98-08f92859a3ca.jpg": {
861
+ "original_text": "An image of cecum. No instruments, signs of inflammation, bleeding, foreign bodies, or infections are detected.",
862
+ "corrections": "An image of cecum. No instruments, signs of inflammation, bleeding, foreign bodies, or infections are detected.There is one polyp located in right side of the image.",
863
+ "annotations": {
864
+ "0-18": {
865
+ "text": "An image of cecum.",
866
+ "start": 0,
867
+ "end": 18,
868
+ "type": "correct"
869
+ },
870
+ "19-111": {
871
+ "text": "No instruments, signs of inflammation, bleeding, foreign bodies, or infections are detected.",
872
+ "start": 19,
873
+ "end": 111,
874
+ "type": "incorrect"
875
+ }
876
+ }
877
+ },
878
+ "2e27cdb5-5f92-4b8b-bda3-175883b86762.jpg": {
879
+ "original_text": "An image of cecum. An abnormality appears reddish, indicating inflammation and potential bleeding. Anatomical landmarks are normal in color. No polyps or instruments are observed. The abnormality is located towards the center-left of the image. There are no signs of infection or foreign bodies present.",
880
+ "corrections": "An image of cecum. An abnormality appears reddish, indicating inflammation and potential bleeding. Anatomical landmarks are normal in color. There isone polyp located towards the center-left of the image. There are no signs of infection, instruments, or foreign bodies present.",
881
+ "annotations": {
882
+ "0-18": {
883
+ "text": "An image of cecum.",
884
+ "type": "correct",
885
+ "start": 0,
886
+ "end": 18
887
+ },
888
+ "19-98": {
889
+ "text": "An abnormality appears reddish, indicating inflammation and potential bleeding.",
890
+ "type": "correct",
891
+ "start": 19,
892
+ "end": 98
893
+ },
894
+ "99-140": {
895
+ "text": "Anatomical landmarks are normal in color.",
896
+ "type": "correct",
897
+ "start": 99,
898
+ "end": 140
899
+ },
900
+ "141-179": {
901
+ "text": "No polyps or instruments are observed.",
902
+ "type": "incorrect",
903
+ "start": 141,
904
+ "end": 179
905
+ },
906
+ "180-244": {
907
+ "text": "The abnormality is located towards the center-left of the image.",
908
+ "type": "incorrect",
909
+ "start": 180,
910
+ "end": 244
911
+ },
912
+ "245-303": {
913
+ "text": "There are no signs of infection or foreign bodies present.",
914
+ "type": "correct",
915
+ "start": 245,
916
+ "end": 303
917
+ }
918
+ }
919
+ },
920
+ "4ac59a5d-7b24-4b77-a7af-fc7615493ea8.jpg": {
921
+ "original_text": "An image of cecum. An abnormality is present as a polyp colored similarly to the surrounding tissue. The anatomical landmark is light pink. There is one polyp visible in the image. There are no instruments, signs of inflammation, bleeding, foreign bodies, or infection detected in the image.",
922
+ "corrections": "An image of cecum. An abnormality is present as a polyp colored similarly to the surrounding tissue. The anatomical landmark is light pink. There are no instruments, signs of inflammation, bleeding, foreign bodies, or infection detected in the image.",
923
+ "annotations": {
924
+ "0-18": {
925
+ "text": "An image of cecum.",
926
+ "start": 0,
927
+ "end": 18,
928
+ "type": "correct"
929
+ },
930
+ "19-100": {
931
+ "text": "An abnormality is present as a polyp colored similarly to the surrounding tissue.",
932
+ "start": 19,
933
+ "end": 100,
934
+ "type": "correct"
935
+ },
936
+ "101-139": {
937
+ "text": "The anatomical landmark is light pink.",
938
+ "start": 101,
939
+ "end": 139,
940
+ "type": "correct"
941
+ },
942
+ "140-180": {
943
+ "text": "There is one polyp visible in the image.",
944
+ "start": 140,
945
+ "end": 180,
946
+ "type": "correct"
947
+ },
948
+ "181-291": {
949
+ "text": "There are no instruments, signs of inflammation, bleeding, foreign bodies, or infection detected in the image.",
950
+ "start": 181,
951
+ "end": 291,
952
+ "type": "correct"
953
+ }
954
+ }
955
+ },
956
+ "729409f2-b4fb-4a76-b177-da45a8cc792e.jpg": {
957
+ "original_text": "An image of cecum. The anatomical landmark is brown, with no signs of inflammation, bleeding, infection, or foreign bodies. There are no instruments visible in the image.",
958
+ "corrections": "An image of cecum. The anatomical landmark is brown, with no signs of inflammation, bleeding, infection, or foreign bodies. There are no instruments visible in the image.There is one polyp on the right side of the image.",
959
+ "annotations": {
960
+ "0-17": {
961
+ "text": "An image of cecum",
962
+ "start": 0,
963
+ "end": 17,
964
+ "type": "correct"
965
+ },
966
+ "18-122": {
967
+ "text": "The anatomical landmark is brown, with no signs of inflammation, bleeding, infection, or foreign bodies.",
968
+ "start": 18,
969
+ "end": 122,
970
+ "type": "incorrect"
971
+ },
972
+ "123-169": {
973
+ "text": "There are no instruments visible in the image.",
974
+ "start": 123,
975
+ "end": 169,
976
+ "type": "incorrect"
977
+ }
978
+ }
979
+ },
980
+ "20db5a9d-b150-41c3-b03d-4f65b5101132.jpg": {
981
+ "original_text": "An image of pylorus. The anatomical landmark, likely a section of bowel, appears pink. No polyps or instruments are visible. There are signs of inflammation and possible bleeding, with no foreign bodies or infections apparent.",
982
+ "corrections": "An image of cecum. The anatomical landmark, which is cecum, appears pink. One polyp seen centrally but no instruments are visible. There are signs of inflammation and possible bleeding, with no foreign bodies or infections apparent.",
983
+ "annotations": {
984
+ "0-20": {
985
+ "text": "An image of pylorus.",
986
+ "start": 0,
987
+ "end": 20,
988
+ "type": "incorrect"
989
+ },
990
+ "21-86": {
991
+ "text": "The anatomical landmark, likely a section of bowel, appears pink.",
992
+ "start": 21,
993
+ "end": 86,
994
+ "type": "incorrect"
995
+ },
996
+ "46-71": {
997
+ "text": "likely a section of bowel",
998
+ "start": 46,
999
+ "end": 71,
1000
+ "type": "incorrect"
1001
+ },
1002
+ "87-123": {
1003
+ "text": "No polyps or instruments are visible",
1004
+ "start": 87,
1005
+ "end": 123,
1006
+ "type": "incorrect"
1007
+ },
1008
+ "124-225": {
1009
+ "text": "There are signs of inflammation and possible bleeding, with no foreign bodies or infections apparent.",
1010
+ "start": 124,
1011
+ "end": 225,
1012
+ "type": "correct"
1013
+ }
1014
+ }
1015
+ },
1016
+ "589436f6-384e-4b12-8416-fea23c56fdc9.jpg": {
1017
+ "original_text": "An image of cecum. No instruments, foreign bodies, bleeding, or inflammation are evident. The anatomical landmark is normal colored. No signs of infection are present.",
1018
+ "corrections": "An image of colon. No instruments, foreign bodies are evident. The anatomical landmark is normal colored. No signs of inflammation, infection and minor bleeding are present.",
1019
+ "annotations": {
1020
+ "0-18": {
1021
+ "text": "An image of cecum.",
1022
+ "start": 0,
1023
+ "end": 18,
1024
+ "type": "incorrect"
1025
+ },
1026
+ "19-89": {
1027
+ "text": "No instruments, foreign bodies, bleeding, or inflammation are evident.",
1028
+ "start": 19,
1029
+ "end": 89,
1030
+ "type": "correct"
1031
+ },
1032
+ "90-132": {
1033
+ "text": "The anatomical landmark is normal colored.",
1034
+ "start": 90,
1035
+ "end": 132,
1036
+ "type": "correct"
1037
+ },
1038
+ "133-167": {
1039
+ "text": "No signs of infection are present.",
1040
+ "start": 133,
1041
+ "end": 167,
1042
+ "type": "correct"
1043
+ }
1044
+ }
1045
+ },
1046
+ "c7246fd5-2e6a-47ae-821a-217f43b674a6.jpg": {
1047
+ "original_text": "An image of pylorus. There is one polyp visible. There are no instruments, signs of inflammation, bleeding, foreign bodies, or infection present.",
1048
+ "corrections": "An image of colon. There is one polyp visible. There are no instruments, signs of inflammation, bleeding, foreign bodies, or infection present. The anatomical landmark appears pink.",
1049
+ "annotations": {
1050
+ "0-20": {
1051
+ "text": "An image of pylorus.",
1052
+ "start": 0,
1053
+ "end": 20,
1054
+ "type": "incorrect"
1055
+ },
1056
+ "21-48": {
1057
+ "text": "There is one polyp visible.",
1058
+ "start": 21,
1059
+ "end": 48,
1060
+ "type": "correct"
1061
+ },
1062
+ "48-144": {
1063
+ "text": "There are no instruments, signs of inflammation, bleeding, foreign bodies, or infection present.",
1064
+ "start": 48,
1065
+ "end": 144,
1066
+ "type": "correct"
1067
+ }
1068
+ }
1069
+ },
1070
+ "44011fa3-7954-4c63-a8c9-57134776a717.jpg": {
1071
+ "original_text": "An image of pylorus. No anatomical landmarks or instruments are present. There are no signs of inflammation, bleeding, infection, or foreign bodies.",
1072
+ "corrections": "An image of pylorus. No anatomical landmarks or instruments are present. There are no signs of inflammation, bleeding, infection, or foreign bodies.There is one polyp located centrally.",
1073
+ "annotations": {
1074
+ "0-19": {
1075
+ "text": "An image of pylorus",
1076
+ "start": 0,
1077
+ "end": 19,
1078
+ "type": "correct"
1079
+ },
1080
+ "21-72": {
1081
+ "text": "No anatomical landmarks or instruments are present.",
1082
+ "start": 21,
1083
+ "end": 72,
1084
+ "type": "incorrect"
1085
+ },
1086
+ "73-148": {
1087
+ "text": "There are no signs of inflammation, bleeding, infection, or foreign bodies.",
1088
+ "start": 73,
1089
+ "end": 148,
1090
+ "type": "incorrect"
1091
+ }
1092
+ }
1093
+ }
1094
+ }
epoch_1/Hallucination-Aware-VLM/dataset/Gut-VLM/train_test_split/classwise_test_split/pylorus_test.json ADDED
@@ -0,0 +1,1604 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "b9726a70-6e02-4907-8f3a-4b8b0285d41c.jpg": {
3
+ "original_text": "An image of pylorus. The anatomical landmarks, likely indicating the stomach or esophagus, are normal in color. No instruments, bleeding, or foreign bodies are visible in the image.",
4
+ "corrections": "An image of pylorus. The anatomical landmarks, likely indicating the stomach or esophagus, are normal in color. No instruments, bleeding, or foreign bodies are visible in the image.",
5
+ "annotations": {
6
+ "112-181": {
7
+ "text": "No instruments, bleeding, or foreign bodies are visible in the image.",
8
+ "type": "correct",
9
+ "start": 112,
10
+ "end": 181
11
+ },
12
+ "21-111": {
13
+ "text": "The anatomical landmarks, likely indicating the stomach or esophagus, are normal in color.",
14
+ "type": "correct",
15
+ "start": 21,
16
+ "end": 111
17
+ },
18
+ "0-21": {
19
+ "text": "An image of pylorus. ",
20
+ "type": "correct",
21
+ "start": 0,
22
+ "end": 21
23
+ }
24
+ }
25
+ },
26
+ "7e9988db-8f64-4bdb-b382-b2a9416ab751.jpg": {
27
+ "original_text": "An image of cecum. There are no abnormalities, polyps, or foreign bodies present. The anatomical landmark is pinkish. No instruments, signs of inflammation, infection, or evidence of bleeding are observed.",
28
+ "corrections": "An image of pylorus. There are no abnormalities, polyps, or foreign bodies present. The anatomical landmark is pinkish. No instruments, signs of inflammation, infection, or evidence of bleeding are observed.",
29
+ "annotations": {
30
+ "0-18": {
31
+ "text": "An image of cecum.",
32
+ "type": "incorrect",
33
+ "start": 0,
34
+ "end": 18
35
+ },
36
+ "118-205": {
37
+ "text": "No instruments, signs of inflammation, infection, or evidence of bleeding are observed.",
38
+ "type": "correct",
39
+ "start": 118,
40
+ "end": 205
41
+ },
42
+ "82-117": {
43
+ "text": "The anatomical landmark is pinkish.",
44
+ "type": "correct",
45
+ "start": 82,
46
+ "end": 117
47
+ },
48
+ "19-82": {
49
+ "text": "There are no abnormalities, polyps, or foreign bodies present. ",
50
+ "type": "correct",
51
+ "start": 19,
52
+ "end": 82
53
+ }
54
+ }
55
+ },
56
+ "6d3405db-4ab3-46c4-b42c-c81caa5dfca3.jpg": {
57
+ "original_text": "An image of pylorus. An abnormality is present and has a light pink color, while the surrounding anatomical landmark is also pink. There is one polyp, seen centrally at the top. No instruments, bleeding, foreign bodies, or signs of inflammation or infection are observed.",
58
+ "corrections": "An image of pylorus. There are no visible abnormalities and the anatomical landmark is pink. There are no polyps. No instruments, bleeding, foreign bodies, or signs of inflammation or infection are observed.",
59
+ "annotations": {
60
+ "0-20": {
61
+ "text": "An image of pylorus.",
62
+ "type": "correct",
63
+ "start": 0,
64
+ "end": 20
65
+ },
66
+ "20-75": {
67
+ "text": " An abnormality is present and has a light pink color, ",
68
+ "type": "incorrect",
69
+ "start": 20,
70
+ "end": 75
71
+ },
72
+ "75-130": {
73
+ "text": "while the surrounding anatomical landmark is also pink.",
74
+ "type": "correct",
75
+ "start": 75,
76
+ "end": 130
77
+ },
78
+ "178-271": {
79
+ "text": "No instruments, bleeding, foreign bodies, or signs of inflammation or infection are observed.",
80
+ "type": "correct",
81
+ "start": 178,
82
+ "end": 271
83
+ },
84
+ "131-177": {
85
+ "text": "There is one polyp, seen centrally at the top.",
86
+ "type": "incorrect",
87
+ "start": 131,
88
+ "end": 177
89
+ }
90
+ }
91
+ },
92
+ "7dbffc3c-7c7c-498a-a719-163808fb7a44.jpg": {
93
+ "original_text": "An image of pylorus. The anatomical landmark is pink. There are no polyps, abnormalities, instruments, signs of inflammation, bleeding, foreign bodies, or infection visible in the image.",
94
+ "corrections": "An image of pylorus. The anatomical landmark is pink. There are no polyps, abnormalities, instruments, signs of inflammation, bleeding, foreign bodies, or infection visible in the image.",
95
+ "annotations": {
96
+ "54-186": {
97
+ "text": "There are no polyps, abnormalities, instruments, signs of inflammation, bleeding, foreign bodies, or infection visible in the image.",
98
+ "type": "correct",
99
+ "start": 54,
100
+ "end": 186
101
+ },
102
+ "21-53": {
103
+ "text": "The anatomical landmark is pink.",
104
+ "type": "correct",
105
+ "start": 21,
106
+ "end": 53
107
+ },
108
+ "0-20": {
109
+ "text": "An image of pylorus.",
110
+ "type": "correct",
111
+ "start": 0,
112
+ "end": 20
113
+ }
114
+ }
115
+ },
116
+ "2f0ad25b-8dfe-413a-a87e-6e961e2558e7.jpg": {
117
+ "original_text": "An image of cecum. There are no visible abnormalities, polyps, instruments, signs of inflammation, bleeding, infection, or foreign bodies present. The typical color of the anatomical landmark, if identifiable, appears normal.",
118
+ "corrections": "An image of pylorus. There are no visible abnormalities, polyps, instruments, signs of inflammation, bleeding, infection, or foreign bodies present. The typical color of the anatomical landmark appears normal.",
119
+ "annotations": {
120
+ "0-17": {
121
+ "text": "An image of cecum",
122
+ "type": "incorrect",
123
+ "start": 0,
124
+ "end": 17
125
+ },
126
+ "19-145": {
127
+ "text": "There are no visible abnormalities, polyps, instruments, signs of inflammation, bleeding, infection, or foreign bodies present",
128
+ "type": "correct",
129
+ "start": 19,
130
+ "end": 145
131
+ },
132
+ "147-225": {
133
+ "text": "The typical color of the anatomical landmark, if identifiable, appears normal.",
134
+ "type": "correct",
135
+ "start": 147,
136
+ "end": 225
137
+ }
138
+ }
139
+ },
140
+ "dfc00ba0-40d2-42b0-9ac2-3ea974a5e20e.jpg": {
141
+ "original_text": "An image of pylorus. There are no visible abnormalities, polyps, instruments, signs of inflammation, bleeding, or infection. The anatomical landmark is pink, and there's no evidence of foreign bodies.",
142
+ "corrections": "An image of pylorus. There are no visible abnormalities, polyps, instruments, signs of inflammation, bleeding, or infection and there's no evidence of foreign bodies.",
143
+ "annotations": {
144
+ "124-157": {
145
+ "text": " The anatomical landmark is pink,",
146
+ "type": "incorrect",
147
+ "start": 124,
148
+ "end": 157
149
+ },
150
+ "157-200": {
151
+ "text": " and there's no evidence of foreign bodies.",
152
+ "type": "correct",
153
+ "start": 157,
154
+ "end": 200
155
+ },
156
+ "0-19": {
157
+ "text": "An image of pylorus",
158
+ "type": "correct",
159
+ "start": 0,
160
+ "end": 19
161
+ },
162
+ "21-123": {
163
+ "text": "There are no visible abnormalities, polyps, instruments, signs of inflammation, bleeding, or infection",
164
+ "type": "correct",
165
+ "start": 21,
166
+ "end": 123
167
+ }
168
+ }
169
+ },
170
+ "9b7c06e8-d8c2-4542-af57-2767e83281c3.jpg": {
171
+ "original_text": "An image of cecum. A black abnormality is present, possibly a polyp, located centrally. The surrounding anatomical landmark appears healthy and pink with no signs of inflammation, bleeding, infection, or foreign bodies. Additionally, no medical instruments are visible in this image.",
172
+ "corrections": "An image of pylorus. There are no abnormalities, located centrally. The surrounding anatomical landmark appears healthy and pink with no signs of inflammation, bleeding, infection, or foreign bodies. Additionally, no medical instruments are visible in this image.",
173
+ "annotations": {
174
+ "0-17": {
175
+ "text": "An image of cecum",
176
+ "type": "incorrect",
177
+ "start": 0,
178
+ "end": 17
179
+ },
180
+ "19-87": {
181
+ "text": "A black abnormality is present, possibly a polyp, located centrally.",
182
+ "type": "incorrect",
183
+ "start": 19,
184
+ "end": 87
185
+ },
186
+ "88-219": {
187
+ "text": "The surrounding anatomical landmark appears healthy and pink with no signs of inflammation, bleeding, infection, or foreign bodies.",
188
+ "type": "correct",
189
+ "start": 88,
190
+ "end": 219
191
+ },
192
+ "220-283": {
193
+ "text": "Additionally, no medical instruments are visible in this image.",
194
+ "type": "correct",
195
+ "start": 220,
196
+ "end": 283
197
+ }
198
+ }
199
+ },
200
+ "4dbcd959-a282-4cd0-8147-f4fc5e989d6a.jpg": {
201
+ "original_text": "An image of pylorus. There is no evidence of polyps, inflammation, bleeding, foreign bodies, infection, or any surgical instruments present.",
202
+ "corrections": "An image of pylorus. There is no visible abnormality, polyps, inflammation, bleeding, foreign bodies, or signs of infection present. The anatomical landmark, likely the esophageal lumen, is tan to pink in color. No instruments are visible in the image.",
203
+ "annotations": {
204
+ "21-140": {
205
+ "text": "There is no evidence of polyps, inflammation, bleeding, foreign bodies, infection, or any surgical instruments present.",
206
+ "type": "correct",
207
+ "start": 21,
208
+ "end": 140
209
+ },
210
+ "0-20": {
211
+ "text": "An image of pylorus.",
212
+ "type": "correct",
213
+ "start": 0,
214
+ "end": 20
215
+ }
216
+ }
217
+ },
218
+ "e9a7b759-6bfb-4f38-88bb-92f51b6f8bb9.jpg": {
219
+ "original_text": "An image of pylorus. No abnormalities, polyps, signs of inflammation, bleeding, infection, or foreign bodies are present. The anatomical landmark is pink and there is one instrument visible in the top right corner of the image.",
220
+ "corrections": "An image of pylorus. No abnormalities, polyps, signs of inflammation, bleeding, infection, or foreign bodies are present. The anatomical landmark is pink. There are no instruments visible in the image.",
221
+ "annotations": {
222
+ "122-227": {
223
+ "text": "The anatomical landmark is pink and there is one instrument visible in the top right corner of the image.",
224
+ "type": "incorrect",
225
+ "start": 122,
226
+ "end": 227
227
+ },
228
+ "21-121": {
229
+ "text": "No abnormalities, polyps, signs of inflammation, bleeding, infection, or foreign bodies are present.",
230
+ "type": "correct",
231
+ "start": 21,
232
+ "end": 121
233
+ },
234
+ "0-20": {
235
+ "text": "An image of pylorus.",
236
+ "type": "correct",
237
+ "start": 0,
238
+ "end": 20
239
+ }
240
+ }
241
+ },
242
+ "fc7a12c8-250d-4568-83be-d878dae07b4f.jpg": {
243
+ "original_text": "An image of pylorus. There is evidence of bleeding with red spots visible. An anatomical landmark, likely the gastroesophageal junction, is present. No polyps, instruments, or foreign bodies are seen. Signs of inflammation are observed, but no clear signs of infection.",
244
+ "corrections": "An image of pylorus. No abnormality is seen in the image. No polyps, instruments, or foreign bodies are seen. Signs of inflammation are observed, but no clear signs of infection.",
245
+ "annotations": {
246
+ "74-147": {
247
+ "text": " An anatomical landmark, likely the gastroesophageal junction, is present",
248
+ "type": "incorrect",
249
+ "start": 74,
250
+ "end": 147
251
+ },
252
+ "0-21": {
253
+ "text": "An image of pylorus. ",
254
+ "type": "correct",
255
+ "start": 0,
256
+ "end": 21
257
+ },
258
+ "21-74": {
259
+ "text": "There is evidence of bleeding with red spots visible.",
260
+ "type": "correct",
261
+ "start": 21,
262
+ "end": 74
263
+ },
264
+ "149-200": {
265
+ "text": "No polyps, instruments, or foreign bodies are seen.",
266
+ "type": "correct",
267
+ "start": 149,
268
+ "end": 200
269
+ },
270
+ "201-269": {
271
+ "text": "Signs of inflammation are observed, but no clear signs of infection.",
272
+ "type": "correct",
273
+ "start": 201,
274
+ "end": 269
275
+ }
276
+ }
277
+ },
278
+ "0aa2e5c7-f32c-416c-920c-3504f1438ee1.jpg": {
279
+ "original_text": "An image of pylorus. A dark-colored abnormality is present and centered in the image. The surrounding pink area is the anatomical landmark. There are no polyps, instruments, signs of inflammation, bleeding, foreign bodies, or infection observed in the image.",
280
+ "corrections": "An image of pylorus. There are no abnormalities in the image. The pink area is the anatomical landmark. There are no polyps, instruments, signs of inflammation, bleeding, foreign bodies, or infection observed in the image.",
281
+ "annotations": {
282
+ "0-20": {
283
+ "text": "An image of pylorus.",
284
+ "type": "correct",
285
+ "start": 0,
286
+ "end": 20
287
+ },
288
+ "20-85": {
289
+ "text": " A dark-colored abnormality is present and centered in the image.",
290
+ "type": "incorrect",
291
+ "start": 20,
292
+ "end": 85
293
+ },
294
+ "140-258": {
295
+ "text": "There are no polyps, instruments, signs of inflammation, bleeding, foreign bodies, or infection observed in the image.",
296
+ "type": "correct",
297
+ "start": 140,
298
+ "end": 258
299
+ },
300
+ "86-139": {
301
+ "text": "The surrounding pink area is the anatomical landmark.",
302
+ "type": "correct",
303
+ "start": 86,
304
+ "end": 139
305
+ }
306
+ }
307
+ },
308
+ "d6df0145-3273-4889-a110-37d7243b95f5.jpg": {
309
+ "original_text": "An image of cecum. There do not appear to be any abnormalities, polyps, inflammation, bleeding, or signs of infection. No foreign bodies or instruments are present. The anatomical landmark present is of normal color.",
310
+ "corrections": "An image of pylorus. There do not appear to be any abnormalities, polyps, inflammation, bleeding, or signs of infection. No foreign bodies or instruments are present. The anatomical landmark present is of normal color.",
311
+ "annotations": {
312
+ "0-18": {
313
+ "text": "An image of cecum.",
314
+ "type": "incorrect",
315
+ "start": 0,
316
+ "end": 18
317
+ },
318
+ "165-216": {
319
+ "text": "The anatomical landmark present is of normal color.",
320
+ "type": "correct",
321
+ "start": 165,
322
+ "end": 216
323
+ },
324
+ "119-164": {
325
+ "text": "No foreign bodies or instruments are present.",
326
+ "type": "correct",
327
+ "start": 119,
328
+ "end": 164
329
+ },
330
+ "19-119": {
331
+ "text": "There do not appear to be any abnormalities, polyps, inflammation, bleeding, or signs of infection. ",
332
+ "type": "correct",
333
+ "start": 19,
334
+ "end": 119
335
+ }
336
+ }
337
+ },
338
+ "0ebab707-f141-42f5-b1ee-9d887dbe242d.jpg": {
339
+ "original_text": "An image of cecum. The anatomical landmark is pink. No instruments, inflammation, or signs of infection or bleeding are observed.",
340
+ "corrections": "An image of pylorus. The anatomical landmark is pink. No instruments, inflammation, polyps, or signs of infection or bleeding are observed.",
341
+ "annotations": {
342
+ "0-18": {
343
+ "text": "An image of cecum.",
344
+ "type": "incorrect",
345
+ "start": 0,
346
+ "end": 18
347
+ },
348
+ "52-129": {
349
+ "text": "No instruments, inflammation, or signs of infection or bleeding are observed.",
350
+ "type": "correct",
351
+ "start": 52,
352
+ "end": 129
353
+ },
354
+ "19-51": {
355
+ "text": "The anatomical landmark is pink.",
356
+ "type": "correct",
357
+ "start": 19,
358
+ "end": 51
359
+ }
360
+ }
361
+ },
362
+ "fe783b66-c307-4adc-bfe5-1fc0d603a340.jpg": {
363
+ "original_text": "An image of pylorus. There are no apparent abnormalities, polyps, signs of inflammation, bleeding, infection, or foreign bodies present. The anatomical landmarks are a natural pink color and there are no instruments visible.",
364
+ "corrections": "An image of pylorus. There are no apparent abnormalities, polyps, signs of inflammation, bleeding, infection, or foreign bodies present. The anatomical landmarks are a natural pink color and there are no instruments visible.",
365
+ "annotations": {
366
+ "137-224": {
367
+ "text": "The anatomical landmarks are a natural pink color and there are no instruments visible.",
368
+ "type": "correct",
369
+ "start": 137,
370
+ "end": 224
371
+ },
372
+ "21-136": {
373
+ "text": "There are no apparent abnormalities, polyps, signs of inflammation, bleeding, infection, or foreign bodies present.",
374
+ "type": "correct",
375
+ "start": 21,
376
+ "end": 136
377
+ },
378
+ "0-20": {
379
+ "text": "An image of pylorus.",
380
+ "type": "correct",
381
+ "start": 0,
382
+ "end": 20
383
+ }
384
+ }
385
+ },
386
+ "0a0ce428-e7ee-4a42-9e60-b58b7cb6a06f.jpg": {
387
+ "original_text": "An image of pylorus. There is a small, black abnormality present, likely a foreign body, located centrally. The surrounding anatomical landmark is pink. There are no polyps, inflammation, signs of bleeding, or infection visible. One instrument is present, positioned near the abnormality.",
388
+ "corrections": "An image of pylorus. There are no abnormalities present. The surrounding anatomical landmark is pink. There are no polyps, inflammation, signs of bleeding, or infection visible. ",
389
+ "annotations": {
390
+ "0-21": {
391
+ "text": "An image of pylorus. ",
392
+ "type": "correct",
393
+ "start": 0,
394
+ "end": 21
395
+ },
396
+ "21-107": {
397
+ "text": "There is a small, black abnormality present, likely a foreign body, located centrally.",
398
+ "type": "incorrect",
399
+ "start": 21,
400
+ "end": 107
401
+ },
402
+ "228-288": {
403
+ "text": " One instrument is present, positioned near the abnormality.",
404
+ "type": "incorrect",
405
+ "start": 228,
406
+ "end": 288
407
+ },
408
+ "153-228": {
409
+ "text": "There are no polyps, inflammation, signs of bleeding, or infection visible.",
410
+ "type": "correct",
411
+ "start": 153,
412
+ "end": 228
413
+ },
414
+ "108-153": {
415
+ "text": "The surrounding anatomical landmark is pink. ",
416
+ "type": "correct",
417
+ "start": 108,
418
+ "end": 153
419
+ }
420
+ }
421
+ },
422
+ "b6780abc-5afc-483c-a320-2eb64353c44f.jpg": {
423
+ "original_text": "An image of pylorus. There are no abnormalities, polyps, visible inflammation, bleeding, foreign bodies, or signs of infection. The anatomical landmark present is of normal color. There are no instruments visible in the image.",
424
+ "corrections": "An image of pylorus. There are no abnormalities, polyps, visible inflammation, bleeding, foreign bodies, or signs of infection. The anatomical landmark present is of normal color. There are no instruments visible in the image.",
425
+ "annotations": {
426
+ "180-226": {
427
+ "text": "There are no instruments visible in the image.",
428
+ "type": "correct",
429
+ "start": 180,
430
+ "end": 226
431
+ },
432
+ "128-179": {
433
+ "text": "The anatomical landmark present is of normal color.",
434
+ "type": "correct",
435
+ "start": 128,
436
+ "end": 179
437
+ },
438
+ "21-127": {
439
+ "text": "There are no abnormalities, polyps, visible inflammation, bleeding, foreign bodies, or signs of infection.",
440
+ "type": "correct",
441
+ "start": 21,
442
+ "end": 127
443
+ },
444
+ "0-21": {
445
+ "text": "An image of pylorus. ",
446
+ "type": "correct",
447
+ "start": 0,
448
+ "end": 21
449
+ }
450
+ }
451
+ },
452
+ "d9a75a4c-e5f1-49b3-9bd0-9efa61737c74.jpg": {
453
+ "original_text": "An image of pylorus. There are no visible abnormalities, polyps, inflammation, bleeding, or signs of infection. No identifiable anatomical landmarks, instruments, or foreign bodies are present in the image.",
454
+ "corrections": "An image of pylorus. There are no visible abnormalities, polyps, inflammation, bleeding, or signs of infection. No instruments, or foreign bodies are present in the image.",
455
+ "annotations": {
456
+ "112-206": {
457
+ "text": "No identifiable anatomical landmarks, instruments, or foreign bodies are present in the image.",
458
+ "type": "correct",
459
+ "start": 112,
460
+ "end": 206
461
+ },
462
+ "21-112": {
463
+ "text": "There are no visible abnormalities, polyps, inflammation, bleeding, or signs of infection. ",
464
+ "type": "correct",
465
+ "start": 21,
466
+ "end": 112
467
+ },
468
+ "0-20": {
469
+ "text": "An image of pylorus.",
470
+ "type": "correct",
471
+ "start": 0,
472
+ "end": 20
473
+ }
474
+ }
475
+ },
476
+ "e3c008df-e2a4-48f0-814a-8b06254f8ee0.jpg": {
477
+ "original_text": "An image of z-line. No abnormalities, polyps, or foreign bodies are visible. The anatomical landmarks appear normal in color. No instruments, signs of inflammation, infection, or bleeding are observed.",
478
+ "corrections": "An image of pylorus. No abnormalities, polyps, or foreign bodies are visible. The anatomical landmarks appear normal in color. No instruments, signs of inflammation, infection, or bleeding are observed.",
479
+ "annotations": {
480
+ "0-19": {
481
+ "text": "An image of z-line.",
482
+ "type": "incorrect",
483
+ "start": 0,
484
+ "end": 19
485
+ },
486
+ "125-201": {
487
+ "text": " No instruments, signs of inflammation, infection, or bleeding are observed.",
488
+ "type": "correct",
489
+ "start": 125,
490
+ "end": 201
491
+ },
492
+ "77-125": {
493
+ "text": "The anatomical landmarks appear normal in color.",
494
+ "type": "correct",
495
+ "start": 77,
496
+ "end": 125
497
+ },
498
+ "20-77": {
499
+ "text": "No abnormalities, polyps, or foreign bodies are visible. ",
500
+ "type": "correct",
501
+ "start": 20,
502
+ "end": 77
503
+ }
504
+ }
505
+ },
506
+ "a47588f1-e876-4991-9304-b9cedfa292ab.jpg": {
507
+ "original_text": "An image of pylorus. There are no visible abnormalities, polyps, instruments, signs of inflammation, bleeding, foreign bodies, or infection present. The anatomical landmarks are normal in color and there\u2019s no evidence of abnormalities.",
508
+ "corrections": "An image of pylorus. There are no visible abnormalities, polyps, instruments, signs of inflammation, bleeding, foreign bodies, or infection present. The anatomical landmarks are normal in color and there\u2019s no evidence of abnormalities.",
509
+ "annotations": {
510
+ "149-235": {
511
+ "text": "The anatomical landmarks are normal in color and there\u2019s no evidence of abnormalities.",
512
+ "type": "correct",
513
+ "start": 149,
514
+ "end": 235
515
+ },
516
+ "21-148": {
517
+ "text": "There are no visible abnormalities, polyps, instruments, signs of inflammation, bleeding, foreign bodies, or infection present.",
518
+ "type": "correct",
519
+ "start": 21,
520
+ "end": 148
521
+ },
522
+ "0-21": {
523
+ "text": "An image of pylorus. ",
524
+ "type": "correct",
525
+ "start": 0,
526
+ "end": 21
527
+ }
528
+ }
529
+ },
530
+ "bbe363f1-166b-4836-9491-e81e125122f6.jpg": {
531
+ "original_text": "An image of cecum. A black abnormality is present in the center. The surrounding anatomical landmark is pinkish. No polyps, instruments, or signs of infection, inflammation, or bleeding are evident, and there are no foreign bodies detected.",
532
+ "corrections": "An image of pylorus. No abnormality is seen in the image. The surrounding anatomical landmark is pinkish. No polyps, instruments, or signs of infection, inflammation, or bleeding are evident, and there are no foreign bodies detected.",
533
+ "annotations": {
534
+ "0-17": {
535
+ "text": "An image of cecum",
536
+ "type": "incorrect",
537
+ "start": 0,
538
+ "end": 17
539
+ },
540
+ "18-64": {
541
+ "text": " A black abnormality is present in the center.",
542
+ "type": "incorrect",
543
+ "start": 18,
544
+ "end": 64
545
+ },
546
+ "65-240": {
547
+ "text": "The surrounding anatomical landmark is pinkish. No polyps, instruments, or signs of infection, inflammation, or bleeding are evident, and there are no foreign bodies detected.",
548
+ "type": "correct",
549
+ "start": 65,
550
+ "end": 240
551
+ }
552
+ }
553
+ },
554
+ "d64d18d3-4356-40e7-8346-32deb619a68c.jpg": {
555
+ "original_text": "An image of pylorus. There are no visible abnormalities, polyps, inflammation, bleeding, foreign bodies, or signs of infection. The anatomical landmarks appear light pink, and no instruments are present in the image.",
556
+ "corrections": "An image of pylorus. There are no visible abnormalities, polyps, inflammation, bleeding, foreign bodies, or signs of infection. The anatomical landmarks appear light pink, and no instruments are present in the image.",
557
+ "annotations": {
558
+ "128-216": {
559
+ "text": "The anatomical landmarks appear light pink, and no instruments are present in the image.",
560
+ "type": "correct",
561
+ "start": 128,
562
+ "end": 216
563
+ },
564
+ "21-127": {
565
+ "text": "There are no visible abnormalities, polyps, inflammation, bleeding, foreign bodies, or signs of infection.",
566
+ "type": "correct",
567
+ "start": 21,
568
+ "end": 127
569
+ },
570
+ "0-21": {
571
+ "text": "An image of pylorus. ",
572
+ "type": "correct",
573
+ "start": 0,
574
+ "end": 21
575
+ }
576
+ }
577
+ },
578
+ "28bfe970-150a-4b8f-b392-ed080cac4dfb.jpg": {
579
+ "original_text": "An image of pylorus. A black object or abnormality is seen, likely indicating a foreign body. The anatomical landmark is of normal color. There are no polyps, signs of inflammation, infection, or bleeding present. The abnormality is located centrally in the image, without any instruments visible.",
580
+ "corrections": "An image of pylorus. The anatomical landmark is of normal color. There are no polyps, signs of inflammation, infection, or bleeding present. No instruments visible.",
581
+ "annotations": {
582
+ "0-20": {
583
+ "text": "An image of pylorus.",
584
+ "type": "correct",
585
+ "start": 0,
586
+ "end": 20
587
+ },
588
+ "213-264": {
589
+ "text": " The abnormality is located centrally in the image,",
590
+ "type": "incorrect",
591
+ "start": 213,
592
+ "end": 264
593
+ },
594
+ "264-297": {
595
+ "text": " without any instruments visible.",
596
+ "type": "correct",
597
+ "start": 264,
598
+ "end": 297
599
+ },
600
+ "138-213": {
601
+ "text": "There are no polyps, signs of inflammation, infection, or bleeding present.",
602
+ "type": "correct",
603
+ "start": 138,
604
+ "end": 213
605
+ },
606
+ "94-137": {
607
+ "text": "The anatomical landmark is of normal color.",
608
+ "type": "correct",
609
+ "start": 94,
610
+ "end": 137
611
+ },
612
+ "21-93": {
613
+ "text": "A black object or abnormality is seen, likely indicating a foreign body.",
614
+ "type": "correct",
615
+ "start": 21,
616
+ "end": 93
617
+ }
618
+ }
619
+ },
620
+ "1f0fda8a-0aca-472f-814e-82c93a9bd21a.jpg": {
621
+ "original_text": "An image of cecum. The abnormality, if present, would be darker but none is evident. The anatomical landmark appears to be pink. There are no polyps, no instruments, no signs of inflammation, bleeding, infection, or foreign bodies present.",
622
+ "corrections": "An image of pylorus.There are no visible abnormalities. The anatomical landmark appears to be pink. There are no polyps, no instruments, no signs of inflammation, bleeding, infection, or foreign bodies present.",
623
+ "annotations": {
624
+ "129-239": {
625
+ "text": "There are no polyps, no instruments, no signs of inflammation, bleeding, infection, or foreign bodies present.",
626
+ "type": "correct",
627
+ "start": 129,
628
+ "end": 239
629
+ },
630
+ "85-129": {
631
+ "text": "The anatomical landmark appears to be pink. ",
632
+ "type": "correct",
633
+ "start": 85,
634
+ "end": 129
635
+ },
636
+ "19-85": {
637
+ "text": "The abnormality, if present, would be darker but none is evident. ",
638
+ "type": "incorrect",
639
+ "start": 19,
640
+ "end": 85
641
+ },
642
+ "0-19": {
643
+ "text": "An image of cecum. ",
644
+ "type": "incorrect",
645
+ "start": 0,
646
+ "end": 19
647
+ }
648
+ }
649
+ },
650
+ "9290f29e-740f-41dc-8949-cc073d41cbfe.jpg": {
651
+ "original_text": "An image of pylorus. There is no visible abnormality, polyps, inflammation, bleeding, infection, or foreign bodies. The anatomical landmark present is pinkish in color, and there are no instruments in the image.",
652
+ "corrections": "An image of pylorus. There is no visible abnormality, polyps, inflammation, bleeding, infection, or foreign bodies. The anatomical landmark present is pinkish in color, and there are no instruments in the image.",
653
+ "annotations": {
654
+ "116-211": {
655
+ "text": "The anatomical landmark present is pinkish in color, and there are no instruments in the image.",
656
+ "type": "correct",
657
+ "start": 116,
658
+ "end": 211
659
+ },
660
+ "21-116": {
661
+ "text": "There is no visible abnormality, polyps, inflammation, bleeding, infection, or foreign bodies. ",
662
+ "type": "correct",
663
+ "start": 21,
664
+ "end": 116
665
+ },
666
+ "0-20": {
667
+ "text": "An image of pylorus.",
668
+ "type": "correct",
669
+ "start": 0,
670
+ "end": 20
671
+ }
672
+ }
673
+ },
674
+ "6b428229-461e-432f-853c-b391796e7af4.jpg": {
675
+ "original_text": "An image of pylorus. No noticeable abnormalities, polyps, instruments, signs of inflammation, bleeding, infection, or foreign bodies are present. The anatomical landmark is normal and pink in color with some yellowish areas. There are no visible polyps or instruments, and the image does not show signs of any abnormalities.",
676
+ "corrections": "An image of pylorus. No noticeable abnormalities, polyps, instruments, signs of inflammation, bleeding, infection, or foreign bodies are present. The anatomical landmark is normal and pink in color with some yellowish areas. There are no visible polyps or instruments, and the image does not show signs of any abnormalities.",
677
+ "annotations": {
678
+ "225-324": {
679
+ "text": "There are no visible polyps or instruments, and the image does not show signs of any abnormalities.",
680
+ "type": "correct",
681
+ "start": 225,
682
+ "end": 324
683
+ },
684
+ "146-225": {
685
+ "text": "The anatomical landmark is normal and pink in color with some yellowish areas. ",
686
+ "type": "correct",
687
+ "start": 146,
688
+ "end": 225
689
+ },
690
+ "21-144": {
691
+ "text": "No noticeable abnormalities, polyps, instruments, signs of inflammation, bleeding, infection, or foreign bodies are present",
692
+ "type": "correct",
693
+ "start": 21,
694
+ "end": 144
695
+ },
696
+ "0-21": {
697
+ "text": "An image of pylorus. ",
698
+ "type": "correct",
699
+ "start": 0,
700
+ "end": 21
701
+ }
702
+ }
703
+ },
704
+ "ee52d6c4-a9a3-4816-805e-ca38becc2b64.jpg": {
705
+ "original_text": "An image of cecum. There is no visible abnormality, polyp, or sign of inflammation, infection, or bleeding. The anatomical landmark is the esophageal opening, appearing red. No instruments or foreign bodies are present.",
706
+ "corrections": "An image of pylorus. There is no visible abnormality, polyp, or sign of inflammation, infection, or bleeding. The anatomical landmark is pylorus, appearing red. No instruments or foreign bodies are present.",
707
+ "annotations": {
708
+ "0-18": {
709
+ "text": "An image of cecum.",
710
+ "type": "incorrect",
711
+ "start": 0,
712
+ "end": 18
713
+ },
714
+ "18-107": {
715
+ "text": " There is no visible abnormality, polyp, or sign of inflammation, infection, or bleeding.",
716
+ "type": "correct",
717
+ "start": 18,
718
+ "end": 107
719
+ },
720
+ "107-173": {
721
+ "text": " The anatomical landmark is the esophageal opening, appearing red.",
722
+ "type": "incorrect",
723
+ "start": 107,
724
+ "end": 173
725
+ },
726
+ "173-219": {
727
+ "text": " No instruments or foreign bodies are present.",
728
+ "type": "correct",
729
+ "start": 173,
730
+ "end": 219
731
+ }
732
+ }
733
+ },
734
+ "7f607ea9-1c1a-4e65-9888-7db35c807f59.jpg": {
735
+ "original_text": "An image of pylorus. No abnormalities, polyps, instruments, signs of inflammation, bleeding, foreign bodies, or infection are observed. The anatomical landmark is pinkish in color.",
736
+ "corrections": "An image of pylorus. No abnormalities, polyps, instruments, signs of inflammation, bleeding, foreign bodies, or infection are observed. The anatomical landmark is pinkish in color.",
737
+ "annotations": {
738
+ "136-180": {
739
+ "text": "The anatomical landmark is pinkish in color.",
740
+ "type": "correct",
741
+ "start": 136,
742
+ "end": 180
743
+ },
744
+ "21-136": {
745
+ "text": "No abnormalities, polyps, instruments, signs of inflammation, bleeding, foreign bodies, or infection are observed. ",
746
+ "type": "correct",
747
+ "start": 21,
748
+ "end": 136
749
+ },
750
+ "0-21": {
751
+ "text": "An image of pylorus. ",
752
+ "type": "correct",
753
+ "start": 0,
754
+ "end": 21
755
+ }
756
+ }
757
+ },
758
+ "5cb44d15-b550-4b38-8dbb-30f908de309c.jpg": {
759
+ "original_text": "An image of pylorus. There are no visible abnormalities, polyps, or inflammation, and no signs of infection, bleeding, or foreign bodies. The anatomical landmark is light pink, and there are no instruments present in the image.",
760
+ "corrections": "An image of pylorus. There are no visible abnormalities, polyps, or inflammation, and no signs of infection, bleeding, or foreign bodies. The anatomical landmark is light pink, and there are no instruments present in the image.",
761
+ "annotations": {
762
+ "138-227": {
763
+ "text": "The anatomical landmark is light pink, and there are no instruments present in the image.",
764
+ "type": "correct",
765
+ "start": 138,
766
+ "end": 227
767
+ },
768
+ "21-138": {
769
+ "text": "There are no visible abnormalities, polyps, or inflammation, and no signs of infection, bleeding, or foreign bodies. ",
770
+ "type": "correct",
771
+ "start": 21,
772
+ "end": 138
773
+ },
774
+ "0-20": {
775
+ "text": "An image of pylorus.",
776
+ "type": "correct",
777
+ "start": 0,
778
+ "end": 20
779
+ }
780
+ }
781
+ },
782
+ "6a9c049b-0207-4270-ac33-28f1122c1b7e.jpg": {
783
+ "original_text": "An image of pylorus. The anatomical landmark is typically pink. There are no visible polyps, abnormalities, instruments, signs of inflammation, bleeding, infections, or foreign bodies present.",
784
+ "corrections": "An image of pylorus. The anatomical landmark is typically pink. There are no visible polyps, abnormalities, instruments, signs of inflammation, bleeding, infections, or foreign bodies present.",
785
+ "annotations": {
786
+ "0-19": {
787
+ "text": "An image of pylorus",
788
+ "type": "correct",
789
+ "start": 0,
790
+ "end": 19
791
+ },
792
+ "64-192": {
793
+ "text": "There are no visible polyps, abnormalities, instruments, signs of inflammation, bleeding, infections, or foreign bodies present.",
794
+ "type": "correct",
795
+ "start": 64,
796
+ "end": 192
797
+ },
798
+ "21-63": {
799
+ "text": "The anatomical landmark is typically pink.",
800
+ "type": "correct",
801
+ "start": 21,
802
+ "end": 63
803
+ }
804
+ }
805
+ },
806
+ "ae77941e-fab3-4b3c-b8b6-c0559d58870c.jpg": {
807
+ "original_text": "An image of cecum. There is no clear abnormality present, the anatomical landmark is light pink, and there are no polyps. No instruments, foreign bodies, inflammation, infection, or bleeding are evident. The overall appearance suggests no significant abnormalities.",
808
+ "corrections": "An image of pylorus. There is no clear abnormality present, the anatomical landmark is light pink, and there are no polyps. No instruments, foreign bodies, inflammation, infection, or bleeding are evident. The overall appearance suggests no significant abnormalities.",
809
+ "annotations": {
810
+ "0-17": {
811
+ "text": "An image of cecum",
812
+ "type": "incorrect",
813
+ "start": 0,
814
+ "end": 17
815
+ },
816
+ "204-265": {
817
+ "text": "The overall appearance suggests no significant abnormalities.",
818
+ "type": "correct",
819
+ "start": 204,
820
+ "end": 265
821
+ },
822
+ "122-203": {
823
+ "text": "No instruments, foreign bodies, inflammation, infection, or bleeding are evident.",
824
+ "type": "correct",
825
+ "start": 122,
826
+ "end": 203
827
+ },
828
+ "19-121": {
829
+ "text": "There is no clear abnormality present, the anatomical landmark is light pink, and there are no polyps.",
830
+ "type": "correct",
831
+ "start": 19,
832
+ "end": 121
833
+ }
834
+ }
835
+ },
836
+ "cac3e8f2-b742-4f84-b2e9-b86204528be9.jpg": {
837
+ "original_text": "An image of pylorus. No abnormality, polyps, instruments, signs of inflammation, bleeding, foreign bodies, or infection are present; the anatomical landmark is light pink.",
838
+ "corrections": "An image of pylorus. No abnormality, polyps, instruments, signs of inflammation, bleeding, foreign bodies, or infection are present; the anatomical landmark is light pink.",
839
+ "annotations": {
840
+ "21-171": {
841
+ "text": "No abnormality, polyps, instruments, signs of inflammation, bleeding, foreign bodies, or infection are present; the anatomical landmark is light pink.",
842
+ "type": "correct",
843
+ "start": 21,
844
+ "end": 171
845
+ },
846
+ "0-20": {
847
+ "text": "An image of pylorus.",
848
+ "type": "correct",
849
+ "start": 0,
850
+ "end": 20
851
+ }
852
+ }
853
+ },
854
+ "b723b2c8-6aaa-4d0a-a0a1-945b48c84653.jpg": {
855
+ "original_text": "An image of pylorus. There are no visible abnormalities, polyps, instruments, signs of inflammation, evidence of bleeding, foreign bodies, or infection. The anatomical landmark present is of normal color.",
856
+ "corrections": "An image of pylorus. There are no visible abnormalities, polyps, instruments, signs of inflammation, evidence of bleeding, foreign bodies, or infection. The anatomical landmark present is of normal color.",
857
+ "annotations": {
858
+ "153-204": {
859
+ "text": "The anatomical landmark present is of normal color.",
860
+ "type": "correct",
861
+ "start": 153,
862
+ "end": 204
863
+ },
864
+ "21-153": {
865
+ "text": "There are no visible abnormalities, polyps, instruments, signs of inflammation, evidence of bleeding, foreign bodies, or infection. ",
866
+ "type": "correct",
867
+ "start": 21,
868
+ "end": 153
869
+ },
870
+ "0-20": {
871
+ "text": "An image of pylorus.",
872
+ "type": "correct",
873
+ "start": 0,
874
+ "end": 20
875
+ }
876
+ }
877
+ },
878
+ "cf7f4855-53d8-4c5c-b3d0-44c4e23b4354.jpg": {
879
+ "original_text": "An image of pylorus. There is no clear abnormality or polyp present. The anatomical landmark appears pink. No instruments are visible. There are no signs of inflammation, bleeding, infection, or foreign bodies detected in the image.",
880
+ "corrections": "An image of pylorus. There is no clear abnormality or polyp present. The anatomical landmark appears pink. No instruments are visible. There are no signs of inflammation, bleeding, infection, or foreign bodies detected in the image.",
881
+ "annotations": {
882
+ "135-232": {
883
+ "text": "There are no signs of inflammation, bleeding, infection, or foreign bodies detected in the image.",
884
+ "type": "correct",
885
+ "start": 135,
886
+ "end": 232
887
+ },
888
+ "69-134": {
889
+ "text": "The anatomical landmark appears pink. No instruments are visible.",
890
+ "type": "correct",
891
+ "start": 69,
892
+ "end": 134
893
+ },
894
+ "21-69": {
895
+ "text": "There is no clear abnormality or polyp present. ",
896
+ "type": "correct",
897
+ "start": 21,
898
+ "end": 69
899
+ },
900
+ "0-21": {
901
+ "text": "An image of pylorus. ",
902
+ "type": "correct",
903
+ "start": 0,
904
+ "end": 21
905
+ }
906
+ }
907
+ },
908
+ "d6ea9227-ba72-4ddf-85ee-8814989dcca2.jpg": {
909
+ "original_text": "An image of pylorus. There is a red abnormality near the center, possibly inflammation, with no polyps or foreign bodies visible. The anatomical landmark is pink. No instruments or bleeding are present, and there are no signs of infection.",
910
+ "corrections": "An image of pylorus. There is a red abnormality near the center, possibly inflammation, with no polyps or foreign bodies visible. The anatomical landmark is pink. No instruments or bleeding are present, and there are no signs of infection.",
911
+ "annotations": {
912
+ "163-239": {
913
+ "text": "No instruments or bleeding are present, and there are no signs of infection.",
914
+ "type": "correct",
915
+ "start": 163,
916
+ "end": 239
917
+ },
918
+ "130-162": {
919
+ "text": "The anatomical landmark is pink.",
920
+ "type": "correct",
921
+ "start": 130,
922
+ "end": 162
923
+ },
924
+ "21-130": {
925
+ "text": "There is a red abnormality near the center, possibly inflammation, with no polyps or foreign bodies visible. ",
926
+ "type": "correct",
927
+ "start": 21,
928
+ "end": 130
929
+ },
930
+ "0-20": {
931
+ "text": "An image of pylorus.",
932
+ "type": "correct",
933
+ "start": 0,
934
+ "end": 20
935
+ }
936
+ }
937
+ },
938
+ "1be5f072-bd1d-4889-a772-2ad69c1347cd.jpg": {
939
+ "original_text": "An image of cecum. There are no visible abnormalities, polyps, inflammation, bleeding, infection, or foreign bodies. The anatomical landmark is likely the esophagus, and it appears healthy and pink. There are no instruments present in the image.",
940
+ "corrections": "An image of pylorus. There are no visible abnormalities, polyps, inflammation, bleeding, infection, or foreign bodies. The anatomical landmark is the pylorus, and it appears healthy and pink. There are no instruments present in the image.",
941
+ "annotations": {
942
+ "0-19": {
943
+ "text": "An image of cecum. ",
944
+ "type": "incorrect",
945
+ "start": 0,
946
+ "end": 19
947
+ },
948
+ "19-116": {
949
+ "text": "There are no visible abnormalities, polyps, inflammation, bleeding, infection, or foreign bodies.",
950
+ "type": "correct",
951
+ "start": 19,
952
+ "end": 116
953
+ },
954
+ "199-245": {
955
+ "text": "There are no instruments present in the image.",
956
+ "type": "correct",
957
+ "start": 199,
958
+ "end": 245
959
+ },
960
+ "117-198": {
961
+ "text": "The anatomical landmark is likely the esophagus, and it appears healthy and pink.",
962
+ "type": "incorrect",
963
+ "start": 117,
964
+ "end": 198
965
+ }
966
+ }
967
+ },
968
+ "3e6bb4a1-ce91-4021-90e9-36f443eec17b.jpg": {
969
+ "original_text": "An image of pylorus. There is a dark-colored abnormality present in the center. No polyps, inflammation, signs of infection, or bleeding are evident. An anatomical landmark is visible, and there are no instruments or foreign bodies in the image.",
970
+ "corrections": "An image of pylorus. There are no visible abnormalitie, No polyps, inflammation, signs of infection, or bleeding are evident. An anatomical landmark is visible, and there are no instruments or foreign bodies in the image.",
971
+ "annotations": {
972
+ "0-19": {
973
+ "text": "An image of pylorus",
974
+ "type": "correct",
975
+ "start": 0,
976
+ "end": 19
977
+ },
978
+ "20-79": {
979
+ "text": " There is a dark-colored abnormality present in the center.",
980
+ "type": "incorrect",
981
+ "start": 20,
982
+ "end": 79
983
+ },
984
+ "150-245": {
985
+ "text": "An anatomical landmark is visible, and there are no instruments or foreign bodies in the image.",
986
+ "type": "correct",
987
+ "start": 150,
988
+ "end": 245
989
+ },
990
+ "79-150": {
991
+ "text": " No polyps, inflammation, signs of infection, or bleeding are evident. ",
992
+ "type": "correct",
993
+ "start": 79,
994
+ "end": 150
995
+ }
996
+ }
997
+ },
998
+ "94e47d85-ea52-4438-9817-f70f17cc9837.jpg": {
999
+ "original_text": "An image of cecum. The anatomical landmark is pink, with no visible abnormalities, polyps, inflammation, bleeding, foreign bodies, or signs of infection. No instruments are present in the image.",
1000
+ "corrections": "An image of pylorus. The anatomical landmark is pink, with no visible abnormalities, polyps, inflammation, bleeding, foreign bodies, or signs of infection. No instruments are present in the image.",
1001
+ "annotations": {
1002
+ "0-19": {
1003
+ "text": "An image of cecum. ",
1004
+ "type": "incorrect",
1005
+ "start": 0,
1006
+ "end": 19
1007
+ },
1008
+ "154-194": {
1009
+ "text": "No instruments are present in the image.",
1010
+ "type": "correct",
1011
+ "start": 154,
1012
+ "end": 194
1013
+ },
1014
+ "19-153": {
1015
+ "text": "The anatomical landmark is pink, with no visible abnormalities, polyps, inflammation, bleeding, foreign bodies, or signs of infection.",
1016
+ "type": "correct",
1017
+ "start": 19,
1018
+ "end": 153
1019
+ }
1020
+ }
1021
+ },
1022
+ "9a38d436-d517-4567-a1a3-89d748670a36.jpg": {
1023
+ "original_text": "An image of pylorus. There are no visible abnormalities, polyps, inflammation, bleeding, infection, or foreign bodies present. The anatomical landmark is pink in color, and there are no instruments in the image.",
1024
+ "corrections": "An image of pylorus. There are no visible abnormalities, polyps, inflammation, bleeding, infection, or foreign bodies present. The anatomical landmark is pink in color, and there are no instruments in the image.",
1025
+ "annotations": {
1026
+ "127-211": {
1027
+ "text": "The anatomical landmark is pink in color, and there are no instruments in the image.",
1028
+ "type": "correct",
1029
+ "start": 127,
1030
+ "end": 211
1031
+ },
1032
+ "21-127": {
1033
+ "text": "There are no visible abnormalities, polyps, inflammation, bleeding, infection, or foreign bodies present. ",
1034
+ "type": "correct",
1035
+ "start": 21,
1036
+ "end": 127
1037
+ },
1038
+ "0-21": {
1039
+ "text": "An image of pylorus. ",
1040
+ "type": "correct",
1041
+ "start": 0,
1042
+ "end": 21
1043
+ }
1044
+ }
1045
+ },
1046
+ "0ecbcefc-2fa0-4108-b560-1f779f2b3280.jpg": {
1047
+ "original_text": "An image of pylorus. There is no visible abnormality, polyps, signs of inflammation, bleeding, infection, or foreign bodies. The anatomical landmark, which is the healthy mucosa, is a normal pink color. There are no instruments present in the image.",
1048
+ "corrections": "An image of pylorus. There is no visible abnormality, polyps, signs of inflammation, bleeding, infection, or foreign bodies. The anatomical landmark, which is the healthy mucosa, is a normal pink color. There are no instruments present in the image.",
1049
+ "annotations": {
1050
+ "203-249": {
1051
+ "text": "There are no instruments present in the image.",
1052
+ "type": "correct",
1053
+ "start": 203,
1054
+ "end": 249
1055
+ },
1056
+ "125-203": {
1057
+ "text": "The anatomical landmark, which is the healthy mucosa, is a normal pink color. ",
1058
+ "type": "correct",
1059
+ "start": 125,
1060
+ "end": 203
1061
+ },
1062
+ "21-124": {
1063
+ "text": "There is no visible abnormality, polyps, signs of inflammation, bleeding, infection, or foreign bodies.",
1064
+ "type": "correct",
1065
+ "start": 21,
1066
+ "end": 124
1067
+ },
1068
+ "0-21": {
1069
+ "text": "An image of pylorus. ",
1070
+ "type": "correct",
1071
+ "start": 0,
1072
+ "end": 21
1073
+ }
1074
+ }
1075
+ },
1076
+ "eadfaf8f-884e-4702-8496-f48cdcd37389.jpg": {
1077
+ "original_text": "An image of pylorus. The anatomical landmark, likely the esophageal or gastric mucosa, is pink in color with no evident issues.",
1078
+ "corrections": "An image of pylorus. The anatomical landmark is pink in color with no evident issues. No polyps, foreign bodies, signs of infection, inflammation or evidence of bleeding are evident. There are no instruments visible in the image.",
1079
+ "annotations": {
1080
+ "0-20": {
1081
+ "text": "An image of pylorus.",
1082
+ "type": "correct",
1083
+ "start": 0,
1084
+ "end": 20
1085
+ },
1086
+ "21-127": {
1087
+ "text": "The anatomical landmark, likely the esophageal or gastric mucosa, is pink in color with no evident issues.",
1088
+ "type": "incorrect",
1089
+ "start": 21,
1090
+ "end": 127
1091
+ }
1092
+ }
1093
+ },
1094
+ "c05639d0-1f25-4f56-ada6-9623875a05aa.jpg": {
1095
+ "original_text": "An image of cecum. The anatomical landmark shows no visible abnormalities or polyps. There are no instruments, signs of inflammation, bleeding, infection, or foreign bodies present. The area appears healthy and normal.",
1096
+ "corrections": "An image of pylorus. The anatomical landmark shows no visible abnormalities or polyps. There are no instruments, signs of inflammation, bleeding, infection, or foreign bodies present. The area appears healthy and normal.",
1097
+ "annotations": {
1098
+ "0-18": {
1099
+ "text": "An image of cecum.",
1100
+ "type": "incorrect",
1101
+ "start": 0,
1102
+ "end": 18
1103
+ },
1104
+ "182-218": {
1105
+ "text": "The area appears healthy and normal.",
1106
+ "type": "correct",
1107
+ "start": 182,
1108
+ "end": 218
1109
+ },
1110
+ "85-181": {
1111
+ "text": "There are no instruments, signs of inflammation, bleeding, infection, or foreign bodies present.",
1112
+ "type": "correct",
1113
+ "start": 85,
1114
+ "end": 181
1115
+ },
1116
+ "19-84": {
1117
+ "text": "The anatomical landmark shows no visible abnormalities or polyps.",
1118
+ "type": "correct",
1119
+ "start": 19,
1120
+ "end": 84
1121
+ }
1122
+ }
1123
+ },
1124
+ "7e679490-9b55-4fbb-b98a-a5a612f737fb.jpg": {
1125
+ "original_text": "An image of pylorus. A dark anatomical landmark is visible centrally. There are no visible abnormalities, polyps, instruments, signs of inflammation, evidence of bleeding, foreign bodies, or infection. The anatomical landmark present is the esophageal opening.",
1126
+ "corrections": "An image of pylorus. There are no visible abnormalities, polyps, instruments, signs of inflammation, evidence of bleeding, foreign bodies, or infection. The anatomical landmark present is the pylorus.",
1127
+ "annotations": {
1128
+ "0-20": {
1129
+ "text": "An image of pylorus.",
1130
+ "type": "correct",
1131
+ "start": 0,
1132
+ "end": 20
1133
+ },
1134
+ "21-69": {
1135
+ "text": "A dark anatomical landmark is visible centrally.",
1136
+ "type": "incorrect",
1137
+ "start": 21,
1138
+ "end": 69
1139
+ },
1140
+ "70-200": {
1141
+ "text": "There are no visible abnormalities, polyps, instruments, signs of inflammation, evidence of bleeding, foreign bodies, or infection",
1142
+ "type": "correct",
1143
+ "start": 70,
1144
+ "end": 200
1145
+ },
1146
+ "202-260": {
1147
+ "text": "The anatomical landmark present is the esophageal opening.",
1148
+ "type": "incorrect",
1149
+ "start": 202,
1150
+ "end": 260
1151
+ }
1152
+ }
1153
+ },
1154
+ "5b1b2b8a-fd6b-469d-82e6-4e107f90a37b.jpg": {
1155
+ "original_text": "An image of pylorus. The abnormality, a dark-colored polyp, is present. The anatomical landmark is the pinkish mucosal surface. There is one polyp located centrally in the image. No instruments, inflammation, bleeding, foreign bodies, or signs of infection are observed.",
1156
+ "corrections": "An image of pylorus. No abnormality is seen in the image. The anatomical landmark is the pinkish mucosal surface. No polyps, instruments, inflammation, bleeding, foreign bodies, or signs of infection are observed.",
1157
+ "annotations": {
1158
+ "0-19": {
1159
+ "text": "An image of pylorus",
1160
+ "type": "correct",
1161
+ "start": 0,
1162
+ "end": 19
1163
+ },
1164
+ "179-270": {
1165
+ "text": "No instruments, inflammation, bleeding, foreign bodies, or signs of infection are observed.",
1166
+ "type": "correct",
1167
+ "start": 179,
1168
+ "end": 270
1169
+ },
1170
+ "128-179": {
1171
+ "text": "There is one polyp located centrally in the image. ",
1172
+ "type": "incorrect",
1173
+ "start": 128,
1174
+ "end": 179
1175
+ },
1176
+ "21-127": {
1177
+ "text": "The abnormality, a dark-colored polyp, is present. The anatomical landmark is the pinkish mucosal surface.",
1178
+ "type": "incorrect",
1179
+ "start": 21,
1180
+ "end": 127
1181
+ }
1182
+ }
1183
+ },
1184
+ "78e23433-bbbf-4765-870a-2e79c6e2aa0e.jpg": {
1185
+ "original_text": "An image of pylorus. There are no noticeable polyps, abnormalities, signs of inflammation, infection, or bleeding. The image does not show any instruments or foreign bodies. The overall color is consistent with normal tissue tones, and no specific abnormalities can be observed.",
1186
+ "corrections": "An image of pylorus. There are no noticeable polyps, abnormalities, signs of inflammation, infection, or bleeding. The image does not show any instruments or foreign bodies. The overall color is consistent with normal tissue tones, and no specific abnormalities can be observed.",
1187
+ "annotations": {
1188
+ "174-278": {
1189
+ "text": "The overall color is consistent with normal tissue tones, and no specific abnormalities can be observed.",
1190
+ "type": "correct",
1191
+ "start": 174,
1192
+ "end": 278
1193
+ },
1194
+ "115-173": {
1195
+ "text": "The image does not show any instruments or foreign bodies.",
1196
+ "type": "correct",
1197
+ "start": 115,
1198
+ "end": 173
1199
+ },
1200
+ "21-114": {
1201
+ "text": "There are no noticeable polyps, abnormalities, signs of inflammation, infection, or bleeding.",
1202
+ "type": "correct",
1203
+ "start": 21,
1204
+ "end": 114
1205
+ },
1206
+ "0-20": {
1207
+ "text": "An image of pylorus.",
1208
+ "type": "correct",
1209
+ "start": 0,
1210
+ "end": 20
1211
+ }
1212
+ }
1213
+ },
1214
+ "a42d31e8-573d-41d2-bee2-f7ccfb5b4201.jpg": {
1215
+ "original_text": "An image of pylorus. The anatomical landmark appears normal in pink color, and no instruments or foreign bodies are present.",
1216
+ "corrections": "An image of pylorus. The anatomical landmark appears normal in pink color, and no instruments or foreign bodies are present. There are no abnormalities or polyps.",
1217
+ "annotations": {
1218
+ "0-21": {
1219
+ "text": "An image of pylorus. ",
1220
+ "type": "correct",
1221
+ "start": 0,
1222
+ "end": 21
1223
+ },
1224
+ "21-124": {
1225
+ "text": "The anatomical landmark appears normal in pink color, and no instruments or foreign bodies are present.",
1226
+ "type": "correct",
1227
+ "start": 21,
1228
+ "end": 124
1229
+ }
1230
+ }
1231
+ },
1232
+ "af744492-dc36-4f70-95e8-9056c462eaca.jpg": {
1233
+ "original_text": "An image of cecum. There are no visible abnormalities, polyps, signs of inflammation, bleeding, foreign bodies, or infection. The anatomical landmark is light pink, and there are no instruments present in the image.",
1234
+ "corrections": "An image of pylorus. There are no visible abnormalities, polyps, signs of inflammation, bleeding, foreign bodies, or infection. The anatomical landmark is light pink, and there are no instruments present in the image.",
1235
+ "annotations": {
1236
+ "0-18": {
1237
+ "text": "An image of cecum.",
1238
+ "type": "incorrect",
1239
+ "start": 0,
1240
+ "end": 18
1241
+ },
1242
+ "126-215": {
1243
+ "text": "The anatomical landmark is light pink, and there are no instruments present in the image.",
1244
+ "type": "correct",
1245
+ "start": 126,
1246
+ "end": 215
1247
+ },
1248
+ "19-125": {
1249
+ "text": "There are no visible abnormalities, polyps, signs of inflammation, bleeding, foreign bodies, or infection.",
1250
+ "type": "correct",
1251
+ "start": 19,
1252
+ "end": 125
1253
+ }
1254
+ }
1255
+ },
1256
+ "e55c00fa-c254-4550-a2f3-5a7836f05c92.jpg": {
1257
+ "original_text": "An image of pylorus. No abnormalities, polyps, instruments, inflammation, bleeding, foreign bodies, or signs of infection are observable. The anatomical landmark visible is the mucosal surface, which is a normal pinkish color without further irregularities.",
1258
+ "corrections": "An image of pylorus. No abnormalities, polyps, instruments, inflammation, bleeding, foreign bodies, or signs of infection are observable. The anatomical landmark visible is the mucosal surface, which is a normal pinkish color without further irregularities.",
1259
+ "annotations": {
1260
+ "138-257": {
1261
+ "text": "The anatomical landmark visible is the mucosal surface, which is a normal pinkish color without further irregularities.",
1262
+ "type": "correct",
1263
+ "start": 138,
1264
+ "end": 257
1265
+ },
1266
+ "21-138": {
1267
+ "text": "No abnormalities, polyps, instruments, inflammation, bleeding, foreign bodies, or signs of infection are observable. ",
1268
+ "type": "correct",
1269
+ "start": 21,
1270
+ "end": 138
1271
+ },
1272
+ "0-20": {
1273
+ "text": "An image of pylorus.",
1274
+ "type": "correct",
1275
+ "start": 0,
1276
+ "end": 20
1277
+ }
1278
+ }
1279
+ },
1280
+ "0d5e61ca-35c1-4bee-bf29-91ce3b2663ff.jpg": {
1281
+ "original_text": "An image of pylorus. There is a small black foreign body present. The surrounding anatomical landmark is pink in color. No polyps, signs of inflammation, infection, or bleeding are evident. No instruments are visible in the image.",
1282
+ "corrections": "An image of pylorus. There is no small black foreign body. The surrounding anatomical landmark is pink in color. No polyps, signs of inflammation, infection, or bleeding are evident. No instruments are visible in the image.",
1283
+ "annotations": {
1284
+ "0-19": {
1285
+ "text": "An image of pylorus",
1286
+ "type": "correct",
1287
+ "start": 0,
1288
+ "end": 19
1289
+ },
1290
+ "21-64": {
1291
+ "text": "There is a small black foreign body present",
1292
+ "type": "incorrect",
1293
+ "start": 21,
1294
+ "end": 64
1295
+ },
1296
+ "190-230": {
1297
+ "text": "No instruments are visible in the image.",
1298
+ "type": "correct",
1299
+ "start": 190,
1300
+ "end": 230
1301
+ },
1302
+ "120-189": {
1303
+ "text": "No polyps, signs of inflammation, infection, or bleeding are evident.",
1304
+ "type": "correct",
1305
+ "start": 120,
1306
+ "end": 189
1307
+ },
1308
+ "65-119": {
1309
+ "text": " The surrounding anatomical landmark is pink in color.",
1310
+ "type": "correct",
1311
+ "start": 65,
1312
+ "end": 119
1313
+ }
1314
+ }
1315
+ },
1316
+ "6d32ace1-ab3f-44a5-8d46-c238209b6a09.jpg": {
1317
+ "original_text": "An image of cecum. There are no visible abnormalities, polyps, inflammation, signs of infection, or bleeding present. The anatomical landmark is pink, and no instruments or foreign bodies are observed in the image.",
1318
+ "corrections": "An image of pylorus. There are no visible abnormalities, polyps, inflammation, signs of infection, or bleeding present. The anatomical landmark is pink, and no instruments or foreign bodies are observed in the image.",
1319
+ "annotations": {
1320
+ "0-17": {
1321
+ "text": "An image of cecum",
1322
+ "type": "incorrect",
1323
+ "start": 0,
1324
+ "end": 17
1325
+ },
1326
+ "118-214": {
1327
+ "text": "The anatomical landmark is pink, and no instruments or foreign bodies are observed in the image.",
1328
+ "type": "correct",
1329
+ "start": 118,
1330
+ "end": 214
1331
+ },
1332
+ "19-117": {
1333
+ "text": "There are no visible abnormalities, polyps, inflammation, signs of infection, or bleeding present.",
1334
+ "type": "correct",
1335
+ "start": 19,
1336
+ "end": 117
1337
+ }
1338
+ }
1339
+ },
1340
+ "8a51742e-6308-4511-aedd-5d538f9feec9.jpg": {
1341
+ "original_text": "An image of cecum. No anatomical landmarks are distinctly visible.",
1342
+ "corrections": "An image of pylorus. No abnormality is seen in the image. No polyps, foreign bodies, signs of infection, inflammation or evidence of bleeding are evident. There are no instruments visible in the image.",
1343
+ "annotations": {
1344
+ "0-17": {
1345
+ "text": "An image of cecum",
1346
+ "type": "incorrect",
1347
+ "start": 0,
1348
+ "end": 17
1349
+ },
1350
+ "18-66": {
1351
+ "text": " No anatomical landmarks are distinctly visible.",
1352
+ "type": "correct",
1353
+ "start": 18,
1354
+ "end": 66
1355
+ }
1356
+ }
1357
+ },
1358
+ "a0ff8429-d667-4630-ab56-2286b1e3d74b.jpg": {
1359
+ "original_text": "An image of cecum. There's no visible abnormality, polyp, inflammation, or infection. The anatomical landmark, a dark opening, is central. There are no instruments, signs of bleeding, or foreign bodies present. The image appears normal and free of concerning findings.",
1360
+ "corrections": "An image of pylorus. There's no visible abnormality, polyp, inflammation, or infection. The anatomical landmark, a dark opening, is central. There are no instruments, signs of bleeding, or foreign bodies present. The image appears normal and free of concerning findings.",
1361
+ "annotations": {
1362
+ "0-18": {
1363
+ "text": "An image of cecum.",
1364
+ "type": "incorrect",
1365
+ "start": 0,
1366
+ "end": 18
1367
+ },
1368
+ "211-268": {
1369
+ "text": "The image appears normal and free of concerning findings.",
1370
+ "type": "correct",
1371
+ "start": 211,
1372
+ "end": 268
1373
+ },
1374
+ "86-211": {
1375
+ "text": "The anatomical landmark, a dark opening, is central. There are no instruments, signs of bleeding, or foreign bodies present. ",
1376
+ "type": "correct",
1377
+ "start": 86,
1378
+ "end": 211
1379
+ },
1380
+ "19-86": {
1381
+ "text": "There's no visible abnormality, polyp, inflammation, or infection. ",
1382
+ "type": "correct",
1383
+ "start": 19,
1384
+ "end": 86
1385
+ }
1386
+ }
1387
+ },
1388
+ "d7506dc7-132e-4534-a27a-53f1830dfaaf.jpg": {
1389
+ "original_text": "An image of pylorus. There are anatomical landmarks present, but they look normal.",
1390
+ "corrections": "An image of pylorus. There are anatomical landmarks present, but they look normal.No polyps, foreign bodies, signs of infection, inflammation or evidence of bleeding are evident. There are no instruments visible in the image.",
1391
+ "annotations": {
1392
+ "21-82": {
1393
+ "text": "There are anatomical landmarks present, but they look normal.",
1394
+ "type": "correct",
1395
+ "start": 21,
1396
+ "end": 82
1397
+ },
1398
+ "0-21": {
1399
+ "text": "An image of pylorus. ",
1400
+ "type": "correct",
1401
+ "start": 0,
1402
+ "end": 21
1403
+ }
1404
+ }
1405
+ },
1406
+ "7a3ee764-c145-47a7-9c73-dad26c5b20a3.jpg": {
1407
+ "original_text": "An image of pylorus. No abnormalities, polyps, bleeding, inflammation, foreign bodies, or signs of infection are present. The anatomical landmark, possibly the mucosa, is visible and pink in color. No instruments can be observed in the image.",
1408
+ "corrections": "An image of pylorus. No abnormalities, polyps, bleeding, inflammation, foreign bodies, or signs of infection are present. The anatomical landmark, possibly the mucosa, is visible and pink in color. No instruments can be observed in the image.",
1409
+ "annotations": {
1410
+ "198-242": {
1411
+ "text": "No instruments can be observed in the image.",
1412
+ "type": "correct",
1413
+ "start": 198,
1414
+ "end": 242
1415
+ },
1416
+ "122-197": {
1417
+ "text": "The anatomical landmark, possibly the mucosa, is visible and pink in color.",
1418
+ "type": "correct",
1419
+ "start": 122,
1420
+ "end": 197
1421
+ },
1422
+ "21-122": {
1423
+ "text": "No abnormalities, polyps, bleeding, inflammation, foreign bodies, or signs of infection are present. ",
1424
+ "type": "correct",
1425
+ "start": 21,
1426
+ "end": 122
1427
+ },
1428
+ "0-20": {
1429
+ "text": "An image of pylorus.",
1430
+ "type": "correct",
1431
+ "start": 0,
1432
+ "end": 20
1433
+ }
1434
+ }
1435
+ },
1436
+ "db9401dd-706e-4518-aac8-1c036029114f.jpg": {
1437
+ "original_text": "An image of pylorus. No abnormalities, polyps, instruments, signs of inflammation, bleeding, foreign bodies, or infection are present. The visible anatomical landmark, which is the typical appearance of the gastrointestinal mucosa, is pinkish in color.",
1438
+ "corrections": "An image of pylorus. No abnormalities, polyps, instruments, signs of inflammation, bleeding, foreign bodies, or infection are present. The visible anatomical landmark, which is the typical appearance of the gastrointestinal mucosa, is pinkish in color.",
1439
+ "annotations": {
1440
+ "135-252": {
1441
+ "text": "The visible anatomical landmark, which is the typical appearance of the gastrointestinal mucosa, is pinkish in color.",
1442
+ "type": "correct",
1443
+ "start": 135,
1444
+ "end": 252
1445
+ },
1446
+ "21-134": {
1447
+ "text": "No abnormalities, polyps, instruments, signs of inflammation, bleeding, foreign bodies, or infection are present.",
1448
+ "type": "correct",
1449
+ "start": 21,
1450
+ "end": 134
1451
+ },
1452
+ "0-21": {
1453
+ "text": "An image of pylorus. ",
1454
+ "type": "correct",
1455
+ "start": 0,
1456
+ "end": 21
1457
+ }
1458
+ }
1459
+ },
1460
+ "cd8e5484-c6cc-4bcc-822f-d8173de002b2.jpg": {
1461
+ "original_text": "An image of pylorus. No foreign bodies are present in the image.",
1462
+ "corrections": "An image of pylorus. The anatomical landmark is light pink. There is no visible abnormality, polyps, instruments, inflammation, infection, bleeding, or foreign bodies present in the image.",
1463
+ "annotations": {
1464
+ "21-64": {
1465
+ "text": "No foreign bodies are present in the image.",
1466
+ "type": "correct",
1467
+ "start": 21,
1468
+ "end": 64
1469
+ },
1470
+ "0-20": {
1471
+ "text": "An image of pylorus.",
1472
+ "type": "correct",
1473
+ "start": 0,
1474
+ "end": 20
1475
+ }
1476
+ }
1477
+ },
1478
+ "49bc98dc-7f74-4187-acd2-21ab2c620452.jpg": {
1479
+ "original_text": "An image of pylorus. The abnormality is a dark-colored object in the center, likely a polyp. The surrounding tissue, which is the anatomical landmark, is normal pink mucosa. There are no instruments, signs of inflammation, bleeding, infection, or foreign bodies present.",
1480
+ "corrections": "An image of pylorus. There are no abnormalities. The surrounding tissue, which is the anatomical landmark, is normal pink mucosa. There are no instruments, signs of inflammation, bleeding, infection, or foreign bodies present.",
1481
+ "annotations": {
1482
+ "0-20": {
1483
+ "text": "An image of pylorus.",
1484
+ "type": "correct",
1485
+ "start": 0,
1486
+ "end": 20
1487
+ },
1488
+ "20-92": {
1489
+ "text": " The abnormality is a dark-colored object in the center, likely a polyp.",
1490
+ "type": "incorrect",
1491
+ "start": 20,
1492
+ "end": 92
1493
+ },
1494
+ "174-270": {
1495
+ "text": "There are no instruments, signs of inflammation, bleeding, infection, or foreign bodies present.",
1496
+ "type": "correct",
1497
+ "start": 174,
1498
+ "end": 270
1499
+ },
1500
+ "93-173": {
1501
+ "text": "The surrounding tissue, which is the anatomical landmark, is normal pink mucosa.",
1502
+ "type": "correct",
1503
+ "start": 93,
1504
+ "end": 173
1505
+ }
1506
+ }
1507
+ },
1508
+ "0fc0b0b8-2c5d-4fed-8254-a31562b6b1c6.jpg": {
1509
+ "original_text": "An image of pylorus. The anatomical landmarks present are pinkish in color, and no instruments are visible in the image.",
1510
+ "corrections": "An image of pylorus. The anatomical landmarks present are pinkish in color, and no instruments or polyps are visible in the image.",
1511
+ "annotations": {
1512
+ "21-120": {
1513
+ "text": "The anatomical landmarks present are pinkish in color, and no instruments are visible in the image.",
1514
+ "type": "correct",
1515
+ "start": 21,
1516
+ "end": 120
1517
+ },
1518
+ "0-21": {
1519
+ "text": "An image of pylorus. ",
1520
+ "type": "correct",
1521
+ "start": 0,
1522
+ "end": 21
1523
+ }
1524
+ }
1525
+ },
1526
+ "ea510ea5-8697-4a6f-a86e-f8720c761e53.jpg": {
1527
+ "original_text": "An image of pylorus. A yellow abnormality is present, and there is a small lesion suggestive of possible bleeding, located on the middle left. There are no anatomical landmarks, polyps, instruments, signs of inflammation, infection, or foreign bodies in the image.",
1528
+ "corrections": "An image of pylorus. A yellow abnormality is present, and there is a small lesion suggestive of possible bleeding, located on the middle left. There are no polyps, instruments, signs of inflammation, infection, or foreign bodies in the image.",
1529
+ "annotations": {
1530
+ "143-264": {
1531
+ "text": "There are no anatomical landmarks, polyps, instruments, signs of inflammation, infection, or foreign bodies in the image.",
1532
+ "type": "incorrect",
1533
+ "start": 143,
1534
+ "end": 264
1535
+ },
1536
+ "21-142": {
1537
+ "text": "A yellow abnormality is present, and there is a small lesion suggestive of possible bleeding, located on the middle left.",
1538
+ "type": "correct",
1539
+ "start": 21,
1540
+ "end": 142
1541
+ },
1542
+ "0-21": {
1543
+ "text": "An image of pylorus. ",
1544
+ "type": "correct",
1545
+ "start": 0,
1546
+ "end": 21
1547
+ }
1548
+ }
1549
+ },
1550
+ "b381de8f-148c-4959-ae10-fbc07a0ff244.jpg": {
1551
+ "original_text": "An image of pylorus. There is an abnormality present, which is black in color, and centrally located. No anatomical landmarks, instruments, signs of inflammation, bleeding, infection, or foreign bodies are visible. Only one polyp is observed.",
1552
+ "corrections": "An image of pylorus. No abnormality is seen in the image. No polyps, foreign bodies, signs of infection or evidence of bleeding are evident. There are signs of minor inflammation. There are no instruments visible in the image.",
1553
+ "annotations": {
1554
+ "0-20": {
1555
+ "text": "An image of pylorus.",
1556
+ "type": "correct",
1557
+ "start": 0,
1558
+ "end": 20
1559
+ },
1560
+ "20-101": {
1561
+ "text": " There is an abnormality present, which is black in color, and centrally located.",
1562
+ "type": "incorrect",
1563
+ "start": 20,
1564
+ "end": 101
1565
+ },
1566
+ "101-215": {
1567
+ "text": " No anatomical landmarks, instruments, signs of inflammation, bleeding, infection, or foreign bodies are visible. ",
1568
+ "type": "correct",
1569
+ "start": 101,
1570
+ "end": 215
1571
+ },
1572
+ "215-242": {
1573
+ "text": "Only one polyp is observed.",
1574
+ "type": "incorrect",
1575
+ "start": 215,
1576
+ "end": 242
1577
+ }
1578
+ }
1579
+ },
1580
+ "5c02f74e-0e88-4335-869c-0f70b2918c85.jpg": {
1581
+ "original_text": "An image of pylorus. There are no visible abnormalities, polyps, signs of inflammation, bleeding, or infection. The anatomical landmarks present are normal in color, and there are no foreign bodies or instruments visible in the image.",
1582
+ "corrections": "An image of pylorus. There are no visible abnormalities, polyps, signs of inflammation, bleeding, or infection. The anatomical landmarks present are normal in color, and there are no foreign bodies or instruments visible in the image.",
1583
+ "annotations": {
1584
+ "112-234": {
1585
+ "text": "The anatomical landmarks present are normal in color, and there are no foreign bodies or instruments visible in the image.",
1586
+ "type": "correct",
1587
+ "start": 112,
1588
+ "end": 234
1589
+ },
1590
+ "21-112": {
1591
+ "text": "There are no visible abnormalities, polyps, signs of inflammation, bleeding, or infection. ",
1592
+ "type": "correct",
1593
+ "start": 21,
1594
+ "end": 112
1595
+ },
1596
+ "0-21": {
1597
+ "text": "An image of pylorus. ",
1598
+ "type": "correct",
1599
+ "start": 0,
1600
+ "end": 21
1601
+ }
1602
+ }
1603
+ }
1604
+ }
epoch_1/Hallucination-Aware-VLM/dataset/Gut-VLM/train_test_split/classwise_test_split/uc_test.json ADDED
@@ -0,0 +1,1058 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "d1257c93-4ccf-40f6-b966-4cab0020790b.jpg": {
3
+ "original_text": "An image of cecum. The abnormality, if present, is reddish in color and located centrally. The anatomical landmark is also reddish. There are no polyps, instruments, foreign bodies, or evidence of bleeding or infection. Signs of inflammation are present.",
4
+ "corrections": "An image of colon. The abnormality, if present, is reddish in color and located centrally. The anatomical landmark is also reddish. There are no polyps, instruments, foreign bodies, or evidence of bleeding or infection. Signs of inflammation are present.",
5
+ "annotations": {
6
+ "0-18": {
7
+ "text": "An image of cecum.",
8
+ "start": 0,
9
+ "end": 18,
10
+ "type": "incorrect"
11
+ },
12
+ "19-90": {
13
+ "text": "The abnormality, if present, is reddish in color and located centrally.",
14
+ "start": 19,
15
+ "end": 90,
16
+ "type": "correct"
17
+ },
18
+ "91-131": {
19
+ "text": "The anatomical landmark is also reddish.",
20
+ "start": 91,
21
+ "end": 131,
22
+ "type": "correct"
23
+ },
24
+ "132-219": {
25
+ "text": "There are no polyps, instruments, foreign bodies, or evidence of bleeding or infection.",
26
+ "start": 132,
27
+ "end": 219,
28
+ "type": "correct"
29
+ },
30
+ "220-254": {
31
+ "text": "Signs of inflammation are present.",
32
+ "start": 220,
33
+ "end": 254,
34
+ "type": "correct"
35
+ }
36
+ }
37
+ },
38
+ "698f130b-41ff-414d-908c-8d8c0f82d4a8_00001979.jpg": {
39
+ "original_text": "An image of cecum. The anatomical landmark is pink. No polyps, instruments, signs of inflammation, bleeding, infection, or foreign bodies are present. The abnormality, if any, is yellow and scattered throughout, with no distinct polyps.",
40
+ "corrections": "An image of colon. The anatomical landmark is pink. No polyps, instruments, signs of inflammation, bleeding, infection, or foreign bodies are present. The abnormality, if any, is yellow and scattered throughout, with no distinct polyps.",
41
+ "annotations": {
42
+ "0-18": {
43
+ "text": "An image of cecum.",
44
+ "start": 0,
45
+ "end": 18,
46
+ "type": "incorrect"
47
+ },
48
+ "19-51": {
49
+ "text": "The anatomical landmark is pink.",
50
+ "start": 19,
51
+ "end": 51,
52
+ "type": "correct"
53
+ },
54
+ "52-150": {
55
+ "text": "No polyps, instruments, signs of inflammation, bleeding, infection, or foreign bodies are present.",
56
+ "start": 52,
57
+ "end": 150,
58
+ "type": "correct"
59
+ },
60
+ "151-236": {
61
+ "text": "The abnormality, if any, is yellow and scattered throughout, with no distinct polyps.",
62
+ "start": 151,
63
+ "end": 236,
64
+ "type": "correct"
65
+ }
66
+ }
67
+ },
68
+ "14485f21-3072-4820-b3e1-5fff4f85a753.jpg": {
69
+ "original_text": "An image of z-line. There are no clearly identifiable polyps, instruments, foreign bodies, or anatomical landmarks. However, there are signs of inflammation and possible bleeding, as indicated by the red and irritated tissue. The area appears red and inflamed, suggesting possible infection or irritation.",
70
+ "corrections": "An image of cecum. There are no clearly identifiable polyps, instruments, foreign bodies, or anatomical landmarks. However, there are signs of inflammation and possible bleeding, as indicated by the red and irritated tissue. The area appears red and inflamed, suggesting possible infection or irritation.",
71
+ "annotations": {
72
+ "0-18": {
73
+ "text": "An image of z-line",
74
+ "start": 0,
75
+ "end": 18,
76
+ "type": "incorrect"
77
+ },
78
+ "20-115": {
79
+ "text": "There are no clearly identifiable polyps, instruments, foreign bodies, or anatomical landmarks.",
80
+ "start": 20,
81
+ "end": 115,
82
+ "type": "correct"
83
+ },
84
+ "116-225": {
85
+ "text": "However, there are signs of inflammation and possible bleeding, as indicated by the red and irritated tissue.",
86
+ "start": 116,
87
+ "end": 225,
88
+ "type": "correct"
89
+ },
90
+ "226-305": {
91
+ "text": "The area appears red and inflamed, suggesting possible infection or irritation.",
92
+ "start": 226,
93
+ "end": 305,
94
+ "type": "correct"
95
+ }
96
+ }
97
+ },
98
+ "d29aaf86-a454-42c6-a7dc-9af3661538a3.jpg": {
99
+ "original_text": "An image of pylorus. The anatomical landmarks are reddish-pink, and there's no evidence of instruments, inflammation, bleeding, foreign bodies, or infection.",
100
+ "corrections": "An image of pylorus. The anatomical landmarks are reddish-pink, and there is inflammation but there's no evidence of instruments, , bleeding, foreign bodies, or infection.",
101
+ "annotations": {
102
+ "0-19": {
103
+ "text": "An image of pylorus",
104
+ "start": 0,
105
+ "end": 19,
106
+ "type": "correct"
107
+ },
108
+ "19-20": {
109
+ "text": ".",
110
+ "start": 19,
111
+ "end": 20,
112
+ "type": "incorrect"
113
+ },
114
+ "21-156": {
115
+ "text": "The anatomical landmarks are reddish-pink, and there's no evidence of instruments, inflammation, bleeding, foreign bodies, or infection",
116
+ "start": 21,
117
+ "end": 156,
118
+ "type": "incorrect"
119
+ }
120
+ }
121
+ },
122
+ "e730866b-c418-4229-abbf-c821e695fbb8.jpg": {
123
+ "original_text": "An image of pylorus. The observed abnormality is yellowish in color, located on the right side. There are no visible polyps, anatomical landmarks, instruments, signs of inflammation, bleeding, foreign bodies, or infection present in the image.",
124
+ "corrections": "An image of pylorus. There are no abnormalities. There are no visible polyps, anatomical landmarks, instruments, signs of inflammation, bleeding, foreign bodies, or infection present in the image.",
125
+ "annotations": {
126
+ "0-20": {
127
+ "text": "An image of pylorus.",
128
+ "start": 0,
129
+ "end": 20,
130
+ "type": "correct"
131
+ },
132
+ "20-94": {
133
+ "text": "The observed abnormality is yellowish in color, located on the right side.",
134
+ "start": 20,
135
+ "end": 94,
136
+ "type": "incorrect"
137
+ },
138
+ "96-243": {
139
+ "text": "There are no visible polyps, anatomical landmarks, instruments, signs of inflammation, bleeding, foreign bodies, or infection present in the image.",
140
+ "start": 96,
141
+ "end": 243,
142
+ "type": "correct"
143
+ }
144
+ }
145
+ },
146
+ "3bc00ca5-de83-453a-a03f-af036dfec795.jpg": {
147
+ "original_text": "An image of pylorus. There is redness indicating inflammation and possible bleeding. No polyps or anatomical landmarks are visible. No instruments or foreign bodies are present. There are signs of inflammation and potential infection, evident by the abnormal reddish areas in the image.",
148
+ "corrections": "An image of pylorus. There is redness indicating inflammation and possible bleeding. No polyps or anatomical landmarks are visible. No instruments or foreign bodies are present. There are signs of inflammation and potential infection, evident by the abnormal reddish areas in the image.",
149
+ "annotations": {
150
+ "0-20": {
151
+ "text": "An image of pylorus.",
152
+ "start": 0,
153
+ "end": 20,
154
+ "type": "correct"
155
+ },
156
+ "21-84": {
157
+ "text": "There is redness indicating inflammation and possible bleeding.",
158
+ "start": 21,
159
+ "end": 84,
160
+ "type": "correct"
161
+ },
162
+ "85-131": {
163
+ "text": "No polyps or anatomical landmarks are visible.",
164
+ "start": 85,
165
+ "end": 131,
166
+ "type": "correct"
167
+ },
168
+ "132-177": {
169
+ "text": "No instruments or foreign bodies are present.",
170
+ "start": 132,
171
+ "end": 177,
172
+ "type": "correct"
173
+ },
174
+ "178-286": {
175
+ "text": "There are signs of inflammation and potential infection, evident by the abnormal reddish areas in the image.",
176
+ "start": 178,
177
+ "end": 286,
178
+ "type": "correct"
179
+ }
180
+ }
181
+ },
182
+ "1d1593ae-6e02-46de-9d95-9a9e4bd2270b.jpg": {
183
+ "original_text": "An image of cecum. There is an abnormality of reddish color in the center. Anatomical landmarks are present, but no polyps or instruments are visible. There are signs of inflammation and possibly bleeding, but no foreign bodies or signs of infection are observed.",
184
+ "corrections": "An image of cecum. There are fecal remains in the image. Anatomical landmarks are present, but no polyps or instruments are visible. There are signs of inflammation, but no foreign bodies, bleeding or signs of infection are observed.",
185
+ "annotations": {
186
+ "0-18": {
187
+ "text": "An image of cecum.",
188
+ "start": 0,
189
+ "end": 18,
190
+ "type": "correct"
191
+ },
192
+ "19-73": {
193
+ "text": "There is an abnormality of reddish color in the center",
194
+ "start": 19,
195
+ "end": 73,
196
+ "type": "incorrect"
197
+ },
198
+ "75-150": {
199
+ "text": "Anatomical landmarks are present, but no polyps or instruments are visible.",
200
+ "start": 75,
201
+ "end": 150,
202
+ "type": "correct"
203
+ },
204
+ "151-263": {
205
+ "text": "There are signs of inflammation and possibly bleeding, but no foreign bodies or signs of infection are observed.",
206
+ "start": 151,
207
+ "end": 263,
208
+ "type": "incorrect"
209
+ }
210
+ }
211
+ },
212
+ "52a42285-8c36-43d1-a194-12219d7f09ed.jpg": {
213
+ "original_text": "An image of cecum. The anatomical landmark is pink, and there's a yellowish abnormality present centrally. There are no polyps, instruments, foreign bodies, signs of inflammation, infection, or bleeding evident in the image.",
214
+ "corrections": "An image of cecum. The anatomical landmark is pink, and there's a yellowish abnormality present centrally. There are no polyps, instruments, foreign bodies, signs of inflammation, infection, or bleeding evident in the image.",
215
+ "annotations": {
216
+ "0-18": {
217
+ "text": "An image of cecum.",
218
+ "start": 0,
219
+ "end": 18,
220
+ "type": "correct"
221
+ },
222
+ "19-106": {
223
+ "text": "The anatomical landmark is pink, and there's a yellowish abnormality present centrally.",
224
+ "start": 19,
225
+ "end": 106,
226
+ "type": "correct"
227
+ },
228
+ "107-224": {
229
+ "text": "There are no polyps, instruments, foreign bodies, signs of inflammation, infection, or bleeding evident in the image.",
230
+ "start": 107,
231
+ "end": 224,
232
+ "type": "correct"
233
+ }
234
+ }
235
+ },
236
+ "2b01fd50-8d11-4cfa-825f-5aa971dae550.jpg": {
237
+ "original_text": "An image of pylorus. There is an abnormality present which is white in color. The surrounding anatomical landmark is red. No polyps are visible. The abnormality is situated on the right. There are signs of inflammation but no evidence of bleeding, foreign bodies, or infection. No instruments are visible.",
238
+ "corrections": "An image of cecum. There is an abnormality present which is white in color. The surrounding anatomical landmark is red. No polyps are visible. The abnormality is situated on the right. There are signs of inflammation but no evidence of bleeding, foreign bodies, or infection. No instruments are visible.",
239
+ "annotations": {
240
+ "0-20": {
241
+ "text": "An image of pylorus.",
242
+ "start": 0,
243
+ "end": 20,
244
+ "type": "incorrect"
245
+ },
246
+ "21-77": {
247
+ "text": "There is an abnormality present which is white in color.",
248
+ "start": 21,
249
+ "end": 77,
250
+ "type": "correct"
251
+ },
252
+ "78-121": {
253
+ "text": "The surrounding anatomical landmark is red.",
254
+ "start": 78,
255
+ "end": 121,
256
+ "type": "correct"
257
+ },
258
+ "122-144": {
259
+ "text": "No polyps are visible.",
260
+ "start": 122,
261
+ "end": 144,
262
+ "type": "correct"
263
+ },
264
+ "145-186": {
265
+ "text": "The abnormality is situated on the right.",
266
+ "start": 145,
267
+ "end": 186,
268
+ "type": "correct"
269
+ },
270
+ "187-277": {
271
+ "text": "There are signs of inflammation but no evidence of bleeding, foreign bodies, or infection.",
272
+ "start": 187,
273
+ "end": 277,
274
+ "type": "correct"
275
+ },
276
+ "278-305": {
277
+ "text": "No instruments are visible.",
278
+ "start": 278,
279
+ "end": 305,
280
+ "type": "correct"
281
+ }
282
+ }
283
+ },
284
+ "28615915-120a-4cb2-abdb-699e8b1ed85b.jpg": {
285
+ "original_text": "An image of pylorus. The anatomical landmarks are flesh-colored. There are no evident abnormalities, polyps, instruments, signs of inflammation, bleeding, infection, or foreign bodies in the image.",
286
+ "corrections": "An image of colon. The anatomical landmarks are flesh-colored. There are no evident abnormalities, polyps, instruments, bleeding, infection, or foreign bodies in the image. There are signs of inflammation.",
287
+ "annotations": {
288
+ "0-19": {
289
+ "text": "An image of pylorus",
290
+ "start": 0,
291
+ "end": 19,
292
+ "type": "incorrect"
293
+ },
294
+ "21-64": {
295
+ "text": "The anatomical landmarks are flesh-colored.",
296
+ "start": 21,
297
+ "end": 64,
298
+ "type": "correct"
299
+ },
300
+ "65-197": {
301
+ "text": "There are no evident abnormalities, polyps, instruments, signs of inflammation, bleeding, infection, or foreign bodies in the image.",
302
+ "start": 65,
303
+ "end": 197,
304
+ "type": "incorrect"
305
+ }
306
+ }
307
+ },
308
+ "759cb6da-cdac-4d4c-b5d8-deddd26c2f94.jpg": {
309
+ "original_text": "An image of z-line. The abnormality, likely inflammation, appears red, and the anatomical landmark is also visible but reddish. There are no polyps, bleeding, foreign bodies, infection signs, or instruments present in the image. The abnormality is centralized, displaying notable inflammation signs.",
310
+ "corrections": "An image of colon. The abnormality, likely inflammation, appears red, and the anatomical landmark is also visible but reddish. There are no polyps, bleeding, foreign bodies, infection signs, or instruments present in the image. The abnormality is centralized, displaying notable inflammation signs.",
311
+ "annotations": {
312
+ "0-18": {
313
+ "text": "An image of z-line",
314
+ "start": 0,
315
+ "end": 18,
316
+ "type": "incorrect"
317
+ },
318
+ "20-127": {
319
+ "text": "The abnormality, likely inflammation, appears red, and the anatomical landmark is also visible but reddish.",
320
+ "start": 20,
321
+ "end": 127,
322
+ "type": "correct"
323
+ },
324
+ "128-228": {
325
+ "text": "There are no polyps, bleeding, foreign bodies, infection signs, or instruments present in the image.",
326
+ "start": 128,
327
+ "end": 228,
328
+ "type": "correct"
329
+ },
330
+ "229-299": {
331
+ "text": "The abnormality is centralized, displaying notable inflammation signs.",
332
+ "start": 229,
333
+ "end": 299,
334
+ "type": "correct"
335
+ }
336
+ }
337
+ },
338
+ "33f881a3-c4fc-4401-b061-4d87b16d8b2c.jpg": {
339
+ "original_text": "An image of pylorus. An abnormality is present, appearing in a reddish color and located centrally. No polyps, instruments, foreign bodies, signs of inflammation, infection, or bleeding are visible. The anatomical landmark is the surrounding pinkish tissue of the organ being examined.",
340
+ "corrections": "An image of cecum. An abnormality is present, appearing in a reddish color and located centrally. No polyps, instruments, foreign bodies, signs of inflammation, infection, or bleeding are visible. The anatomical landmark is the surrounding pinkish tissue of the organ being examined.",
341
+ "annotations": {
342
+ "0-20": {
343
+ "text": "An image of pylorus.",
344
+ "start": 0,
345
+ "end": 20,
346
+ "type": "incorrect"
347
+ },
348
+ "20-98": {
349
+ "text": "An abnormality is present, appearing in a reddish color and located centrally.",
350
+ "start": 20,
351
+ "end": 98,
352
+ "type": "correct"
353
+ },
354
+ "99-197": {
355
+ "text": "No polyps, instruments, foreign bodies, signs of inflammation, infection, or bleeding are visible.",
356
+ "start": 99,
357
+ "end": 197,
358
+ "type": "correct"
359
+ },
360
+ "198-284": {
361
+ "text": "The anatomical landmark is the surrounding pinkish tissue of the organ being examined.",
362
+ "start": 198,
363
+ "end": 284,
364
+ "type": "correct"
365
+ }
366
+ }
367
+ },
368
+ "8bdfdc98-79d7-4ddf-ba67-5a3ff8a9d19e.jpg": {
369
+ "original_text": "An image of z-line. The abnormality, characterized by inflammation, is widespread. There are no clear anatomical landmarks, instruments, signs of infection, or evidence of bleeding present in the image.",
370
+ "corrections": "An image of cecum. The abnormality, characterized by inflammation, is widespread. There are no clear anatomical landmarks, instruments, signs of infection, or evidence of bleeding present in the image.",
371
+ "annotations": {
372
+ "0-18": {
373
+ "text": "An image of z-line",
374
+ "start": 0,
375
+ "end": 18,
376
+ "type": "incorrect"
377
+ },
378
+ "20-82": {
379
+ "text": "The abnormality, characterized by inflammation, is widespread.",
380
+ "start": 20,
381
+ "end": 82,
382
+ "type": "correct"
383
+ },
384
+ "83-202": {
385
+ "text": "There are no clear anatomical landmarks, instruments, signs of infection, or evidence of bleeding present in the image.",
386
+ "start": 83,
387
+ "end": 202,
388
+ "type": "correct"
389
+ }
390
+ }
391
+ },
392
+ "d82eb7f9-9988-42a2-8140-11f335d893cd.jpg": {
393
+ "original_text": "An image of cecum. There is a dark-colored abnormality present near the bottom center of the image, along with red-colored areas suggestive of minor bleeding or inflammation. No polyps, anatomical landmarks, instruments, foreign bodies, or signs of infection are visible.",
394
+ "corrections": "An image of cecum. There is a dark-colored abnormality present near the bottom center of the image, along with red-colored areas suggestive of minor bleeding or inflammation. No polyps, anatomical landmarks, instruments, foreign bodies, or signs of infection are visible.",
395
+ "annotations": {
396
+ "0-18": {
397
+ "text": "An image of cecum.",
398
+ "start": 0,
399
+ "end": 18,
400
+ "type": "correct"
401
+ },
402
+ "18-173": {
403
+ "text": "There is a dark-colored abnormality present near the bottom center of the image, along with red-colored areas suggestive of minor bleeding or inflammation.",
404
+ "start": 18,
405
+ "end": 173,
406
+ "type": "correct"
407
+ },
408
+ "174-270": {
409
+ "text": "No polyps, anatomical landmarks, instruments, foreign bodies, or signs of infection are visible.",
410
+ "start": 174,
411
+ "end": 270,
412
+ "type": "correct"
413
+ }
414
+ }
415
+ },
416
+ "698f130b-41ff-414d-908c-8d8c0f82d4a8_00001902.jpg": {
417
+ "original_text": "An image of pylorus. Abnormalities are present, appearing yellowish in color, and centered in the lower-right of the image. No polyps or foreign bodies are visible. There's evidence of inflammation but no bleeding or infection signs. An anatomical landmark is present, with no visible instruments.",
418
+ "corrections": "An image of cecum. Abnormalities are present. There's evidence of inflammation but no bleeding or infection signs. No polyps or foreign bodies are visible. An anatomical landmark is present, with no visible instruments.",
419
+ "annotations": {
420
+ "0-20": {
421
+ "text": "An image of pylorus.",
422
+ "start": 0,
423
+ "end": 20,
424
+ "type": "incorrect"
425
+ },
426
+ "21-123": {
427
+ "text": "Abnormalities are present, appearing yellowish in color, and centered in the lower-right of the image.",
428
+ "start": 21,
429
+ "end": 123,
430
+ "type": "correct"
431
+ },
432
+ "124-164": {
433
+ "text": "No polyps or foreign bodies are visible.",
434
+ "start": 124,
435
+ "end": 164,
436
+ "type": "correct"
437
+ },
438
+ "165-233": {
439
+ "text": "There's evidence of inflammation but no bleeding or infection signs.",
440
+ "start": 165,
441
+ "end": 233,
442
+ "type": "correct"
443
+ },
444
+ "233-296": {
445
+ "text": "An anatomical landmark is present, with no visible instruments.",
446
+ "start": 233,
447
+ "end": 296,
448
+ "type": "correct"
449
+ },
450
+ "234-297": {
451
+ "text": "An anatomical landmark is present, with no visible instruments.",
452
+ "start": 234,
453
+ "end": 297,
454
+ "type": "correct"
455
+ }
456
+ }
457
+ },
458
+ "bb3e96d0-7ec5-4116-bded-abe87a137f3f.jpg": {
459
+ "original_text": "An image of cecum. The image shows a reddish anatomical landmark, with no visible abnormalities, polyps, instruments, bleeding, foreign bodies, or signs of infection or inflammation.",
460
+ "corrections": "An image of cecum. The image shows a reddish anatomical landmark, with no visible abnormalities, polyps, instruments, bleeding, or foreign bodies. but there are signs of infection or inflammation.",
461
+ "annotations": {
462
+ "0-18": {
463
+ "text": "An image of cecum.",
464
+ "start": 0,
465
+ "end": 18,
466
+ "type": "correct"
467
+ },
468
+ "19-181": {
469
+ "text": "The image shows a reddish anatomical landmark, with no visible abnormalities, polyps, instruments, bleeding, foreign bodies, or signs of infection or inflammation",
470
+ "start": 19,
471
+ "end": 181,
472
+ "type": "incorrect"
473
+ }
474
+ }
475
+ },
476
+ "8a156d87-4689-4786-ae5a-d9d6e1f0aefd.jpg": {
477
+ "original_text": "An image of pylorus. The abnormality, if present, is not distinctly colored, but there are no visible polyps, anatomical landmarks, instruments, signs of inflammation, bleeding, foreign bodies, or infection. Therefore, no abnormalities were clearly identified in the image.",
478
+ "corrections": "An image of colon. The abnormality, if present, is not distinctly colored, but there are no visible polyps, instruments or foreign bodies.The anatomical landmark is colon wall. Signs of inflammation and possible evidence of bleeding are present, but there are no definitive signs of infection.",
479
+ "annotations": {
480
+ "0-20": {
481
+ "text": "An image of pylorus.",
482
+ "start": 0,
483
+ "end": 20,
484
+ "type": "incorrect"
485
+ },
486
+ "21-207": {
487
+ "text": "The abnormality, if present, is not distinctly colored, but there are no visible polyps, anatomical landmarks, instruments, signs of inflammation, bleeding, foreign bodies, or infection.",
488
+ "start": 21,
489
+ "end": 207,
490
+ "type": "incorrect"
491
+ },
492
+ "208-273": {
493
+ "text": "Therefore, no abnormalities were clearly identified in the image.",
494
+ "start": 208,
495
+ "end": 273,
496
+ "type": "incorrect"
497
+ }
498
+ }
499
+ },
500
+ "9bdda2b3-df46-441b-9675-8d8a92789c7d.jpg": {
501
+ "original_text": "An image of cecum. An abnormality is present with a color darker than the surrounding tissue and located centrally. No polyps, instruments, foreign bodies, or bleeding are observed. An anatomical landmark is present with a lighter color, and there's evidence of inflammation. No signs of infection are visible.",
502
+ "corrections": "An image of cecum. An abnormality is present with a color darker than the surrounding tissue and located centrally. No polyps, instruments, foreign bodies, or bleeding are observed. There's evidence of inflammation. No signs of infection are visible.",
503
+ "annotations": {
504
+ "0-18": {
505
+ "text": "An image of cecum.",
506
+ "start": 0,
507
+ "end": 18,
508
+ "type": "correct"
509
+ },
510
+ "19-115": {
511
+ "text": "An abnormality is present with a color darker than the surrounding tissue and located centrally.",
512
+ "start": 19,
513
+ "end": 115,
514
+ "type": "correct"
515
+ },
516
+ "116-181": {
517
+ "text": "No polyps, instruments, foreign bodies, or bleeding are observed.",
518
+ "start": 116,
519
+ "end": 181,
520
+ "type": "correct"
521
+ },
522
+ "182-275": {
523
+ "text": "An anatomical landmark is present with a lighter color, and there's evidence of inflammation.",
524
+ "start": 182,
525
+ "end": 275,
526
+ "type": "correct"
527
+ },
528
+ "276-310": {
529
+ "text": "No signs of infection are visible.",
530
+ "start": 276,
531
+ "end": 310,
532
+ "type": "correct"
533
+ }
534
+ }
535
+ },
536
+ "e4fbe114-7e5e-4a0f-a856-ba2b39fb7b87.jpg": {
537
+ "original_text": "An image of cecum. The anatomical landmark is mostly pink. No polyps or instruments are visible. There are signs of inflammation but no evidence of bleeding, infection, or foreign bodies. The abnormality is located centrally in the image.",
538
+ "corrections": "An image of cecum. The anatomical landmark is mostly pink. No polyps or instruments are visible. There are signs of inflammation but no evidence of bleeding, infection, or foreign bodies. The abnormality is located centrally in the image.",
539
+ "annotations": {
540
+ "0-18": {
541
+ "text": "An image of cecum.",
542
+ "start": 0,
543
+ "end": 18,
544
+ "type": "correct"
545
+ },
546
+ "19-58": {
547
+ "text": "The anatomical landmark is mostly pink.",
548
+ "start": 19,
549
+ "end": 58,
550
+ "type": "correct"
551
+ },
552
+ "59-96": {
553
+ "text": "No polyps or instruments are visible.",
554
+ "start": 59,
555
+ "end": 96,
556
+ "type": "correct"
557
+ },
558
+ "97-187": {
559
+ "text": "There are signs of inflammation but no evidence of bleeding, infection, or foreign bodies.",
560
+ "start": 97,
561
+ "end": 187,
562
+ "type": "correct"
563
+ },
564
+ "188-238": {
565
+ "text": "The abnormality is located centrally in the image.",
566
+ "start": 188,
567
+ "end": 238,
568
+ "type": "correct"
569
+ }
570
+ }
571
+ },
572
+ "50964a22-20e1-467a-8d12-f54bc4e9bc65.jpg": {
573
+ "original_text": "An image of cecum. There is a yellow-colored abnormality present in the center, with surrounding tissue appearing pinkish-brown. One possible polyp is observed. No signs of inflammation, bleeding, or infection. No instruments or foreign bodies are visible. The anatomical landmarks are evident and visible.",
574
+ "corrections": "An image of cecum. There is a yellow-colored abnormality present in the center, with surrounding tissue appearing pinkish-brown. No polyp is observed. No signs of inflammation, bleeding, or infection. No instruments or foreign bodies are visible.",
575
+ "annotations": {
576
+ "0-18": {
577
+ "text": "An image of cecum.",
578
+ "start": 0,
579
+ "end": 18,
580
+ "type": "correct"
581
+ },
582
+ "19-128": {
583
+ "text": "There is a yellow-colored abnormality present in the center, with surrounding tissue appearing pinkish-brown.",
584
+ "start": 19,
585
+ "end": 128,
586
+ "type": "correct"
587
+ },
588
+ "128-158": {
589
+ "text": "One possible polyp is observed",
590
+ "start": 128,
591
+ "end": 158,
592
+ "type": "incorrect"
593
+ },
594
+ "161-210": {
595
+ "text": "No signs of inflammation, bleeding, or infection.",
596
+ "start": 161,
597
+ "end": 210,
598
+ "type": "correct"
599
+ },
600
+ "211-256": {
601
+ "text": "No instruments or foreign bodies are visible.",
602
+ "start": 211,
603
+ "end": 256,
604
+ "type": "correct"
605
+ },
606
+ "257-306": {
607
+ "text": "The anatomical landmarks are evident and visible.",
608
+ "start": 257,
609
+ "end": 306,
610
+ "type": "correct"
611
+ }
612
+ }
613
+ },
614
+ "17b277d1-ffa1-4b77-abc1-75503bea4330.jpg": {
615
+ "original_text": "An image of cecum. There is a small red abnormality present, likely indicating minor bleeding or inflammation, and no polyps or foreign bodies are visible. The anatomical landmarks are discernible, and there are no signs of infection or instruments present.",
616
+ "corrections": "An image of cecum. There is a small red abnormality present, likely indicating minor bleeding or inflammation, and no polyps or foreign bodies are visible. The anatomical landmarks are discernible, and there are no signs of infection or instruments present.",
617
+ "annotations": {
618
+ "0-18": {
619
+ "text": "An image of cecum.",
620
+ "start": 0,
621
+ "end": 18,
622
+ "type": "correct"
623
+ },
624
+ "19-155": {
625
+ "text": "There is a small red abnormality present, likely indicating minor bleeding or inflammation, and no polyps or foreign bodies are visible.",
626
+ "start": 19,
627
+ "end": 155,
628
+ "type": "correct"
629
+ },
630
+ "156-257": {
631
+ "text": "The anatomical landmarks are discernible, and there are no signs of infection or instruments present.",
632
+ "start": 156,
633
+ "end": 257,
634
+ "type": "correct"
635
+ }
636
+ }
637
+ },
638
+ "5f667713-2300-42bc-b0a6-6e6406f210a7.jpg": {
639
+ "original_text": "An image of cecum. No abnormalities, polyps, signs of inflammation, bleeding, foreign bodies, or infections are visualized. The anatomical landmark visible is the normal mucosa, which is pink in color. No instruments are present in the image.",
640
+ "corrections": "An image of cecum. No abnormalities, polyps, bleeding, foreign bodies, or infections are visualized. The anatomical landmark visible is the normal mucosa, which is pink in color. No instruments are present in the image. There are signs of minor inflammation.",
641
+ "annotations": {
642
+ "0-17": {
643
+ "text": "An image of cecum",
644
+ "start": 0,
645
+ "end": 17,
646
+ "type": "correct"
647
+ },
648
+ "18-122": {
649
+ "text": "No abnormalities, polyps, signs of inflammation, bleeding, foreign bodies, or infections are visualized.",
650
+ "start": 18,
651
+ "end": 122,
652
+ "type": "incorrect"
653
+ },
654
+ "124-201": {
655
+ "text": "The anatomical landmark visible is the normal mucosa, which is pink in color.",
656
+ "start": 124,
657
+ "end": 201,
658
+ "type": "correct"
659
+ },
660
+ "202-242": {
661
+ "text": "No instruments are present in the image.",
662
+ "start": 202,
663
+ "end": 242,
664
+ "type": "correct"
665
+ }
666
+ }
667
+ },
668
+ "c7203d20-f57a-406d-ae02-8a1331a703c1.jpg": {
669
+ "original_text": "An image of pylorus. The abnormality is not clearly identified, but the anatomical landmark is light brown. There are no visible polyps, instruments, signs of inflammation, bleeding, foreign bodies, or infection indicators in the image.",
670
+ "corrections": "An image of colon. The abnormality is not clearly identified, but the anatomical landmark is light brown. There are no visible polyps, instruments, bleeding, foreign bodies, or infection indicators in the image. There are signs of minor inflammation.",
671
+ "annotations": {
672
+ "0-20": {
673
+ "text": "An image of pylorus.",
674
+ "start": 0,
675
+ "end": 20,
676
+ "type": "incorrect"
677
+ },
678
+ "21-107": {
679
+ "text": "The abnormality is not clearly identified, but the anatomical landmark is light brown.",
680
+ "start": 21,
681
+ "end": 107,
682
+ "type": "correct"
683
+ },
684
+ "108-236": {
685
+ "text": "There are no visible polyps, instruments, signs of inflammation, bleeding, foreign bodies, or infection indicators in the image.",
686
+ "start": 108,
687
+ "end": 236,
688
+ "type": "incorrect"
689
+ }
690
+ }
691
+ },
692
+ "29c4b403-3d24-4227-8c62-6cfd9ed3ba9b.jpg": {
693
+ "original_text": "An image of cecum. There are no visible abnormalities, polyps, signs of inflammation, bleeding, infection, or foreign bodies present. The anatomical landmark is pink in color, and no instruments are visible in the image.",
694
+ "corrections": "An image of cecum. There are no visible abnormalities, polyps, signs of inflammation, bleeding, infection, or foreign bodies present. The anatomical landmark is pink in color, and no instruments are visible in the image.",
695
+ "annotations": {
696
+ "0-17": {
697
+ "text": "An image of cecum",
698
+ "start": 0,
699
+ "end": 17,
700
+ "type": "correct"
701
+ },
702
+ "19-133": {
703
+ "text": "There are no visible abnormalities, polyps, signs of inflammation, bleeding, infection, or foreign bodies present.",
704
+ "start": 19,
705
+ "end": 133,
706
+ "type": "correct"
707
+ },
708
+ "134-220": {
709
+ "text": "The anatomical landmark is pink in color, and no instruments are visible in the image.",
710
+ "start": 134,
711
+ "end": 220,
712
+ "type": "correct"
713
+ }
714
+ }
715
+ },
716
+ "b62924ca-ebf5-4b1c-91ad-b243ac724058.jpg": {
717
+ "original_text": "An image of cecum. No polyps, abnormalities, anatomical landmarks, instruments, signs of inflammation, bleeding, foreign bodies, or infection are visible. The overall color of the tract wall is a healthy reddish-brown.",
718
+ "corrections": "An image of colon. The anatomical landmark appears pink. No polyps, abnormalities, instruments, bleeding, foreign bodies, or infection are visible. The overall color of the tract wall is a healthy reddish-brown. There are signs of minor inflammation.",
719
+ "annotations": {
720
+ "0-18": {
721
+ "text": "An image of cecum.",
722
+ "start": 0,
723
+ "end": 18,
724
+ "type": "incorrect"
725
+ },
726
+ "19-154": {
727
+ "text": "No polyps, abnormalities, anatomical landmarks, instruments, signs of inflammation, bleeding, foreign bodies, or infection are visible.",
728
+ "start": 19,
729
+ "end": 154,
730
+ "type": "incorrect"
731
+ },
732
+ "155-218": {
733
+ "text": "The overall color of the tract wall is a healthy reddish-brown.",
734
+ "start": 155,
735
+ "end": 218,
736
+ "type": "incorrect"
737
+ }
738
+ }
739
+ },
740
+ "02952327-2303-44da-99ed-9fc0525ff6eb.jpg": {
741
+ "original_text": "An image of z-line. The abnormality present is dark-colored, located centrally within the image, while the anatomical landmark is pink. There are no visible polyps, instruments, or foreign bodies. Signs of inflammation and bleeding are present, but there is no evidence of infection.",
742
+ "corrections": "An image of colon. The abnormality present is dark-colored, located centrally within the image, while the anatomical landmark is pink. There are no visible polyps, instruments, or foreign bodies. Signs of inflammation and bleeding are present, but there is no evidence of infection.",
743
+ "annotations": {
744
+ "0-18": {
745
+ "text": "An image of z-line",
746
+ "start": 0,
747
+ "end": 18,
748
+ "type": "incorrect"
749
+ },
750
+ "20-135": {
751
+ "text": "The abnormality present is dark-colored, located centrally within the image, while the anatomical landmark is pink.",
752
+ "start": 20,
753
+ "end": 135,
754
+ "type": "correct"
755
+ },
756
+ "136-196": {
757
+ "text": "There are no visible polyps, instruments, or foreign bodies.",
758
+ "start": 136,
759
+ "end": 196,
760
+ "type": "correct"
761
+ },
762
+ "197-283": {
763
+ "text": "Signs of inflammation and bleeding are present, but there is no evidence of infection.",
764
+ "start": 197,
765
+ "end": 283,
766
+ "type": "correct"
767
+ }
768
+ }
769
+ },
770
+ "940dd44e-98d4-4ca5-bc5d-d142a32e0d5e.jpg": {
771
+ "original_text": "An image of cecum. The abnormality, if any, is not distinctly visible in terms of color. The anatomical landmark seems to be reddish-pink. There are no visible polyps, instruments, signs of inflammation, bleeding, foreign bodies, or infection present in the image.",
772
+ "corrections": "An image of colon. There are signs of minor inflammation. The anatomical landmark seems to be reddish-pink. There are no visible polyps, instruments, signs of inflammation, bleeding, foreign bodies, or infection present in the image.",
773
+ "annotations": {
774
+ "0-18": {
775
+ "text": "An image of cecum.",
776
+ "start": 0,
777
+ "end": 18,
778
+ "type": "incorrect"
779
+ },
780
+ "18-87": {
781
+ "text": "The abnormality, if any, is not distinctly visible in terms of color.",
782
+ "start": 18,
783
+ "end": 87,
784
+ "type": "correct"
785
+ },
786
+ "88-137": {
787
+ "text": "The anatomical landmark seems to be reddish-pink.",
788
+ "start": 88,
789
+ "end": 137,
790
+ "type": "correct"
791
+ },
792
+ "138-263": {
793
+ "text": "There are no visible polyps, instruments, signs of inflammation, bleeding, foreign bodies, or infection present in the image.",
794
+ "start": 138,
795
+ "end": 263,
796
+ "type": "correct"
797
+ }
798
+ }
799
+ },
800
+ "c5915729-6393-4728-8d18-79c6f5f00059.jpg": {
801
+ "original_text": "An image of cecum. The tissue appears reddish, with signs of mild inflammation and no visible polyps, foreign bodies, or instruments. There are no clear anatomical landmarks or evidence of infection or bleeding present.",
802
+ "corrections": "An image of cecum. The tissue appears reddish, with signs of mild inflammation and no visible polyps, foreign bodies, or instruments. There are no clear anatomical landmarks or evidence of infection or bleeding present.",
803
+ "annotations": {
804
+ "0-18": {
805
+ "text": "An image of cecum.",
806
+ "start": 0,
807
+ "end": 18,
808
+ "type": "correct"
809
+ },
810
+ "19-133": {
811
+ "text": "The tissue appears reddish, with signs of mild inflammation and no visible polyps, foreign bodies, or instruments.",
812
+ "start": 19,
813
+ "end": 133,
814
+ "type": "correct"
815
+ },
816
+ "134-219": {
817
+ "text": "There are no clear anatomical landmarks or evidence of infection or bleeding present.",
818
+ "start": 134,
819
+ "end": 219,
820
+ "type": "correct"
821
+ }
822
+ }
823
+ },
824
+ "46705b13-80d7-41d1-8505-2d5e2f99065a.jpg": {
825
+ "original_text": "An image of cecum. The abnormality, if present, is red. No polyps, bleeding, foreign bodies, inflammation, infection, or instruments are visible. The anatomical landmark is also red. The abnormality, if any, is located in the colon wall.",
826
+ "corrections": "An image of colon. The abnormality, if present, is red. No polyps, bleeding, foreign bodies, inflammation, infection, or instruments are visible. The anatomical landmark is also red. The abnormality, if any, is located in the colon wall.",
827
+ "annotations": {
828
+ "0-18": {
829
+ "text": "An image of cecum.",
830
+ "start": 0,
831
+ "end": 18,
832
+ "type": "incorrect"
833
+ },
834
+ "18-54": {
835
+ "text": "The abnormality, if present, is red.",
836
+ "start": 18,
837
+ "end": 54,
838
+ "type": "correct"
839
+ },
840
+ "55-144": {
841
+ "text": "No polyps, bleeding, foreign bodies, inflammation, infection, or instruments are visible.",
842
+ "start": 55,
843
+ "end": 144,
844
+ "type": "correct"
845
+ },
846
+ "145-181": {
847
+ "text": "The anatomical landmark is also red.",
848
+ "start": 145,
849
+ "end": 181,
850
+ "type": "correct"
851
+ },
852
+ "182-236": {
853
+ "text": "The abnormality, if any, is located in the colon wall.",
854
+ "start": 182,
855
+ "end": 236,
856
+ "type": "correct"
857
+ }
858
+ }
859
+ },
860
+ "698f130b-41ff-414d-908c-8d8c0f82d4a8_00001725.jpg": {
861
+ "original_text": "An image of pylorus. The abnormality present appears to be reddish and yellowish in color. No anatomical landmarks or polyps are visible, and there are no signs of foreign bodies, instruments, or bleeding. Inflammation and signs of infection are evident in the center of the image.",
862
+ "corrections": "An image of colon. The abnormality present appears to be reddish and yellowish in color. The anatomical landmark is the esophageaus lining. No polyps are visible, and there are no signs of foreign bodies, instruments, or bleeding. Inflammation and signs of infection are evident in the center of the image.",
863
+ "annotations": {
864
+ "0-20": {
865
+ "text": "An image of pylorus.",
866
+ "start": 0,
867
+ "end": 20,
868
+ "type": "incorrect"
869
+ },
870
+ "21-89": {
871
+ "text": "The abnormality present appears to be reddish and yellowish in color",
872
+ "start": 21,
873
+ "end": 89,
874
+ "type": "correct"
875
+ },
876
+ "91-204": {
877
+ "text": "No anatomical landmarks or polyps are visible, and there are no signs of foreign bodies, instruments, or bleeding",
878
+ "start": 91,
879
+ "end": 204,
880
+ "type": "incorrect"
881
+ },
882
+ "206-281": {
883
+ "text": "Inflammation and signs of infection are evident in the center of the image.",
884
+ "start": 206,
885
+ "end": 281,
886
+ "type": "correct"
887
+ }
888
+ }
889
+ },
890
+ "584f1fa0-9bb9-49d3-b412-c42819d0a200_00002122.jpg": {
891
+ "original_text": "An image of pylorus. The prominent abnormalities are located centrally with noticeable redness, but no evident polyps or foreign objects are present.",
892
+ "corrections": "An image of pylorus. The prominent abnormalities are located centrally with noticeable redness ceem like bleeding, but no evident polyps or foreign objects are present.",
893
+ "annotations": {
894
+ "0-20": {
895
+ "text": "An image of pylorus.",
896
+ "type": "correct",
897
+ "start": 0,
898
+ "end": 20
899
+ },
900
+ "21-149": {
901
+ "text": "The prominent abnormalities are located centrally with noticeable redness, but no evident polyps or foreign objects are present.",
902
+ "type": "correct",
903
+ "start": 21,
904
+ "end": 149
905
+ }
906
+ }
907
+ },
908
+ "28db4e2a-2b48-43b7-88b2-5eaba2eb41f4.jpg": {
909
+ "original_text": "An image of pylorus. It shows an abnormality that is red in color. The same red color also indicates inflammation, and no explicit anatomical landmarks or instruments are visible. No polyps, bleeding, foreign bodies, or signs of infection are identified. The abnormality is centrally located.",
910
+ "corrections": "An image of pylorus. It shows an abnormality that is red in color. The same red color also indicates inflammation, and no explicit anatomical landmarks or instruments are visible. No polyps, bleeding, foreign bodies, or signs of infection are identified. ",
911
+ "annotations": {
912
+ "0-20": {
913
+ "text": "An image of pylorus.",
914
+ "start": 0,
915
+ "end": 20,
916
+ "type": "correct"
917
+ },
918
+ "21-66": {
919
+ "text": "It shows an abnormality that is red in color.",
920
+ "start": 21,
921
+ "end": 66,
922
+ "type": "correct"
923
+ },
924
+ "67-179": {
925
+ "text": "The same red color also indicates inflammation, and no explicit anatomical landmarks or instruments are visible.",
926
+ "start": 67,
927
+ "end": 179,
928
+ "type": "correct"
929
+ },
930
+ "180-253": {
931
+ "text": "No polyps, bleeding, foreign bodies, or signs of infection are identified",
932
+ "start": 180,
933
+ "end": 253,
934
+ "type": "correct"
935
+ },
936
+ "254-291": {
937
+ "text": "The abnormality is centrally located.",
938
+ "start": 254,
939
+ "end": 291,
940
+ "type": "incorrect"
941
+ }
942
+ }
943
+ },
944
+ "c1c58080-32ca-4458-a543-4e270284cd06.jpg": {
945
+ "original_text": "An image of cecum. The anatomical landmark is reddish in color, with no visible abnormalities, polyps, inflammation, or signs of infection. One instrument is observed in the center, and there is no evidence of bleeding or foreign bodies.",
946
+ "corrections": "An image of cecum. The anatomical landmark is reddish in color, with no visible abnormalities, polyps, inflammation, or signs of infection. One instrument is observed in the center, and there is no evidence of bleeding or foreign bodies.",
947
+ "annotations": {
948
+ "0-18": {
949
+ "text": "An image of cecum.",
950
+ "start": 0,
951
+ "end": 18,
952
+ "type": "correct"
953
+ },
954
+ "19-139": {
955
+ "text": "The anatomical landmark is reddish in color, with no visible abnormalities, polyps, inflammation, or signs of infection.",
956
+ "start": 19,
957
+ "end": 139,
958
+ "type": "correct"
959
+ },
960
+ "140-237": {
961
+ "text": "One instrument is observed in the center, and there is no evidence of bleeding or foreign bodies.",
962
+ "start": 140,
963
+ "end": 237,
964
+ "type": "correct"
965
+ }
966
+ }
967
+ },
968
+ "d85e5f0c-ec19-4787-9baa-258e7e30d97a.jpg": {
969
+ "original_text": "An image of pylorus. There are no visible abnormalities, polyps, signs of inflammation, bleeding, infection, or foreign bodies. The color of the anatomical landmarks is generally pinkish. There are no instruments present in the image.",
970
+ "corrections": "An image of pylorus. There are no visible abnormalities, polyps,There are small red spots that may be signs of inflammation , bleeding, infection, or foreign bodies. The color of the anatomical landmarks is generally pinkish. There are no instruments present in the image.",
971
+ "annotations": {
972
+ "0-19": {
973
+ "text": "An image of pylorus",
974
+ "start": 0,
975
+ "end": 19,
976
+ "type": "correct"
977
+ },
978
+ "20-126": {
979
+ "text": "There are no visible abnormalities, polyps, signs of inflammation, bleeding, infection, or foreign bodies.",
980
+ "start": 20,
981
+ "end": 126,
982
+ "type": "incorrect"
983
+ },
984
+ "128-187": {
985
+ "text": "The color of the anatomical landmarks is generally pinkish.",
986
+ "start": 128,
987
+ "end": 187,
988
+ "type": "correct"
989
+ },
990
+ "188-234": {
991
+ "text": "There are no instruments present in the image.",
992
+ "start": 188,
993
+ "end": 234,
994
+ "type": "correct"
995
+ }
996
+ }
997
+ },
998
+ "0d4c9fce-f423-40bc-84ca-53f0fb570696.jpg": {
999
+ "original_text": "An image of pylorus. A yellow abnormality, indicative of inflammation or infection, is present. The anatomical landmark is reddish in color. No polyps or instruments are visible. There are signs of inflammation but no evidence of bleeding or foreign bodies.",
1000
+ "corrections": "An image of colon. A yellow abnormality, indicative of inflammation or infection, is present. The anatomical landmark is reddish in color. No polyps or instruments are visible. There are signs of inflammation but no evidence of bleeding or foreign bodies.",
1001
+ "annotations": {
1002
+ "0-20": {
1003
+ "text": "An image of pylorus.",
1004
+ "start": 0,
1005
+ "end": 20,
1006
+ "type": "incorrect"
1007
+ },
1008
+ "21-95": {
1009
+ "text": "A yellow abnormality, indicative of inflammation or infection, is present.",
1010
+ "start": 21,
1011
+ "end": 95,
1012
+ "type": "correct"
1013
+ },
1014
+ "96-140": {
1015
+ "text": "The anatomical landmark is reddish in color.",
1016
+ "start": 96,
1017
+ "end": 140,
1018
+ "type": "correct"
1019
+ },
1020
+ "141-178": {
1021
+ "text": "No polyps or instruments are visible.",
1022
+ "start": 141,
1023
+ "end": 178,
1024
+ "type": "correct"
1025
+ },
1026
+ "179-257": {
1027
+ "text": "There are signs of inflammation but no evidence of bleeding or foreign bodies.",
1028
+ "start": 179,
1029
+ "end": 257,
1030
+ "type": "correct"
1031
+ }
1032
+ }
1033
+ },
1034
+ "8f78862c-4c23-46b1-9282-9a01c26b18cc.jpg": {
1035
+ "original_text": "An image of pylorus. The anatomical landmark is pink in color. There are no polyps, abnormalities, instruments, signs of inflammation, bleeding, infection, or foreign bodies present in the image.",
1036
+ "corrections": "An image of pylorus. The anatomical landmark is pink in color. There are no polyps, abnormalities, instruments, bleeding, infection, or foreign bodies present in the image. There are signs of inflammation.",
1037
+ "annotations": {
1038
+ "0-20": {
1039
+ "text": "An image of pylorus.",
1040
+ "start": 0,
1041
+ "end": 20,
1042
+ "type": "correct"
1043
+ },
1044
+ "21-62": {
1045
+ "text": "The anatomical landmark is pink in color.",
1046
+ "start": 21,
1047
+ "end": 62,
1048
+ "type": "correct"
1049
+ },
1050
+ "63-195": {
1051
+ "text": "There are no polyps, abnormalities, instruments, signs of inflammation, bleeding, infection, or foreign bodies present in the image.",
1052
+ "start": 63,
1053
+ "end": 195,
1054
+ "type": "incorrect"
1055
+ }
1056
+ }
1057
+ }
1058
+ }
epoch_1/Hallucination-Aware-VLM/dataset/Gut-VLM/train_test_split/classwise_test_split/zline_test.json ADDED
The diff for this file is too large to render. See raw diff
 
epoch_1/Hallucination-Aware-VLM/dataset/Gut-VLM/train_test_split/classwise_train_split/cecum_train.json ADDED
The diff for this file is too large to render. See raw diff
 
epoch_1/Hallucination-Aware-VLM/dataset/Gut-VLM/train_test_split/classwise_train_split/dlp_train.json ADDED
The diff for this file is too large to render. See raw diff
 
epoch_1/Hallucination-Aware-VLM/dataset/Gut-VLM/train_test_split/classwise_train_split/drm_train.json ADDED
The diff for this file is too large to render. See raw diff
 
epoch_1/Hallucination-Aware-VLM/dataset/Gut-VLM/train_test_split/classwise_train_split/eso_train.json ADDED
@@ -0,0 +1,1622 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "4b457254-1939-46ff-9ed2-533c4cc0dc25.jpg": {
3
+ "original_text": "An image of z-line. There is a red abnormality in the center, with no polyps visible. The anatomical landmark is pink. There are no instruments, foreign bodies, or signs of infection, but there is evidence of bleeding and inflammation.",
4
+ "corrections": "An image of z-line. There is a red abnormality in the center, with no polyps visible. The anatomical landmark is pink. There are no instruments, foreign bodies, or signs of infection, but there is evidence of bleeding and inflammation.",
5
+ "annotations": {
6
+ "0-19": {
7
+ "text": "An image of z-line.",
8
+ "start": 0,
9
+ "end": 19,
10
+ "type": "correct"
11
+ },
12
+ "19-84": {
13
+ "text": "There is a red abnormality in the center, with no polyps visible.",
14
+ "start": 19,
15
+ "end": 84,
16
+ "type": "correct"
17
+ },
18
+ "85-117": {
19
+ "text": "The anatomical landmark is pink.",
20
+ "start": 85,
21
+ "end": 117,
22
+ "type": "correct"
23
+ },
24
+ "118-234": {
25
+ "text": "There are no instruments, foreign bodies, or signs of infection, but there is evidence of bleeding and inflammation.",
26
+ "start": 118,
27
+ "end": 234,
28
+ "type": "correct"
29
+ }
30
+ }
31
+ },
32
+ "d32bcd37-a17f-4007-a091-a4c951fb146b.jpg": {
33
+ "original_text": "An image of z-line. There are no polyps, foreign bodies, or bleeding, and the white patches are mid-image. Anatomical landmarks are visible but no instruments are present. Signs of inflammation and possible infection are apparent.",
34
+ "corrections": "An image of z-line. There are no polyps, foreign bodies, or bleeding, and the white patches are mid-image. Anatomical landmarks are visible but no instruments are present. Signs of inflammation and possible infection are apparent.",
35
+ "annotations": {
36
+ "0-19": {
37
+ "text": "An image of z-line.",
38
+ "start": 0,
39
+ "end": 19,
40
+ "type": "correct"
41
+ },
42
+ "20-105": {
43
+ "text": "There are no polyps, foreign bodies, or bleeding, and the white patches are mid-image",
44
+ "start": 20,
45
+ "end": 105,
46
+ "type": "correct"
47
+ },
48
+ "105-106": {
49
+ "text": ".",
50
+ "start": 105,
51
+ "end": 106,
52
+ "type": "correct"
53
+ },
54
+ "107-171": {
55
+ "text": "Anatomical landmarks are visible but no instruments are present.",
56
+ "start": 107,
57
+ "end": 171,
58
+ "type": "correct"
59
+ },
60
+ "172-230": {
61
+ "text": "Signs of inflammation and possible infection are apparent.",
62
+ "start": 172,
63
+ "end": 230,
64
+ "type": "correct"
65
+ }
66
+ }
67
+ },
68
+ "ceb61e27-08b3-4887-8bde-3c8f6c537e28.jpg": {
69
+ "original_text": "An image of z-line. There is a reddish abnormality present possibly indicating inflammation located centrally. The anatomical landmark, possibly an esophageal structure, is pinkish. No polyps, instruments, foreign bodies, or evidence of bleeding or infection are visible.",
70
+ "corrections": "An image of z-line. There is a reddish abnormality present possibly indicating inflammation located centrally. The anatomical landmark, possibly an esophageal structure, is pinkish. No polyps, instruments, foreign bodies, or evidence of bleeding or infection are visible.",
71
+ "annotations": {
72
+ "0-18": {
73
+ "text": "An image of z-line",
74
+ "start": 0,
75
+ "end": 18,
76
+ "type": "correct"
77
+ },
78
+ "17-19": {
79
+ "text": "e.",
80
+ "start": 17,
81
+ "end": 19,
82
+ "type": "correct"
83
+ },
84
+ "20-110": {
85
+ "text": "There is a reddish abnormality present possibly indicating inflammation located centrally.",
86
+ "start": 20,
87
+ "end": 110,
88
+ "type": "correct"
89
+ },
90
+ "110-180": {
91
+ "text": "The anatomical landmark, possibly an esophageal structure, is pinkish.",
92
+ "start": 110,
93
+ "end": 180,
94
+ "type": "correct"
95
+ },
96
+ "181-270": {
97
+ "text": "No polyps, instruments, foreign bodies, or evidence of bleeding or infection are visible.",
98
+ "start": 181,
99
+ "end": 270,
100
+ "type": "correct"
101
+ }
102
+ }
103
+ },
104
+ "45f34c02-4188-4486-9f03-32b61c1eda19.jpg": {
105
+ "original_text": "An image of z-line. There is a small, white abnormality present in the center. The anatomical landmark is a pinkish esophagus. No polyps, instruments, inflammation, bleeding, foreign bodies, or infection signs are visible.",
106
+ "corrections": "An image of z-line. There is a small, white abnormality present in the center. The anatomical landmark is a pinkish esophagus. No polyps, instruments, inflammation, bleeding, foreign bodies, or infection signs are visible.",
107
+ "annotations": {
108
+ "0-19": {
109
+ "text": "An image of z-line.",
110
+ "start": 0,
111
+ "end": 19,
112
+ "type": "correct"
113
+ },
114
+ "20-78": {
115
+ "text": "There is a small, white abnormality present in the center.",
116
+ "start": 20,
117
+ "end": 78,
118
+ "type": "correct"
119
+ },
120
+ "79-126": {
121
+ "text": "The anatomical landmark is a pinkish esophagus.",
122
+ "start": 79,
123
+ "end": 126,
124
+ "type": "correct"
125
+ },
126
+ "127-222": {
127
+ "text": "No polyps, instruments, inflammation, bleeding, foreign bodies, or infection signs are visible.",
128
+ "start": 127,
129
+ "end": 222,
130
+ "type": "correct"
131
+ }
132
+ }
133
+ },
134
+ "ef42ce38-be0b-4f74-9a2b-61c191e25a1b.jpg": {
135
+ "original_text": "An image of z-line. It displays anatomical landmarks without any instruments, signs of infection, or evidence of bleeding. The abnormalities are located throughout the visible mucosal surface.",
136
+ "corrections": "An image of z-line. It displays anatomical landmarks without any instruments, signs of infection, or evidence of bleeding. The abnormalities are located throughout the visible mucosal surface.",
137
+ "annotations": {
138
+ "0-19": {
139
+ "text": "An image of z-line.",
140
+ "start": 0,
141
+ "end": 19,
142
+ "type": "correct"
143
+ },
144
+ "20-122": {
145
+ "text": "It displays anatomical landmarks without any instruments, signs of infection, or evidence of bleeding.",
146
+ "start": 20,
147
+ "end": 122,
148
+ "type": "correct"
149
+ },
150
+ "123-192": {
151
+ "text": "The abnormalities are located throughout the visible mucosal surface.",
152
+ "start": 123,
153
+ "end": 192,
154
+ "type": "correct"
155
+ }
156
+ }
157
+ },
158
+ "e01448e1-7641-4da3-a26d-a961ef1ec4bb.jpg": {
159
+ "original_text": "An image of z-line. The image shows no visible abnormalities, polyps, foreign bodies, signs of inflammation, infection, or bleeding. The anatomical landmark is pale pink. No instruments are present in the image.",
160
+ "corrections": "An image of z-line. The image shows visible singe of inflamition, there are no polyps, foreign bodies, signs of inflammation, infection, or bleeding. The anatomical landmark is pale pink. No instruments are present in the image.",
161
+ "annotations": {
162
+ "0-19": {
163
+ "text": "An image of z-line.",
164
+ "start": 0,
165
+ "end": 19,
166
+ "type": "correct"
167
+ },
168
+ "20-132": {
169
+ "text": "The image shows no visible abnormalities, polyps, foreign bodies, signs of inflammation, infection, or bleeding.",
170
+ "start": 20,
171
+ "end": 132,
172
+ "type": "incorrect"
173
+ },
174
+ "133-170": {
175
+ "text": "The anatomical landmark is pale pink.",
176
+ "start": 133,
177
+ "end": 170,
178
+ "type": "correct"
179
+ },
180
+ "171-211": {
181
+ "text": "No instruments are present in the image.",
182
+ "start": 171,
183
+ "end": 211,
184
+ "type": "correct"
185
+ }
186
+ }
187
+ },
188
+ "9e6cc395-00a4-4315-bf4d-69a0f2114f25.jpg": {
189
+ "original_text": "An image of z-line. There is no noticeable polyp, infection, or foreign body, but an abnormality, possibly inflammation, appears in reddish color near the center. An anatomical landmark is also present. No instruments or signs of bleeding are visible.",
190
+ "corrections": "An image of z-line. There is no noticeable polyp, infection, or foreign body, but an abnormality, possibly inflammation, appears in reddish color near the center. An anatomical landmark is also present. No instruments or signs of bleeding are visible.",
191
+ "annotations": {
192
+ "0-19": {
193
+ "text": "An image of z-line.",
194
+ "start": 0,
195
+ "end": 19,
196
+ "type": "correct"
197
+ },
198
+ "20-162": {
199
+ "text": "There is no noticeable polyp, infection, or foreign body, but an abnormality, possibly inflammation, appears in reddish color near the center.",
200
+ "start": 20,
201
+ "end": 162,
202
+ "type": "correct"
203
+ },
204
+ "163-202": {
205
+ "text": "An anatomical landmark is also present.",
206
+ "start": 163,
207
+ "end": 202,
208
+ "type": "correct"
209
+ },
210
+ "203-251": {
211
+ "text": "No instruments or signs of bleeding are visible.",
212
+ "start": 203,
213
+ "end": 251,
214
+ "type": "correct"
215
+ }
216
+ }
217
+ },
218
+ "31861d8d-6ce1-4b26-a589-316cef223ee1.jpg": {
219
+ "original_text": "An image of pylorus. Yellow and red abnormalities indicating signs of possible inflammation and infection are present. No polyps or instruments are visible. Signs of inflammation and potential bleeding are evident, but there are no visible polyps or foreign bodies. Anatomical landmarks are visible as pinkish tissue structures.",
220
+ "corrections": "An image of z-line. Yellow and red abnormalities indicating signs of possible inflammation and infection are present. No polyps or instruments are visible. Signs of inflammation and potential bleeding are evident, but there are no visible polyps or foreign bodies. Anatomical landmarks are visible as pinkish tissue structures.",
221
+ "annotations": {
222
+ "0-20": {
223
+ "text": "An image of pylorus.",
224
+ "start": 0,
225
+ "end": 20,
226
+ "type": "incorrect"
227
+ },
228
+ "21-118": {
229
+ "text": "Yellow and red abnormalities indicating signs of possible inflammation and infection are present.",
230
+ "start": 21,
231
+ "end": 118,
232
+ "type": "correct"
233
+ },
234
+ "119-156": {
235
+ "text": "No polyps or instruments are visible.",
236
+ "start": 119,
237
+ "end": 156,
238
+ "type": "correct"
239
+ },
240
+ "157-265": {
241
+ "text": "Signs of inflammation and potential bleeding are evident, but there are no visible polyps or foreign bodies.",
242
+ "start": 157,
243
+ "end": 265,
244
+ "type": "incorrect"
245
+ },
246
+ "265-327": {
247
+ "text": "Anatomical landmarks are visible as pinkish tissue structures.",
248
+ "start": 265,
249
+ "end": 327,
250
+ "type": "correct"
251
+ }
252
+ }
253
+ },
254
+ "9c396983-c8b5-4704-8dac-6e1d8a9589bf.jpg": {
255
+ "original_text": "An image of z-line. The surrounding tissue is a normal pink color with no visible polyps, anatomical landmarks, instruments, signs of inflammation, bleeding, foreign bodies, or infections.",
256
+ "corrections": "An image of z-line. There is an extension of columnar mucosa above Z line suggestive of Barrett's esophagus. No instruments, polyps, infection, or bleeding are visible.",
257
+ "annotations": {
258
+ "0-19": {
259
+ "text": "An image of z-line.",
260
+ "start": 0,
261
+ "end": 19,
262
+ "type": "correct"
263
+ },
264
+ "19-187": {
265
+ "text": "The surrounding tissue is a normal pink color with no visible polyps, anatomical landmarks, instruments, signs of inflammation, bleeding, foreign bodies, or infections.",
266
+ "start": 19,
267
+ "end": 187,
268
+ "type": "incorrect"
269
+ }
270
+ }
271
+ },
272
+ "dd2169cb-7206-4dc3-b7ad-6c09cc40b299.jpg": {
273
+ "original_text": "An image of pylorus. The abnormality, if present, is red while the anatomical landmark appears pink. There are no polyps, instruments, signs of inflammation, bleeding, foreign bodies, or infection visible. The abnormality, if any, is in the middle.",
274
+ "corrections": "An image of z-line. No abnormalities, polyps, instruments, or foreign bodies are present. There are signs of inflammation but no evidence of bleeding or infection. ",
275
+ "annotations": {
276
+ "0-19": {
277
+ "text": "An image of pylorus",
278
+ "type": "incorrect",
279
+ "start": 0,
280
+ "end": 19
281
+ },
282
+ "21-100": {
283
+ "text": "The abnormality, if present, is red while the anatomical landmark appears pink.",
284
+ "type": "incorrect",
285
+ "start": 21,
286
+ "end": 100
287
+ },
288
+ "101-205": {
289
+ "text": "There are no polyps, instruments, signs of inflammation, bleeding, foreign bodies, or infection visible.",
290
+ "type": "correct",
291
+ "start": 101,
292
+ "end": 205
293
+ },
294
+ "206-248": {
295
+ "text": "The abnormality, if any, is in the middle.",
296
+ "type": "incorrect",
297
+ "start": 206,
298
+ "end": 248
299
+ }
300
+ }
301
+ },
302
+ "a25a6213-262d-4a96-9025-ab679377a066.jpg": {
303
+ "original_text": "An image of z-line. The abnormality is white, with no anatomical landmarks or polyps visible. The abnormalities are present in the middle-right part of the image, showing no instruments, inflammation, bleeding, foreign bodies, or signs of infection.",
304
+ "corrections": "An image of z-line. The abnormality is white, with no anatomical landmarks or polyps visible. The abnormalities are present in the middle-right part of the image, showing no instruments, inflammation, bleeding, foreign bodies, or signs of infection.",
305
+ "annotations": {
306
+ "0-19": {
307
+ "text": "An image of z-line.",
308
+ "start": 0,
309
+ "end": 19,
310
+ "type": "correct"
311
+ },
312
+ "20-93": {
313
+ "text": "The abnormality is white, with no anatomical landmarks or polyps visible.",
314
+ "start": 20,
315
+ "end": 93,
316
+ "type": "correct"
317
+ },
318
+ "94-249": {
319
+ "text": "The abnormalities are present in the middle-right part of the image, showing no instruments, inflammation, bleeding, foreign bodies, or signs of infection.",
320
+ "start": 94,
321
+ "end": 249,
322
+ "type": "correct"
323
+ }
324
+ }
325
+ },
326
+ "a1a08fcc-daba-476f-b673-0089c667ce86.jpg": {
327
+ "original_text": "An image of z-line. There is a red abnormality suggesting inflammation. The anatomical landmark, likely the esophagus, is also present. No polyps, instruments, signs of bleeding, or foreign bodies are visible. The inflammation is distributed along the esophageal lining. No evidence of bleeding is noted.",
328
+ "corrections": "An image of z-line. There is a red abnormality suggesting inflammation. The anatomical landmark, likely the esophagus, is also present. No polyps, instruments, signs of bleeding, or foreign bodies are visible. The inflammation is distributed along the esophageal lining. No evidence of bleeding is noted.",
329
+ "annotations": {
330
+ "0-19": {
331
+ "text": "An image of z-line.",
332
+ "start": 0,
333
+ "end": 19,
334
+ "type": "correct"
335
+ },
336
+ "20-71": {
337
+ "text": "There is a red abnormality suggesting inflammation.",
338
+ "start": 20,
339
+ "end": 71,
340
+ "type": "correct"
341
+ },
342
+ "72-135": {
343
+ "text": "The anatomical landmark, likely the esophagus, is also present.",
344
+ "start": 72,
345
+ "end": 135,
346
+ "type": "correct"
347
+ },
348
+ "136-209": {
349
+ "text": "No polyps, instruments, signs of bleeding, or foreign bodies are visible.",
350
+ "start": 136,
351
+ "end": 209,
352
+ "type": "correct"
353
+ },
354
+ "210-270": {
355
+ "text": "The inflammation is distributed along the esophageal lining.",
356
+ "start": 210,
357
+ "end": 270,
358
+ "type": "correct"
359
+ },
360
+ "271-304": {
361
+ "text": "No evidence of bleeding is noted.",
362
+ "start": 271,
363
+ "end": 304,
364
+ "type": "correct"
365
+ }
366
+ }
367
+ },
368
+ "fd4b4be4-171c-4e5c-b8b1-3e9896eb073d.jpg": {
369
+ "original_text": "An image of z-line. The anatomical landmark is pinkish and there are no instruments or foreign bodies present. The abnormalities, if any, are located primarily on the lower right area of the image.",
370
+ "corrections": "An image of z-line. The anatomical landmark is pinkish and there are no instruments or foreign bodies present. The abnormalities, if any, are located primarily on the lower right area of the image.",
371
+ "annotations": {
372
+ "0-19": {
373
+ "text": "An image of z-line.",
374
+ "start": 0,
375
+ "end": 19,
376
+ "type": "correct"
377
+ },
378
+ "20-110": {
379
+ "text": "The anatomical landmark is pinkish and there are no instruments or foreign bodies present.",
380
+ "start": 20,
381
+ "end": 110,
382
+ "type": "correct"
383
+ },
384
+ "111-197": {
385
+ "text": "The abnormalities, if any, are located primarily on the lower right area of the image.",
386
+ "start": 111,
387
+ "end": 197,
388
+ "type": "correct"
389
+ }
390
+ }
391
+ },
392
+ "d18c0598-5747-4f2c-9f79-7bb2fae51740.jpg": {
393
+ "original_text": "An image of pylorus. There are no visible polyps, anatomical landmarks, instruments, foreign bodies, or signs of infection. The primary concern seems to be the evident abnormality.",
394
+ "corrections": "An image of z-line. There are no visible polyps, anatomical landmarks, instruments, foreign bodies, or signs of infection. The primary concern seems to be the evident abnormality.",
395
+ "annotations": {
396
+ "21-123": {
397
+ "text": "There are no visible polyps, anatomical landmarks, instruments, foreign bodies, or signs of infection.",
398
+ "start": 21,
399
+ "end": 123,
400
+ "type": "correct"
401
+ },
402
+ "124-180": {
403
+ "text": "The primary concern seems to be the evident abnormality.",
404
+ "start": 124,
405
+ "end": 180,
406
+ "type": "correct"
407
+ }
408
+ }
409
+ },
410
+ "5a3f8d66-6413-4b4c-987b-b76b1119a126.jpg": {
411
+ "original_text": "An image of z-line. The anatomical landmark is pink, and there are signs of inflammation and no evidence of bleeding or infection. No instruments are visible in the image.",
412
+ "corrections": "An image of z-line. The anatomical landmark is pink, and there are signs of inflammation and no evidence of bleeding or infection. No instruments are visible in the image.",
413
+ "annotations": {
414
+ "0-18": {
415
+ "text": "An image of z-line",
416
+ "start": 0,
417
+ "end": 18,
418
+ "type": "correct"
419
+ },
420
+ "20-130": {
421
+ "text": "The anatomical landmark is pink, and there are signs of inflammation and no evidence of bleeding or infection.",
422
+ "start": 20,
423
+ "end": 130,
424
+ "type": "correct"
425
+ },
426
+ "131-171": {
427
+ "text": "No instruments are visible in the image.",
428
+ "start": 131,
429
+ "end": 171,
430
+ "type": "correct"
431
+ }
432
+ }
433
+ },
434
+ "30bbc4ab-ba6e-4949-b890-8a4657d1ee61.jpg": {
435
+ "original_text": "An image of z-line. The abnormality, if present, is reddish, with the anatomical landmark appearing pinkish. No polyps or foreign bodies are seen, nor instruments. There is evidence of inflammation, slight bleeding, and no signs of infection. Abnormalities are located towards the middle-left area of the image.",
436
+ "corrections": "An image of z-line. The abnormality, if present, is reddish, with the anatomical landmark appearing pinkish. No polyps or foreign bodies are seen, nor instruments. There is evidence of inflammation, slight bleeding, and no signs of infection. Abnormalities are located towards the middle-left area of the image.",
437
+ "annotations": {
438
+ "0-19": {
439
+ "text": "An image of z-line.",
440
+ "start": 0,
441
+ "end": 19,
442
+ "type": "correct"
443
+ },
444
+ "20-108": {
445
+ "text": "The abnormality, if present, is reddish, with the anatomical landmark appearing pinkish.",
446
+ "start": 20,
447
+ "end": 108,
448
+ "type": "correct"
449
+ },
450
+ "109-163": {
451
+ "text": "No polyps or foreign bodies are seen, nor instruments.",
452
+ "start": 109,
453
+ "end": 163,
454
+ "type": "correct"
455
+ },
456
+ "164-242": {
457
+ "text": "There is evidence of inflammation, slight bleeding, and no signs of infection.",
458
+ "start": 164,
459
+ "end": 242,
460
+ "type": "correct"
461
+ },
462
+ "243-311": {
463
+ "text": "Abnormalities are located towards the middle-left area of the image.",
464
+ "start": 243,
465
+ "end": 311,
466
+ "type": "correct"
467
+ }
468
+ }
469
+ },
470
+ "c7dc87ed-9548-4422-8841-40f6a6fc8dd1.jpg": {
471
+ "original_text": "An image of z-line. There are no visible polyps, foreign bodies, or instruments, and no clear anatomical landmarks, signs of inflammation, or infection. The abnormality, primarily bleeding, is located at the bottom left of the image.",
472
+ "corrections": "An image of z-line. There are no visible polyps, foreign bodies, or instruments, and no clear anatomical landmarks, signs of inflammation, or infection. The abnormality, primarily bleeding, is located at the bottom left of the image.",
473
+ "annotations": {
474
+ "0-19": {
475
+ "text": "An image of z-line.",
476
+ "start": 0,
477
+ "end": 19,
478
+ "type": "correct"
479
+ },
480
+ "20-152": {
481
+ "text": "There are no visible polyps, foreign bodies, or instruments, and no clear anatomical landmarks, signs of inflammation, or infection.",
482
+ "start": 20,
483
+ "end": 152,
484
+ "type": "correct"
485
+ },
486
+ "153-233": {
487
+ "text": "The abnormality, primarily bleeding, is located at the bottom left of the image.",
488
+ "start": 153,
489
+ "end": 233,
490
+ "type": "correct"
491
+ }
492
+ }
493
+ },
494
+ "328c76df-f2c7-4052-8b6a-2d31fee0908b.jpg": {
495
+ "original_text": "An image of pylorus. There is a reddish abnormality near the center-left. The anatomical landmark is pinkish. No polyps or instruments are visible. There are mild signs of inflammation, but no evidence of bleeding, infection, or foreign bodies.",
496
+ "corrections": "An image of z-line. The anatomical landmark is pinkish. No polyps or instruments are visible. There are mild signs of inflammation, but no evidence of bleeding, infection, or foreign bodies.",
497
+ "annotations": {
498
+ "0-20": {
499
+ "text": "An image of pylorus.",
500
+ "type": "incorrect",
501
+ "start": 0,
502
+ "end": 20
503
+ },
504
+ "21-73": {
505
+ "text": "There is a reddish abnormality near the center-left.",
506
+ "type": "correct",
507
+ "start": 21,
508
+ "end": 73
509
+ },
510
+ "74-109": {
511
+ "text": "The anatomical landmark is pinkish.",
512
+ "type": "correct",
513
+ "start": 74,
514
+ "end": 109
515
+ },
516
+ "110-147": {
517
+ "text": "No polyps or instruments are visible.",
518
+ "type": "correct",
519
+ "start": 110,
520
+ "end": 147
521
+ },
522
+ "148-244": {
523
+ "text": "There are mild signs of inflammation, but no evidence of bleeding, infection, or foreign bodies.",
524
+ "type": "correct",
525
+ "start": 148,
526
+ "end": 244
527
+ }
528
+ }
529
+ },
530
+ "48ea43aa-0e90-421c-a0ff-807b5a136d04.jpg": {
531
+ "original_text": "An image of z-line. There is an abnormality present, which is reddish in color and located centrally in the image. There are no visible polyps, anatomical landmarks, instruments, signs of inflammation, evidence of bleeding, foreign bodies, or signs of infection.",
532
+ "corrections": "An image of z-line. There is an abnormality present, which is reddish in color and located centrally in the image. There are no visible polyps, instruments, signs of inflammation, evidence of bleeding, foreign bodies, or signs of infection. The anatomical landmark, the esophageal opening, is predominantly pink in color.",
533
+ "annotations": {
534
+ "0-19": {
535
+ "text": "An image of z-line.",
536
+ "start": 0,
537
+ "end": 19,
538
+ "type": "correct"
539
+ },
540
+ "20-114": {
541
+ "text": "There is an abnormality present, which is reddish in color and located centrally in the image.",
542
+ "start": 20,
543
+ "end": 114,
544
+ "type": "correct"
545
+ },
546
+ "115-262": {
547
+ "text": "There are no visible polyps, anatomical landmarks, instruments, signs of inflammation, evidence of bleeding, foreign bodies, or signs of infection.",
548
+ "start": 115,
549
+ "end": 262,
550
+ "type": "incorrect"
551
+ }
552
+ }
553
+ },
554
+ "09a1e1ed-bdbb-4535-bd83-cdd28e26d5ee.jpg": {
555
+ "original_text": "An image of z-line. There are several polyps present, which are reddish in color. No abnormalities like signs of infection, foreign bodies, or evidence of bleeding are noted. There is no visible inflammation, instruments, or anatomical landmarks identifiable in the image.",
556
+ "corrections": "An image of z-line. There are several polyps present, which are reddish in color. The anatomical landmark of the squamocolumnar junction showed two healed ulcers with a polypoid mucosal change. There are no polyps, instruments, bleeding, inflammation or infection present in the image.",
557
+ "annotations": {
558
+ "0-19": {
559
+ "text": "An image of z-line.",
560
+ "start": 0,
561
+ "end": 19,
562
+ "type": "correct"
563
+ },
564
+ "20-81": {
565
+ "text": "There are several polyps present, which are reddish in color.",
566
+ "start": 20,
567
+ "end": 81,
568
+ "type": "correct"
569
+ },
570
+ "82-174": {
571
+ "text": "No abnormalities like signs of infection, foreign bodies, or evidence of bleeding are noted.",
572
+ "start": 82,
573
+ "end": 174,
574
+ "type": "incorrect"
575
+ },
576
+ "175-272": {
577
+ "text": "There is no visible inflammation, instruments, or anatomical landmarks identifiable in the image.",
578
+ "start": 175,
579
+ "end": 272,
580
+ "type": "incorrect"
581
+ }
582
+ }
583
+ },
584
+ "cc4ea119-4407-483f-af61-96c18d5a525a.jpg": {
585
+ "original_text": "An image of z-line. An abnormality is present, indicated by a yellowish substance on the right, with the rest of the tissue appearing normal and pink. No polyps, instruments, bleeding, foreign bodies, or signs of infection are visible. The anatomical landmark is the esophageal lining, and there are no signs of inflammation.",
586
+ "corrections": "An image of z-line. The tissue appears pink. No polyps, instruments, bleeding, foreign bodies, or signs of infection are visible. The anatomical landmark is the esophageal lining, and there are signs of inflammation.",
587
+ "annotations": {
588
+ "0-18": {
589
+ "text": "An image of z-line",
590
+ "start": 0,
591
+ "end": 18,
592
+ "type": "correct"
593
+ },
594
+ "20-150": {
595
+ "text": "An abnormality is present, indicated by a yellowish substance on the right, with the rest of the tissue appearing normal and pink.",
596
+ "start": 20,
597
+ "end": 150,
598
+ "type": "incorrect"
599
+ },
600
+ "151-235": {
601
+ "text": "No polyps, instruments, bleeding, foreign bodies, or signs of infection are visible.",
602
+ "start": 151,
603
+ "end": 235,
604
+ "type": "correct"
605
+ },
606
+ "235-324": {
607
+ "text": "The anatomical landmark is the esophageal lining, and there are no signs of inflammation.",
608
+ "start": 235,
609
+ "end": 324,
610
+ "type": "incorrect"
611
+ }
612
+ }
613
+ },
614
+ "e44efc36-49f0-4dd7-bea8-1b07d21d7063.jpg": {
615
+ "original_text": "An image of Normal Cecum The abnormality is yellowish-white, and there is no distinct anatomical landmark highlighted. No polyps or instruments are present. Mild signs of inflammation are evident, with no inflammation, significant bleeding, foreign bodies, or signs of infection.",
616
+ "corrections": "An image of z-line. The abnormality is yellowish-white, and the anatomical landmark, the esophageal opening, is predominantly pink in color. No polyps or instruments are present. Mild signs of inflammation are evident, with no inflammation, significant bleeding, foreign bodies, or signs of infection.",
617
+ "annotations": {
618
+ "0-118": {
619
+ "text": "An image of Normal Cecum The abnormality is yellowish-white, and there is no distinct anatomical landmark highlighted.",
620
+ "start": 0,
621
+ "end": 118,
622
+ "type": "incorrect"
623
+ },
624
+ "119-156": {
625
+ "text": "No polyps or instruments are present.",
626
+ "start": 119,
627
+ "end": 156,
628
+ "type": "correct"
629
+ },
630
+ "157-279": {
631
+ "text": "Mild signs of inflammation are evident, with no inflammation, significant bleeding, foreign bodies, or signs of infection.",
632
+ "start": 157,
633
+ "end": 279,
634
+ "type": "correct"
635
+ }
636
+ }
637
+ },
638
+ "32944763-eed7-472e-bde9-74caf126805c.jpg": {
639
+ "original_text": "An image of z-line. The abnormality, if present, is of a similar color to the surrounding tissue. The anatomical landmarks are pink. There are no polyps, inflammation, bleeding, foreign bodies, signs of infection, or visible instruments. The abnormality, if any, is located centrally.",
640
+ "corrections": "An image of z-line. The abnormality, if present, is of a similar color to the surrounding tissue. The anatomical landmarks are pink. There are no polyps, inflammation, bleeding, foreign bodies, signs of infection, or visible instruments. The abnormality, if any, is located centrally.",
641
+ "annotations": {
642
+ "0-19": {
643
+ "text": "An image of z-line.",
644
+ "start": 0,
645
+ "end": 19,
646
+ "type": "correct"
647
+ },
648
+ "20-97": {
649
+ "text": "The abnormality, if present, is of a similar color to the surrounding tissue.",
650
+ "start": 20,
651
+ "end": 97,
652
+ "type": "correct"
653
+ },
654
+ "98-132": {
655
+ "text": "The anatomical landmarks are pink.",
656
+ "start": 98,
657
+ "end": 132,
658
+ "type": "correct"
659
+ },
660
+ "133-237": {
661
+ "text": "There are no polyps, inflammation, bleeding, foreign bodies, signs of infection, or visible instruments.",
662
+ "start": 133,
663
+ "end": 237,
664
+ "type": "correct"
665
+ },
666
+ "238-284": {
667
+ "text": "The abnormality, if any, is located centrally.",
668
+ "start": 238,
669
+ "end": 284,
670
+ "type": "correct"
671
+ }
672
+ }
673
+ },
674
+ "cfc39f0a-8aad-4d91-9cf6-899abc19fb43.jpg": {
675
+ "original_text": "An image of z-line. There are no polyps, anatomical landmarks, instruments, foreign bodies, or signs of inflammation or infection visible in the image.",
676
+ "corrections": "An image of z-line. There are no polyps, instruments, foreign bodies, or signs of inflammation or infection visible in the image. The anatomical landmark, the esophageal opening, is predominantly pink in color. There is bleeding.",
677
+ "annotations": {
678
+ "0-19": {
679
+ "text": "An image of z-line.",
680
+ "start": 0,
681
+ "end": 19,
682
+ "type": "correct"
683
+ },
684
+ "20-151": {
685
+ "text": "There are no polyps, anatomical landmarks, instruments, foreign bodies, or signs of inflammation or infection visible in the image.",
686
+ "start": 20,
687
+ "end": 151,
688
+ "type": "incorrect"
689
+ }
690
+ }
691
+ },
692
+ "f9e93f45-4430-4087-a13d-daf39f99acaf.jpg": {
693
+ "original_text": "An image of pylorus. There is an abnormality that appears red, with anatomical landmarks visible but no polyps or instruments. There are signs of inflammation, but no evident bleeding, foreign bodies, or infection.",
694
+ "corrections": "An image of z-line. There is an abnormality that appears red. The anatomical landmark, the esophageal opening, is predominantly pink in color. There are signs of inflammation, but no evident bleeding, foreign bodies, instruments or infection.There is one polyp present in the center of the image.",
695
+ "annotations": {
696
+ "0-20": {
697
+ "text": "An image of pylorus.",
698
+ "start": 0,
699
+ "end": 20,
700
+ "type": "incorrect"
701
+ },
702
+ "21-126": {
703
+ "text": "There is an abnormality that appears red, with anatomical landmarks visible but no polyps or instruments.",
704
+ "start": 21,
705
+ "end": 126,
706
+ "type": "incorrect"
707
+ },
708
+ "126-213": {
709
+ "text": "There are signs of inflammation, but no evident bleeding, foreign bodies, or infection.",
710
+ "start": 126,
711
+ "end": 213,
712
+ "type": "correct"
713
+ }
714
+ }
715
+ },
716
+ "396ba775-4e3b-4152-879d-378925818605.jpg": {
717
+ "original_text": "An image of z-line. There is an abnormality with a red color, located centrally in the image. No polyps, instruments, foreign bodies, or anatomical landmarks are visible. Signs of inflammation are present, but there is no evidence of bleeding or infection.",
718
+ "corrections": "An image of z-line. There is an abnormality with a red color, located centrally in the image. No polyps, instruments, foreign bodies, or anatomical landmarks are visible. Signs of inflammation are present, but there is no evidence of bleeding or infection.",
719
+ "annotations": {
720
+ "0-18": {
721
+ "text": "An image of z-line",
722
+ "start": 0,
723
+ "end": 18,
724
+ "type": "correct"
725
+ },
726
+ "20-93": {
727
+ "text": "There is an abnormality with a red color, located centrally in the image.",
728
+ "start": 20,
729
+ "end": 93,
730
+ "type": "correct"
731
+ },
732
+ "94-170": {
733
+ "text": "No polyps, instruments, foreign bodies, or anatomical landmarks are visible.",
734
+ "start": 94,
735
+ "end": 170,
736
+ "type": "correct"
737
+ },
738
+ "171-256": {
739
+ "text": "Signs of inflammation are present, but there is no evidence of bleeding or infection.",
740
+ "start": 171,
741
+ "end": 256,
742
+ "type": "correct"
743
+ }
744
+ }
745
+ },
746
+ "38ee65bf-9078-4f74-9c87-7ef6d6e5d058.jpg": {
747
+ "original_text": "An image of pylorus. An abnormality is present and appears reddish. The anatomical landmark is pink. No polyps or instruments are visible. Signs of inflammation and possible bleeding are observed, but no foreign bodies or signs of infection are present.",
748
+ "corrections": "An image of z-line. The anatomical landmark is pink. No polyps or instruments are visible. Signs of inflammation and possible bleeding are observed, but no foreign bodies or signs of infection are present.",
749
+ "annotations": {
750
+ "0-20": {
751
+ "text": "An image of pylorus.",
752
+ "type": "incorrect",
753
+ "start": 0,
754
+ "end": 20
755
+ },
756
+ "21-66": {
757
+ "text": "An abnormality is present and appears reddish",
758
+ "type": "incorrect",
759
+ "start": 21,
760
+ "end": 66
761
+ },
762
+ "68-101": {
763
+ "text": "The anatomical landmark is pink. ",
764
+ "type": "correct",
765
+ "start": 68,
766
+ "end": 101
767
+ },
768
+ "101-138": {
769
+ "text": "No polyps or instruments are visible.",
770
+ "type": "correct",
771
+ "start": 101,
772
+ "end": 138
773
+ },
774
+ "139-253": {
775
+ "text": "Signs of inflammation and possible bleeding are observed, but no foreign bodies or signs of infection are present.",
776
+ "type": "correct",
777
+ "start": 139,
778
+ "end": 253
779
+ }
780
+ }
781
+ },
782
+ "bb431dba-53d0-4dcd-a7bb-abea677d07e2.jpg": {
783
+ "original_text": "An image of z-line. No medical instruments are present in the image.",
784
+ "corrections": "An image of z-line. No polyps, infection, instruments, bleeding or inflammation is apparent.",
785
+ "annotations": {
786
+ "0-19": {
787
+ "text": "An image of z-line.",
788
+ "start": 0,
789
+ "end": 19,
790
+ "type": "correct"
791
+ },
792
+ "20-68": {
793
+ "text": "No medical instruments are present in the image.",
794
+ "start": 20,
795
+ "end": 68,
796
+ "type": "correct"
797
+ }
798
+ }
799
+ },
800
+ "c5570744-02f2-454f-8936-e357d9ba934c.jpg": {
801
+ "original_text": "An image of z-line. There is an abnormality present, which appears as a yellowish area located centrally. There are no visible polyps, instruments, signs of inflammation, bleeding, foreign bodies, or infection.",
802
+ "corrections": "An image of z-line. There is an abnormality present, which appears as a yellowish area located centrally. There are no visible polyps, instruments, signs of inflammation, bleeding, foreign bodies, or infection. The anatomical landmark, the esophageal opening, is predominantly pink in color. ",
803
+ "annotations": {
804
+ "0-19": {
805
+ "text": "An image of z-line.",
806
+ "start": 0,
807
+ "end": 19,
808
+ "type": "correct"
809
+ },
810
+ "18-19": {
811
+ "text": ".",
812
+ "start": 18,
813
+ "end": 19,
814
+ "type": "correct"
815
+ },
816
+ "20-105": {
817
+ "text": "There is an abnormality present, which appears as a yellowish area located centrally.",
818
+ "start": 20,
819
+ "end": 105,
820
+ "type": "correct"
821
+ },
822
+ "106-210": {
823
+ "text": "There are no visible polyps, instruments, signs of inflammation, bleeding, foreign bodies, or infection.",
824
+ "start": 106,
825
+ "end": 210,
826
+ "type": "correct"
827
+ }
828
+ }
829
+ },
830
+ "264c03bf-a4e1-4dae-9b7b-6550822fa2f3.jpg": {
831
+ "original_text": "An image of z-line. The anatomical structure seems mostly healthy, with no apparent abnormalities, polyps, signs of inflammation, bleeding, infection, or foreign bodies present. There are no instruments visible in the image.",
832
+ "corrections": "An image of z-line. The anatomical structure seems mostly healthy, with no apparent abnormalities, polyps, signs of bleeding, infection, or foreign bodies present. There are no instruments visible in the image. There are signs of minor inflammation.",
833
+ "annotations": {
834
+ "0-19": {
835
+ "text": "An image of z-line.",
836
+ "start": 0,
837
+ "end": 19,
838
+ "type": "correct"
839
+ },
840
+ "20-177": {
841
+ "text": "The anatomical structure seems mostly healthy, with no apparent abnormalities, polyps, signs of inflammation, bleeding, infection, or foreign bodies present.",
842
+ "start": 20,
843
+ "end": 177,
844
+ "type": "correct"
845
+ },
846
+ "178-224": {
847
+ "text": "There are no instruments visible in the image.",
848
+ "start": 178,
849
+ "end": 224,
850
+ "type": "correct"
851
+ }
852
+ }
853
+ },
854
+ "86739b62-e86c-49f9-8d9c-2615d8a9a0a1.jpg": {
855
+ "original_text": "An image of pylorus. The abnormality present is red. There are no clearly identifiable anatomical landmarks or polyps, but signs of inflammation and potential bleeding are visible. No instruments, foreign bodies, or signs of infection are evident in the image.",
856
+ "corrections": "An image of z-line. The abnormality present is red. The anatomical landmark esophageal opening. No polyps, but signs of inflammation and potential bleeding are visible. No instruments, foreign bodies, or signs of infection are evident in the image.",
857
+ "annotations": {
858
+ "0-20": {
859
+ "text": "An image of pylorus.",
860
+ "start": 0,
861
+ "end": 20,
862
+ "type": "incorrect"
863
+ },
864
+ "20-51": {
865
+ "text": "The abnormality present is red.",
866
+ "start": 20,
867
+ "end": 51,
868
+ "type": "correct"
869
+ },
870
+ "53-180": {
871
+ "text": "There are no clearly identifiable anatomical landmarks or polyps, but signs of inflammation and potential bleeding are visible.",
872
+ "start": 53,
873
+ "end": 180,
874
+ "type": "incorrect"
875
+ },
876
+ "180-259": {
877
+ "text": "No instruments, foreign bodies, or signs of infection are evident in the image.",
878
+ "start": 180,
879
+ "end": 259,
880
+ "type": "correct"
881
+ }
882
+ }
883
+ },
884
+ "4546da81-bb19-48d7-bc3d-996f03e3b3bd.jpg": {
885
+ "original_text": "An image of z-line. There is no clear abnormality, polyp, or foreign body present. The anatomical landmarks are visible, and mild inflammation with slight redness is noted. There is no evidence of bleeding, instruments, or signs of infection.",
886
+ "corrections": "An image of z-line. There is no clear abnormality, polyp, or foreign body present. The anatomical landmarks are visible, and mild inflammation with slight redness is noted. There is no evidence of bleeding, instruments, or signs of infection.",
887
+ "annotations": {
888
+ "0-19": {
889
+ "text": "An image of z-line.",
890
+ "start": 0,
891
+ "end": 19,
892
+ "type": "correct"
893
+ },
894
+ "20-82": {
895
+ "text": "There is no clear abnormality, polyp, or foreign body present.",
896
+ "start": 20,
897
+ "end": 82,
898
+ "type": "correct"
899
+ },
900
+ "83-172": {
901
+ "text": "The anatomical landmarks are visible, and mild inflammation with slight redness is noted.",
902
+ "start": 83,
903
+ "end": 172,
904
+ "type": "correct"
905
+ },
906
+ "173-242": {
907
+ "text": "There is no evidence of bleeding, instruments, or signs of infection.",
908
+ "start": 173,
909
+ "end": 242,
910
+ "type": "correct"
911
+ }
912
+ }
913
+ },
914
+ "ec938785-204b-442d-8df3-3cb16aa5c0ed.jpg": {
915
+ "original_text": "An image of z-line. A yellow abnormality is present near the top-left area, but there are no polyps, anatomical landmarks, instruments, signs of inflammation, bleeding, foreign bodies, or infection.",
916
+ "corrections": "An image of z-line. A yellow abnormality is present near the top-left area, but there are no polyps, anatomical landmarks, instruments, signs of inflammation, bleeding, foreign bodies, or infection.",
917
+ "annotations": {
918
+ "0-19": {
919
+ "text": "An image of z-line.",
920
+ "start": 0,
921
+ "end": 19,
922
+ "type": "correct"
923
+ },
924
+ "20-198": {
925
+ "text": "A yellow abnormality is present near the top-left area, but there are no polyps, anatomical landmarks, instruments, signs of inflammation, bleeding, foreign bodies, or infection.",
926
+ "start": 20,
927
+ "end": 198,
928
+ "type": "correct"
929
+ }
930
+ }
931
+ },
932
+ "4c10e6d6-154a-4364-bfea-f1be64dab09c.jpg": {
933
+ "original_text": "An image of pylorus. There are white-yellowish abnormalities on the upper left side. A central esophageal landmark is visible and no polyps or instruments are observed. There are no signs of inflammation, bleeding, foreign bodies, or infection.",
934
+ "corrections": "An image of z-line. There are white-yellowish abnormalities on the upper left side. A central esophageal landmark is visible and no polyps or instruments are observed. There are no signs of inflammation, bleeding, foreign bodies, or infection.",
935
+ "annotations": {
936
+ "0-20": {
937
+ "text": "An image of pylorus.",
938
+ "start": 0,
939
+ "end": 20,
940
+ "type": "incorrect"
941
+ },
942
+ "21-84": {
943
+ "text": "There are white-yellowish abnormalities on the upper left side.",
944
+ "start": 21,
945
+ "end": 84,
946
+ "type": "correct"
947
+ },
948
+ "85-168": {
949
+ "text": "A central esophageal landmark is visible and no polyps or instruments are observed.",
950
+ "start": 85,
951
+ "end": 168,
952
+ "type": "correct"
953
+ },
954
+ "169-244": {
955
+ "text": "There are no signs of inflammation, bleeding, foreign bodies, or infection.",
956
+ "start": 169,
957
+ "end": 244,
958
+ "type": "correct"
959
+ }
960
+ }
961
+ },
962
+ "64d018a2-535c-48c1-9261-70b0f061e306.jpg": {
963
+ "original_text": "An image of z-line. The anatomical landmark is also pink. There are no signs of inflammation, bleeding, infection, foreign bodies, or instruments visible.",
964
+ "corrections": "An image of z-line. The anatomical landmark is also pink. There are no signs of inflammation, bleeding, infection, foreign bodies, or instruments visible.There is a polypoidal mucosa at 9 o'clock position. ",
965
+ "annotations": {
966
+ "0-19": {
967
+ "text": "An image of z-line.",
968
+ "start": 0,
969
+ "end": 19,
970
+ "type": "correct"
971
+ },
972
+ "20-57": {
973
+ "text": "The anatomical landmark is also pink.",
974
+ "start": 20,
975
+ "end": 57,
976
+ "type": "correct"
977
+ },
978
+ "58-154": {
979
+ "text": "There are no signs of inflammation, bleeding, infection, foreign bodies, or instruments visible.",
980
+ "start": 58,
981
+ "end": 154,
982
+ "type": "correct"
983
+ }
984
+ }
985
+ },
986
+ "aa8cb3bc-c11c-4b2e-811a-38f18795ce52.jpg": {
987
+ "original_text": "An image of pylorus. There is a dark abnormality in the center, and the surrounding tissue is light pink. No polyps, instruments, foreign bodies, bleeding, or infection are present, but signs of inflammation are visible. An anatomical landmark, likely the esophageal opening, is also present.",
988
+ "corrections": "An image of z-line. There is no abnormality in the image. No polyps, instruments, foreign bodies, bleeding, or infection are present, but signs of inflammation are visible. An anatomical landmark, likely the esophageal opening, is also present.",
989
+ "annotations": {
990
+ "0-20": {
991
+ "text": "An image of pylorus.",
992
+ "start": 0,
993
+ "end": 20,
994
+ "type": "incorrect"
995
+ },
996
+ "21-105": {
997
+ "text": "There is a dark abnormality in the center, and the surrounding tissue is light pink.",
998
+ "start": 21,
999
+ "end": 105,
1000
+ "type": "incorrect"
1001
+ },
1002
+ "105-219": {
1003
+ "text": "No polyps, instruments, foreign bodies, bleeding, or infection are present, but signs of inflammation are visible.",
1004
+ "start": 105,
1005
+ "end": 219,
1006
+ "type": "correct"
1007
+ },
1008
+ "220-291": {
1009
+ "text": "An anatomical landmark, likely the esophageal opening, is also present.",
1010
+ "start": 220,
1011
+ "end": 291,
1012
+ "type": "correct"
1013
+ }
1014
+ }
1015
+ },
1016
+ "91391ec6-d297-45b2-b7a7-82a2a473641c.jpg": {
1017
+ "original_text": "An image of pylorus. The abnormality, if any, is not clearly distinguishable. The anatomical landmark is pinkish in color. No polyps, instruments, foreign bodies, signs of inflammation, signs of infection, or evidence of bleeding are visible.",
1018
+ "corrections": "An image of z-line. The abnormality, if any, is not clearly distinguishable. The anatomical landmark is pinkish in color. No polyps, instruments, foreign bodies, signs of inflammation, signs of infection, or evidence of bleeding are visible.",
1019
+ "annotations": {
1020
+ "0-20": {
1021
+ "text": "An image of pylorus.",
1022
+ "start": 0,
1023
+ "end": 20,
1024
+ "type": "incorrect"
1025
+ },
1026
+ "20-76": {
1027
+ "text": "The abnormality, if any, is not clearly distinguishable.",
1028
+ "start": 20,
1029
+ "end": 76,
1030
+ "type": "correct"
1031
+ },
1032
+ "77-121": {
1033
+ "text": "The anatomical landmark is pinkish in color.",
1034
+ "start": 77,
1035
+ "end": 121,
1036
+ "type": "correct"
1037
+ },
1038
+ "122-241": {
1039
+ "text": "No polyps, instruments, foreign bodies, signs of inflammation, signs of infection, or evidence of bleeding are visible.",
1040
+ "start": 122,
1041
+ "end": 241,
1042
+ "type": "correct"
1043
+ }
1044
+ }
1045
+ },
1046
+ "170763a3-2afb-40cc-83dd-4f631dad4e6d.jpg": {
1047
+ "original_text": "An image of z-line. There are no polyps, instruments, or foreign bodies present. Signs of inflammation and potential bleeding are visible, but no specific anatomical landmark is discernible. No signs of infection are apparent.",
1048
+ "corrections": "An image of z-line. There are no polyps, instruments, or foreign bodies present. Signs of inflammation and potential bleeding are visible. No signs of infection are apparent.",
1049
+ "annotations": {
1050
+ "0-19": {
1051
+ "text": "An image of z-line.",
1052
+ "start": 0,
1053
+ "end": 19,
1054
+ "type": "correct"
1055
+ },
1056
+ "20-80": {
1057
+ "text": "There are no polyps, instruments, or foreign bodies present.",
1058
+ "start": 20,
1059
+ "end": 80,
1060
+ "type": "correct"
1061
+ },
1062
+ "81-190": {
1063
+ "text": "Signs of inflammation and potential bleeding are visible, but no specific anatomical landmark is discernible.",
1064
+ "start": 81,
1065
+ "end": 190,
1066
+ "type": "incorrect"
1067
+ },
1068
+ "191-226": {
1069
+ "text": "No signs of infection are apparent.",
1070
+ "start": 191,
1071
+ "end": 226,
1072
+ "type": "correct"
1073
+ }
1074
+ }
1075
+ },
1076
+ "c3d001b4-62d9-403d-a25b-fe4dc3c71cf1.jpg": {
1077
+ "original_text": "An image of pylorus. There is no distinct anatomical landmark or signs of inflammation, infection, or bleeding visible. No instruments or foreign bodies are present. One polyp is observed.",
1078
+ "corrections": "An image of z-line. There is no distinct anatomical landmark or signs of inflammation, infection, or bleeding visible. No instruments or foreign bodies are present. One polyp is observed.",
1079
+ "annotations": {
1080
+ "0-19": {
1081
+ "text": "An image of pylorus",
1082
+ "start": 0,
1083
+ "end": 19,
1084
+ "type": "incorrect"
1085
+ },
1086
+ "21-119": {
1087
+ "text": "There is no distinct anatomical landmark or signs of inflammation, infection, or bleeding visible.",
1088
+ "start": 21,
1089
+ "end": 119,
1090
+ "type": "correct"
1091
+ },
1092
+ "120-165": {
1093
+ "text": "No instruments or foreign bodies are present.",
1094
+ "start": 120,
1095
+ "end": 165,
1096
+ "type": "correct"
1097
+ },
1098
+ "166-188": {
1099
+ "text": "One polyp is observed.",
1100
+ "start": 166,
1101
+ "end": 188,
1102
+ "type": "correct"
1103
+ }
1104
+ }
1105
+ },
1106
+ "65e4d45e-193c-4f67-a698-874c5b90c47b.jpg": {
1107
+ "original_text": "An image of z-line. There are no visible polyps, instruments, signs of inflammation, bleeding, foreign bodies, or infection present in the image. The white patches could be an abnormality and are dispersed along the esophageal lining.",
1108
+ "corrections": "An image of z-line. There are no visible polyps, instruments, signs of inflammation, bleeding, foreign bodies, or infection present in the image. The white patches could be an abnormality and are dispersed along the esophageal lining.",
1109
+ "annotations": {
1110
+ "0-19": {
1111
+ "text": "An image of z-line.",
1112
+ "start": 0,
1113
+ "end": 19,
1114
+ "type": "correct"
1115
+ },
1116
+ "20-145": {
1117
+ "text": "There are no visible polyps, instruments, signs of inflammation, bleeding, foreign bodies, or infection present in the image.",
1118
+ "start": 20,
1119
+ "end": 145,
1120
+ "type": "correct"
1121
+ },
1122
+ "146-234": {
1123
+ "text": "The white patches could be an abnormality and are dispersed along the esophageal lining.",
1124
+ "start": 146,
1125
+ "end": 234,
1126
+ "type": "correct"
1127
+ }
1128
+ }
1129
+ },
1130
+ "1ed3011a-0fb0-4ff7-a5ea-5f953dc429fc.jpg": {
1131
+ "original_text": "An image of pylorus. The abnormality appears white, whereas the anatomical landmark is pink. No polyps, foreign bodies, instruments, or signs of infection are present. The abnormality is in the center, without evidence of inflammation or bleeding.",
1132
+ "corrections": "An image of pylorus. There are no abnormalities, whereas the anatomical landmark is pink. No polyps, foreign bodies, instruments, or signs of infection are present. The abnormality is in the center, without evidence of inflammation or bleeding.",
1133
+ "annotations": {
1134
+ "0-19": {
1135
+ "text": "An image of pylorus",
1136
+ "start": 0,
1137
+ "end": 19,
1138
+ "type": "incorrect"
1139
+ },
1140
+ "21-92": {
1141
+ "text": "The abnormality appears white, whereas the anatomical landmark is pink.",
1142
+ "start": 21,
1143
+ "end": 92,
1144
+ "type": "incorrect"
1145
+ },
1146
+ "93-167": {
1147
+ "text": "No polyps, foreign bodies, instruments, or signs of infection are present.",
1148
+ "start": 93,
1149
+ "end": 167,
1150
+ "type": "correct"
1151
+ },
1152
+ "168-247": {
1153
+ "text": "The abnormality is in the center, without evidence of inflammation or bleeding.",
1154
+ "start": 168,
1155
+ "end": 247,
1156
+ "type": "correct"
1157
+ }
1158
+ }
1159
+ },
1160
+ "484717e2-6223-4926-9eaf-3db66e18f6c6.jpg": {
1161
+ "original_text": "An image of z-line. There is no polyp or anatomical landmark visible, and no instruments, signs of infection, bleeding, or foreign bodies are present in the image.",
1162
+ "corrections": "An image of z-line. There is no polyp or anatomical landmark visible, and no instruments, signs of infection, bleeding, or foreign bodies are present in the image. However, there are sings of inflamations.",
1163
+ "annotations": {
1164
+ "0-19": {
1165
+ "text": "An image of z-line.",
1166
+ "start": 0,
1167
+ "end": 19,
1168
+ "type": "correct"
1169
+ },
1170
+ "20-163": {
1171
+ "text": "There is no polyp or anatomical landmark visible, and no instruments, signs of infection, bleeding, or foreign bodies are present in the image.",
1172
+ "start": 20,
1173
+ "end": 163,
1174
+ "type": "correct"
1175
+ },
1176
+ "164-189": {
1177
+ "text": "There is no inflamations.",
1178
+ "start": 164,
1179
+ "end": 189,
1180
+ "type": "incorrect"
1181
+ }
1182
+ }
1183
+ },
1184
+ "d90e3b0e-7072-4a00-bb53-80820b524c08.jpg": {
1185
+ "original_text": "An image of z-line. The anatomical landmark is also pink. There are no polyps, instruments, foreign bodies, or infections present. Signs of inflammation and evidence of bleeding are seen. The abnormality is centrally located in the image.",
1186
+ "corrections": "An image of z-line. The anatomical landmark is also pink. There are no polyps, instruments, foreign bodies, or infections present. Signs of inflammation and evidence of bleeding are seen. The abnormality is centrally located in the image.",
1187
+ "annotations": {
1188
+ "0-19": {
1189
+ "text": "An image of z-line.",
1190
+ "start": 0,
1191
+ "end": 19,
1192
+ "type": "correct"
1193
+ },
1194
+ "20-57": {
1195
+ "text": "The anatomical landmark is also pink.",
1196
+ "start": 20,
1197
+ "end": 57,
1198
+ "type": "correct"
1199
+ },
1200
+ "58-130": {
1201
+ "text": "There are no polyps, instruments, foreign bodies, or infections present.",
1202
+ "start": 58,
1203
+ "end": 130,
1204
+ "type": "correct"
1205
+ },
1206
+ "130-186": {
1207
+ "text": "Signs of inflammation and evidence of bleeding are seen.",
1208
+ "start": 130,
1209
+ "end": 186,
1210
+ "type": "correct"
1211
+ },
1212
+ "187-237": {
1213
+ "text": "The abnormality is centrally located in the image.",
1214
+ "start": 187,
1215
+ "end": 237,
1216
+ "type": "correct"
1217
+ }
1218
+ }
1219
+ },
1220
+ "2ea7638d-ec4c-4257-9138-61ff7add9af7.jpg": {
1221
+ "original_text": "An image of z-line. There are no visible polyps, instruments, signs of infection, foreign bodies, or bleeding. The image does show signs of inflammation. Anatomical landmarks are present, contextually defining the affected area.",
1222
+ "corrections": "An image of z-line. There are no visible polyps, instruments, signs of infection, foreign bodies, or bleeding. The image does show signs of inflammation. Anatomical landmarks are present, contextually defining the affected area.",
1223
+ "annotations": {
1224
+ "0-19": {
1225
+ "text": "An image of z-line.",
1226
+ "start": 0,
1227
+ "end": 19,
1228
+ "type": "correct"
1229
+ },
1230
+ "20-110": {
1231
+ "text": "There are no visible polyps, instruments, signs of infection, foreign bodies, or bleeding.",
1232
+ "start": 20,
1233
+ "end": 110,
1234
+ "type": "correct"
1235
+ },
1236
+ "111-153": {
1237
+ "text": "The image does show signs of inflammation.",
1238
+ "start": 111,
1239
+ "end": 153,
1240
+ "type": "correct"
1241
+ },
1242
+ "154-228": {
1243
+ "text": "Anatomical landmarks are present, contextually defining the affected area.",
1244
+ "start": 154,
1245
+ "end": 228,
1246
+ "type": "correct"
1247
+ }
1248
+ }
1249
+ },
1250
+ "9ccbbce4-b7d7-4165-8809-86d3f12126ed.jpg": {
1251
+ "original_text": "An image of z-line. The surrounding anatomical tissue appears pink. No polyps, instruments, or foreign bodies are present. There are signs of inflammation but no evident signs of bleeding or infection.",
1252
+ "corrections": "An image of z-line. The surrounding anatomical tissue appears pink. No polyps, instruments, or foreign bodies are present. There are signs of inflammation but no evident signs of bleeding or infection.",
1253
+ "annotations": {
1254
+ "0-19": {
1255
+ "text": "An image of z-line.",
1256
+ "start": 0,
1257
+ "end": 19,
1258
+ "type": "correct"
1259
+ },
1260
+ "19-66": {
1261
+ "text": "The surrounding anatomical tissue appears pink.",
1262
+ "start": 19,
1263
+ "end": 66,
1264
+ "type": "correct"
1265
+ },
1266
+ "20-35": {
1267
+ "text": "The surrounding",
1268
+ "start": 20,
1269
+ "end": 35,
1270
+ "type": "correct"
1271
+ },
1272
+ "67-121": {
1273
+ "text": "No polyps, instruments, or foreign bodies are present.",
1274
+ "start": 67,
1275
+ "end": 121,
1276
+ "type": "correct"
1277
+ },
1278
+ "122-200": {
1279
+ "text": "There are signs of inflammation but no evident signs of bleeding or infection.",
1280
+ "start": 122,
1281
+ "end": 200,
1282
+ "type": "correct"
1283
+ }
1284
+ }
1285
+ },
1286
+ "b2641227-0705-4480-b246-32edebccf729.jpg": {
1287
+ "original_text": "An image of z-line.",
1288
+ "corrections": "An image of z-line. There are no instruments, polyps, foreign bodies, or bleeding. The image shows slightly thickened mucosal changes compared to the surrounding mucosa.",
1289
+ "annotations": {
1290
+ "0-19": {
1291
+ "text": "An image of z-line.",
1292
+ "start": 0,
1293
+ "end": 19,
1294
+ "type": "correct"
1295
+ }
1296
+ }
1297
+ },
1298
+ "97867a53-bb29-425d-a288-56f703bfda58.jpg": {
1299
+ "original_text": "An image of pylorus. There are small areas of redness indicative of mild inflammation and minor bleeding at the lower part. There are no polyps, noticeable abnormalities, anatomical landmarks, instruments, foreign bodies, or signs of infection seen in the image.",
1300
+ "corrections": "An image of z-line. There are small areas of redness indicative of mild inflammation and minor bleeding at the lower part. There are no polyps, noticeable abnormalities, anatomical landmarks, instruments, foreign bodies, or signs of infection seen in the image.",
1301
+ "annotations": {
1302
+ "0-20": {
1303
+ "text": "An image of pylorus.",
1304
+ "start": 0,
1305
+ "end": 20,
1306
+ "type": "incorrect"
1307
+ },
1308
+ "21-123": {
1309
+ "text": "There are small areas of redness indicative of mild inflammation and minor bleeding at the lower part.",
1310
+ "start": 21,
1311
+ "end": 123,
1312
+ "type": "correct"
1313
+ },
1314
+ "124-262": {
1315
+ "text": "There are no polyps, noticeable abnormalities, anatomical landmarks, instruments, foreign bodies, or signs of infection seen in the image.",
1316
+ "start": 124,
1317
+ "end": 262,
1318
+ "type": "correct"
1319
+ }
1320
+ }
1321
+ },
1322
+ "3ea886f3-0220-4b8e-ae13-6960a6866846.jpg": {
1323
+ "original_text": "An image of z-line. The abnormalities present are small reddish areas indicating inflammation and possible minor bleeding. No polyps, foreign bodies, instruments, anatomical landmarks, or signs of infection are observed. The abnormalities are located on the walls.",
1324
+ "corrections": "An image of z-line. The abnormalities present are small reddish areas indicating inflammation and possible minor bleeding. No polyps, foreign bodies, instruments, anatomical landmarks, or signs of infection are observed. The abnormalities are located on the walls.",
1325
+ "annotations": {
1326
+ "0-19": {
1327
+ "text": "An image of z-line.",
1328
+ "start": 0,
1329
+ "end": 19,
1330
+ "type": "correct"
1331
+ },
1332
+ "20-122": {
1333
+ "text": "The abnormalities present are small reddish areas indicating inflammation and possible minor bleeding.",
1334
+ "start": 20,
1335
+ "end": 122,
1336
+ "type": "correct"
1337
+ },
1338
+ "123-220": {
1339
+ "text": "No polyps, foreign bodies, instruments, anatomical landmarks, or signs of infection are observed.",
1340
+ "start": 123,
1341
+ "end": 220,
1342
+ "type": "correct"
1343
+ },
1344
+ "221-264": {
1345
+ "text": "The abnormalities are located on the walls.",
1346
+ "start": 221,
1347
+ "end": 264,
1348
+ "type": "correct"
1349
+ }
1350
+ }
1351
+ },
1352
+ "3c1af6d0-f291-479d-80c1-46c892152974.jpg": {
1353
+ "original_text": "An image of z-line. The abnormality, if present, is reddish. The anatomical landmark appears pinkish. No polyps are visible. The abnormality is located on the right side. There are no polyps or instruments, no signs of inflammation, bleeding, foreign bodies, or signs of infection observed.",
1354
+ "corrections": "An image of z-line. The abnormality, if present, is reddish. The anatomical landmark appears pinkish. No polyps are visible. The abnormality is located on the right side. There are no polyps or instruments, no signs of inflammation, bleeding, foreign bodies, or signs of infection observed.",
1355
+ "annotations": {
1356
+ "0-19": {
1357
+ "text": "An image of z-line.",
1358
+ "start": 0,
1359
+ "end": 19,
1360
+ "type": "correct"
1361
+ },
1362
+ "20-60": {
1363
+ "text": "The abnormality, if present, is reddish.",
1364
+ "start": 20,
1365
+ "end": 60,
1366
+ "type": "correct"
1367
+ },
1368
+ "61-101": {
1369
+ "text": "The anatomical landmark appears pinkish.",
1370
+ "start": 61,
1371
+ "end": 101,
1372
+ "type": "correct"
1373
+ },
1374
+ "102-124": {
1375
+ "text": "No polyps are visible.",
1376
+ "start": 102,
1377
+ "end": 124,
1378
+ "type": "correct"
1379
+ },
1380
+ "125-170": {
1381
+ "text": "The abnormality is located on the right side.",
1382
+ "start": 125,
1383
+ "end": 170,
1384
+ "type": "correct"
1385
+ },
1386
+ "171-290": {
1387
+ "text": "There are no polyps or instruments, no signs of inflammation, bleeding, foreign bodies, or signs of infection observed.",
1388
+ "start": 171,
1389
+ "end": 290,
1390
+ "type": "correct"
1391
+ }
1392
+ }
1393
+ },
1394
+ "9cf73cf0-82ff-4d70-83d4-e46b3649192b.jpg": {
1395
+ "original_text": "An image of z-line. The abnormality, if present, is dark-colored and located centrally. There are no polyps or foreign bodies, but signs of inflammation are apparent. There is no indication of anatomical landmarks, instruments, infection, or bleeding in the image.",
1396
+ "corrections": "An image of z-line. There is no visible abnormality. There are no polyps or foreign bodies, but signs of inflammation are apparent. The anatomical landmark, the esophageal opening, is predominantly pink in color. There is no instruments, infection, or bleeding in the image.",
1397
+ "annotations": {
1398
+ "167-264": {
1399
+ "text": "There is no indication of anatomical landmarks, instruments, infection, or bleeding in the image.",
1400
+ "type": "correct",
1401
+ "start": 167,
1402
+ "end": 264
1403
+ },
1404
+ "88-167": {
1405
+ "text": "There are no polyps or foreign bodies, but signs of inflammation are apparent. ",
1406
+ "type": "correct",
1407
+ "start": 88,
1408
+ "end": 167
1409
+ },
1410
+ "20-86": {
1411
+ "text": "The abnormality, if present, is dark-colored and located centrally",
1412
+ "type": "incorrect",
1413
+ "start": 20,
1414
+ "end": 86
1415
+ },
1416
+ "0-20": {
1417
+ "text": "An image of z-line. ",
1418
+ "type": "correct",
1419
+ "start": 0,
1420
+ "end": 20
1421
+ }
1422
+ }
1423
+ },
1424
+ "a481bd68-9711-4a86-88e4-191f66fc3f38.jpg": {
1425
+ "original_text": "An image of z-line. An abnormality with a pinkish hue is present along with the anatomical landmark in the center. No polyps, instruments, signs of inflammation, bleeding, foreign bodies, or infection are evident in the image.",
1426
+ "corrections": "An image of z-line. An abnormality with a pinkish hue is present along with the anatomical landmark in the center. No polyps, instruments, signs of inflammation, bleeding, foreign bodies, or infection are evident in the image.",
1427
+ "annotations": {
1428
+ "0-19": {
1429
+ "text": "An image of z-line.",
1430
+ "start": 0,
1431
+ "end": 19,
1432
+ "type": "correct"
1433
+ },
1434
+ "20-114": {
1435
+ "text": "An abnormality with a pinkish hue is present along with the anatomical landmark in the center.",
1436
+ "start": 20,
1437
+ "end": 114,
1438
+ "type": "correct"
1439
+ },
1440
+ "114-225": {
1441
+ "text": "No polyps, instruments, signs of inflammation, bleeding, foreign bodies, or infection are evident in the image.",
1442
+ "start": 114,
1443
+ "end": 225,
1444
+ "type": "correct"
1445
+ },
1446
+ "115-226": {
1447
+ "text": "No polyps, instruments, signs of inflammation, bleeding, foreign bodies, or infection are evident in the image.",
1448
+ "start": 115,
1449
+ "end": 226,
1450
+ "type": "correct"
1451
+ }
1452
+ }
1453
+ },
1454
+ "3bfd6b8b-3ae9-44b5-b4ab-61ba4f169dcf.jpg": {
1455
+ "original_text": "An image of z-line. There is an abnormality present, which is red in color and located on the right side of the image. The anatomical landmarks are pink. There are no polyps, instruments, foreign bodies, signs of inflammation, infection, or bleeding observed in the image.",
1456
+ "corrections": "An image of z-line. There is an abnormality present, which is red in color and located on the right side of the image. The anatomical landmarks are pink. There are no polyps, instruments, foreign bodies, signs of inflammation, infection, or bleeding observed in the image.",
1457
+ "annotations": {
1458
+ "0-19": {
1459
+ "text": "An image of z-line.",
1460
+ "start": 0,
1461
+ "end": 19,
1462
+ "type": "correct"
1463
+ },
1464
+ "20-118": {
1465
+ "text": "There is an abnormality present, which is red in color and located on the right side of the image.",
1466
+ "start": 20,
1467
+ "end": 118,
1468
+ "type": "correct"
1469
+ },
1470
+ "119-153": {
1471
+ "text": "The anatomical landmarks are pink.",
1472
+ "start": 119,
1473
+ "end": 153,
1474
+ "type": "correct"
1475
+ },
1476
+ "154-272": {
1477
+ "text": "There are no polyps, instruments, foreign bodies, signs of inflammation, infection, or bleeding observed in the image.",
1478
+ "start": 154,
1479
+ "end": 272,
1480
+ "type": "correct"
1481
+ }
1482
+ }
1483
+ },
1484
+ "9fe7a7e6-0085-4245-bf76-e0c322fda9ea.jpg": {
1485
+ "original_text": "An image of z-line. There are light brown abnormalities present, located centrally within the image. No polyps or instruments are visible. The anatomical landmarks are pink, with no signs of inflammation, bleeding, infection, or foreign bodies detected.",
1486
+ "corrections": "An image of z-line. There are red abnormalities present, located right within the image. No polyps or instruments are visible. The anatomical landmarks are pink, with no signs of inflammation, bleeding, infection, or foreign bodies detected.",
1487
+ "annotations": {
1488
+ "0-19": {
1489
+ "text": "An image of z-line.",
1490
+ "start": 0,
1491
+ "end": 19,
1492
+ "type": "correct"
1493
+ },
1494
+ "19-98": {
1495
+ "text": "There are light brown abnormalities present, located centrally within the image",
1496
+ "start": 19,
1497
+ "end": 98,
1498
+ "type": "incorrect"
1499
+ },
1500
+ "99-100": {
1501
+ "text": ".",
1502
+ "start": 99,
1503
+ "end": 100,
1504
+ "type": "incorrect"
1505
+ },
1506
+ "100-137": {
1507
+ "text": "No polyps or instruments are visible.",
1508
+ "start": 100,
1509
+ "end": 137,
1510
+ "type": "correct"
1511
+ },
1512
+ "138-252": {
1513
+ "text": "The anatomical landmarks are pink, with no signs of inflammation, bleeding, infection, or foreign bodies detected.",
1514
+ "start": 138,
1515
+ "end": 252,
1516
+ "type": "correct"
1517
+ }
1518
+ }
1519
+ },
1520
+ "4b38d164-4a6b-4edc-9603-6ed6e838cfe5.jpg": {
1521
+ "original_text": "An image of z-line. No polyps or instruments are visible. Signs of mild inflammation and evidence of bleeding are present, but no foreign bodies or infection are observed.",
1522
+ "corrections": "An image of z-line. No polyps or instruments are visible. Signs of mild inflammation and evidence of bleeding are present, but no foreign bodies or infection are observed.",
1523
+ "annotations": {
1524
+ "0-19": {
1525
+ "text": "An image of z-line.",
1526
+ "start": 0,
1527
+ "end": 19,
1528
+ "type": "correct"
1529
+ },
1530
+ "20-57": {
1531
+ "text": "No polyps or instruments are visible.",
1532
+ "start": 20,
1533
+ "end": 57,
1534
+ "type": "correct"
1535
+ },
1536
+ "58-171": {
1537
+ "text": "Signs of mild inflammation and evidence of bleeding are present, but no foreign bodies or infection are observed.",
1538
+ "start": 58,
1539
+ "end": 171,
1540
+ "type": "correct"
1541
+ }
1542
+ }
1543
+ },
1544
+ "f8e85ccc-d01c-4ee5-b3cc-53eeffb70b34.jpg": {
1545
+ "original_text": "An image of z-line. The abnormality, if any, is red. The anatomical landmarks are pink. There are no polyps, instruments, or foreign bodies present. There are signs of inflammation but no signs of bleeding or infection. The abnormality, if present, is located in the center of the image.",
1546
+ "corrections": "An image of z-line. The abnormality, if any, is red. The anatomical landmarks are pink. There are no polyps, instruments, or foreign bodies present. There are signs of inflammation but no signs of bleeding or infection. The abnormality, if present, is located in the center of the image.",
1547
+ "annotations": {
1548
+ "0-19": {
1549
+ "text": "An image of z-line.",
1550
+ "start": 0,
1551
+ "end": 19,
1552
+ "type": "correct"
1553
+ },
1554
+ "20-52": {
1555
+ "text": "The abnormality, if any, is red.",
1556
+ "start": 20,
1557
+ "end": 52,
1558
+ "type": "correct"
1559
+ },
1560
+ "53-87": {
1561
+ "text": "The anatomical landmarks are pink.",
1562
+ "start": 53,
1563
+ "end": 87,
1564
+ "type": "correct"
1565
+ },
1566
+ "88-148": {
1567
+ "text": "There are no polyps, instruments, or foreign bodies present.",
1568
+ "start": 88,
1569
+ "end": 148,
1570
+ "type": "correct"
1571
+ },
1572
+ "149-219": {
1573
+ "text": "There are signs of inflammation but no signs of bleeding or infection.",
1574
+ "start": 149,
1575
+ "end": 219,
1576
+ "type": "correct"
1577
+ },
1578
+ "220-287": {
1579
+ "text": "The abnormality, if present, is located in the center of the image.",
1580
+ "start": 220,
1581
+ "end": 287,
1582
+ "type": "correct"
1583
+ }
1584
+ }
1585
+ },
1586
+ "e7c9cb9c-f104-40c3-950b-842d107a5210.jpg": {
1587
+ "original_text": "An image of z-line. The abnormalities present are red in color, indicating bleeding in multiple areas. The anatomical landmark is likely the esophagus, which is light pink. There are no polyps, instruments, or foreign bodies visible. There is evidence of inflammation and potential bleeding, but no signs of infection are evident.",
1588
+ "corrections": "An image of z-line. The abnormalities present are red in color, indicating bleeding in multiple areas. The anatomical landmark is likely the esophagus, which is light pink. There are no polyps, instruments, or foreign bodies visible. There is evidence of inflammation and potential bleeding, but no signs of infection are evident.",
1589
+ "annotations": {
1590
+ "0-18": {
1591
+ "text": "An image of z-line",
1592
+ "start": 0,
1593
+ "end": 18,
1594
+ "type": "correct"
1595
+ },
1596
+ "20-101": {
1597
+ "text": "The abnormalities present are red in color, indicating bleeding in multiple areas",
1598
+ "start": 20,
1599
+ "end": 101,
1600
+ "type": "correct"
1601
+ },
1602
+ "103-172": {
1603
+ "text": "The anatomical landmark is likely the esophagus, which is light pink.",
1604
+ "start": 103,
1605
+ "end": 172,
1606
+ "type": "correct"
1607
+ },
1608
+ "173-233": {
1609
+ "text": "There are no polyps, instruments, or foreign bodies visible.",
1610
+ "start": 173,
1611
+ "end": 233,
1612
+ "type": "correct"
1613
+ },
1614
+ "234-330": {
1615
+ "text": "There is evidence of inflammation and potential bleeding, but no signs of infection are evident.",
1616
+ "start": 234,
1617
+ "end": 330,
1618
+ "type": "correct"
1619
+ }
1620
+ }
1621
+ }
1622
+ }
epoch_1/Hallucination-Aware-VLM/dataset/Gut-VLM/train_test_split/classwise_train_split/pol_train.json ADDED
The diff for this file is too large to render. See raw diff
 
epoch_1/Hallucination-Aware-VLM/dataset/Gut-VLM/train_test_split/classwise_train_split/pylorus_train.json ADDED
The diff for this file is too large to render. See raw diff
 
epoch_1/Hallucination-Aware-VLM/dataset/Gut-VLM/train_test_split/classwise_train_split/uc_train.json ADDED
The diff for this file is too large to render. See raw diff
 
epoch_1/Hallucination-Aware-VLM/dataset/Gut-VLM/train_test_split/classwise_train_split/zline_train.json ADDED
The diff for this file is too large to render. See raw diff
 
epoch_1/Hallucination-Aware-VLM/dataset/Gut-VLM/train_test_split/test.json ADDED
The diff for this file is too large to render. See raw diff
 
epoch_1/Hallucination-Aware-VLM/dataset/Gut-VLM/train_test_split/train.json ADDED
The diff for this file is too large to render. See raw diff
 
epoch_1/Hallucination-Aware-VLM/eval_scripts/caption2vqa.py ADDED
@@ -0,0 +1,131 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import json
2
+ import requests
3
+
4
+ # OpenAI API key
5
+ api_key = '*******' # your OpenAI API Key
6
+
7
+ # API Headers
8
+ headers = {
9
+ "Content-Type": "application/json",
10
+ "Authorization": f"Bearer {api_key}"
11
+ }
12
+
13
+ # Your **original questions**:
14
+ questions = [
15
+ "Which anatomical landmark or organ does the image belong to among colon, cecum, pylorus, or z-line? Just select one of the following if it's present in the context text. If not, return N/A.",
16
+ "If the color of the anatomical landmark is explicitly mentioned, just answer in a single or two words maximum. If it's not mentioned, return N/A.",
17
+ "If the location or position of the anatomical landmark is explicitly mentioned, where is it located? Just answer with a location or position describing word. Absolutely limit your answer to a single or two words at maximum. If it's not mentioned, return N/A.",
18
+ "Is there any abnormality present in the image? If yes, return Yes. If not, return No.",
19
+ "If the color of the abnormality is explicitly mentioned, just answer in a single or two words maximum. If it's not mentioned, return N/A.",
20
+ "If the location or position of the abnormality is explicitly mentioned, just answer in a single or two words maximum. If it's not mentioned, return N/A.",
21
+ "Are there any polyps present? Just answer how many polyps are there? Possible answers are (Zero, Single, Multiple). If it's not mentioned, return N/A.",
22
+ "Are there any instruments visible in the image? If yes, return Yes. If not, return No. If it's not mentioned, return N/A.",
23
+ "Are there any signs of inflammation present in the image? If yes, return Yes. If not, return No. If it's not mentioned, return N/A.",
24
+ "Is there evidence of bleeding in the image? If yes, return Yes. If not, return No. If it's not mentioned, return N/A.",
25
+ "Are there any foreign bodies present in the image? If yes, return Yes. If not, return No. If it's not mentioned, return N/A.",
26
+ "Are there any signs of infection present in the image? If yes, return Yes. If not, return No. If it's not mentioned, return N/A."
27
+ ]
28
+
29
+ # Function to generate AI responses in batch
30
+ def generate_answers_bulk(context):
31
+ """
32
+ Sends all questions in a single API call for better accuracy, efficiency, and cost reduction.
33
+ """
34
+
35
+ if not context.strip():
36
+ return ["N/A"] * len(questions)
37
+
38
+ prompt = "You are given this extracted text from a medical image report:\n\n"
39
+ prompt += f"------\n{context}\n------\n\n"
40
+ prompt += "Your task is to answer the following questions **strictly based on the provided text**.\n"
41
+ prompt += "✅ Keep answers **1-2 words max**.\n"
42
+ prompt += "✅ Just return the answer don't tag question in the answer.\n"
43
+ prompt += "✅ Extract and return **exact words** from the text.\n"
44
+ prompt += "✅ If the information is missing, return **'N/A'**.\n"
45
+ prompt += "✅ **Do NOT infer, explain, or add extra knowledge**.\n\n"
46
+
47
+ # Additional prompts to enforce answer ordering
48
+ prompt += "⚠️ **IMPORTANT:**\n"
49
+ prompt += "- Answer **each question in order**, prefixed by `A1:`, `A2:`, ..., `A12:`.\n"
50
+ prompt += "- **Do NOT** swap, mix, or skip answers. Ensure strict ordering.\n"
51
+ prompt += "- Each answer must be **directly below** its corresponding question.\n"
52
+ prompt += "- **Missing information?** Write `'N/A'` explicitly.\n\n"
53
+ prompt += "**Now, answer the following questions:**\n"
54
+ for i, question in enumerate(questions, 1):
55
+ prompt += f"{i}{question}\nA{i}:\n"
56
+
57
+ payload = {
58
+ "model": "gpt-4o",
59
+ "messages": [{"role": "user", "content": prompt}],
60
+ "max_tokens": 300, # Enough for all answers
61
+ "temperature": 0.1,
62
+ }
63
+
64
+ try:
65
+ response = requests.post("https://api.openai.com/v1/chat/completions", headers=headers, json=payload)
66
+ response.raise_for_status()
67
+ data = response.json()
68
+ raw_answers = data["choices"][0]["message"]["content"].split("\n")
69
+ print (raw_answers)
70
+
71
+ answers = []
72
+ for i in range(len(questions)):
73
+ if i < len(raw_answers):
74
+ answer = raw_answers[i].replace(f"A{i+1}:", "").strip()
75
+ answers.append(answer if answer else "N/A")
76
+ else:
77
+ answers.append("N/A")
78
+ return answers
79
+
80
+ except Exception as e:
81
+ print(f"Error processing bulk request: {e}")
82
+ return ["Error"] * len(questions)
83
+
84
+ # Load JSON file
85
+ try:
86
+ with open("../results/final_qwen_caption_hal_aware_results.json", "r") as f: # Replace with your results file path
87
+ data = json.load(f)
88
+ except FileNotFoundError:
89
+ print("Error: File not found.")
90
+ exit()
91
+
92
+ # Initialize dataset
93
+ vqa_dataset = {}
94
+
95
+ print("Generating answers...")
96
+ count = 0
97
+
98
+ for entry in data:
99
+
100
+ # Case 1: 'image_path' exists as a single string
101
+ if "image_path" in entry:
102
+ image_id = entry["image_path"]
103
+ # Case 2: 'images' exists as a list
104
+ elif "images" in entry and isinstance(entry["images"], list) and entry["images"]:
105
+ image_id = entry["images"][0] # Use the first image path
106
+ # Fallback case
107
+ else:
108
+ image_id = f"image_{count}"
109
+
110
+
111
+ response_text = entry.get("response", "").strip()
112
+
113
+ if not response_text:
114
+ print(f"Warning: No response text found for {image_id}")
115
+ continue
116
+
117
+ # Get all answers in one API call
118
+ answers = generate_answers_bulk(response_text)
119
+ print (answers)
120
+
121
+ vqa_dataset[image_id] = [{"question": q, "answer": a} for q, a in zip(questions, answers)]
122
+
123
+ count += 1
124
+ print(f"Processed {count} images...")
125
+
126
+ # Save the dataset
127
+ output_file = "../results/qwen_caption_hal_aware_caption2vqa.json" # Replace with your output file path
128
+ with open(output_file, "w") as f:
129
+ json.dump(vqa_dataset, f, indent=4)
130
+
131
+ print(f"VQA dataset generated and saved as {output_file}")
epoch_1/Hallucination-Aware-VLM/eval_scripts/evaluate_caption.py ADDED
@@ -0,0 +1,145 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import json
2
+ import requests
3
+
4
+ # OpenAI API key
5
+ api_key = '*********' # Your OpenAI API key
6
+
7
+ # API Headers
8
+ headers = {
9
+ "Content-Type": "application/json",
10
+ "Authorization": f"Bearer {api_key}"
11
+ }
12
+
13
+ # Load test and ground truth JSON files
14
+ def load_json(filepath):
15
+ with open(filepath, 'r', encoding='utf-8') as f:
16
+ return json.load(f)
17
+
18
+ # Save results to JSON file
19
+ def save_json(filepath, data):
20
+ with open(filepath, 'w', encoding='utf-8') as f:
21
+ json.dump(data, f, indent=4)
22
+
23
+ # Rating scale
24
+ rating_scale = [
25
+ "1 - (Poor) Completely incorrect or misleading",
26
+ "2 - (Not Good) Significant differences affecting diagnosis",
27
+ "3 - (Alright) Some differences, but overall meaning preserved",
28
+ "4 - (Good) Minor differences, clinically acceptable",
29
+ "5 - (Very Good) Nearly identical, all findings correctly described"
30
+ ]
31
+
32
+ # Function to compare descriptions
33
+ def compare_descriptions(desc1, desc2):
34
+ """
35
+ Compares two medical image descriptions and assigns a similarity rating.
36
+ """
37
+
38
+ prompt = f"""
39
+ You are an expert in medical image analysis and textual interpretation. Your task is to compare two given descriptions of a medical image and determine how well they match in terms of correctness and clinical significance.
40
+
41
+ ---
42
+ ### **Instructions:**
43
+ 1. **Strictly compare the two descriptions** and evaluate their similarity.
44
+ 2. Consider whether they describe the same anatomical landmarks, abnormalities, locations, and key clinical findings.
45
+ 3. Do **NOT infer** or add external knowledge. Base your answer **strictly** on the given descriptions.
46
+ 4. Answer the following questions while comparing the descriptions:
47
+ - Which anatomical landmark does the image belong to?
48
+ - What color is the abnormality, if present?
49
+ - What color is the anatomical landmark?
50
+ - Are there any polyps present? If yes, how many?
51
+ - Where in the image is the abnormality, if present?
52
+ - Are there any abnormalities in the image?
53
+ - Are there any anatomical landmarks in the image?
54
+ - Are there any instruments in the image? If found, where and how many?
55
+ - Are there any signs of inflammation?
56
+ - Is there any evidence of bleeding?
57
+ - Are there any foreign bodies present?
58
+ - Are there any signs of infection?
59
+ 5. Rate the similarity using the following scale:
60
+
61
+ - **5 - (Very Good)**: Nearly identical, all findings correctly described.
62
+ - **4 - (Good)**: Minor differences, clinically acceptable.
63
+ - **3 - (Alright)**: Some differences, but overall meaning preserved.
64
+ - **2 - (Not Good)**: Significant differences affecting diagnosis.
65
+ - **1 - (Poor)**: Completely incorrect or misleading.
66
+
67
+ ---
68
+
69
+ **Description 1:**
70
+ {desc1}
71
+
72
+ **Description 2:**
73
+ {desc2}
74
+
75
+ ---
76
+
77
+ **Your evaluation:**
78
+ - **Match?**: (Yes/No)
79
+ - **Similarity Rating**: (1 to 5)
80
+ - **Brief Justification**: (Explain why you assigned this rating)
81
+ """
82
+
83
+ payload = {
84
+ "model": "gpt-4o",
85
+ "messages": [{"role": "user", "content": prompt}],
86
+ "max_tokens": 200,
87
+ "temperature": 0.1,
88
+ }
89
+
90
+ try:
91
+ response = requests.post("https://api.openai.com/v1/chat/completions", headers=headers, json=payload)
92
+ response.raise_for_status()
93
+ data = response.json()
94
+ evaluation = data["choices"][0]["message"]["content"].strip()
95
+
96
+ # Extract numerical rating from response
97
+ score = next((int(s) for s in evaluation.split() if s.isdigit() and 1 <= int(s) <= 5), None)
98
+ return score if score else 0
99
+ except Exception as e:
100
+ print(f"Error processing request: {e}")
101
+ return 0
102
+
103
+ # Match test file responses with ground truth based on image path and compare
104
+ def evaluate_json_files(test_file, groundtruth_file, output_file):
105
+ test_data = load_json(test_file)
106
+ groundtruth_data = load_json(groundtruth_file)
107
+
108
+ scores = []
109
+ results = []
110
+
111
+ count = 0
112
+
113
+ for test_entry in test_data:
114
+ test_image = test_entry.get("image_path")
115
+ test_response = test_entry.get("response")
116
+
117
+ for gt_entry in groundtruth_data:
118
+ if test_image in gt_entry.get("images", []):
119
+ gt_response = gt_entry.get("response")
120
+ score = compare_descriptions(test_response, gt_response)
121
+ scores.append(score)
122
+ results.append({
123
+ "image": test_image,
124
+ "score": score
125
+ })
126
+ print(f"Image: {test_image}\nScore: {score}\n")
127
+ break
128
+ count += 1
129
+
130
+ # Compute average score
131
+ avg_score = sum(scores) / len(scores) if scores else 0
132
+ print(f"\nAverage Similarity Score: {avg_score:.2f}")
133
+
134
+ results.append({"average_score": avg_score})
135
+ save_json(output_file, results)
136
+ return avg_score
137
+
138
+
139
+ # Example usage
140
+ test_json_list = [ '../results/final_qwen_caption_hal_aware_results.json']
141
+ groundtruth_json_path = "../results/groundtruth_test_captions.json"
142
+ output_json_list = ["../results/qwen_caption_hal_aware_cap_eval.json"]
143
+
144
+ for i, j in zip(test_json_list, output_json_list):
145
+ average_score = evaluate_json_files(i, groundtruth_json_path, j)
epoch_1/Hallucination-Aware-VLM/eval_scripts/evaluate_vqa.py ADDED
@@ -0,0 +1,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import json
2
+
3
+ def evaluate_vqa_answers(groundtruth_file, test_file, output_file):
4
+ """
5
+ Compares the chosen answers from a test file with ground truth answers.
6
+ Votes as correct (1) if any test answer is in the ground truth answer list, otherwise incorrect (0).
7
+
8
+ Parameters:
9
+ groundtruth_file (str): Path to the ground truth JSON file.
10
+ test_file (str): Path to the test JSON file.
11
+ output_file (str): Path to save the evaluation results.
12
+ """
13
+
14
+ # Load the JSON files
15
+ with open(groundtruth_file, "r", encoding="utf-8") as f:
16
+ groundtruth_data = json.load(f)
17
+
18
+ with open(test_file, "r", encoding="utf-8") as f:
19
+ test_data = json.load(f)
20
+
21
+ evaluation_results = {} # Stores evaluation per image
22
+ total_correct = 0
23
+ total_questions = 0
24
+
25
+ # Iterate through images in the test file
26
+ for image_path, test_questions in test_data.items():
27
+ if image_path not in groundtruth_data:
28
+ print(f"Skipping {image_path}, not found in ground truth.")
29
+ continue
30
+
31
+ groundtruth_questions = groundtruth_data[image_path]
32
+ image_results = []
33
+
34
+ # Ensure both lists have the same number of questions
35
+ min_length = min(len(test_questions), len(groundtruth_questions))
36
+
37
+ for i in range(min_length):
38
+ test_qa = test_questions[i]
39
+ groundtruth_qa = groundtruth_questions[i]
40
+
41
+ test_answer = set(test_qa.get("chosen answer", [])) # Get list, default to empty
42
+ groundtruth_answer = set(groundtruth_qa.get("chosen answer", [])) # Default empty
43
+
44
+ if not groundtruth_answer:
45
+ print ("Groundtruth empty case, skip this case")
46
+ total_questions -= 1
47
+ is_correct = 0
48
+ elif test_answer & groundtruth_answer:
49
+ is_correct = 1 # Correct match
50
+ else:
51
+ is_correct = 0 # Incorrect match
52
+
53
+ image_results.append({
54
+ "question": test_qa.get("question", ""),
55
+ "test answer": list(test_answer),
56
+ "groundtruth answer": list(groundtruth_answer),
57
+ "correct": is_correct
58
+ })
59
+
60
+ total_correct += is_correct
61
+ total_questions += 1
62
+
63
+ evaluation_results[image_path] = image_results
64
+
65
+
66
+ # Calculate overall accuracy
67
+ accuracy = (total_correct / total_questions) * 100 if total_questions > 0 else 0
68
+ print(f"Total Correct: {total_correct}/{total_questions} | Accuracy: {accuracy:.2f}%")
69
+
70
+ # Save evaluation results to JSON
71
+ with open(output_file, "w", encoding="utf-8") as f:
72
+ json.dump(evaluation_results, f, indent=4)
73
+
74
+ print(f"Evaluation results saved to {output_file}")
75
+
76
+ # Example Usage
77
+ evaluate_vqa_answers(
78
+ groundtruth_file="../dataset/Gut-VLM/train_test_split/VQA_format_testset_only.json",
79
+ test_file="../results/qwen_caption_hal_aware_caption2vqa_parsed.json",
80
+ output_file="../results/qwen_hal_aware_QAAS_results.json"
81
+ )
epoch_1/Hallucination-Aware-VLM/eval_scripts/parse_vqa.py ADDED
@@ -0,0 +1,281 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import json
2
+ import spacy
3
+ import requests
4
+ import ast
5
+ import en_core_web_sm
6
+
7
+ # Load spaCy's language model
8
+ nlp = spacy.load("en_core_web_sm")
9
+
10
+ # Set up OpenAI API key
11
+ api_key = "********" # Your OpenAI API key
12
+ headers = {
13
+ "Content-Type": "application/json",
14
+ "Authorization": f"Bearer {api_key}"
15
+ }
16
+
17
+ # Define category mappings
18
+ categories = {
19
+
20
+
21
+ "color": {
22
+ "red": [
23
+ "red", "reddish", "reddish pink", "reddish brown", "dark red", "light red",
24
+ "pinkish red", "red pink", "pink orange", "red orange", "pinkish orange",
25
+ "pinkish brown", "brownish red", "brick red", "scarlet", "crimson", "maroon",
26
+ "rose red"
27
+ ],
28
+ "pink": [
29
+ "pink", "pinkish", "pinkish yellow", "pinkish brown", "pinkish orange",
30
+ "light pink", "pink light", "reddish pink", "red pink", "yellowish pink",
31
+ "light pinkish", "dark pinkish", "pinkish red", "blush pink", "rose pink",
32
+ "coral pink", "hot pink", "pastel pink", "peach pink", "baby pink","flesh",
33
+ "light flesh", "dark flesh", "skin tone", "peach flesh", "flesh colored",
34
+ "beige flesh", "rosy flesh", "normal", "flesh tone", "flesh color", "flesh shade",
35
+ "normal color", "normal shade", "normal hue", "normal tone", "normal pigment",
36
+ "normal coloration", "light", "lighter", "lightest", "lightest pink", "lightest shade",
37
+ "same color", "typical color", "typical shade", "typical hue", "typical tone",
38
+ "similar color", "similar shade", "similar hue", "similar tone", "similar pigment",
39
+ ],
40
+ "orange": [
41
+ "orange", "yellowish orange", "orange yellow", "yellow orange",
42
+ "pinkish orange", "dark orange", "light orange", "brownish orange",
43
+ "tangerine", "amber", "burnt orange", "apricot", "coral orange",
44
+ "golden orange", "peach orange"
45
+ ],
46
+ "yellow": [
47
+ "yellow", "yellowish", "yellowish pink", "yellowish brown",
48
+ "brownish yellow", "yellowish white", "white yellow", "light yellow",
49
+ "dark yellow", "light yellowish", "dark yellowish", "pinkish yellow",
50
+ "yellow-orange", "golden yellow", "mustard yellow", "lemon yellow",
51
+ "sunflower yellow", "pale yellow", "cream yellow"
52
+ ],
53
+ "brown": [
54
+ "brown", "brownish", "brownish yellow", "brownish red",
55
+ "brownish pink", "brownish orange", "reddish brown",
56
+ "yellowish brown", "light brown", "light brownish",
57
+ "dark brownish", "pinkish brown", "tan", "beige",
58
+ "chocolate brown", "coffee brown", "caramel brown", "rust brown"
59
+ ],
60
+ "blue": [
61
+ "blue", "bluish", "dark blue", "blue dark", "bluish green", "light bluish", "dark bluish",
62
+ "greenish blue", "blue green", "green bluish", "light bluish", "dark bluish",
63
+ "sky blue", "navy blue", "royal blue", "aqua blue", "teal blue", "light blueish","dark blueish",
64
+ "baby blue", "electric blue", "cobalt blue", "cerulean blue", "blueish","blueish green", "green blueish",
65
+ "blue-colored", "bluish hue", "blueish hue", "blueish color", "blueish shade", "blueish tone",
66
+ "blueish dye", "blueish tint", "blueish pigment", "blueish paint", "blueish material", "blueish fabric"
67
+ ],
68
+ "green": [
69
+ "green", "greenish", "bluish green", "green bluish", "greenish blue",
70
+ "blue green", "light green", "light greenish", "dark greenish",
71
+ "lime green", "forest green", "emerald green", "olive green",
72
+ "mint green", "sea green", "sage green", "pastel green", "blueish green", "green blueish"
73
+ ],
74
+ "white": ["white", "off white", "ivory", "cream", "light gray"],
75
+ "dark": ["black", "charcoal", "gray", "dark gray", "light gray", "dark",
76
+ ],
77
+ "n/a":["N/A","n/a", "none", "not mentioned", "not specified", "not provided","N/A.", "n/a.", "N/A"]
78
+ },
79
+
80
+
81
+ "location": {
82
+ "center": [
83
+ "center", "middle", "centre", "centrally", "central",
84
+ "mid center", "center mid", "mid", "midpoint", "centered"
85
+ ],
86
+ "left": [
87
+ "left", "center left", "left center", "top left", "upper left",
88
+ "bottom left", "lower left", "mid left", "left mid", "left top",
89
+ "left bottom", "left center", "center left", "left mid", "mid left",
90
+ "left top", "left bottom", "left center", "center left", "left mid", "mid left",
91
+ "9'o clock", "9 o'clock"
92
+ ],
93
+ "right": [
94
+ "right", "center right", "right center", "top right", "upper right",
95
+ "bottom right", "lower right", "mid right", "right mid", "right top",
96
+ "right bottom", "right center", "center right", "right mid", "mid right",
97
+ "right top", "right bottom", "right center", "center right", "right mid", "mid right",
98
+ "3'o clock", "3 o'clock"
99
+ ],
100
+ "top": [
101
+ "top", "upper", "above", "top center", "upper center",
102
+ "center top", "top left", "upper left", "top right", "upper right",
103
+ "mid top", "top mid", "12'o clock", "12 o'clock"
104
+ ],
105
+ "bottom": [
106
+ "bottom", "lower", "below", "bottom center", "lower center",
107
+ "center bottom", "bottom left", "lower left", "bottom right",
108
+ "lower right", "mid bottom", "bottom mid", "6'o clock", "6 o'clock"
109
+ ],
110
+ "surrounding": ["surrounding", "around", "near", "nearby", "peripheral", "adjacent", "bordering", "encompassing", "encircling", "flanking"],
111
+ "background":["scattered", "throughout", "background", "distributed", "dispersed", "spread out", "sporadic", "all over", "widespread", "consistent", "surface"],
112
+ "n/a":["N/A","n/a", "none", "not mentioned", "not specified", "not provided","N/A.", "n/a.", "N/A"]
113
+ },
114
+
115
+
116
+ "landmark": {"colon": ["colon", "Colon", "colon.", "Colon."],
117
+ "cecum": ["cecum", "Cecum", "cecum.", "Cecum."],
118
+ "z-line": ["z-line", "Z-line", "z-line.", "Z-line.", "z line", "Z line", ""],
119
+ "pylorus": ["pylorus", "Pylorus", "pylorus.", "Pylorus."],
120
+ "n/a": ["N/A","n/a", "none", "not mentioned", "not specified", "not provided","N/A.", "n/a.", "N/A"]},
121
+
122
+
123
+ "polyp": {"zero": ["zero", "0", "Zero.", "zero.", "0."],
124
+ "single": ["single", "1", "Single.", "single.", "1."],
125
+ "multiple": ["multiple", "Multiple.", "multiple.", "more than one", "several", "numerous", "many"],
126
+ "n/a": ["N/A","n/a", "none", "not mentioned", "not specified", "not provided","N/A.", "n/a.", "N/A"]},
127
+
128
+
129
+ "yes_no": {"Yes":["yes", "Yes","Yes.", "yes."],
130
+ "No":["no", "No","No.", "no."],
131
+ "n/a":["N/A","n/a", "none", "not mentioned", "not specified", "not provided","N/A.", "n/a.", "N/A"]}
132
+ }
133
+
134
+
135
+ # Define category groups
136
+ color_question_indices = {1, 4}
137
+ location_question_indices = {2, 5}
138
+
139
+ # Function to lemmatize text
140
+ def lemmatize(word):
141
+ doc = nlp(word.lower().replace("-", " "))
142
+ return " ".join(token.lemma_ for token in doc).strip()
143
+
144
+ # Function to categorize answers for a given image in a **single prompt**
145
+ def categorize_answers_bulk(answers):
146
+ lemmatized_answers = [lemmatize(ans) for ans in answers]
147
+
148
+ prompt = f"""
149
+ You are an expert in linguistic and contextual similarity.
150
+
151
+ You are given a list of 12 answers and a predefined dictionary of categories, where each category contains a set of synonymous words representing variations of the same concept.
152
+
153
+ ### Your Task:
154
+ - Determine which **category (or categories)** each answer belongs to, selecting the most relevant **subcategory** based on **meaning and similarity**, not just exact matches.
155
+ - Answers may match multiple categories, so consider **synonyms, similar meanings, and semantic relationships** while selecting the best match.
156
+ - Maintain the **original order of the answers** in the output, ensuring they are returned in the **exact same sequence** as provided.
157
+ - **Use fuzzy matching and semantic similarity** to handle variations in wording, spelling, and meaning.
158
+
159
+ ### Additional Context:
160
+ - **Words with similar meanings** should be grouped accordingly. For example:
161
+ - `"peripheral"`, `"periphery"`, and `"surrounding"` all match the **"surrounding"** subcategory under **"location"**.
162
+ - `"crimson"`, `"scarlet"`, and `"maroon"` all match the **"red"** subcategory under **"color"**.
163
+ - **Semantic similarity should be prioritized over direct word matching**, using **fuzzy matching, embeddings, or contextual similarity**.
164
+ - **If an answer belongs to multiple categories**, list all relevant categories and subcategories.
165
+
166
+ ### Expected Distributions:
167
+ - **Answer 1** is related to **landmark**.
168
+ - **Answers 2 and 5** are related to **color**.
169
+ - **Answers 3 and 6** are related to **location**.
170
+ - **Answers 4, 8, 9, 10, 11, and 12** are related to **yes_no**.
171
+ - **Answer 7** is related to **polyp**.
172
+
173
+ Ensure that your classification aligns with these expected distributions.
174
+
175
+ ### Input Data:
176
+ **Categories:**
177
+ {categories}
178
+
179
+ **Answers:**
180
+ {lemmatized_answers}
181
+
182
+ Now, categorize the answers based on the provided category mappings and return the results in the required format.
183
+
184
+ ### **🚨 STRICT INSTRUCTIONS (FOLLOW EXACTLY)**
185
+ ✅ **1. Maintain Answer Order:** Do not change the order of answers. The i-th answer in the input must correspond to the i-th output.
186
+ ✅ **2. Return a List of Lists:** Each answer should be returned as a list inside another list, even if it belongs to only one category.
187
+ ✅ **3. Empty Lists for No Match:** If an answer does not match any category, return an empty list `[]`. But remember if an answer is 'N\A' or 'not mentioned' or other variations, it should be categorized as 'n/a'.
188
+ ✅ **4. Do NOT Wrap in Code Blocks:** Do **not** use `python`, `plaintext`, `json`, or any other formatting blocks in your response.
189
+ ✅ **5. No Extra Text:** Do **not** add explanations, headers, prefixes, or additional formatting—return only the structured list.
190
+
191
+
192
+ ### **Expected Output Format (Strictly a List of Lists in Plain Text, Matching Each Answer in Order):**
193
+ ✅ **Valid Examples (Ensure strict order preservation):**
194
+ `[["cecum"], ["pink","red"], ["n/a"], ["Yes"], ["white"], ["left"], ["multiple"], ["Yes"], ["Yes"], ["Yes"], ["No"], ["No"]]`
195
+
196
+ ❌ **Invalid Examples (DO NOT return these formats):**
197
+ - ```python ["red"] ``` ❌ *(Incorrect: Do NOT wrap output in a code block.)*
198
+ - ```json ["red"] ``` ❌ *(Incorrect: Do NOT return JSON-formatted output.)*
199
+ - `"Right lower abdomen. ["right", "bottom"]"` ❌ *(Incorrect: Do NOT include extra text before the list.)*
200
+ - `"["red"]."` ❌ *(Incorrect: Do NOT add punctuation outside of the list.)*
201
+
202
+ """
203
+
204
+
205
+ payload = {
206
+ "model": "gpt-4o",
207
+ "messages": [{"role": "user", "content": prompt}],
208
+ "max_tokens": 300,
209
+ "temperature": 0.1
210
+ }
211
+
212
+ try:
213
+ response = requests.post("https://api.openai.com/v1/chat/completions", headers=headers, json=payload)
214
+ response.raise_for_status()
215
+ data = response.json()
216
+
217
+ # Ensure the response contains the expected structure
218
+ if "choices" not in data or not data["choices"]:
219
+ print("Error: No choices returned from OpenAI.")
220
+ return [[]] * len(answers)
221
+
222
+ content = data["choices"][0]["message"]["content"].strip()
223
+
224
+ # Use ast.literal_eval to safely parse Python-style lists instead of JSON
225
+ try:
226
+ parsed_output = ast.literal_eval(content)
227
+ if isinstance(parsed_output, list) and all(isinstance(i, list) for i in parsed_output):
228
+ return parsed_output
229
+ else:
230
+ print("Error: OpenAI response is not in expected format.")
231
+ return [[]] * len(answers)
232
+ except (SyntaxError, ValueError):
233
+ print("Error: Could not parse OpenAI response. Response received:", content)
234
+ return [[]] * len(answers)
235
+
236
+ except requests.exceptions.RequestException as e:
237
+ print("Error: Request to OpenAI API failed:", str(e))
238
+ return [[]] * len(answers)
239
+
240
+ # Process single image
241
+ def process_image(image_path, qa_pairs):
242
+ answers = [qa["answer"].strip() for qa in qa_pairs]
243
+ print (answers)
244
+
245
+ # Single prompt categorization for **all** answers in the image
246
+ results = categorize_answers_bulk(answers)
247
+
248
+ print (results)
249
+
250
+ updated_qa_pairs = []
251
+ for i, qa in enumerate(qa_pairs):
252
+ chosen_answer = results[i] if i < len(results) else []
253
+ updated_qa_pairs.append({
254
+ "question": qa["question"],
255
+ "given answer": qa["answer"],
256
+ "chosen answer": chosen_answer
257
+ })
258
+
259
+ return image_path, updated_qa_pairs
260
+
261
+ # Load input JSON
262
+ input_file = "../results/qwen_caption_hal_aware_caption2vqa.json"
263
+ with open(input_file) as f:
264
+ data = json.load(f)
265
+
266
+ # Process images
267
+ updated_data = {}
268
+ count = 0
269
+
270
+ for img, qa_pairs in data.items():
271
+ # if count >= 100:
272
+ # break # Stop processing after 3 iterations
273
+
274
+ updated_data[img] = process_image(img, qa_pairs)[1]
275
+ count += 1 # Increment the counter
276
+ print ("Processing image", count)
277
+
278
+ # Save output JSON
279
+ output_file = "../results/qwen_caption_hal_aware_caption2vqa_parsed.json"
280
+ with open(output_file, "w") as f:
281
+ json.dump(updated_data, f, indent=4)
epoch_1/Hallucination-Aware-VLM/results_example/final_qwen_caption_hal_aware_results.json ADDED
The diff for this file is too large to render. See raw diff
 
epoch_1/Hallucination-Aware-VLM/results_example/groundtruth_test_captions.json ADDED
The diff for this file is too large to render. See raw diff
 
epoch_1/Hallucination-Aware-VLM/training_style/hallucinated_aware_train.json ADDED
The diff for this file is too large to render. See raw diff
 
epoch_1/Mobile-O/LICENSE.txt ADDED
@@ -0,0 +1,437 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Attribution-NonCommercial-ShareAlike 4.0 International
2
+
3
+ =======================================================================
4
+
5
+ Creative Commons Corporation ("Creative Commons") is not a law firm and
6
+ does not provide legal services or legal advice. Distribution of
7
+ Creative Commons public licenses does not create a lawyer-client or
8
+ other relationship. Creative Commons makes its licenses and related
9
+ information available on an "as-is" basis. Creative Commons gives no
10
+ warranties regarding its licenses, any material licensed under their
11
+ terms and conditions, or any related information. Creative Commons
12
+ disclaims all liability for damages resulting from their use to the
13
+ fullest extent possible.
14
+
15
+ Using Creative Commons Public Licenses
16
+
17
+ Creative Commons public licenses provide a standard set of terms and
18
+ conditions that creators and other rights holders may use to share
19
+ original works of authorship and other material subject to copyright
20
+ and certain other rights specified in the public license below. The
21
+ following considerations are for informational purposes only, are not
22
+ exhaustive, and do not form part of our licenses.
23
+
24
+ Considerations for licensors: Our public licenses are
25
+ intended for use by those authorized to give the public
26
+ permission to use material in ways otherwise restricted by
27
+ copyright and certain other rights. Our licenses are
28
+ irrevocable. Licensors should read and understand the terms
29
+ and conditions of the license they choose before applying it.
30
+ Licensors should also secure all rights necessary before
31
+ applying our licenses so that the public can reuse the
32
+ material as expected. Licensors should clearly mark any
33
+ material not subject to the license. This includes other CC-
34
+ licensed material, or material used under an exception or
35
+ limitation to copyright. More considerations for licensors:
36
+ wiki.creativecommons.org/Considerations_for_licensors
37
+
38
+ Considerations for the public: By using one of our public
39
+ licenses, a licensor grants the public permission to use the
40
+ licensed material under specified terms and conditions. If
41
+ the licensor's permission is not necessary for any reason--for
42
+ example, because of any applicable exception or limitation to
43
+ copyright--then that use is not regulated by the license. Our
44
+ licenses grant only permissions under copyright and certain
45
+ other rights that a licensor has authority to grant. Use of
46
+ the licensed material may still be restricted for other
47
+ reasons, including because others have copyright or other
48
+ rights in the material. A licensor may make special requests,
49
+ such as asking that all changes be marked or described.
50
+ Although not required by our licenses, you are encouraged to
51
+ respect those requests where reasonable. More considerations
52
+ for the public:
53
+ wiki.creativecommons.org/Considerations_for_licensees
54
+
55
+ =======================================================================
56
+
57
+ Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International
58
+ Public License
59
+
60
+ By exercising the Licensed Rights (defined below), You accept and agree
61
+ to be bound by the terms and conditions of this Creative Commons
62
+ Attribution-NonCommercial-ShareAlike 4.0 International Public License
63
+ ("Public License"). To the extent this Public License may be
64
+ interpreted as a contract, You are granted the Licensed Rights in
65
+ consideration of Your acceptance of these terms and conditions, and the
66
+ Licensor grants You such rights in consideration of benefits the
67
+ Licensor receives from making the Licensed Material available under
68
+ these terms and conditions.
69
+
70
+
71
+ Section 1 -- Definitions.
72
+
73
+ a. Adapted Material means material subject to Copyright and Similar
74
+ Rights that is derived from or based upon the Licensed Material
75
+ and in which the Licensed Material is translated, altered,
76
+ arranged, transformed, or otherwise modified in a manner requiring
77
+ permission under the Copyright and Similar Rights held by the
78
+ Licensor. For purposes of this Public License, where the Licensed
79
+ Material is a musical work, performance, or sound recording,
80
+ Adapted Material is always produced where the Licensed Material is
81
+ synched in timed relation with a moving image.
82
+
83
+ b. Adapter's License means the license You apply to Your Copyright
84
+ and Similar Rights in Your contributions to Adapted Material in
85
+ accordance with the terms and conditions of this Public License.
86
+
87
+ c. BY-NC-SA Compatible License means a license listed at
88
+ creativecommons.org/compatiblelicenses, approved by Creative
89
+ Commons as essentially the equivalent of this Public License.
90
+
91
+ d. Copyright and Similar Rights means copyright and/or similar rights
92
+ closely related to copyright including, without limitation,
93
+ performance, broadcast, sound recording, and Sui Generis Database
94
+ Rights, without regard to how the rights are labeled or
95
+ categorized. For purposes of this Public License, the rights
96
+ specified in Section 2(b)(1)-(2) are not Copyright and Similar
97
+ Rights.
98
+
99
+ e. Effective Technological Measures means those measures that, in the
100
+ absence of proper authority, may not be circumvented under laws
101
+ fulfilling obligations under Article 11 of the WIPO Copyright
102
+ Treaty adopted on December 20, 1996, and/or similar international
103
+ agreements.
104
+
105
+ f. Exceptions and Limitations means fair use, fair dealing, and/or
106
+ any other exception or limitation to Copyright and Similar Rights
107
+ that applies to Your use of the Licensed Material.
108
+
109
+ g. License Elements means the license attributes listed in the name
110
+ of a Creative Commons Public License. The License Elements of this
111
+ Public License are Attribution, NonCommercial, and ShareAlike.
112
+
113
+ h. Licensed Material means the artistic or literary work, database,
114
+ or other material to which the Licensor applied this Public
115
+ License.
116
+
117
+ i. Licensed Rights means the rights granted to You subject to the
118
+ terms and conditions of this Public License, which are limited to
119
+ all Copyright and Similar Rights that apply to Your use of the
120
+ Licensed Material and that the Licensor has authority to license.
121
+
122
+ j. Licensor means the individual(s) or entity(ies) granting rights
123
+ under this Public License.
124
+
125
+ k. NonCommercial means not primarily intended for or directed towards
126
+ commercial advantage or monetary compensation. For purposes of
127
+ this Public License, the exchange of the Licensed Material for
128
+ other material subject to Copyright and Similar Rights by digital
129
+ file-sharing or similar means is NonCommercial provided there is
130
+ no payment of monetary compensation in connection with the
131
+ exchange.
132
+
133
+ l. Share means to provide material to the public by any means or
134
+ process that requires permission under the Licensed Rights, such
135
+ as reproduction, public display, public performance, distribution,
136
+ dissemination, communication, or importation, and to make material
137
+ available to the public including in ways that members of the
138
+ public may access the material from a place and at a time
139
+ individually chosen by them.
140
+
141
+ m. Sui Generis Database Rights means rights other than copyright
142
+ resulting from Directive 96/9/EC of the European Parliament and of
143
+ the Council of 11 March 1996 on the legal protection of databases,
144
+ as amended and/or succeeded, as well as other essentially
145
+ equivalent rights anywhere in the world.
146
+
147
+ n. You means the individual or entity exercising the Licensed Rights
148
+ under this Public License. Your has a corresponding meaning.
149
+
150
+
151
+ Section 2 -- Scope.
152
+
153
+ a. License grant.
154
+
155
+ 1. Subject to the terms and conditions of this Public License,
156
+ the Licensor hereby grants You a worldwide, royalty-free,
157
+ non-sublicensable, non-exclusive, irrevocable license to
158
+ exercise the Licensed Rights in the Licensed Material to:
159
+
160
+ a. reproduce and Share the Licensed Material, in whole or
161
+ in part, for NonCommercial purposes only; and
162
+
163
+ b. produce, reproduce, and Share Adapted Material for
164
+ NonCommercial purposes only.
165
+
166
+ 2. Exceptions and Limitations. For the avoidance of doubt, where
167
+ Exceptions and Limitations apply to Your use, this Public
168
+ License does not apply, and You do not need to comply with
169
+ its terms and conditions.
170
+
171
+ 3. Term. The term of this Public License is specified in Section
172
+ 6(a).
173
+
174
+ 4. Media and formats; technical modifications allowed. The
175
+ Licensor authorizes You to exercise the Licensed Rights in
176
+ all media and formats whether now known or hereafter created,
177
+ and to make technical modifications necessary to do so. The
178
+ Licensor waives and/or agrees not to assert any right or
179
+ authority to forbid You from making technical modifications
180
+ necessary to exercise the Licensed Rights, including
181
+ technical modifications necessary to circumvent Effective
182
+ Technological Measures. For purposes of this Public License,
183
+ simply making modifications authorized by this Section 2(a)
184
+ (4) never produces Adapted Material.
185
+
186
+ 5. Downstream recipients.
187
+
188
+ a. Offer from the Licensor -- Licensed Material. Every
189
+ recipient of the Licensed Material automatically
190
+ receives an offer from the Licensor to exercise the
191
+ Licensed Rights under the terms and conditions of this
192
+ Public License.
193
+
194
+ b. Additional offer from the Licensor -- Adapted Material.
195
+ Every recipient of Adapted Material from You
196
+ automatically receives an offer from the Licensor to
197
+ exercise the Licensed Rights in the Adapted Material
198
+ under the conditions of the Adapter's License You apply.
199
+
200
+ c. No downstream restrictions. You may not offer or impose
201
+ any additional or different terms or conditions on, or
202
+ apply any Effective Technological Measures to, the
203
+ Licensed Material if doing so restricts exercise of the
204
+ Licensed Rights by any recipient of the Licensed
205
+ Material.
206
+
207
+ 6. No endorsement. Nothing in this Public License constitutes or
208
+ may be construed as permission to assert or imply that You
209
+ are, or that Your use of the Licensed Material is, connected
210
+ with, or sponsored, endorsed, or granted official status by,
211
+ the Licensor or others designated to receive attribution as
212
+ provided in Section 3(a)(1)(A)(i).
213
+
214
+ b. Other rights.
215
+
216
+ 1. Moral rights, such as the right of integrity, are not
217
+ licensed under this Public License, nor are publicity,
218
+ privacy, and/or other similar personality rights; however, to
219
+ the extent possible, the Licensor waives and/or agrees not to
220
+ assert any such rights held by the Licensor to the limited
221
+ extent necessary to allow You to exercise the Licensed
222
+ Rights, but not otherwise.
223
+
224
+ 2. Patent and trademark rights are not licensed under this
225
+ Public License.
226
+
227
+ 3. To the extent possible, the Licensor waives any right to
228
+ collect royalties from You for the exercise of the Licensed
229
+ Rights, whether directly or through a collecting society
230
+ under any voluntary or waivable statutory or compulsory
231
+ licensing scheme. In all other cases the Licensor expressly
232
+ reserves any right to collect such royalties, including when
233
+ the Licensed Material is used other than for NonCommercial
234
+ purposes.
235
+
236
+
237
+ Section 3 -- License Conditions.
238
+
239
+ Your exercise of the Licensed Rights is expressly made subject to the
240
+ following conditions.
241
+
242
+ a. Attribution.
243
+
244
+ 1. If You Share the Licensed Material (including in modified
245
+ form), You must:
246
+
247
+ a. retain the following if it is supplied by the Licensor
248
+ with the Licensed Material:
249
+
250
+ i. identification of the creator(s) of the Licensed
251
+ Material and any others designated to receive
252
+ attribution, in any reasonable manner requested by
253
+ the Licensor (including by pseudonym if
254
+ designated);
255
+
256
+ ii. a copyright notice;
257
+
258
+ iii. a notice that refers to this Public License;
259
+
260
+ iv. a notice that refers to the disclaimer of
261
+ warranties;
262
+
263
+ v. a URI or hyperlink to the Licensed Material to the
264
+ extent reasonably practicable;
265
+
266
+ b. indicate if You modified the Licensed Material and
267
+ retain an indication of any previous modifications; and
268
+
269
+ c. indicate the Licensed Material is licensed under this
270
+ Public License, and include the text of, or the URI or
271
+ hyperlink to, this Public License.
272
+
273
+ 2. You may satisfy the conditions in Section 3(a)(1) in any
274
+ reasonable manner based on the medium, means, and context in
275
+ which You Share the Licensed Material. For example, it may be
276
+ reasonable to satisfy the conditions by providing a URI or
277
+ hyperlink to a resource that includes the required
278
+ information.
279
+ 3. If requested by the Licensor, You must remove any of the
280
+ information required by Section 3(a)(1)(A) to the extent
281
+ reasonably practicable.
282
+
283
+ b. ShareAlike.
284
+
285
+ In addition to the conditions in Section 3(a), if You Share
286
+ Adapted Material You produce, the following conditions also apply.
287
+
288
+ 1. The Adapter's License You apply must be a Creative Commons
289
+ license with the same License Elements, this version or
290
+ later, or a BY-NC-SA Compatible License.
291
+
292
+ 2. You must include the text of, or the URI or hyperlink to, the
293
+ Adapter's License You apply. You may satisfy this condition
294
+ in any reasonable manner based on the medium, means, and
295
+ context in which You Share Adapted Material.
296
+
297
+ 3. You may not offer or impose any additional or different terms
298
+ or conditions on, or apply any Effective Technological
299
+ Measures to, Adapted Material that restrict exercise of the
300
+ rights granted under the Adapter's License You apply.
301
+
302
+
303
+ Section 4 -- Sui Generis Database Rights.
304
+
305
+ Where the Licensed Rights include Sui Generis Database Rights that
306
+ apply to Your use of the Licensed Material:
307
+
308
+ a. for the avoidance of doubt, Section 2(a)(1) grants You the right
309
+ to extract, reuse, reproduce, and Share all or a substantial
310
+ portion of the contents of the database for NonCommercial purposes
311
+ only;
312
+
313
+ b. if You include all or a substantial portion of the database
314
+ contents in a database in which You have Sui Generis Database
315
+ Rights, then the database in which You have Sui Generis Database
316
+ Rights (but not its individual contents) is Adapted Material,
317
+ including for purposes of Section 3(b); and
318
+
319
+ c. You must comply with the conditions in Section 3(a) if You Share
320
+ all or a substantial portion of the contents of the database.
321
+
322
+ For the avoidance of doubt, this Section 4 supplements and does not
323
+ replace Your obligations under this Public License where the Licensed
324
+ Rights include other Copyright and Similar Rights.
325
+
326
+
327
+ Section 5 -- Disclaimer of Warranties and Limitation of Liability.
328
+
329
+ a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE
330
+ EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS
331
+ AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF
332
+ ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,
333
+ IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,
334
+ WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR
335
+ PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,
336
+ ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT
337
+ KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT
338
+ ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.
339
+
340
+ b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE
341
+ TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
342
+ NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,
343
+ INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,
344
+ COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR
345
+ USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN
346
+ ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR
347
+ DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR
348
+ IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.
349
+
350
+ c. The disclaimer of warranties and limitation of liability provided
351
+ above shall be interpreted in a manner that, to the extent
352
+ possible, most closely approximates an absolute disclaimer and
353
+ waiver of all liability.
354
+
355
+
356
+ Section 6 -- Term and Termination.
357
+
358
+ a. This Public License applies for the term of the Copyright and
359
+ Similar Rights licensed here. However, if You fail to comply with
360
+ this Public License, then Your rights under this Public License
361
+ terminate automatically.
362
+
363
+ b. Where Your right to use the Licensed Material has terminated under
364
+ Section 6(a), it reinstates:
365
+
366
+ 1. automatically as of the date the violation is cured, provided
367
+ it is cured within 30 days of Your discovery of the
368
+ violation; or
369
+
370
+ 2. upon express reinstatement by the Licensor.
371
+
372
+ For the avoidance of doubt, this Section 6(b) does not affect any
373
+ right the Licensor may have to seek remedies for Your violations
374
+ of this Public License.
375
+
376
+ c. For the avoidance of doubt, the Licensor may also offer the
377
+ Licensed Material under separate terms or conditions or stop
378
+ distributing the Licensed Material at any time; however, doing so
379
+ will not terminate this Public License.
380
+
381
+ d. Sections 1, 5, 6, 7, and 8 survive termination of this Public
382
+ License.
383
+
384
+
385
+ Section 7 -- Other Terms and Conditions.
386
+
387
+ a. The Licensor shall not be bound by any additional or different
388
+ terms or conditions communicated by You unless expressly agreed.
389
+
390
+ b. Any arrangements, understandings, or agreements regarding the
391
+ Licensed Material not stated herein are separate from and
392
+ independent of the terms and conditions of this Public License.
393
+
394
+
395
+ Section 8 -- Interpretation.
396
+
397
+ a. For the avoidance of doubt, this Public License does not, and
398
+ shall not be interpreted to, reduce, limit, restrict, or impose
399
+ conditions on any use of the Licensed Material that could lawfully
400
+ be made without permission under this Public License.
401
+
402
+ b. To the extent possible, if any provision of this Public License is
403
+ deemed unenforceable, it shall be automatically reformed to the
404
+ minimum extent necessary to make it enforceable. If the provision
405
+ cannot be reformed, it shall be severed from this Public License
406
+ without affecting the enforceability of the remaining terms and
407
+ conditions.
408
+
409
+ c. No term or condition of this Public License will be waived and no
410
+ failure to comply consented to unless expressly agreed to by the
411
+ Licensor.
412
+
413
+ d. Nothing in this Public License constitutes or may be interpreted
414
+ as a limitation upon, or waiver of, any privileges and immunities
415
+ that apply to the Licensor or You, including from the legal
416
+ processes of any jurisdiction or authority.
417
+
418
+ =======================================================================
419
+
420
+ Creative Commons is not a party to its public
421
+ licenses. Notwithstanding, Creative Commons may elect to apply one of
422
+ its public licenses to material it publishes and in those instances
423
+ will be considered the “Licensor.” The text of the Creative Commons
424
+ public licenses is dedicated to the public domain under the CC0 Public
425
+ Domain Dedication. Except for the limited purpose of indicating that
426
+ material is shared under a Creative Commons public license or as
427
+ otherwise permitted by the Creative Commons policies published at
428
+ creativecommons.org/policies, Creative Commons does not authorize the
429
+ use of the trademark "Creative Commons" or any other trademark or logo
430
+ of Creative Commons without its prior written consent including,
431
+ without limitation, in connection with any unauthorized modifications
432
+ to any of its public licenses or any other arrangements,
433
+ understandings, or agreements concerning use of licensed material. For
434
+ the avoidance of doubt, this paragraph does not form part of the
435
+ public licenses.
436
+
437
+ Creative Commons may be contacted at creativecommons.org.
epoch_1/Mobile-O/Mobile-O-App/.gitignore ADDED
@@ -0,0 +1,97 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Python
2
+ __pycache__/
3
+ *.py[cod]
4
+ *.so
5
+ *.egg-info/
6
+ *.egg
7
+ dist/
8
+ build/
9
+ .eggs/
10
+ venv/
11
+ .venv/
12
+ env/
13
+
14
+ # Jupyter
15
+ .ipynb_checkpoints/
16
+ *.ipynb
17
+
18
+ # macOS
19
+ .DS_Store
20
+ ._*
21
+
22
+ # Xcode / Swift
23
+ xcuserdata/
24
+ *.xcuserstate
25
+ DerivedData/
26
+ *.dSYM
27
+ *.dSYM.zip
28
+ *.ipa
29
+ .build/
30
+ .swiftpm/
31
+ Pods/
32
+
33
+ # IDEs
34
+ .vscode/
35
+ .idea/
36
+ *.swp
37
+ *.swo
38
+ *~
39
+
40
+ # ML model files
41
+ *.ckpt
42
+ *.pth
43
+ *.pt
44
+ *.bin
45
+ *.safetensors
46
+ *.onnx
47
+ *.pb
48
+ *.h5
49
+ *.tflite
50
+ *.mlmodel
51
+ *.mlmodelc/
52
+ *.mlpackage/
53
+ *.npy
54
+
55
+ # Models directory
56
+ models/*
57
+ !models/.gitkeep
58
+
59
+ # Project-specific
60
+ old/
61
+ app/MobileO/Resources/llm/*
62
+
63
+ # Generated images
64
+ *.png
65
+ *.jpg
66
+ *.jpeg
67
+ *.gif
68
+ *.webp
69
+
70
+ # Logs and temp
71
+ *.log
72
+ *.tmp
73
+
74
+ # Secrets and credentials
75
+ .env
76
+ .env.*
77
+ *.key
78
+ *.pem
79
+ *.p12
80
+ *.pfx
81
+ *.token
82
+ credentials.json
83
+ secrets.json
84
+ token.json
85
+ serviceAccountKey.json
86
+ **/api_key*
87
+ **/secret_key*
88
+
89
+ # Archives and backups
90
+ *.zip
91
+ *.tar.gz
92
+ *.rar
93
+ *.7z
94
+ *.bak
95
+ *.backup
96
+ *.old
97
+ *.orig
epoch_1/Mobile-O/Mobile-O-App/README.md ADDED
@@ -0,0 +1,201 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Mobile-O Demo on iPhone 17:
2
+
3
+ <table>
4
+ <tr>
5
+ <th align="center" style="font-size:16px;">🖼️ Image Generation</th>
6
+ <th align="center" style="font-size:16px;">👁️ Image Understanding</th>
7
+ <th align="center" style="font-size:16px;">✏️ Image Editing</th>
8
+ </tr>
9
+ <tr>
10
+ <td align="center" valign="top">
11
+ <div style="padding-top:8px;">
12
+ <img src="../assets/image_generation.gif" width="250" alt="Image Generation">
13
+ </div>
14
+ </td>
15
+ <td align="center" valign="top">
16
+ <div style="padding-top:8px;">
17
+ <img src="../assets/image_understanding.gif" width="250" alt="Image Understanding">
18
+ </div>
19
+ </td>
20
+ <td align="center" valign="top">
21
+ <div style="padding-top:8px;">
22
+ <img src="../assets/image_editing.gif" width="250" alt="Image Editing">
23
+ </div>
24
+ </td>
25
+ </tr>
26
+ </table>
27
+
28
+ # Mobile-O App: Advanced Generation Control Settings
29
+ <img src="../assets/app_settings.jpg" width="300" alt="Settings">
30
+
31
+ # Capabilities
32
+
33
+ - **Text → Text** (General conversational AI)
34
+ - **Image → Text** (Image Understanding)
35
+ - **Text → Image** (Image Generation)
36
+ - **Text + Image → Image** (Image Editing)
37
+
38
+
39
+ This folder contains the iOS application and an optional model export pipeline (PyTorch to CoreML/MLX).
40
+
41
+ ---
42
+
43
+ ## Folder Structure
44
+
45
+ ```
46
+ mobile-o/
47
+ ├── export.py # (Optional) Exports PyTorch model to on-device formats
48
+ ├── requirements.txt # Python dependencies for export
49
+ ├── mobileo/ # Python model definitions (used by export.py)
50
+ │ ├── constants.py
51
+ │ └── model/ # MobileOForInferenceLM and sub-components
52
+ └── app/ # iOS Xcode project
53
+ ├── MobileO.xcodeproj
54
+ ├── Configuration/ # Build config (xcconfig)
55
+ └── MobileO/ # Swift source code
56
+ ├── App/ # App entry point and root view
57
+ ├── Models/ # Swift model wrappers (Generation, Understanding, Chat)
58
+ ├── Services/ # Model download manager and network monitor
59
+ ├── ViewModels/ # Chat and settings view models
60
+ ├── Views/ # SwiftUI views
61
+ ├── Video/ # Camera support
62
+ ├── Utilities/ # Helpers and extensions
63
+ └── Resources/ # Config files (scheduler, preprocessor)
64
+ ```
65
+
66
+ ---
67
+
68
+ ## Quick Start (Recommended)
69
+
70
+ The app **automatically downloads all required models** on first launch — no manual export or setup is needed.
71
+
72
+ ### Prerequisites
73
+
74
+ - **macOS** with **Xcode 16+**
75
+ - A **physical iPhone 15 or later** (the Simulator is not supported)
76
+
77
+ ### Build and Run
78
+
79
+ 1. Open the Xcode project:
80
+ ```bash
81
+ open app/MobileO.xcodeproj
82
+ ```
83
+ 2. Connect your **iPhone 15 or later**
84
+ 3. Set your **Development Team** in Signing & Capabilities
85
+ 4. **Build and run**: `Cmd + R`
86
+
87
+ ### First Launch: Automatic Model Download
88
+
89
+ On first launch, the app will present a download screen before you can use it:
90
+
91
+ 1. The app checks whether models are already present on-device
92
+ 2. If not, a **permission screen** shows the download details (~3.6 GB download, ~5 GB disk space required)
93
+ 3. Tap **"Download Models"** to begin — downloads run in the background via `URLSession` and can continue even if the app is backgrounded
94
+ 4. You can **pause and resume** at any time; progress is saved automatically
95
+ 5. After downloading, the app **compiles** the CoreML models on-device (this may take a few minutes)
96
+ 6. Once complete, tap **"Get Started"** to enter the app
97
+
98
+ Models are downloaded from HuggingFace ([`Amshaker/Mobile-O-0.5B-iOS`](https://huggingface.co/Amshaker/Mobile-O-0.5B-iOS)) and stored in the app's Application Support directory. After the one-time setup, the app runs **fully offline**.
99
+
100
+ > **Note:** A WiFi connection is recommended. The app will warn you if you are on cellular data but will not block the download.
101
+
102
+ ---
103
+
104
+ ## Advanced: Manual Model Export (Optional)
105
+
106
+ If you prefer to export models yourself (e.g., with custom quantization settings), you can use the `export.py` script to convert the PyTorch checkpoint into on-device components.
107
+
108
+ ### Prerequisites
109
+
110
+ - **Python 3.10+**
111
+ - **macOS** (required for CoreML export)
112
+
113
+ ### Set Up the Python Environment
114
+
115
+ ```bash
116
+ # Clone the repository
117
+ git clone https://github.com/<org>/mobile-o.git
118
+ cd mobile-o
119
+
120
+ # Create a virtual environment (recommended)
121
+ python3 -m venv venv
122
+ source venv/bin/activate
123
+
124
+ # Install dependencies
125
+ pip install -r requirements.txt
126
+ ```
127
+
128
+ ### Export the Models
129
+
130
+ The `export.py` script converts the PyTorch checkpoint into 5 on-device components:
131
+
132
+ | Component | Format | Output File |
133
+ |-----------|--------|-------------|
134
+ | DiT Transformer | CoreML FP32 | `transformer.mlpackage` |
135
+ | VAE Decoder | CoreML FP32 | `vae_decoder.mlpackage` |
136
+ | Connector | CoreML FP32 | `connector.mlpackage` |
137
+ | Vision Encoder | CoreML FP16 | `vision_encoder.mlpackage` |
138
+ | LLM (Qwen2) | MLX 4-bit | `llm/` (weights, config, tokenizer files) |
139
+
140
+ ```bash
141
+ # Downloads from HuggingFace automatically
142
+ python export.py
143
+
144
+ # Or use a local checkpoint
145
+ python export.py --model /path/to/mobileo-checkpoint
146
+ ```
147
+
148
+ This creates an `exported_models/` directory with all 5 components.
149
+
150
+ ### Export specific components only
151
+
152
+ ```bash
153
+ # Export just the DiT and VAE
154
+ python export.py --only dit vae
155
+
156
+ # Export just the LLM with 8-bit quantization instead of 4-bit
157
+ python export.py --only llm --llm-bits 8
158
+ ```
159
+
160
+ ### Full usage
161
+
162
+ ```
163
+ python export.py [--model MODEL] [--output-dir DIR] [--only COMPONENT...] [--llm-bits {4,8,16,32}]
164
+ ```
165
+
166
+ | Argument | Default | Description |
167
+ |----------|---------|-------------|
168
+ | `--model` | `Amshaker/Mobile-O-0.5B` | HuggingFace model ID or local path |
169
+ | `--output-dir` | `exported_models` | Where to save exported models |
170
+ | `--only` | all | Space-separated list: `dit`, `vae`, `connector`, `vision`, `llm` |
171
+ | `--llm-bits` | `4` | LLM quantization: 4, 8, 16, or 32 bits |
172
+
173
+ ### Copy Exported Models into the App
174
+
175
+ Copy all exported models into the app's Resources folder:
176
+
177
+ ```bash
178
+ cp -r exported_models/*.mlpackage app/MobileO/Resources/
179
+ mkdir -p app/MobileO/Resources/llm
180
+ cp -r exported_models/llm/* app/MobileO/Resources/llm/
181
+ ```
182
+
183
+ Then follow the **Build and Run** steps from the Quick Start section above.
184
+
185
+ > **Note:** Mobile-O requires iPhone 15 or later and must be run on a physical device. The iOS Simulator does not support the CoreML and Metal features used by the app.
186
+
187
+ ---
188
+
189
+ ## How It Works
190
+
191
+ The app uses a chat-based interface. What happens depends on your input:
192
+
193
+ | Input | What happens |
194
+ |-------|-------------|
195
+ | `generate <prompt>` | Generates an image from the text prompt |
196
+ | `edit <prompt>` + attached image | Edits the attached image based on the text instruction |
197
+ | Text prompt + attached image (no prefix) | Analyzes the image and responds with a text response based on the text prompt|
198
+ | Text only (no prefix) | Regular text chat using the language model |
199
+
200
+ ## Acknowledgements
201
+ The image understanding component of this application is built on top of [FastVLM](https://github.com/apple/ml-fastvlm/tree/main). We sincerely thank all the contributors for their valuable efforts and contributions.
epoch_1/Mobile-O/Mobile-O-App/app/Configuration/Build.xcconfig ADDED
@@ -0,0 +1 @@
 
 
1
+ // Build configuration for Mobile-O
epoch_1/Mobile-O/Mobile-O-App/app/MobileO.xcodeproj/project.pbxproj ADDED
@@ -0,0 +1,1181 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // !$*UTF8*$!
2
+ {
3
+ archiveVersion = 1;
4
+ classes = {
5
+ };
6
+ objectVersion = 77;
7
+ objects = {
8
+
9
+ /* Begin PBXBuildFile section */
10
+ 019A3E1A2D78E7370055F93B /* MLX in Frameworks */ = {isa = PBXBuildFile; productRef = 019A3E192D78E7370055F93B /* MLX */; };
11
+ 019A3E1C2D78E73E0055F93B /* MLXLMCommon in Frameworks */ = {isa = PBXBuildFile; productRef = 019A3E1B2D78E73E0055F93B /* MLXLMCommon */; };
12
+ 019A3E1E2D78E7470055F93B /* MLXRandom in Frameworks */ = {isa = PBXBuildFile; productRef = 019A3E1D2D78E7470055F93B /* MLXRandom */; };
13
+ 019A3E202D78E74C0055F93B /* MLXVLM in Frameworks */ = {isa = PBXBuildFile; productRef = 019A3E1F2D78E74C0055F93B /* MLXVLM */; };
14
+ 019A3E212D78E7530055F93B /* Video.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C35372AE2D08C32D00474D34 /* Video.framework */; };
15
+ 019A3E222D78E7530055F93B /* Video.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = C35372AE2D08C32D00474D34 /* Video.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
16
+ 15C163822EA94308004F01AD /* MLXLLM in Frameworks */ = {isa = PBXBuildFile; productRef = 15C163812EA94308004F01AD /* MLXLLM */; };
17
+ C3ED544E2D790860005E20B3 /* MLXLMCommon in Frameworks */ = {isa = PBXBuildFile; productRef = C3ED544D2D790860005E20B3 /* MLXLMCommon */; };
18
+ C3ED54502D790860005E20B3 /* MLXVLM in Frameworks */ = {isa = PBXBuildFile; productRef = C3ED544F2D790860005E20B3 /* MLXVLM */; };
19
+ C3ED54522D790860005E20B3 /* MLX in Frameworks */ = {isa = PBXBuildFile; productRef = C3ED54512D790860005E20B3 /* MLX */; };
20
+ C3ED54542D790860005E20B3 /* MLXNN in Frameworks */ = {isa = PBXBuildFile; productRef = C3ED54532D790860005E20B3 /* MLXNN */; };
21
+ C3ED54582D790A68005E20B3 /* MLXFast in Frameworks */ = {isa = PBXBuildFile; productRef = C3ED54572D790A68005E20B3 /* MLXFast */; };
22
+ C3ED545B2D790AD6005E20B3 /* Transformers in Frameworks */ = {isa = PBXBuildFile; productRef = C3ED545A2D790AD6005E20B3 /* Transformers */; };
23
+ C3ED55012D7A0A7A005E20B3 /* FastVLM.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C39BB3E62D79082A005DB8FB /* FastVLM.framework */; };
24
+ C3ED55022D7A0A7A005E20B3 /* FastVLM.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = C39BB3E62D79082A005DB8FB /* FastVLM.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
25
+ /* End PBXBuildFile section */
26
+
27
+ /* Begin PBXContainerItemProxy section */
28
+ 019A3E232D78E7530055F93B /* PBXContainerItemProxy */ = {
29
+ isa = PBXContainerItemProxy;
30
+ containerPortal = C35EDB642D07699400757E80 /* Project object */;
31
+ proxyType = 1;
32
+ remoteGlobalIDString = C35372AD2D08C32D00474D34;
33
+ remoteInfo = Video;
34
+ };
35
+ C3ED55032D7A0A7A005E20B3 /* PBXContainerItemProxy */ = {
36
+ isa = PBXContainerItemProxy;
37
+ containerPortal = C35EDB642D07699400757E80 /* Project object */;
38
+ proxyType = 1;
39
+ remoteGlobalIDString = C39BB3E52D79082A005DB8FB;
40
+ remoteInfo = FastVLM;
41
+ };
42
+ /* End PBXContainerItemProxy section */
43
+
44
+ /* Begin PBXCopyFilesBuildPhase section */
45
+ 019A3E252D78E7530055F93B /* Embed Frameworks */ = {
46
+ isa = PBXCopyFilesBuildPhase;
47
+ buildActionMask = 2147483647;
48
+ dstPath = "";
49
+ dstSubfolderSpec = 10;
50
+ files = (
51
+ C3ED55022D7A0A7A005E20B3 /* FastVLM.framework in Embed Frameworks */,
52
+ 019A3E222D78E7530055F93B /* Video.framework in Embed Frameworks */,
53
+ );
54
+ name = "Embed Frameworks";
55
+ runOnlyForDeploymentPostprocessing = 0;
56
+ };
57
+ /* End PBXCopyFilesBuildPhase section */
58
+
59
+ /* Begin PBXFileReference section */
60
+ 019A3E0A2D78E6A00055F93B /* MobileO.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = MobileO.app; sourceTree = BUILT_PRODUCTS_DIR; };
61
+ C35372AE2D08C32D00474D34 /* Video.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Video.framework; sourceTree = BUILT_PRODUCTS_DIR; };
62
+ C39BB3E62D79082A005DB8FB /* FastVLM.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = FastVLM.framework; sourceTree = BUILT_PRODUCTS_DIR; };
63
+ /* End PBXFileReference section */
64
+
65
+ /* Begin PBXFileSystemSynchronizedBuildFileExceptionSet section */
66
+ 159B197C2EAA6748008A2390 /* Exceptions for "MobileO" folder in "MobileO" target */ = {
67
+ isa = PBXFileSystemSynchronizedBuildFileExceptionSet;
68
+ membershipExceptions = (
69
+ Info.plist,
70
+ );
71
+ target = 019A3E092D78E6A00055F93B /* MobileO */;
72
+ };
73
+ /* End PBXFileSystemSynchronizedBuildFileExceptionSet section */
74
+
75
+ /* Begin PBXFileSystemSynchronizedRootGroup section */
76
+ 019A3E0B2D78E6A00055F93B /* MobileO */ = {
77
+ isa = PBXFileSystemSynchronizedRootGroup;
78
+ exceptions = (
79
+ 159B197C2EAA6748008A2390 /* Exceptions for "MobileO" folder in "MobileO" target */,
80
+ );
81
+ path = MobileO;
82
+ sourceTree = "<group>";
83
+ };
84
+ C32B4A802DA4805400EF663D /* Configuration */ = {
85
+ isa = PBXFileSystemSynchronizedRootGroup;
86
+ path = Configuration;
87
+ sourceTree = "<group>";
88
+ };
89
+ /* End PBXFileSystemSynchronizedRootGroup section */
90
+
91
+ /* Begin PBXFrameworksBuildPhase section */
92
+ 019A3E072D78E6A00055F93B /* Frameworks */ = {
93
+ isa = PBXFrameworksBuildPhase;
94
+ buildActionMask = 2147483647;
95
+ files = (
96
+ 15C163822EA94308004F01AD /* MLXLLM in Frameworks */,
97
+ 019A3E1C2D78E73E0055F93B /* MLXLMCommon in Frameworks */,
98
+ 019A3E212D78E7530055F93B /* Video.framework in Frameworks */,
99
+ C3ED55012D7A0A7A005E20B3 /* FastVLM.framework in Frameworks */,
100
+ 019A3E1E2D78E7470055F93B /* MLXRandom in Frameworks */,
101
+ 019A3E202D78E74C0055F93B /* MLXVLM in Frameworks */,
102
+ 019A3E1A2D78E7370055F93B /* MLX in Frameworks */,
103
+ );
104
+ runOnlyForDeploymentPostprocessing = 0;
105
+ };
106
+ C35372AB2D08C32D00474D34 /* Frameworks */ = {
107
+ isa = PBXFrameworksBuildPhase;
108
+ buildActionMask = 2147483647;
109
+ files = (
110
+ );
111
+ runOnlyForDeploymentPostprocessing = 0;
112
+ };
113
+ C39BB3E32D79082A005DB8FB /* Frameworks */ = {
114
+ isa = PBXFrameworksBuildPhase;
115
+ buildActionMask = 2147483647;
116
+ files = (
117
+ C3ED545B2D790AD6005E20B3 /* Transformers in Frameworks */,
118
+ C3ED54522D790860005E20B3 /* MLX in Frameworks */,
119
+ C3ED54502D790860005E20B3 /* MLXVLM in Frameworks */,
120
+ C3ED54542D790860005E20B3 /* MLXNN in Frameworks */,
121
+ C3ED54582D790A68005E20B3 /* MLXFast in Frameworks */,
122
+ C3ED544E2D790860005E20B3 /* MLXLMCommon in Frameworks */,
123
+ );
124
+ runOnlyForDeploymentPostprocessing = 0;
125
+ };
126
+ /* End PBXFrameworksBuildPhase section */
127
+
128
+ /* Begin PBXGroup section */
129
+ C35EDB632D07699400757E80 = {
130
+ isa = PBXGroup;
131
+ children = (
132
+ C32B4A802DA4805400EF663D /* Configuration */,
133
+ 019A3E0B2D78E6A00055F93B /* MobileO */,
134
+ C35EDB7F2D076C3C00757E80 /* Frameworks */,
135
+ C35EDB702D076A5A00757E80 /* Products */,
136
+ );
137
+ sourceTree = "<group>";
138
+ };
139
+ C35EDB702D076A5A00757E80 /* Products */ = {
140
+ isa = PBXGroup;
141
+ children = (
142
+ C35372AE2D08C32D00474D34 /* Video.framework */,
143
+ 019A3E0A2D78E6A00055F93B /* MobileO.app */,
144
+ C39BB3E62D79082A005DB8FB /* FastVLM.framework */,
145
+ );
146
+ name = Products;
147
+ sourceTree = "<group>";
148
+ };
149
+ C35EDB7F2D076C3C00757E80 /* Frameworks */ = {
150
+ isa = PBXGroup;
151
+ children = (
152
+ );
153
+ name = Frameworks;
154
+ sourceTree = "<group>";
155
+ };
156
+ /* End PBXGroup section */
157
+
158
+ /* Begin PBXHeadersBuildPhase section */
159
+ C35372A92D08C32D00474D34 /* Headers */ = {
160
+ isa = PBXHeadersBuildPhase;
161
+ buildActionMask = 2147483647;
162
+ files = (
163
+ );
164
+ runOnlyForDeploymentPostprocessing = 0;
165
+ };
166
+ C39BB3E12D79082A005DB8FB /* Headers */ = {
167
+ isa = PBXHeadersBuildPhase;
168
+ buildActionMask = 2147483647;
169
+ files = (
170
+ );
171
+ runOnlyForDeploymentPostprocessing = 0;
172
+ };
173
+ /* End PBXHeadersBuildPhase section */
174
+
175
+ /* Begin PBXNativeTarget section */
176
+ 019A3E092D78E6A00055F93B /* MobileO */ = {
177
+ isa = PBXNativeTarget;
178
+ buildConfigurationList = 019A3E182D78E6A20055F93B /* Build configuration list for PBXNativeTarget "MobileO" */;
179
+ buildPhases = (
180
+ 019A3E062D78E6A00055F93B /* Sources */,
181
+ 019A3E072D78E6A00055F93B /* Frameworks */,
182
+ 019A3E082D78E6A00055F93B /* Resources */,
183
+ 019A3E252D78E7530055F93B /* Embed Frameworks */,
184
+ );
185
+ buildRules = (
186
+ );
187
+ dependencies = (
188
+ 019A3E242D78E7530055F93B /* PBXTargetDependency */,
189
+ C3ED55042D7A0A7A005E20B3 /* PBXTargetDependency */,
190
+ );
191
+ fileSystemSynchronizedGroups = (
192
+ 019A3E0B2D78E6A00055F93B /* MobileO */,
193
+ );
194
+ name = MobileO;
195
+ packageProductDependencies = (
196
+ 019A3E192D78E7370055F93B /* MLX */,
197
+ 019A3E1B2D78E73E0055F93B /* MLXLMCommon */,
198
+ 019A3E1D2D78E7470055F93B /* MLXRandom */,
199
+ 019A3E1F2D78E74C0055F93B /* MLXVLM */,
200
+ 15C163812EA94308004F01AD /* MLXLLM */,
201
+ );
202
+ productName = MobileO;
203
+ productReference = 019A3E0A2D78E6A00055F93B /* MobileO.app */;
204
+ productType = "com.apple.product-type.application";
205
+ };
206
+ C35372AD2D08C32D00474D34 /* Video */ = {
207
+ isa = PBXNativeTarget;
208
+ buildConfigurationList = C35372BA2D08C32D00474D34 /* Build configuration list for PBXNativeTarget "Video" */;
209
+ buildPhases = (
210
+ C35372A92D08C32D00474D34 /* Headers */,
211
+ C35372AA2D08C32D00474D34 /* Sources */,
212
+ C35372AB2D08C32D00474D34 /* Frameworks */,
213
+ C35372AC2D08C32D00474D34 /* Resources */,
214
+ );
215
+ buildRules = (
216
+ );
217
+ dependencies = (
218
+ );
219
+ name = Video;
220
+ packageProductDependencies = (
221
+ );
222
+ productName = Video;
223
+ productReference = C35372AE2D08C32D00474D34 /* Video.framework */;
224
+ productType = "com.apple.product-type.framework";
225
+ };
226
+ C39BB3E52D79082A005DB8FB /* FastVLM */ = {
227
+ isa = PBXNativeTarget;
228
+ buildConfigurationList = C39BB3FF2D79082A005DB8FB /* Build configuration list for PBXNativeTarget "FastVLM" */;
229
+ buildPhases = (
230
+ C39BB3E12D79082A005DB8FB /* Headers */,
231
+ C39BB3E22D79082A005DB8FB /* Sources */,
232
+ C39BB3E32D79082A005DB8FB /* Frameworks */,
233
+ C39BB3E42D79082A005DB8FB /* Resources */,
234
+ );
235
+ buildRules = (
236
+ );
237
+ dependencies = (
238
+ );
239
+ name = FastVLM;
240
+ packageProductDependencies = (
241
+ C3ED544D2D790860005E20B3 /* MLXLMCommon */,
242
+ C3ED544F2D790860005E20B3 /* MLXVLM */,
243
+ C3ED54512D790860005E20B3 /* MLX */,
244
+ C3ED54532D790860005E20B3 /* MLXNN */,
245
+ C3ED54572D790A68005E20B3 /* MLXFast */,
246
+ C3ED545A2D790AD6005E20B3 /* Transformers */,
247
+ );
248
+ productName = FastVLM;
249
+ productReference = C39BB3E62D79082A005DB8FB /* FastVLM.framework */;
250
+ productType = "com.apple.product-type.framework";
251
+ };
252
+ /* End PBXNativeTarget section */
253
+
254
+ /* Begin PBXProject section */
255
+ C35EDB642D07699400757E80 /* Project object */ = {
256
+ isa = PBXProject;
257
+ attributes = {
258
+ BuildIndependentTargetsInParallel = 1;
259
+ LastSwiftUpdateCheck = 1620;
260
+ LastUpgradeCheck = 1630;
261
+ TargetAttributes = {
262
+ 019A3E092D78E6A00055F93B = {
263
+ CreatedOnToolsVersion = 16.2;
264
+ };
265
+ C35372AD2D08C32D00474D34 = {
266
+ CreatedOnToolsVersion = 16.0;
267
+ };
268
+ C39BB3E52D79082A005DB8FB = {
269
+ CreatedOnToolsVersion = 16.0;
270
+ LastSwiftMigration = 1600;
271
+ };
272
+ };
273
+ };
274
+ buildConfigurationList = C35EDB672D07699400757E80 /* Build configuration list for PBXProject "MobileO" */;
275
+ developmentRegion = en;
276
+ hasScannedForEncodings = 0;
277
+ knownRegions = (
278
+ en,
279
+ Base,
280
+ );
281
+ mainGroup = C35EDB632D07699400757E80;
282
+ minimizedProjectReferenceProxies = 1;
283
+ packageReferences = (
284
+ C35EDB6A2D076A3900757E80 /* XCRemoteSwiftPackageReference "mlx-swift-examples" */,
285
+ C35EDB8A2D07777E00757E80 /* XCRemoteSwiftPackageReference "mlx-swift" */,
286
+ C3ED54592D790AC6005E20B3 /* XCRemoteSwiftPackageReference "swift-transformers" */,
287
+ );
288
+ preferredProjectObjectVersion = 77;
289
+ productRefGroup = C35EDB702D076A5A00757E80 /* Products */;
290
+ projectDirPath = "";
291
+ projectRoot = "";
292
+ targets = (
293
+ C35372AD2D08C32D00474D34 /* Video */,
294
+ 019A3E092D78E6A00055F93B /* MobileO */,
295
+ C39BB3E52D79082A005DB8FB /* FastVLM */,
296
+ );
297
+ };
298
+ /* End PBXProject section */
299
+
300
+ /* Begin PBXResourcesBuildPhase section */
301
+ 019A3E082D78E6A00055F93B /* Resources */ = {
302
+ isa = PBXResourcesBuildPhase;
303
+ buildActionMask = 2147483647;
304
+ files = (
305
+ );
306
+ runOnlyForDeploymentPostprocessing = 0;
307
+ };
308
+ C35372AC2D08C32D00474D34 /* Resources */ = {
309
+ isa = PBXResourcesBuildPhase;
310
+ buildActionMask = 2147483647;
311
+ files = (
312
+ );
313
+ runOnlyForDeploymentPostprocessing = 0;
314
+ };
315
+ C39BB3E42D79082A005DB8FB /* Resources */ = {
316
+ isa = PBXResourcesBuildPhase;
317
+ buildActionMask = 2147483647;
318
+ files = (
319
+ );
320
+ runOnlyForDeploymentPostprocessing = 0;
321
+ };
322
+ /* End PBXResourcesBuildPhase section */
323
+
324
+ /* Begin PBXSourcesBuildPhase section */
325
+ 019A3E062D78E6A00055F93B /* Sources */ = {
326
+ isa = PBXSourcesBuildPhase;
327
+ buildActionMask = 2147483647;
328
+ files = (
329
+ );
330
+ runOnlyForDeploymentPostprocessing = 0;
331
+ };
332
+ C35372AA2D08C32D00474D34 /* Sources */ = {
333
+ isa = PBXSourcesBuildPhase;
334
+ buildActionMask = 2147483647;
335
+ files = (
336
+ );
337
+ runOnlyForDeploymentPostprocessing = 0;
338
+ };
339
+ C39BB3E22D79082A005DB8FB /* Sources */ = {
340
+ isa = PBXSourcesBuildPhase;
341
+ buildActionMask = 2147483647;
342
+ files = (
343
+ );
344
+ runOnlyForDeploymentPostprocessing = 0;
345
+ };
346
+ /* End PBXSourcesBuildPhase section */
347
+
348
+ /* Begin PBXTargetDependency section */
349
+ 019A3E242D78E7530055F93B /* PBXTargetDependency */ = {
350
+ isa = PBXTargetDependency;
351
+ target = C35372AD2D08C32D00474D34 /* Video */;
352
+ targetProxy = 019A3E232D78E7530055F93B /* PBXContainerItemProxy */;
353
+ };
354
+ C3ED55042D7A0A7A005E20B3 /* PBXTargetDependency */ = {
355
+ isa = PBXTargetDependency;
356
+ target = C39BB3E52D79082A005DB8FB /* FastVLM */;
357
+ targetProxy = C3ED55032D7A0A7A005E20B3 /* PBXContainerItemProxy */;
358
+ };
359
+ /* End PBXTargetDependency section */
360
+
361
+ /* Begin XCBuildConfiguration section */
362
+ 019A3E162D78E6A20055F93B /* Debug */ = {
363
+ isa = XCBuildConfiguration;
364
+ buildSettings = {
365
+ ALWAYS_SEARCH_USER_PATHS = NO;
366
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
367
+ ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
368
+ ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
369
+ AUTOMATION_APPLE_EVENTS = NO;
370
+ CLANG_ANALYZER_NONNULL = YES;
371
+ CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
372
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++20";
373
+ CLANG_ENABLE_MODULES = YES;
374
+ CLANG_ENABLE_OBJC_ARC = YES;
375
+ CLANG_ENABLE_OBJC_WEAK = YES;
376
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
377
+ CLANG_WARN_BOOL_CONVERSION = YES;
378
+ CLANG_WARN_COMMA = YES;
379
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
380
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
381
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
382
+ CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
383
+ CLANG_WARN_EMPTY_BODY = YES;
384
+ CLANG_WARN_ENUM_CONVERSION = YES;
385
+ CLANG_WARN_INFINITE_RECURSION = YES;
386
+ CLANG_WARN_INT_CONVERSION = YES;
387
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
388
+ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
389
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
390
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
391
+ CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
392
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
393
+ CLANG_WARN_STRICT_PROTOTYPES = YES;
394
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
395
+ CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
396
+ CLANG_WARN_UNREACHABLE_CODE = YES;
397
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
398
+ CODE_SIGN_ENTITLEMENTS = MobileO/MobileO.entitlements;
399
+ CODE_SIGN_STYLE = Automatic;
400
+ COPY_PHASE_STRIP = NO;
401
+ CURRENT_PROJECT_VERSION = 2;
402
+ DEAD_CODE_STRIPPING = YES;
403
+ DEBUG_INFORMATION_FORMAT = dwarf;
404
+ DEVELOPMENT_ASSET_PATHS = "\"MobileO/Preview Content\"";
405
+ DEVELOPMENT_TEAM = Q3GRH2LZ7S;
406
+ ENABLE_APP_SANDBOX = YES;
407
+ ENABLE_HARDENED_RUNTIME = YES;
408
+ ENABLE_INCOMING_NETWORK_CONNECTIONS = NO;
409
+ ENABLE_OUTGOING_NETWORK_CONNECTIONS = YES;
410
+ ENABLE_PREVIEWS = YES;
411
+ ENABLE_RESOURCE_ACCESS_AUDIO_INPUT = NO;
412
+ ENABLE_RESOURCE_ACCESS_BLUETOOTH = NO;
413
+ ENABLE_RESOURCE_ACCESS_CALENDARS = NO;
414
+ ENABLE_RESOURCE_ACCESS_CAMERA = YES;
415
+ ENABLE_RESOURCE_ACCESS_CONTACTS = NO;
416
+ ENABLE_RESOURCE_ACCESS_LOCATION = NO;
417
+ ENABLE_RESOURCE_ACCESS_PHOTO_LIBRARY = NO;
418
+ ENABLE_RESOURCE_ACCESS_PRINTING = NO;
419
+ ENABLE_RESOURCE_ACCESS_USB = NO;
420
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
421
+ ENABLE_TESTABILITY = YES;
422
+ ENABLE_USER_SCRIPT_SANDBOXING = YES;
423
+ FRAMEWORK_SEARCH_PATHS = "$(inherited)";
424
+ GCC_C_LANGUAGE_STANDARD = gnu17;
425
+ GCC_DYNAMIC_NO_PIC = NO;
426
+ GCC_NO_COMMON_BLOCKS = YES;
427
+ GCC_OPTIMIZATION_LEVEL = 0;
428
+ GCC_PREPROCESSOR_DEFINITIONS = (
429
+ "DEBUG=1",
430
+ "$(inherited)",
431
+ );
432
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
433
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
434
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
435
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
436
+ GCC_WARN_UNUSED_FUNCTION = YES;
437
+ GCC_WARN_UNUSED_VARIABLE = YES;
438
+ GENERATE_INFOPLIST_FILE = YES;
439
+ INFOPLIST_FILE = MobileO/Info.plist;
440
+ INFOPLIST_KEY_CFBundleDisplayName = "Mobile-O";
441
+ INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.productivity";
442
+ INFOPLIST_KEY_NSCameraUsageDescription = "This app uses the camera to capture images for AI-powered image understanding and generation.";
443
+ INFOPLIST_KEY_NSPhotoLibraryAddUsageDescription = "Mobile-O needs permission to save generated images to your photo library.";
444
+ INFOPLIST_KEY_NSPhotoLibraryUsageDescription = "Mobile-O needs access to your photo library to select images for AI understanding.";
445
+ "INFOPLIST_KEY_UIApplicationSceneManifest_Generation[sdk=iphoneos*]" = YES;
446
+ "INFOPLIST_KEY_UIApplicationSceneManifest_Generation[sdk=iphonesimulator*]" = YES;
447
+ "INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents[sdk=iphoneos*]" = YES;
448
+ "INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents[sdk=iphonesimulator*]" = YES;
449
+ "INFOPLIST_KEY_UILaunchScreen_Generation[sdk=iphoneos*]" = YES;
450
+ "INFOPLIST_KEY_UILaunchScreen_Generation[sdk=iphonesimulator*]" = YES;
451
+ INFOPLIST_KEY_UIRequiresFullScreen = YES;
452
+ "INFOPLIST_KEY_UIStatusBarStyle[sdk=iphoneos*]" = UIStatusBarStyleDefault;
453
+ "INFOPLIST_KEY_UIStatusBarStyle[sdk=iphonesimulator*]" = UIStatusBarStyleDefault;
454
+ INFOPLIST_KEY_UISupportedInterfaceOrientations = UIInterfaceOrientationPortrait;
455
+ IPHONEOS_DEPLOYMENT_TARGET = 18.2;
456
+ LD_RUNPATH_SEARCH_PATHS = "@executable_path/Frameworks";
457
+ LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
458
+ MARKETING_VERSION = 1.0;
459
+ MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
460
+ MTL_FAST_MATH = YES;
461
+ ONLY_ACTIVE_ARCH = YES;
462
+ PRODUCT_BUNDLE_IDENTIFIER = com.ival.mobileo;
463
+ PRODUCT_NAME = "$(TARGET_NAME)";
464
+ RUNTIME_EXCEPTION_ALLOW_DYLD_ENVIRONMENT_VARIABLES = NO;
465
+ RUNTIME_EXCEPTION_ALLOW_JIT = NO;
466
+ RUNTIME_EXCEPTION_ALLOW_UNSIGNED_EXECUTABLE_MEMORY = NO;
467
+ RUNTIME_EXCEPTION_DEBUGGING_TOOL = NO;
468
+ RUNTIME_EXCEPTION_DISABLE_EXECUTABLE_PAGE_PROTECTION = NO;
469
+ RUNTIME_EXCEPTION_DISABLE_LIBRARY_VALIDATION = NO;
470
+ SDKROOT = auto;
471
+ SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
472
+ SUPPORTS_MACCATALYST = NO;
473
+ SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG $(inherited)";
474
+ SWIFT_EMIT_LOC_STRINGS = YES;
475
+ SWIFT_OPTIMIZATION_LEVEL = "-Onone";
476
+ SWIFT_VERSION = 5.0;
477
+ TARGETED_DEVICE_FAMILY = "1,2";
478
+ };
479
+ name = Debug;
480
+ };
481
+ 019A3E172D78E6A20055F93B /* Release */ = {
482
+ isa = XCBuildConfiguration;
483
+ buildSettings = {
484
+ ALWAYS_SEARCH_USER_PATHS = NO;
485
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
486
+ ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
487
+ ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
488
+ AUTOMATION_APPLE_EVENTS = NO;
489
+ CLANG_ANALYZER_NONNULL = YES;
490
+ CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
491
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++20";
492
+ CLANG_ENABLE_MODULES = YES;
493
+ CLANG_ENABLE_OBJC_ARC = YES;
494
+ CLANG_ENABLE_OBJC_WEAK = YES;
495
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
496
+ CLANG_WARN_BOOL_CONVERSION = YES;
497
+ CLANG_WARN_COMMA = YES;
498
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
499
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
500
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
501
+ CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
502
+ CLANG_WARN_EMPTY_BODY = YES;
503
+ CLANG_WARN_ENUM_CONVERSION = YES;
504
+ CLANG_WARN_INFINITE_RECURSION = YES;
505
+ CLANG_WARN_INT_CONVERSION = YES;
506
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
507
+ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
508
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
509
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
510
+ CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
511
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
512
+ CLANG_WARN_STRICT_PROTOTYPES = YES;
513
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
514
+ CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
515
+ CLANG_WARN_UNREACHABLE_CODE = YES;
516
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
517
+ CODE_SIGN_ENTITLEMENTS = MobileO/MobileO.entitlements;
518
+ CODE_SIGN_STYLE = Automatic;
519
+ COPY_PHASE_STRIP = NO;
520
+ CURRENT_PROJECT_VERSION = 2;
521
+ DEAD_CODE_STRIPPING = YES;
522
+ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
523
+ DEVELOPMENT_ASSET_PATHS = "\"MobileO/Preview Content\"";
524
+ DEVELOPMENT_TEAM = Q3GRH2LZ7S;
525
+ ENABLE_APP_SANDBOX = YES;
526
+ ENABLE_HARDENED_RUNTIME = YES;
527
+ ENABLE_INCOMING_NETWORK_CONNECTIONS = NO;
528
+ ENABLE_NS_ASSERTIONS = NO;
529
+ ENABLE_OUTGOING_NETWORK_CONNECTIONS = YES;
530
+ ENABLE_PREVIEWS = YES;
531
+ ENABLE_RESOURCE_ACCESS_AUDIO_INPUT = NO;
532
+ ENABLE_RESOURCE_ACCESS_BLUETOOTH = NO;
533
+ ENABLE_RESOURCE_ACCESS_CALENDARS = NO;
534
+ ENABLE_RESOURCE_ACCESS_CAMERA = YES;
535
+ ENABLE_RESOURCE_ACCESS_CONTACTS = NO;
536
+ ENABLE_RESOURCE_ACCESS_LOCATION = NO;
537
+ ENABLE_RESOURCE_ACCESS_PHOTO_LIBRARY = NO;
538
+ ENABLE_RESOURCE_ACCESS_PRINTING = NO;
539
+ ENABLE_RESOURCE_ACCESS_USB = NO;
540
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
541
+ ENABLE_USER_SCRIPT_SANDBOXING = YES;
542
+ FRAMEWORK_SEARCH_PATHS = "$(inherited)";
543
+ GCC_C_LANGUAGE_STANDARD = gnu17;
544
+ GCC_NO_COMMON_BLOCKS = YES;
545
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
546
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
547
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
548
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
549
+ GCC_WARN_UNUSED_FUNCTION = YES;
550
+ GCC_WARN_UNUSED_VARIABLE = YES;
551
+ GENERATE_INFOPLIST_FILE = YES;
552
+ INFOPLIST_FILE = MobileO/Info.plist;
553
+ INFOPLIST_KEY_CFBundleDisplayName = "Mobile-O";
554
+ INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.productivity";
555
+ INFOPLIST_KEY_NSCameraUsageDescription = "This app uses the camera to capture images for AI-powered image understanding and generation.";
556
+ INFOPLIST_KEY_NSPhotoLibraryAddUsageDescription = "Mobile-O needs permission to save generated images to your photo library.";
557
+ INFOPLIST_KEY_NSPhotoLibraryUsageDescription = "Mobile-O needs access to your photo library to select images for AI understanding.";
558
+ "INFOPLIST_KEY_UIApplicationSceneManifest_Generation[sdk=iphoneos*]" = YES;
559
+ "INFOPLIST_KEY_UIApplicationSceneManifest_Generation[sdk=iphonesimulator*]" = YES;
560
+ "INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents[sdk=iphoneos*]" = YES;
561
+ "INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents[sdk=iphonesimulator*]" = YES;
562
+ "INFOPLIST_KEY_UILaunchScreen_Generation[sdk=iphoneos*]" = YES;
563
+ "INFOPLIST_KEY_UILaunchScreen_Generation[sdk=iphonesimulator*]" = YES;
564
+ INFOPLIST_KEY_UIRequiresFullScreen = YES;
565
+ "INFOPLIST_KEY_UIStatusBarStyle[sdk=iphoneos*]" = UIStatusBarStyleDefault;
566
+ "INFOPLIST_KEY_UIStatusBarStyle[sdk=iphonesimulator*]" = UIStatusBarStyleDefault;
567
+ INFOPLIST_KEY_UISupportedInterfaceOrientations = UIInterfaceOrientationPortrait;
568
+ IPHONEOS_DEPLOYMENT_TARGET = 18.2;
569
+ LD_RUNPATH_SEARCH_PATHS = "@executable_path/Frameworks";
570
+ LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
571
+ MARKETING_VERSION = 1.0;
572
+ MTL_ENABLE_DEBUG_INFO = NO;
573
+ MTL_FAST_MATH = YES;
574
+ PRODUCT_BUNDLE_IDENTIFIER = com.ival.mobileo;
575
+ PRODUCT_NAME = "$(TARGET_NAME)";
576
+ RUNTIME_EXCEPTION_ALLOW_DYLD_ENVIRONMENT_VARIABLES = NO;
577
+ RUNTIME_EXCEPTION_ALLOW_JIT = NO;
578
+ RUNTIME_EXCEPTION_ALLOW_UNSIGNED_EXECUTABLE_MEMORY = NO;
579
+ RUNTIME_EXCEPTION_DEBUGGING_TOOL = NO;
580
+ RUNTIME_EXCEPTION_DISABLE_EXECUTABLE_PAGE_PROTECTION = NO;
581
+ RUNTIME_EXCEPTION_DISABLE_LIBRARY_VALIDATION = NO;
582
+ SDKROOT = auto;
583
+ SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
584
+ SUPPORTS_MACCATALYST = NO;
585
+ SWIFT_COMPILATION_MODE = wholemodule;
586
+ SWIFT_EMIT_LOC_STRINGS = YES;
587
+ SWIFT_VERSION = 5.0;
588
+ TARGETED_DEVICE_FAMILY = "1,2";
589
+ };
590
+ name = Release;
591
+ };
592
+ C35372B72D08C32D00474D34 /* Debug */ = {
593
+ isa = XCBuildConfiguration;
594
+ buildSettings = {
595
+ ALLOW_TARGET_PLATFORM_SPECIALIZATION = YES;
596
+ ALWAYS_SEARCH_USER_PATHS = NO;
597
+ ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
598
+ BUILD_LIBRARY_FOR_DISTRIBUTION = YES;
599
+ CLANG_ANALYZER_NONNULL = YES;
600
+ CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
601
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++20";
602
+ CLANG_ENABLE_MODULES = YES;
603
+ CLANG_ENABLE_OBJC_ARC = YES;
604
+ CLANG_ENABLE_OBJC_WEAK = YES;
605
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
606
+ CLANG_WARN_BOOL_CONVERSION = YES;
607
+ CLANG_WARN_COMMA = YES;
608
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
609
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
610
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
611
+ CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
612
+ CLANG_WARN_EMPTY_BODY = YES;
613
+ CLANG_WARN_ENUM_CONVERSION = YES;
614
+ CLANG_WARN_INFINITE_RECURSION = YES;
615
+ CLANG_WARN_INT_CONVERSION = YES;
616
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
617
+ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
618
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
619
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
620
+ CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
621
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
622
+ CLANG_WARN_STRICT_PROTOTYPES = YES;
623
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
624
+ CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
625
+ CLANG_WARN_UNREACHABLE_CODE = YES;
626
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
627
+ CODE_SIGN_IDENTITY = "";
628
+ "CODE_SIGN_IDENTITY[sdk=macosx*]" = "-";
629
+ CODE_SIGN_STYLE = Automatic;
630
+ COPY_PHASE_STRIP = NO;
631
+ CURRENT_PROJECT_VERSION = 1;
632
+ DEAD_CODE_STRIPPING = YES;
633
+ DEBUG_INFORMATION_FORMAT = dwarf;
634
+ DEFINES_MODULE = YES;
635
+ DEVELOPMENT_TEAM = Q3GRH2LZ7S;
636
+ DYLIB_COMPATIBILITY_VERSION = 1;
637
+ DYLIB_CURRENT_VERSION = 1;
638
+ DYLIB_INSTALL_NAME_BASE = "@rpath";
639
+ ENABLE_MODULE_VERIFIER = YES;
640
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
641
+ ENABLE_TESTABILITY = YES;
642
+ ENABLE_USER_SCRIPT_SANDBOXING = YES;
643
+ GCC_C_LANGUAGE_STANDARD = gnu17;
644
+ GCC_DYNAMIC_NO_PIC = NO;
645
+ GCC_NO_COMMON_BLOCKS = YES;
646
+ GCC_OPTIMIZATION_LEVEL = 0;
647
+ GCC_PREPROCESSOR_DEFINITIONS = (
648
+ "DEBUG=1",
649
+ "$(inherited)",
650
+ );
651
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
652
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
653
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
654
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
655
+ GCC_WARN_UNUSED_FUNCTION = YES;
656
+ GCC_WARN_UNUSED_VARIABLE = YES;
657
+ GENERATE_INFOPLIST_FILE = YES;
658
+ INFOPLIST_KEY_NSHumanReadableCopyright = "";
659
+ INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
660
+ IPHONEOS_DEPLOYMENT_TARGET = 18.0;
661
+ LD_RUNPATH_SEARCH_PATHS = (
662
+ "@executable_path/Frameworks",
663
+ "@loader_path/Frameworks",
664
+ );
665
+ "LD_RUNPATH_SEARCH_PATHS[sdk=macosx*]" = (
666
+ "@executable_path/../Frameworks",
667
+ "@loader_path/Frameworks",
668
+ );
669
+ LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
670
+ MACOSX_DEPLOYMENT_TARGET = 15.0;
671
+ MARKETING_VERSION = 1.0;
672
+ MODULE_VERIFIER_SUPPORTED_LANGUAGES = "objective-c objective-c++";
673
+ MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu17 gnu++20";
674
+ MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
675
+ MTL_FAST_MATH = YES;
676
+ ONLY_ACTIVE_ARCH = YES;
677
+ PRODUCT_BUNDLE_IDENTIFIER = mlx.Video;
678
+ PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
679
+ SDKROOT = auto;
680
+ SKIP_INSTALL = YES;
681
+ SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
682
+ SUPPORTS_MACCATALYST = NO;
683
+ SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG $(inherited)";
684
+ SWIFT_EMIT_LOC_STRINGS = YES;
685
+ SWIFT_INSTALL_OBJC_HEADER = NO;
686
+ SWIFT_OPTIMIZATION_LEVEL = "-Onone";
687
+ SWIFT_VERSION = 5.0;
688
+ TARGETED_DEVICE_FAMILY = "1,2";
689
+ VERSIONING_SYSTEM = "apple-generic";
690
+ VERSION_INFO_PREFIX = "";
691
+ };
692
+ name = Debug;
693
+ };
694
+ C35372B82D08C32D00474D34 /* Release */ = {
695
+ isa = XCBuildConfiguration;
696
+ buildSettings = {
697
+ ALLOW_TARGET_PLATFORM_SPECIALIZATION = YES;
698
+ ALWAYS_SEARCH_USER_PATHS = NO;
699
+ ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
700
+ BUILD_LIBRARY_FOR_DISTRIBUTION = YES;
701
+ CLANG_ANALYZER_NONNULL = YES;
702
+ CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
703
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++20";
704
+ CLANG_ENABLE_MODULES = YES;
705
+ CLANG_ENABLE_OBJC_ARC = YES;
706
+ CLANG_ENABLE_OBJC_WEAK = YES;
707
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
708
+ CLANG_WARN_BOOL_CONVERSION = YES;
709
+ CLANG_WARN_COMMA = YES;
710
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
711
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
712
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
713
+ CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
714
+ CLANG_WARN_EMPTY_BODY = YES;
715
+ CLANG_WARN_ENUM_CONVERSION = YES;
716
+ CLANG_WARN_INFINITE_RECURSION = YES;
717
+ CLANG_WARN_INT_CONVERSION = YES;
718
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
719
+ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
720
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
721
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
722
+ CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
723
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
724
+ CLANG_WARN_STRICT_PROTOTYPES = YES;
725
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
726
+ CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
727
+ CLANG_WARN_UNREACHABLE_CODE = YES;
728
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
729
+ CODE_SIGN_IDENTITY = "";
730
+ "CODE_SIGN_IDENTITY[sdk=macosx*]" = "-";
731
+ CODE_SIGN_STYLE = Automatic;
732
+ COPY_PHASE_STRIP = NO;
733
+ CURRENT_PROJECT_VERSION = 1;
734
+ DEAD_CODE_STRIPPING = YES;
735
+ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
736
+ DEFINES_MODULE = YES;
737
+ DEVELOPMENT_TEAM = Q3GRH2LZ7S;
738
+ DYLIB_COMPATIBILITY_VERSION = 1;
739
+ DYLIB_CURRENT_VERSION = 1;
740
+ DYLIB_INSTALL_NAME_BASE = "@rpath";
741
+ ENABLE_MODULE_VERIFIER = YES;
742
+ ENABLE_NS_ASSERTIONS = NO;
743
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
744
+ ENABLE_USER_SCRIPT_SANDBOXING = YES;
745
+ GCC_C_LANGUAGE_STANDARD = gnu17;
746
+ GCC_NO_COMMON_BLOCKS = YES;
747
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
748
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
749
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
750
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
751
+ GCC_WARN_UNUSED_FUNCTION = YES;
752
+ GCC_WARN_UNUSED_VARIABLE = YES;
753
+ GENERATE_INFOPLIST_FILE = YES;
754
+ INFOPLIST_KEY_NSHumanReadableCopyright = "";
755
+ INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
756
+ IPHONEOS_DEPLOYMENT_TARGET = 18.0;
757
+ LD_RUNPATH_SEARCH_PATHS = (
758
+ "@executable_path/Frameworks",
759
+ "@loader_path/Frameworks",
760
+ );
761
+ "LD_RUNPATH_SEARCH_PATHS[sdk=macosx*]" = (
762
+ "@executable_path/../Frameworks",
763
+ "@loader_path/Frameworks",
764
+ );
765
+ LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
766
+ MACOSX_DEPLOYMENT_TARGET = 15.0;
767
+ MARKETING_VERSION = 1.0;
768
+ MODULE_VERIFIER_SUPPORTED_LANGUAGES = "objective-c objective-c++";
769
+ MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu17 gnu++20";
770
+ MTL_ENABLE_DEBUG_INFO = NO;
771
+ MTL_FAST_MATH = YES;
772
+ PRODUCT_BUNDLE_IDENTIFIER = mlx.Video;
773
+ PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
774
+ SDKROOT = auto;
775
+ SKIP_INSTALL = YES;
776
+ SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
777
+ SUPPORTS_MACCATALYST = NO;
778
+ SWIFT_COMPILATION_MODE = wholemodule;
779
+ SWIFT_EMIT_LOC_STRINGS = YES;
780
+ SWIFT_INSTALL_OBJC_HEADER = NO;
781
+ SWIFT_VERSION = 5.0;
782
+ TARGETED_DEVICE_FAMILY = "1,2";
783
+ VERSIONING_SYSTEM = "apple-generic";
784
+ VERSION_INFO_PREFIX = "";
785
+ };
786
+ name = Release;
787
+ };
788
+ C35EDB682D07699400757E80 /* Debug */ = {
789
+ isa = XCBuildConfiguration;
790
+ baseConfigurationReferenceAnchor = C32B4A802DA4805400EF663D /* Configuration */;
791
+ baseConfigurationReferenceRelativePath = Build.xcconfig;
792
+ buildSettings = {
793
+ ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
794
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
795
+ CLANG_WARN_BOOL_CONVERSION = YES;
796
+ CLANG_WARN_COMMA = YES;
797
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
798
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
799
+ CLANG_WARN_EMPTY_BODY = YES;
800
+ CLANG_WARN_ENUM_CONVERSION = YES;
801
+ CLANG_WARN_INFINITE_RECURSION = YES;
802
+ CLANG_WARN_INT_CONVERSION = YES;
803
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
804
+ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
805
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
806
+ CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
807
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
808
+ CLANG_WARN_STRICT_PROTOTYPES = YES;
809
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
810
+ CLANG_WARN_UNREACHABLE_CODE = YES;
811
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
812
+ DEAD_CODE_STRIPPING = YES;
813
+ DEVELOPMENT_TEAM = Q3GRH2LZ7S;
814
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
815
+ ENABLE_TESTABILITY = YES;
816
+ GCC_NO_COMMON_BLOCKS = YES;
817
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
818
+ GCC_WARN_ABOUT_RETURN_TYPE = YES;
819
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
820
+ GCC_WARN_UNINITIALIZED_AUTOS = YES;
821
+ GCC_WARN_UNUSED_FUNCTION = YES;
822
+ GCC_WARN_UNUSED_VARIABLE = YES;
823
+ ONLY_ACTIVE_ARCH = YES;
824
+ };
825
+ name = Debug;
826
+ };
827
+ C35EDB692D07699400757E80 /* Release */ = {
828
+ isa = XCBuildConfiguration;
829
+ buildSettings = {
830
+ ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
831
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
832
+ CLANG_WARN_BOOL_CONVERSION = YES;
833
+ CLANG_WARN_COMMA = YES;
834
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
835
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
836
+ CLANG_WARN_EMPTY_BODY = YES;
837
+ CLANG_WARN_ENUM_CONVERSION = YES;
838
+ CLANG_WARN_INFINITE_RECURSION = YES;
839
+ CLANG_WARN_INT_CONVERSION = YES;
840
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
841
+ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
842
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
843
+ CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
844
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
845
+ CLANG_WARN_STRICT_PROTOTYPES = YES;
846
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
847
+ CLANG_WARN_UNREACHABLE_CODE = YES;
848
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
849
+ DEAD_CODE_STRIPPING = YES;
850
+ DEVELOPMENT_TEAM = Q3GRH2LZ7S;
851
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
852
+ GCC_NO_COMMON_BLOCKS = YES;
853
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
854
+ GCC_WARN_ABOUT_RETURN_TYPE = YES;
855
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
856
+ GCC_WARN_UNINITIALIZED_AUTOS = YES;
857
+ GCC_WARN_UNUSED_FUNCTION = YES;
858
+ GCC_WARN_UNUSED_VARIABLE = YES;
859
+ };
860
+ name = Release;
861
+ };
862
+ C39BB3FB2D79082A005DB8FB /* Debug */ = {
863
+ isa = XCBuildConfiguration;
864
+ buildSettings = {
865
+ ALLOW_TARGET_PLATFORM_SPECIALIZATION = YES;
866
+ ALWAYS_SEARCH_USER_PATHS = NO;
867
+ ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
868
+ BUILD_LIBRARY_FOR_DISTRIBUTION = NO;
869
+ CLANG_ANALYZER_NONNULL = YES;
870
+ CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
871
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++20";
872
+ CLANG_ENABLE_MODULES = YES;
873
+ CLANG_ENABLE_OBJC_ARC = YES;
874
+ CLANG_ENABLE_OBJC_WEAK = YES;
875
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
876
+ CLANG_WARN_BOOL_CONVERSION = YES;
877
+ CLANG_WARN_COMMA = YES;
878
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
879
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
880
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
881
+ CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
882
+ CLANG_WARN_EMPTY_BODY = YES;
883
+ CLANG_WARN_ENUM_CONVERSION = YES;
884
+ CLANG_WARN_INFINITE_RECURSION = YES;
885
+ CLANG_WARN_INT_CONVERSION = YES;
886
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
887
+ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
888
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
889
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
890
+ CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
891
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
892
+ CLANG_WARN_STRICT_PROTOTYPES = YES;
893
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
894
+ CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
895
+ CLANG_WARN_UNREACHABLE_CODE = YES;
896
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
897
+ CODE_SIGN_IDENTITY = "";
898
+ CODE_SIGN_STYLE = Automatic;
899
+ COPY_PHASE_STRIP = NO;
900
+ CURRENT_PROJECT_VERSION = 1;
901
+ DEAD_CODE_STRIPPING = YES;
902
+ DEBUG_INFORMATION_FORMAT = dwarf;
903
+ DEFINES_MODULE = YES;
904
+ DEVELOPMENT_TEAM = Q3GRH2LZ7S;
905
+ DYLIB_COMPATIBILITY_VERSION = 1;
906
+ DYLIB_CURRENT_VERSION = 1;
907
+ DYLIB_INSTALL_NAME_BASE = "@rpath";
908
+ ENABLE_MODULE_VERIFIER = YES;
909
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
910
+ ENABLE_TESTABILITY = YES;
911
+ ENABLE_USER_SCRIPT_SANDBOXING = YES;
912
+ GCC_C_LANGUAGE_STANDARD = gnu17;
913
+ GCC_DYNAMIC_NO_PIC = NO;
914
+ GCC_NO_COMMON_BLOCKS = YES;
915
+ GCC_OPTIMIZATION_LEVEL = 0;
916
+ GCC_PREPROCESSOR_DEFINITIONS = (
917
+ "DEBUG=1",
918
+ "$(inherited)",
919
+ );
920
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
921
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
922
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
923
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
924
+ GCC_WARN_UNUSED_FUNCTION = YES;
925
+ GCC_WARN_UNUSED_VARIABLE = YES;
926
+ GENERATE_INFOPLIST_FILE = YES;
927
+ INFOPLIST_KEY_NSHumanReadableCopyright = "";
928
+ INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
929
+ IPHONEOS_DEPLOYMENT_TARGET = 18.0;
930
+ LD_RUNPATH_SEARCH_PATHS = (
931
+ "@executable_path/Frameworks",
932
+ "@loader_path/Frameworks",
933
+ );
934
+ "LD_RUNPATH_SEARCH_PATHS[sdk=macosx*]" = (
935
+ "@executable_path/../Frameworks",
936
+ "@loader_path/Frameworks",
937
+ );
938
+ LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
939
+ MACOSX_DEPLOYMENT_TARGET = 15.0;
940
+ MARKETING_VERSION = 1.0;
941
+ MODULE_VERIFIER_SUPPORTED_LANGUAGES = "objective-c objective-c++";
942
+ MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu17 gnu++20";
943
+ MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
944
+ MTL_FAST_MATH = YES;
945
+ ONLY_ACTIVE_ARCH = YES;
946
+ PRODUCT_BUNDLE_IDENTIFIER = mlx.FastVLM;
947
+ PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
948
+ SDKROOT = auto;
949
+ SKIP_INSTALL = YES;
950
+ SUPPORTED_PLATFORMS = "iphoneos iphonesimulator macosx";
951
+ SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG $(inherited)";
952
+ SWIFT_EMIT_LOC_STRINGS = YES;
953
+ SWIFT_INSTALL_OBJC_HEADER = NO;
954
+ SWIFT_OPTIMIZATION_LEVEL = "-Onone";
955
+ SWIFT_VERSION = 5.0;
956
+ TARGETED_DEVICE_FAMILY = "1,2";
957
+ VERSIONING_SYSTEM = "apple-generic";
958
+ VERSION_INFO_PREFIX = "";
959
+ };
960
+ name = Debug;
961
+ };
962
+ C39BB3FC2D79082A005DB8FB /* Release */ = {
963
+ isa = XCBuildConfiguration;
964
+ buildSettings = {
965
+ ALLOW_TARGET_PLATFORM_SPECIALIZATION = YES;
966
+ ALWAYS_SEARCH_USER_PATHS = NO;
967
+ ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
968
+ BUILD_LIBRARY_FOR_DISTRIBUTION = NO;
969
+ CLANG_ANALYZER_NONNULL = YES;
970
+ CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
971
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++20";
972
+ CLANG_ENABLE_MODULES = YES;
973
+ CLANG_ENABLE_OBJC_ARC = YES;
974
+ CLANG_ENABLE_OBJC_WEAK = YES;
975
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
976
+ CLANG_WARN_BOOL_CONVERSION = YES;
977
+ CLANG_WARN_COMMA = YES;
978
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
979
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
980
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
981
+ CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
982
+ CLANG_WARN_EMPTY_BODY = YES;
983
+ CLANG_WARN_ENUM_CONVERSION = YES;
984
+ CLANG_WARN_INFINITE_RECURSION = YES;
985
+ CLANG_WARN_INT_CONVERSION = YES;
986
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
987
+ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
988
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
989
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
990
+ CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
991
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
992
+ CLANG_WARN_STRICT_PROTOTYPES = YES;
993
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
994
+ CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
995
+ CLANG_WARN_UNREACHABLE_CODE = YES;
996
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
997
+ CODE_SIGN_IDENTITY = "";
998
+ CODE_SIGN_STYLE = Automatic;
999
+ COPY_PHASE_STRIP = NO;
1000
+ CURRENT_PROJECT_VERSION = 1;
1001
+ DEAD_CODE_STRIPPING = YES;
1002
+ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
1003
+ DEFINES_MODULE = YES;
1004
+ DEVELOPMENT_TEAM = Q3GRH2LZ7S;
1005
+ DYLIB_COMPATIBILITY_VERSION = 1;
1006
+ DYLIB_CURRENT_VERSION = 1;
1007
+ DYLIB_INSTALL_NAME_BASE = "@rpath";
1008
+ ENABLE_MODULE_VERIFIER = YES;
1009
+ ENABLE_NS_ASSERTIONS = NO;
1010
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
1011
+ ENABLE_USER_SCRIPT_SANDBOXING = YES;
1012
+ GCC_C_LANGUAGE_STANDARD = gnu17;
1013
+ GCC_NO_COMMON_BLOCKS = YES;
1014
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
1015
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
1016
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
1017
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
1018
+ GCC_WARN_UNUSED_FUNCTION = YES;
1019
+ GCC_WARN_UNUSED_VARIABLE = YES;
1020
+ GENERATE_INFOPLIST_FILE = YES;
1021
+ INFOPLIST_KEY_NSHumanReadableCopyright = "";
1022
+ INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
1023
+ IPHONEOS_DEPLOYMENT_TARGET = 18.0;
1024
+ LD_RUNPATH_SEARCH_PATHS = (
1025
+ "@executable_path/Frameworks",
1026
+ "@loader_path/Frameworks",
1027
+ );
1028
+ "LD_RUNPATH_SEARCH_PATHS[sdk=macosx*]" = (
1029
+ "@executable_path/../Frameworks",
1030
+ "@loader_path/Frameworks",
1031
+ );
1032
+ LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
1033
+ MACOSX_DEPLOYMENT_TARGET = 15.0;
1034
+ MARKETING_VERSION = 1.0;
1035
+ MODULE_VERIFIER_SUPPORTED_LANGUAGES = "objective-c objective-c++";
1036
+ MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu17 gnu++20";
1037
+ MTL_ENABLE_DEBUG_INFO = NO;
1038
+ MTL_FAST_MATH = YES;
1039
+ PRODUCT_BUNDLE_IDENTIFIER = mlx.FastVLM;
1040
+ PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
1041
+ SDKROOT = auto;
1042
+ SKIP_INSTALL = YES;
1043
+ SUPPORTED_PLATFORMS = "iphoneos iphonesimulator macosx";
1044
+ SWIFT_COMPILATION_MODE = wholemodule;
1045
+ SWIFT_EMIT_LOC_STRINGS = YES;
1046
+ SWIFT_INSTALL_OBJC_HEADER = NO;
1047
+ SWIFT_VERSION = 5.0;
1048
+ TARGETED_DEVICE_FAMILY = "1,2";
1049
+ VERSIONING_SYSTEM = "apple-generic";
1050
+ VERSION_INFO_PREFIX = "";
1051
+ };
1052
+ name = Release;
1053
+ };
1054
+ /* End XCBuildConfiguration section */
1055
+
1056
+ /* Begin XCConfigurationList section */
1057
+ 019A3E182D78E6A20055F93B /* Build configuration list for PBXNativeTarget "MobileO" */ = {
1058
+ isa = XCConfigurationList;
1059
+ buildConfigurations = (
1060
+ 019A3E162D78E6A20055F93B /* Debug */,
1061
+ 019A3E172D78E6A20055F93B /* Release */,
1062
+ );
1063
+ defaultConfigurationIsVisible = 0;
1064
+ defaultConfigurationName = Debug;
1065
+ };
1066
+ C35372BA2D08C32D00474D34 /* Build configuration list for PBXNativeTarget "Video" */ = {
1067
+ isa = XCConfigurationList;
1068
+ buildConfigurations = (
1069
+ C35372B72D08C32D00474D34 /* Debug */,
1070
+ C35372B82D08C32D00474D34 /* Release */,
1071
+ );
1072
+ defaultConfigurationIsVisible = 0;
1073
+ defaultConfigurationName = Debug;
1074
+ };
1075
+ C35EDB672D07699400757E80 /* Build configuration list for PBXProject "MobileO" */ = {
1076
+ isa = XCConfigurationList;
1077
+ buildConfigurations = (
1078
+ C35EDB682D07699400757E80 /* Debug */,
1079
+ C35EDB692D07699400757E80 /* Release */,
1080
+ );
1081
+ defaultConfigurationIsVisible = 0;
1082
+ defaultConfigurationName = Debug;
1083
+ };
1084
+ C39BB3FF2D79082A005DB8FB /* Build configuration list for PBXNativeTarget "FastVLM" */ = {
1085
+ isa = XCConfigurationList;
1086
+ buildConfigurations = (
1087
+ C39BB3FB2D79082A005DB8FB /* Debug */,
1088
+ C39BB3FC2D79082A005DB8FB /* Release */,
1089
+ );
1090
+ defaultConfigurationIsVisible = 0;
1091
+ defaultConfigurationName = Debug;
1092
+ };
1093
+ /* End XCConfigurationList section */
1094
+
1095
+ /* Begin XCRemoteSwiftPackageReference section */
1096
+ C35EDB6A2D076A3900757E80 /* XCRemoteSwiftPackageReference "mlx-swift-examples" */ = {
1097
+ isa = XCRemoteSwiftPackageReference;
1098
+ repositoryURL = "https://github.com/ml-explore/mlx-swift-examples";
1099
+ requirement = {
1100
+ kind = upToNextMajorVersion;
1101
+ minimumVersion = 2.21.2;
1102
+ };
1103
+ };
1104
+ C35EDB8A2D07777E00757E80 /* XCRemoteSwiftPackageReference "mlx-swift" */ = {
1105
+ isa = XCRemoteSwiftPackageReference;
1106
+ repositoryURL = "https://github.com/ml-explore/mlx-swift";
1107
+ requirement = {
1108
+ kind = upToNextMajorVersion;
1109
+ minimumVersion = 0.21.2;
1110
+ };
1111
+ };
1112
+ C3ED54592D790AC6005E20B3 /* XCRemoteSwiftPackageReference "swift-transformers" */ = {
1113
+ isa = XCRemoteSwiftPackageReference;
1114
+ repositoryURL = "https://github.com/huggingface/swift-transformers";
1115
+ requirement = {
1116
+ kind = upToNextMajorVersion;
1117
+ minimumVersion = 0.1.18;
1118
+ };
1119
+ };
1120
+ /* End XCRemoteSwiftPackageReference section */
1121
+
1122
+ /* Begin XCSwiftPackageProductDependency section */
1123
+ 019A3E192D78E7370055F93B /* MLX */ = {
1124
+ isa = XCSwiftPackageProductDependency;
1125
+ package = C35EDB8A2D07777E00757E80 /* XCRemoteSwiftPackageReference "mlx-swift" */;
1126
+ productName = MLX;
1127
+ };
1128
+ 019A3E1B2D78E73E0055F93B /* MLXLMCommon */ = {
1129
+ isa = XCSwiftPackageProductDependency;
1130
+ package = C35EDB6A2D076A3900757E80 /* XCRemoteSwiftPackageReference "mlx-swift-examples" */;
1131
+ productName = MLXLMCommon;
1132
+ };
1133
+ 019A3E1D2D78E7470055F93B /* MLXRandom */ = {
1134
+ isa = XCSwiftPackageProductDependency;
1135
+ package = C35EDB8A2D07777E00757E80 /* XCRemoteSwiftPackageReference "mlx-swift" */;
1136
+ productName = MLXRandom;
1137
+ };
1138
+ 019A3E1F2D78E74C0055F93B /* MLXVLM */ = {
1139
+ isa = XCSwiftPackageProductDependency;
1140
+ package = C35EDB6A2D076A3900757E80 /* XCRemoteSwiftPackageReference "mlx-swift-examples" */;
1141
+ productName = MLXVLM;
1142
+ };
1143
+ 15C163812EA94308004F01AD /* MLXLLM */ = {
1144
+ isa = XCSwiftPackageProductDependency;
1145
+ package = C35EDB6A2D076A3900757E80 /* XCRemoteSwiftPackageReference "mlx-swift-examples" */;
1146
+ productName = MLXLLM;
1147
+ };
1148
+ C3ED544D2D790860005E20B3 /* MLXLMCommon */ = {
1149
+ isa = XCSwiftPackageProductDependency;
1150
+ package = C35EDB6A2D076A3900757E80 /* XCRemoteSwiftPackageReference "mlx-swift-examples" */;
1151
+ productName = MLXLMCommon;
1152
+ };
1153
+ C3ED544F2D790860005E20B3 /* MLXVLM */ = {
1154
+ isa = XCSwiftPackageProductDependency;
1155
+ package = C35EDB6A2D076A3900757E80 /* XCRemoteSwiftPackageReference "mlx-swift-examples" */;
1156
+ productName = MLXVLM;
1157
+ };
1158
+ C3ED54512D790860005E20B3 /* MLX */ = {
1159
+ isa = XCSwiftPackageProductDependency;
1160
+ package = C35EDB8A2D07777E00757E80 /* XCRemoteSwiftPackageReference "mlx-swift" */;
1161
+ productName = MLX;
1162
+ };
1163
+ C3ED54532D790860005E20B3 /* MLXNN */ = {
1164
+ isa = XCSwiftPackageProductDependency;
1165
+ package = C35EDB8A2D07777E00757E80 /* XCRemoteSwiftPackageReference "mlx-swift" */;
1166
+ productName = MLXNN;
1167
+ };
1168
+ C3ED54572D790A68005E20B3 /* MLXFast */ = {
1169
+ isa = XCSwiftPackageProductDependency;
1170
+ package = C35EDB8A2D07777E00757E80 /* XCRemoteSwiftPackageReference "mlx-swift" */;
1171
+ productName = MLXFast;
1172
+ };
1173
+ C3ED545A2D790AD6005E20B3 /* Transformers */ = {
1174
+ isa = XCSwiftPackageProductDependency;
1175
+ package = C3ED54592D790AC6005E20B3 /* XCRemoteSwiftPackageReference "swift-transformers" */;
1176
+ productName = Transformers;
1177
+ };
1178
+ /* End XCSwiftPackageProductDependency section */
1179
+ };
1180
+ rootObject = C35EDB642D07699400757E80 /* Project object */;
1181
+ }
epoch_1/Mobile-O/Mobile-O-App/app/MobileO.xcodeproj/project.xcworkspace/contents.xcworkspacedata ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <Workspace
3
+ version = "1.0">
4
+ <FileRef
5
+ location = "self:">
6
+ </FileRef>
7
+ </Workspace>
epoch_1/Mobile-O/Mobile-O-App/app/MobileO.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict/>
5
+ </plist>
epoch_1/Mobile-O/Mobile-O-App/app/MobileO.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "originHash" : "9281d463c494546411c01d4b96bf3888492de2f125f869b878624d13673b89eb",
3
+ "pins" : [
4
+ {
5
+ "identity" : "gzipswift",
6
+ "kind" : "remoteSourceControl",
7
+ "location" : "https://github.com/1024jp/GzipSwift",
8
+ "state" : {
9
+ "revision" : "731037f6cc2be2ec01562f6597c1d0aa3fe6fd05",
10
+ "version" : "6.0.1"
11
+ }
12
+ },
13
+ {
14
+ "identity" : "jinja",
15
+ "kind" : "remoteSourceControl",
16
+ "location" : "https://github.com/johnmai-dev/Jinja",
17
+ "state" : {
18
+ "revision" : "5c0a87846dfd36ca6621795ad2f09fdaab82b739",
19
+ "version" : "1.3.0"
20
+ }
21
+ },
22
+ {
23
+ "identity" : "mlx-swift",
24
+ "kind" : "remoteSourceControl",
25
+ "location" : "https://github.com/ml-explore/mlx-swift",
26
+ "state" : {
27
+ "revision" : "96c0f69cf15f38abd6248bb71fca908171dab1d8",
28
+ "version" : "0.25.6"
29
+ }
30
+ },
31
+ {
32
+ "identity" : "mlx-swift-examples",
33
+ "kind" : "remoteSourceControl",
34
+ "location" : "https://github.com/ml-explore/mlx-swift-examples",
35
+ "state" : {
36
+ "revision" : "dddb0b3871390dd9dea8e7ff2c347cf7e74cec9d",
37
+ "version" : "2.25.7"
38
+ }
39
+ },
40
+ {
41
+ "identity" : "swift-argument-parser",
42
+ "kind" : "remoteSourceControl",
43
+ "location" : "https://github.com/apple/swift-argument-parser.git",
44
+ "state" : {
45
+ "revision" : "0fbc8848e389af3bb55c182bc19ca9d5dc2f255b",
46
+ "version" : "1.4.0"
47
+ }
48
+ },
49
+ {
50
+ "identity" : "swift-collections",
51
+ "kind" : "remoteSourceControl",
52
+ "location" : "https://github.com/apple/swift-collections.git",
53
+ "state" : {
54
+ "revision" : "7b847a3b7008b2dc2f47ca3110d8c782fb2e5c7e",
55
+ "version" : "1.3.0"
56
+ }
57
+ },
58
+ {
59
+ "identity" : "swift-numerics",
60
+ "kind" : "remoteSourceControl",
61
+ "location" : "https://github.com/apple/swift-numerics",
62
+ "state" : {
63
+ "revision" : "0c0290ff6b24942dadb83a929ffaaa1481df04a2",
64
+ "version" : "1.1.1"
65
+ }
66
+ },
67
+ {
68
+ "identity" : "swift-transformers",
69
+ "kind" : "remoteSourceControl",
70
+ "location" : "https://github.com/huggingface/swift-transformers",
71
+ "state" : {
72
+ "revision" : "f000aa7aec0e78acd0211685e4094e1fca84cd8b",
73
+ "version" : "0.1.24"
74
+ }
75
+ }
76
+ ],
77
+ "version" : 3
78
+ }
epoch_1/Mobile-O/Mobile-O-App/app/MobileO.xcodeproj/xcshareddata/xcschemes/MobileO.xcscheme ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <Scheme
3
+ LastUpgradeVersion = "1630"
4
+ version = "1.7">
5
+ <BuildAction
6
+ parallelizeBuildables = "YES"
7
+ buildImplicitDependencies = "YES"
8
+ buildArchitectures = "Automatic">
9
+ <BuildActionEntries>
10
+ <BuildActionEntry
11
+ buildForTesting = "YES"
12
+ buildForRunning = "YES"
13
+ buildForProfiling = "YES"
14
+ buildForArchiving = "YES"
15
+ buildForAnalyzing = "YES">
16
+ <BuildableReference
17
+ BuildableIdentifier = "primary"
18
+ BlueprintIdentifier = "019A3E092D78E6A00055F93B"
19
+ BuildableName = "MobileO.app"
20
+ BlueprintName = "MobileO"
21
+ ReferencedContainer = "container:MobileO.xcodeproj">
22
+ </BuildableReference>
23
+ </BuildActionEntry>
24
+ </BuildActionEntries>
25
+ </BuildAction>
26
+ <TestAction
27
+ buildConfiguration = "Debug"
28
+ selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
29
+ selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
30
+ shouldUseLaunchSchemeArgsEnv = "YES"
31
+ shouldAutocreateTestPlan = "YES">
32
+ </TestAction>
33
+ <LaunchAction
34
+ buildConfiguration = "Debug"
35
+ selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
36
+ selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
37
+ launchStyle = "0"
38
+ useCustomWorkingDirectory = "NO"
39
+ ignoresPersistentStateOnLaunch = "NO"
40
+ debugDocumentVersioning = "YES"
41
+ debugServiceExtension = "internal"
42
+ allowLocationSimulation = "YES">
43
+ <BuildableProductRunnable
44
+ runnableDebuggingMode = "0">
45
+ <BuildableReference
46
+ BuildableIdentifier = "primary"
47
+ BlueprintIdentifier = "019A3E092D78E6A00055F93B"
48
+ BuildableName = "MobileO.app"
49
+ BlueprintName = "MobileO"
50
+ ReferencedContainer = "container:MobileO.xcodeproj">
51
+ </BuildableReference>
52
+ </BuildableProductRunnable>
53
+ </LaunchAction>
54
+ <ProfileAction
55
+ buildConfiguration = "Release"
56
+ shouldUseLaunchSchemeArgsEnv = "YES"
57
+ savedToolIdentifier = ""
58
+ useCustomWorkingDirectory = "NO"
59
+ debugDocumentVersioning = "YES">
60
+ <BuildableProductRunnable
61
+ runnableDebuggingMode = "0">
62
+ <BuildableReference
63
+ BuildableIdentifier = "primary"
64
+ BlueprintIdentifier = "019A3E092D78E6A00055F93B"
65
+ BuildableName = "MobileO.app"
66
+ BlueprintName = "MobileO"
67
+ ReferencedContainer = "container:MobileO.xcodeproj">
68
+ </BuildableReference>
69
+ </BuildableProductRunnable>
70
+ </ProfileAction>
71
+ <AnalyzeAction
72
+ buildConfiguration = "Debug">
73
+ </AnalyzeAction>
74
+ <ArchiveAction
75
+ buildConfiguration = "Release"
76
+ revealArchiveInOrganizer = "YES">
77
+ </ArchiveAction>
78
+ </Scheme>
epoch_1/Mobile-O/Mobile-O-App/app/MobileO/App/ContentView.swift ADDED
@@ -0,0 +1,327 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import SwiftUI
2
+ import PhotosUI
3
+ import MLXLMCommon
4
+ import MLXVLM
5
+ import Tokenizers
6
+ import UIKit
7
+
8
+ /// Root view of Mobile-O. Manages the chat interface, model lifecycle, and user input routing.
9
+ ///
10
+ /// Responsibilities:
11
+ /// - Loads a single shared FastVLM container on launch and distributes it to three sub-models
12
+ /// (generation, understanding, text chat).
13
+ /// - Presents either a `WelcomeView` (empty state) or `ConversationView` (active chat).
14
+ /// - Routes user prompts to the correct pipeline based on keyword prefix:
15
+ /// `"generate …"` → image generation, otherwise → text/understanding.
16
+ /// - Hosts the floating `InputBar`, toolbar navigation (camera, settings), and a loading overlay.
17
+ struct ContentView: View {
18
+
19
+ /// Directory containing downloaded model weights. Passed from the download gate.
20
+ let modelDirectory: URL
21
+
22
+ // MARK: - View Models
23
+
24
+ @State private var viewModel = ChatViewModel()
25
+ @State private var settingsViewModel = SettingsViewModel()
26
+
27
+ // MARK: - Shared Model State (loaded once, reused across sub-models)
28
+
29
+ @State private var sharedContainer: ModelContainer?
30
+ @State private var sharedFastVLM: FastVLM?
31
+ @State private var sharedTokenizer: Tokenizer?
32
+
33
+ // MARK: - UI State
34
+
35
+ @State private var prompt = ""
36
+ @State private var selectedImage: PlatformImage?
37
+ @State private var photoPickerItem: PhotosPickerItem?
38
+ @State private var showImagePicker = false
39
+ @State private var showValidationError = false
40
+ @State private var validationMessage = ""
41
+
42
+ /// True while any of the three sub-models are still loading.
43
+ private var modelsLoading: Bool {
44
+ guard let gen = viewModel.generationModel,
45
+ let understand = viewModel.understandingModel,
46
+ let chat = viewModel.textChatModel else { return true }
47
+
48
+ func isLoading(_ info: String) -> Bool { info.contains("Loading") || info.isEmpty }
49
+ return isLoading(gen.modelInfo) || isLoading(understand.modelInfo) || isLoading(chat.modelInfo)
50
+ }
51
+
52
+ // MARK: - Body
53
+
54
+ var body: some View {
55
+ NavigationStack {
56
+ ZStack(alignment: .bottom) {
57
+ chatScrollView
58
+ inputBar
59
+ }
60
+ .background(Color(.systemGroupedBackground))
61
+ .navigationTitle("Mobile-O")
62
+ .navigationBarTitleDisplayMode(.inline)
63
+ .toolbar { toolbarItems }
64
+ .overlay { if modelsLoading { LoadingOverlay() } }
65
+ .disabled(modelsLoading)
66
+ .alert("Invalid Prompt", isPresented: $showValidationError) {
67
+ Button("OK", role: .cancel) {}
68
+ } message: {
69
+ Text(validationMessage)
70
+ }
71
+ .task { await loadModels() }
72
+ .onChange(of: prompt) { _, newValue in
73
+ autoClearImageForGenerateMode(newValue)
74
+ }
75
+ }
76
+ }
77
+
78
+ // MARK: - Subviews
79
+
80
+ /// Scrollable area showing either the welcome screen or the conversation history.
81
+ private var chatScrollView: some View {
82
+ ScrollView(showsIndicators: false) {
83
+ VStack(spacing: 0) {
84
+ if viewModel.conversation.isEmpty {
85
+ WelcomeView(
86
+ prompt: $prompt,
87
+ showImagePicker: $showImagePicker,
88
+ selectedImage: $selectedImage,
89
+ hasImage: selectedImage != nil
90
+ )
91
+ } else {
92
+ ConversationView(
93
+ conversation: viewModel.conversation,
94
+ isGenerating: viewModel.isGenerating,
95
+ generationModel: viewModel.generationModel
96
+ )
97
+ .frame(maxHeight: .infinity)
98
+ }
99
+ }
100
+ .contentShape(Rectangle())
101
+ .onTapGesture { dismissKeyboard() }
102
+ .safeAreaInset(edge: .bottom) {
103
+ Color.clear.frame(height: selectedImage != nil ? 240 : 120)
104
+ }
105
+ }
106
+ .photosPicker(isPresented: $showImagePicker, selection: $photoPickerItem, matching: .images)
107
+ .onChange(of: photoPickerItem) { _, newItem in handlePhotoPick(newItem) }
108
+ .scrollDismissesKeyboard(.interactively)
109
+ }
110
+
111
+ /// Floating input bar pinned to the bottom of the screen.
112
+ private var inputBar: some View {
113
+ InputBar(
114
+ prompt: $prompt,
115
+ selectedImage: $selectedImage,
116
+ photoPickerItem: $photoPickerItem,
117
+ conversation: viewModel.conversation,
118
+ isGenerating: viewModel.isGenerating,
119
+ onSend: sendMessage,
120
+ onCancel: { viewModel.cancelGeneration() },
121
+ onClearConversation: clearConversation,
122
+ onReset: clearImage
123
+ )
124
+ }
125
+
126
+ /// Toolbar containing camera, clear-conversation, and settings buttons.
127
+ @ToolbarContentBuilder
128
+ private var toolbarItems: some ToolbarContent {
129
+ ToolbarItem(placement: .primaryAction) {
130
+ HStack(spacing: 16) {
131
+ NavigationLink(destination: CameraUnderstandingView(understandingModel: $viewModel.understandingModel)) {
132
+ Image(systemName: "camera.fill").imageScale(.large)
133
+ }
134
+
135
+ if !viewModel.conversation.isEmpty {
136
+ Button(action: clearConversation) {
137
+ Image(systemName: "trash").imageScale(.large)
138
+ }
139
+ }
140
+
141
+ if let generationModel = viewModel.generationModel {
142
+ NavigationLink(destination: SettingsView(model: generationModel, settings: settingsViewModel)) {
143
+ Image(systemName: "gearshape.fill").imageScale(.large)
144
+ }
145
+ }
146
+ }
147
+ }
148
+ }
149
+
150
+ // MARK: - Model Loading
151
+
152
+ /// Loads the shared FastVLM container once and initializes the three sub-models in parallel.
153
+ private func loadModels() async {
154
+ guard sharedContainer == nil || sharedFastVLM == nil || sharedTokenizer == nil ||
155
+ viewModel.generationModel == nil || viewModel.understandingModel == nil || viewModel.textChatModel == nil
156
+ else { return }
157
+
158
+ do {
159
+ let llmDirectory = modelDirectory.appendingPathComponent("llm")
160
+
161
+ // Copy bundled preprocessor_config.json into the downloaded llm/ directory if missing
162
+ let preprocDest = llmDirectory.appendingPathComponent("preprocessor_config.json")
163
+ if !FileManager.default.fileExists(atPath: preprocDest.path),
164
+ let bundled = Bundle.main.url(forResource: "preprocessor_config", withExtension: "json") {
165
+ try? FileManager.default.copyItem(at: bundled, to: preprocDest)
166
+ }
167
+
168
+ let config = ModelConfiguration(directory: llmDirectory)
169
+
170
+ // Point FastVLM to the downloaded model directory for config + vision encoder
171
+ FastVLM.customModelDirectory = llmDirectory
172
+
173
+ FastVLM.register(modelFactory: VLMModelFactory.shared)
174
+
175
+ let container = try await VLMModelFactory.shared.loadContainer(configuration: config) { progress in
176
+ Task { @MainActor in print("Loading FastVLM: \(Int(progress.fractionCompleted * 100))%") }
177
+ }
178
+
179
+ // Extract the FastVLM instance and tokenizer from the loaded container
180
+ var loadedVLM: FastVLM?
181
+ var loadedTokenizer: Tokenizer?
182
+
183
+ try await container.perform { context in
184
+ guard let vlm = context.model as? FastVLM else {
185
+ throw NSError(domain: "ContentView", code: -1,
186
+ userInfo: [NSLocalizedDescriptionKey: "Failed to cast to FastVLM model"])
187
+ }
188
+ loadedVLM = vlm
189
+ loadedTokenizer = context.tokenizer
190
+ }
191
+
192
+ guard let fastVLM = loadedVLM, let tokenizer = loadedTokenizer else {
193
+ throw NSError(domain: "ContentView", code: -1,
194
+ userInfo: [NSLocalizedDescriptionKey: "Failed to extract FastVLM components"])
195
+ }
196
+
197
+ sharedContainer = container
198
+ sharedFastVLM = fastVLM
199
+ sharedTokenizer = tokenizer
200
+
201
+ // Warmup on a background thread to avoid blocking the UI
202
+ await Task.detached(priority: .userInitiated) { fastVLM.warmup() }.value
203
+
204
+ // Create and load the three sub-models sharing a single FastVLM backbone
205
+ let generateModel = MobileOModel(sharedFastVLM: fastVLM, sharedTokenizer: tokenizer, modelDirectory: modelDirectory)
206
+ let understandModel = ImageUnderstandingModel(container: container)
207
+ let chatModel = TextChatModel(container: container)
208
+
209
+ async let g: Void = generateModel.load()
210
+ async let u: Void = understandModel.load()
211
+ async let c: Void = chatModel.load()
212
+ _ = await (g, u, c)
213
+
214
+ viewModel.generationModel = generateModel
215
+ viewModel.understandingModel = understandModel
216
+ viewModel.textChatModel = chatModel
217
+
218
+ } catch {
219
+ print("ContentView ERROR: Failed to load models: \(error)")
220
+ }
221
+ }
222
+
223
+ // MARK: - Actions
224
+
225
+ /// Validates the current prompt, clears the input fields, and dispatches the message.
226
+ private func sendMessage() {
227
+ let currentPrompt = prompt
228
+ let currentImage = selectedImage
229
+ let lowercased = currentPrompt.lowercased().trimmingCharacters(in: .whitespaces)
230
+
231
+ // Validate "generate" prompts
232
+ if lowercased == "generate" || lowercased.hasPrefix("generate ") {
233
+ let body = lowercased.hasPrefix("generate ") ? String(currentPrompt.dropFirst(9)).trimmingCharacters(in: .whitespaces) : ""
234
+ if body.isEmpty {
235
+ showValidation("Please provide a description after 'generate'")
236
+ return
237
+ }
238
+ }
239
+
240
+ // Clear input
241
+ prompt = ""
242
+ selectedImage = nil
243
+ photoPickerItem = nil
244
+
245
+ Task.detached(priority: .userInitiated) {
246
+ await viewModel.sendMessage(
247
+ prompt: currentPrompt,
248
+ selectedImage: currentImage,
249
+ numSteps: Int(settingsViewModel.numSteps),
250
+ guidanceScale: settingsViewModel.guidanceScale,
251
+ enableCFG: settingsViewModel.enableCFG,
252
+ seed: settingsViewModel.seed
253
+ )
254
+ }
255
+ }
256
+
257
+ private func clearConversation() {
258
+ withAnimation(.spring(response: 0.35, dampingFraction: 0.75)) {
259
+ viewModel.conversation.clear()
260
+ }
261
+ }
262
+
263
+ private func clearImage() {
264
+ withAnimation(.spring(response: 0.35, dampingFraction: 0.75)) {
265
+ selectedImage = nil
266
+ photoPickerItem = nil
267
+ }
268
+ }
269
+
270
+ // MARK: - Helpers
271
+
272
+ /// When the user types "generate …" while an image is attached, auto-clear the image
273
+ /// so the prompt routes to generation rather than understanding.
274
+ private func autoClearImageForGenerateMode(_ newValue: String) {
275
+ let lowercased = newValue.lowercased()
276
+ let isGenerate = lowercased == "generate" || lowercased.hasPrefix("generate ")
277
+
278
+ guard isGenerate, selectedImage != nil else { return }
279
+ withAnimation(.spring(response: 0.35, dampingFraction: 0.75)) {
280
+ selectedImage = nil
281
+ photoPickerItem = nil
282
+ viewModel.understandingModel?.response = ""
283
+ }
284
+ }
285
+
286
+ /// Loads and downsamples a picked photo on a background thread.
287
+ private func handlePhotoPick(_ item: PhotosPickerItem?) {
288
+ Task.detached(priority: .userInitiated) {
289
+ guard let data = try? await item?.loadTransferable(type: Data.self),
290
+ let image = UIImage(data: data) else { return }
291
+ let downsampledImage = downsampleImage(image, maxDimension: 2048)
292
+ await MainActor.run {
293
+ withAnimation(.spring(response: 0.3, dampingFraction: 0.8)) {
294
+ selectedImage = downsampledImage
295
+ }
296
+ }
297
+ }
298
+ }
299
+
300
+ private func showValidation(_ message: String) {
301
+ validationMessage = message
302
+ showValidationError = true
303
+ }
304
+
305
+ private func dismissKeyboard() {
306
+ UIApplication.shared.sendAction(#selector(UIResponder.resignFirstResponder), to: nil, from: nil, for: nil)
307
+ }
308
+
309
+ /// Downsamples an image so its longest edge is at most `maxDimension` points.
310
+ nonisolated private func downsampleImage(_ image: UIImage, maxDimension: CGFloat) -> UIImage {
311
+ let size = image.size
312
+ guard max(size.width, size.height) > maxDimension else { return image }
313
+
314
+ let scale = maxDimension / max(size.width, size.height)
315
+ let newSize = CGSize(width: size.width * scale, height: size.height * scale)
316
+
317
+ UIGraphicsBeginImageContextWithOptions(newSize, false, 1.0)
318
+ defer { UIGraphicsEndImageContext() }
319
+
320
+ image.draw(in: CGRect(origin: .zero, size: newSize))
321
+ return UIGraphicsGetImageFromCurrentImageContext() ?? image
322
+ }
323
+ }
324
+
325
+ #Preview {
326
+ ContentView(modelDirectory: URL(fileURLWithPath: Bundle.main.resourcePath ?? "/tmp"))
327
+ }
epoch_1/Mobile-O/Mobile-O-App/app/MobileO/App/MobileOApp.swift ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import SwiftUI
2
+
3
+ /// App entry point. Gates access behind model download if needed.
4
+ @main
5
+ struct MobileOApp: App {
6
+ @State private var downloadManager = ModelDownloadManager()
7
+
8
+ var body: some Scene {
9
+ WindowGroup {
10
+ if downloadManager.modelsReady {
11
+ ContentView(modelDirectory: downloadManager.modelsDirectory)
12
+ } else {
13
+ ModelDownloadGateView(downloadManager: downloadManager)
14
+ }
15
+ }
16
+ }
17
+ }