transformers/docs/source
Sylvain Gugger 895ed8f451
Generation doc (#6470)
* Generation doc

* MBartForConditionalGeneration (#6441)

* add MBartForConditionalGeneration

* style

* rebase and fixes

* add mbart test in TEST_FILES_WITH_NO_COMMON_TESTS

* fix docs

* don't ignore mbart

* doc

* fix mbart fairseq link

* put mbart before bart

* apply doc suggestions

* Use hash to clean the test dirs (#6475)

* Use hash to clean the test dirs

* Use hash to clean the test dirs

* Use hash to clean the test dirs

* fix

* [EncoderDecoder] Add Cross Attention for GPT2 (#6415)

* add cross attention layers for gpt2

* make gpt2 cross attention work

* finish bert2gpt2

* add explicit comments

* remove attention mask since not yet supported

* revert attn mask in pipeline

* Update src/transformers/modeling_gpt2.py

Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>

* Update src/transformers/modeling_encoder_decoder.py

Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>

Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>

* Sort unique_no_split_tokens to make it deterministic (#6461)

* change unique_no_split_tokens's type to set

* use sorted list instead of set

* style

* Import accuracy_score (#6480)

* Apply suggestions from code review

Co-authored-by: Lysandre Debut <lysandre@huggingface.co>

* Address comments

* Styling

* Generation doc

* Apply suggestions from code review

Co-authored-by: Lysandre Debut <lysandre@huggingface.co>

* Address comments

* Styling

Co-authored-by: Suraj Patil <surajp815@gmail.com>
Co-authored-by: Kevin Canwen Xu <canwenxu@126.com>
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com>
Co-authored-by: Quentin Lhoest <42851186+lhoestq@users.noreply.github.com>
Co-authored-by: gijswijnholds <gijswijnholds@gmail.com>
Co-authored-by: Lysandre Debut <lysandre@huggingface.co>
2020-08-14 09:46:39 -04:00
..
_static Fix links for open in colab (#6391) 2020-08-10 11:16:17 -04:00
imgs Guide to fixed-length model perplexity evaluation (#5449) 2020-07-07 16:04:15 -06:00
internal Doc pipelines (#6175) 2020-08-03 11:44:46 -04:00
main_classes Generation doc (#6470) 2020-08-14 09:46:39 -04:00
model_doc MBartForConditionalGeneration (#6441) 2020-08-14 03:21:16 -04:00
benchmarks.rst Small docfile fixes (#6328) 2020-08-10 05:37:12 -04:00
bertology.rst [doc] Fix broken links + remove crazy big notebook 2020-05-07 18:44:18 -04:00
conf.py Release: v3.0.2 2020-07-06 18:49:44 -04:00
contributing.md Update installation page and add contributing to the doc (#5084) 2020-06-17 14:01:10 -04:00
converting_tensorflow_models.rst Add ALBERT to the Tensorflow to Pytorch model conversion cli (#3933) 2020-05-11 13:10:00 -04:00
examples.md per_device instead of per_gpu/error thrown when argument unknown (#4618) 2020-05-27 11:36:55 -04:00
favicon.ico Adding usage examples for common tasks (#2850) 2020-02-25 13:48:24 -05:00
glossary.rst Fix typo in glossary (#5466) 2020-07-02 09:19:33 -04:00
index.rst MBartForConditionalGeneration (#6441) 2020-08-14 03:21:16 -04:00
installation.md Update installation page and add contributing to the doc (#5084) 2020-06-17 14:01:10 -04:00
migration.md Add hugs (#5225) 2020-06-24 07:56:14 -04:00
model_sharing.rst How to share model cards with the CLI (#5374) 2020-06-30 08:59:32 -04:00
model_summary.rst Update model_summary.rst (#5737) 2020-07-27 05:34:02 -04:00
multilingual.rst Refactor Code samples; Test code samples (#5036) 2020-06-25 16:46:00 -04:00
notebooks.md Update notebooks (#3620) 2020-04-06 14:32:39 -04:00
perplexity.rst tiny ppl doc typo fix (#5751) 2020-07-14 10:39:44 -06:00
philosophy.rst Add hugs (#5225) 2020-06-24 07:56:14 -04:00
preprocessing.rst Small docfile fixes (#6328) 2020-08-10 05:37:12 -04:00
pretrained_models.rst PegasusForConditionalGeneration (torch version) (#6340) 2020-08-11 14:31:23 -04:00
quicktour.rst Small docfile fixes (#6328) 2020-08-10 05:37:12 -04:00
serialization.rst Enable ONNX/ONNXRuntime optimizations through converter script (#6131) 2020-07-31 09:45:13 +02:00
task_summary.rst Small docfile fixes (#6328) 2020-08-10 05:37:12 -04:00
tokenizer_summary.rst Small docfile fixes (#6328) 2020-08-10 05:37:12 -04:00
training.rst Import accuracy_score (#6480) 2020-08-14 08:16:16 -04:00