Skip to content

Commit

Permalink
Typo in Chapter 2, Section 2 (#364)
Browse files Browse the repository at this point in the history
Replace "inputs" with "outputs".
  • Loading branch information
filippo82 authored Nov 11, 2022
1 parent 7081ab6 commit bde9ef4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chapters/en/chapter2/2.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ outputs = model(inputs)
```
{/if}

Now if we look at the shape of our inputs, the dimensionality will be much lower: the model head takes as input the high-dimensional vectors we saw before, and outputs vectors containing two values (one per label):
Now if we look at the shape of our outputs, the dimensionality will be much lower: the model head takes as input the high-dimensional vectors we saw before, and outputs vectors containing two values (one per label):

```python
print(outputs.logits.shape)
Expand Down

0 comments on commit bde9ef4

Please sign in to comment.