Loading tutorials
transformers library. It also assumes you know that Transformers read sequences of integer ids rather than raw text. Here you will see how an encoder-decoder model turns source and target strings into those ids, which specia5 min readmodel.generate in Hugging Face Transformers. It covers how the decoder turns probabilities into text, and which settings you should change for summarisation and translation.6 min readgenerate call, know what an encoder-decoder Transformer does, and have seen beam search. It covers how to pick a translation model, how the model learns which language to produce, and the mistakes that cause bad output without raising an error.6 min readpipeline, know what a tokeniser does, and have read the earlier chapters on encoder-decoder models, decoding settings and ROUGE. The goal is to summarise a document that does not fit in the model's input, and to know what you lose when you do.6 min readgenerate call, know what a reference text is, and have read the earlier chapters on summarisation and translation. You will learn what the three common automatic metrics count, how to compute them correctly, and where they mislead.7 min read