From e4bf9910dca0fdfb60e4a73ed6cddbc93209f1e7 Mon Sep 17 00:00:00 2001 From: Juan Cruz-Benito Date: Mon, 8 Feb 2021 19:04:21 +0100 Subject: [PATCH] Removing run_pl_glue.py from text classification docs, include run_xnli.py & run_tf_text_classification.py (#10066) * Removing run_pl_glue.py from seq classification docs * Adding run_tf_text_classification.py * Using :prefix_link: to refer local files * Applying "make style" to the branch * Update docs/source/task_summary.rst Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com> * Removing last underscores Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com> --- docs/source/task_summary.rst | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/docs/source/task_summary.rst b/docs/source/task_summary.rst index 96d467d6b4..05971f0963 100644 --- a/docs/source/task_summary.rst +++ b/docs/source/task_summary.rst @@ -54,12 +54,11 @@ Sequence Classification Sequence classification is the task of classifying sequences according to a given number of classes. An example of sequence classification is the GLUE dataset, which is entirely based on that task. If you would like to fine-tune a -model on a GLUE sequence classification task, you may leverage the `run_glue.py -`__ and -`run_pl_glue.py -`__ or -`run_tf_glue.py -`__ scripts. +model on a GLUE sequence classification task, you may leverage the :prefix_link:`run_glue.py +`, :prefix_link:`run_tf_glue.py +`, :prefix_link:`run_tf_text_classification.py +` or :prefix_link:`run_xnli.py +` scripts. Here is an example of using pipelines to do sentiment analysis: identifying if a sequence is positive or negative. It leverages a fine-tuned model on sst2, which is a GLUE task.