Repository navigation
docs: fix dead doc links in i18n READMEs and the xlnet docstring - #48905
Conversation
- README_ro/tr/fa linked ./awesome-transformers.md relative to i18n/, where no such file exists; the fr/de/ko/zh-hans/ja translations use the absolute URL, and these three now match. - The xlnet reorder cache docstring cross-referenced PreTrainedModel.beam_search/beam_sample, which were removed; only _beam_search exists.
|
[For maintainers] Suggested jobs to run (before merge) run-slow: xlnet |
|
Note on the |
|
cc @stevhliu |
CI recapDashboard: View test results in Grafana |
|
Thank you for your contribution 🤗! CI Security Gate — automatic approval blockedThis PR was not automatically approved for CI because the security gate failed. Possible reasons:
See the workflow run for the exact violations. A maintainer can review and manually approve CI if a finding is a false positive. |
|
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
Dead doc references
Changes
i18n/README_ro.md:250,README_tr.md:249,README_fa.md:246:[awesome-transformers](./awesome-transformers.md)resolves insidei18n/, where the file doesn't exist. The fr/de/ko/zh-hans/ja translations already use the absolute GitHub URL; these three now match.src/transformers/models/xlnet/modeling_xlnet.py:1449-1450: the cache-reorder docstring cross-referencesPreTrainedModel.beam_search/beam_sample, which no longer exist anywhere (generation routesBEAM_SAMPLEto_beam_search). Reworded to "if beam search is used".AI disclosure
AI-assisted (ZCode agent, GLM), same verification approach as my merged #48575/#48576 and the open #48904: link targets proven missing by file-existence checks, stale symbols proven removed by repo-wide grep. I have personally reviewed every line.