[AI] Add model card dialog to AI preferences#20797
[AI] Add model card dialog to AI preferences#20797TurboGit merged 3 commits intodarktable-org:masterfrom
Conversation
Oh, never seen scroll in the models table. Maybe we can move the info column. Just before the model name?
Models versions did not change yet. |
Would be a better place for the info column anyway. Not sure if this would fix the issue though. |
|
@TurboGit : I improved layout of models table. It is cleaner and always visible now. Model description is in the details now, no need to keep it in table.
|
|
@andriiryzhkov : This needs conflicts resolution. TIA. |
4e3b7a9 to
e1c3142
Compare
|
@TurboGit : Resolved |


Summary
config.jsonon disk – no memory overhead in the registryconfig.json schema
Card fields live under a nested
model_cardobject:{ "id": "denoise-nind", "name": "denoise nind", ... "model_card": { "long_description": "Image denoiser trained on...", "scope": "single-image luminance denoising", "author": "Benoit Brummer (Catholic University of Louvain)", "source": "https://github.com/trougnouf/nind-denoise", "paper": "https://arxiv.org/abs/1906.00270", "license": "GPL-3.0", "training_data": "NIND dataset", "training_data_license": "CC BY 4.0 / CC0 (per-image, Wikimedia Commons)", "notes": "trained on publicly available academic data" } }Architecture
ai_models.c/h: newdt_ai_model_card_tstruct +dt_ai_models_get_card()/dt_ai_model_card_free()– reads config.json, returns owned stringspreferences_ai.c: ℹ column, click handler, tooltip/cursor, dialog rendering – no JSON parsing in the GUI layerScreenshot
Prerequisite
Model configs need
model_carddata: darktable-org/darktable-ai#17Motivation
Addresses community request for AI model transparency: https://discuss.pixls.us/t/feature-request-navigating-the-ai-controversies/57052