Automated compatible models list for task guides (#21338)

* initial commit. added tip placeholders and a script

* removed unused imports, fixed paths

* fixed generated links

* make style

* split language modeling doc into two: causal language modeling and masked language modeling

* added check_task_guides.py to make fix-copies

* review feedback addressed
This commit is contained in:
Maria Khalusova
2023-01-27 13:19:28 -05:00
committed by GitHub
parent 8f3b4a1d5b
commit 73a2ff6974
18 changed files with 680 additions and 313 deletions

View File

@@ -43,6 +43,7 @@ repo-consistency:
python utils/check_doctest_list.py
python utils/tests_fetcher.py --sanity_check
python utils/update_metadata.py --check-only
python utils/check_task_guides.py
# this target runs checks on all files
@@ -81,6 +82,7 @@ fix-copies:
python utils/check_copies.py --fix_and_overwrite
python utils/check_table.py --fix_and_overwrite
python utils/check_dummies.py --fix_and_overwrite
python utils/check_task_guides.py --fix_and_overwrite
# Run tests for the library