Skip to content

Feat/docs example repo clean up and testing suggestions#4

Merged
zarmeen2 merged 7 commits intomasterfrom
feat/docs-example-repo-clean-up-and-testing-suggestions
Apr 7, 2026
Merged

Feat/docs example repo clean up and testing suggestions#4
zarmeen2 merged 7 commits intomasterfrom
feat/docs-example-repo-clean-up-and-testing-suggestions

Conversation

@zDoda
Copy link
Copy Markdown
Owner

@zDoda zDoda commented Apr 6, 2026

No description provided.

zDoda and others added 7 commits April 5, 2026 21:47
- Fix MedFlamingo.generate() to pass inputs_embeds so xattn visual
  conditioning is actually applied (was passing raw input_ids)
- Fix MedFlamingo.__init__() to initialise self._fc = None when no
  dataset is supplied (prevents AttributeError in forward())
- VQARADDataset.prepare_metadata(): filter rows whose image file is
  missing from disk (14 OSF images never existed); logs a warning
- Remove duplicate VQARADDataset import in datasets/__init__.py
- Remove duplicate MedicalVQATask import in tasks/__init__.py
- medical_vqa_task.py: add module docstring, full Google-style class
  docstring, and __call__ docstring with Args / Returns / Example
- examples/vqarad_medvqa_medflamingo.py: full rewrite with three
  ablation axes (cross_attn_every_n_layers, num_resampler_tokens,
  freeze_vision), --ablation CLI flag, helper functions, usage docs
- tests/core/test_medflamingo.py: remove all TODO stubs; add isolated
  MedicalVQATask unit tests and test_generate_uses_inputs_embeds;
  fix Patient construction to use Polars DataFrame API

Contributors: Zarmeen Hasan (zarmeen2), Camdyn Zook (camdynz2)
@zarmeen2 zarmeen2 merged commit 492b49a into master Apr 7, 2026
@zarmeen2 zarmeen2 deleted the feat/docs-example-repo-clean-up-and-testing-suggestions branch April 7, 2026 23:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants