Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chapter 11, p 910: missing assignment in code #43

Open
benjwolff opened this issue Sep 20, 2023 · 0 comments
Open

Chapter 11, p 910: missing assignment in code #43

benjwolff opened this issue Sep 20, 2023 · 0 comments

Comments

@benjwolff
Copy link

On page 910 in the code example you see the following code example

sentence1 = 'follow the white rabbit neo'
sentence2 = 'no one can be told what the matrix is'
tokenizer(sentence1, sentence2)

Later the variable joined_sentences is used, but the assignment is missing.

The correct version is in the corresponding jupyter notebook:

sentence1 = 'follow the white rabbit neo'
sentence2 = 'no one can be told what the matrix is'
joined_sentences = tokenizer(sentence1, sentence2)
joined_sentences
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant