Add more subsections to main doc (#11758)

* add headers to main doc

* Apply suggestions from code review

* update

* upload
This commit is contained in:
Patrick von Platen
2021-05-18 14:38:56 +01:00
committed by GitHub
parent da7e73b721
commit cebb96f53a
7 changed files with 12 additions and 8 deletions

View File

@@ -52,7 +52,7 @@ python run_ner.py \
**Note:** This script only works with models that have a fast tokenizer (backed by the 🤗 Tokenizers library) as it
uses special features of those tokenizers. You can check if your favorite model has a fast tokenizer in
[this table](https://huggingface.co/transformers/index.html#bigtable), if it doesn't you can still use the old version
[this table](https://huggingface.co/transformers/index.html#supported-frameworks), if it doesn't you can still use the old version
of the script.
## Old version of the script

View File

@@ -306,7 +306,7 @@ def main():
if not isinstance(tokenizer, PreTrainedTokenizerFast):
raise ValueError(
"This example script only works for models that have a fast tokenizer. Checkout the big table of models "
"at https://huggingface.co/transformers/index.html#bigtable to find the model types that meet this "
"at https://huggingface.co/transformers/index.html#supported-frameworks to find the model types that meet this "
"requirement"
)