From 3f42eb979f7bd20448ff6b15ab316d63f5489a6f Mon Sep 17 00:00:00 2001 From: Stefan Schweter Date: Mon, 11 May 2020 18:48:21 +0200 Subject: [PATCH] Documentation: fix links to NER examples (#4279) * docs: fix link to token classification (NER) example * examples: fix links to NER scripts --- docs/source/examples.md | 2 +- examples/token-classification/README.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/source/examples.md b/docs/source/examples.md index 6679cb71a6..3352c14af2 100644 --- a/docs/source/examples.md +++ b/docs/source/examples.md @@ -23,7 +23,7 @@ pip install -r ./examples/requirements.txt | [GLUE](#glue) | Examples running BERT/XLM/XLNet/RoBERTa on the 9 GLUE tasks. Examples feature distributed training as well as half-precision. | | [SQuAD](#squad) | Using BERT/RoBERTa/XLNet/XLM for question answering, examples with distributed training. | | [Multiple Choice](#multiple-choice) | Examples running BERT/XLNet/RoBERTa on the SWAG/RACE/ARC tasks. | -| [Named Entity Recognition](https://github.com/huggingface/transformers/tree/master/examples/ner) | Using BERT for Named Entity Recognition (NER) on the CoNLL 2003 dataset, examples with distributed training. | +| [Named Entity Recognition](https://github.com/huggingface/transformers/tree/master/examples/token-classification) | Using BERT for Named Entity Recognition (NER) on the CoNLL 2003 dataset, examples with distributed training. | | [XNLI](#xnli) | Examples running BERT/XLM on the XNLI benchmark. | | [Adversarial evaluation of model performances](#adversarial-evaluation-of-model-performances) | Testing a model with adversarial evaluation of natural language inference on the Heuristic Analysis for NLI Systems (HANS) dataset (McCoy et al., 2019.) | diff --git a/examples/token-classification/README.md b/examples/token-classification/README.md index 6c889a1899..37e8811b56 100644 --- a/examples/token-classification/README.md +++ b/examples/token-classification/README.md @@ -1,7 +1,7 @@ ## Named Entity Recognition -Based on the scripts [`run_ner.py`](https://github.com/huggingface/transformers/blob/master/examples/ner/run_ner.py) for Pytorch and -[`run_tf_ner.py`](https://github.com/huggingface/transformers/blob/master/examples/ner/run_tf_ner.py) for Tensorflow 2. +Based on the scripts [`run_ner.py`](https://github.com/huggingface/transformers/blob/master/examples/token-classification/run_ner.py) for Pytorch and +[`run_tf_ner.py`](https://github.com/huggingface/transformers/blob/master/examples/token-classification/run_tf_ner.py) for Tensorflow 2. This example fine-tune Bert Multilingual on GermEval 2014 (German NER). Details and results for the fine-tuning provided by @stefan-it.