Errata

Natural Language Processing with Transformers

Errata for Natural Language Processing with Transformers

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released.

The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.

Color Key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted by Date Submitted
Printed Page 69, 71
second code block

attn_output is used on page 69 but attn_outputs is used on page 71; likely you meant the former to be plural, too.

Robert Rodger  Jul 13, 2022 
Printed Page 103
2nd paragraph

XLM-R tokenizer return input IDs and attention mask.
So, in 2nd line and 3rd line in 2nd paragraph,

"XLM-R tokenizer returns the input IDs for the model’s inputs, we just need to augment this information with the attention mask and the label IDs.."

should be

"XLM-R tokenizer returns the input IDs and attention mask for the model’s inputs, we just need to augment this information with the label IDs..".

Thanks.

Haesun Park  Jul 04, 2022 
Printed Page 103
3rd paragraph

Documentation link may be "https://bit.ly/3y6z3kc", not "https://oreil.ly/lGPgh".
Thanks.

Haesun Park  Jul 04, 2022 
Safari Books Online Chapter 7
Middle section

The text reads:
"In our case, we need a node to evaluate the retriever, so we’ll use the
EvalRetriever class whose run() method keeps track "

The class is called "EvalDocuments", not "EvalRetriever", so it should read:

"In our case, we need a node to evaluate the retriever, so we’ll use the
EvalDocuments class whose run() method keeps track "

Carlos Aguayo  Feb 18, 2022 
Safari Books Online Chapter 7
First "Note"

The text reads:
"community QA involves gathering question-answer pairs that are generated by users on forums like Stack Overflow, and then using semantic similarity search to find the closest matching answer to a new question".

I think it was meant to say "find the closest matching question to a new question".

Carlos Aguayo  Feb 15, 2022