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

Description uncomment and Run does not work ch02 Probably just a Typo #515

Closed
Gorock opened this issue Feb 4, 2025 · 1 comment · Fixed by #516
Closed

Description uncomment and Run does not work ch02 Probably just a Typo #515

Gorock opened this issue Feb 4, 2025 · 1 comment · Fixed by #516
Assignees
Labels
bug Something isn't working

Comments

@Gorock
Copy link

Gorock commented Feb 4, 2025

Bug description

Hello i think i discovered a small typo in file: ch02\01_main-chapter-code\ch02.ipynb

Image

What operating system are you using?

Windows

Where do you run your code?

Local (laptop, desktop)

Environment

[OK] Your Python version is 3.11.2
2025-02-04 21:22:59.166035: I tensorflow/core/util/port.cc:153] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable `TF_ENABLE_ONEDNN_OPTS=0`.
2025-02-04 21:23:00.128573: I tensorflow/core/util/port.cc:153] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable `TF_ENABLE_ONEDNN_OPTS=0`.
[OK] torch 2.6.0+cpu
[OK] jupyterlab 4.1.6
[OK] tiktoken 0.8.0
[OK] matplotlib 3.8.2
[OK] tensorflow 2.18.0
[OK] tqdm 4.67.1
[OK] numpy 1.26.1
[OK] pandas 2.2.3
[OK] psutil 5.9.6
@Gorock Gorock added the bug Something isn't working label Feb 4, 2025
@rasbt
Copy link
Owner

rasbt commented Feb 5, 2025

Thanks for the note! Looks like I forgot an s there. It should be

# uncomment & execute the following line to see how the embeddings look like
# print(input_embeddings)

I'm fixing it via #516

@rasbt rasbt closed this as completed in #516 Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants