Backport mlinter rule-prose compression and allowlist the rest of TRF009
Two changes to utils/rules.toml.
Backports transformers-mlinter d0ac218 ("compress the rule explanation prose",
before: upstream's file as the base, with this repo's licence header and its
allowlist_models entries and their justification comments re-applied on top, so
the only remaining difference from the installed mlinter/rules.toml is the header
and those allowlists. make fix-repo regenerated
docs/source/en/modeling_rules.md.
Allowlists the ten TRF009 findings left after the CONFIG_MAPPING fixes, in three
groups, each with its reasoning recorded in the file:
- Back-compat tokenizer shims (bart, convbert, distilbert, fnet, mobilebert,
squeezebert): the cross-model import is the module's whole purpose.
- generation_*.py (nemotron3_5_asr, nemotron_asr_streaming): the rule points at
modular files, but the converter has no generation_*.py support, so the
prescribed remedy does not exist yet.
- sam3: CLIPTextModelWithProjection is needed for checkpoint key compatibility.
shieldgemma2: fixable with a modular file, left as follow-up.
make typing and make check-repo now pass.