From 17450397a7ab5ed21dce0a8bb7694f9f523a24e8 Mon Sep 17 00:00:00 2001 From: Leandro von Werra Date: Thu, 5 Nov 2020 23:20:57 +0100 Subject: [PATCH] Docs bart training ref (#8330) Co-authored-by: Sam Shleifer --- docs/source/model_doc/bart.rst | 10 ++++++++++ examples/seq2seq/README.md | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/docs/source/model_doc/bart.rst b/docs/source/model_doc/bart.rst index 51cd0c4b491299..1fa6cdc0498208 100644 --- a/docs/source/model_doc/bart.rst +++ b/docs/source/model_doc/bart.rst @@ -26,6 +26,16 @@ According to the abstract, The Authors' code can be found `here `__. +Examples +_______________________________________________________________________________________________________________________ + +- Examples and scripts for fine-tuning BART and other models for sequence to sequence tasks can be found in + `examples/seq2seq/ `__. +- An example of how to train :class:`~transformers.BartForConditionalGeneration` with a Hugging Face :obj:`datasets` + object can be found in this `forum discussion + `__. + + Implementation Notes ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/examples/seq2seq/README.md b/examples/seq2seq/README.md index 90179188432bbf..2802347e66d601 100644 --- a/examples/seq2seq/README.md +++ b/examples/seq2seq/README.md @@ -1,7 +1,7 @@ ## Sequence to Sequence Training and Evaluation This directory contains examples for finetuning and evaluating transformers on summarization and translation tasks. -Please tag @sshleifer with any issues/unexpected behaviors, or send a PR! +Please tag @patil-suraj with any issues/unexpected behaviors, or send a PR! For deprecated `bertabs` instructions, see [`bertabs/README.md`](bertabs/README.md). ### Supported Architectures