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

In "02_how_to_generate", code cell 1 has an error message #36613

Open
2 of 4 tasks
kvutien opened this issue Mar 8, 2025 · 1 comment
Open
2 of 4 tasks

In "02_how_to_generate", code cell 1 has an error message #36613

kvutien opened this issue Mar 8, 2025 · 1 comment
Labels

Comments

@kvutien
Copy link

kvutien commented Mar 8, 2025

System Info

In "02_how_to_generate", code cell 1 has an error message but the rest works fine: ERROR: Could not find a version that satisfies the requirement tensorflow==2.1 (from versions: 2.12.0rc0, 2.12.0rc1, 2.12.0, 2.12.1, 2.13.0rc0, 2.13.0rc1, 2.13.0rc2, 2.13.0, 2.13.1, 2.14.0rc0, 2.14.0rc1, 2.14.0, 2.14.1, 2.15.0rc0, 2.15.0rc1, 2.15.0, 2.15.0.post1, 2.15.1, 2.16.0rc0, 2.16.1, 2.16.2, 2.17.0rc0, 2.17.0rc1, 2.17.0, 2.17.1, 2.18.0rc0, 2.18.0rc1, 2.18.0rc2, 2.18.0, 2.19.0rc0) ERROR: No matching distribution found for tensorflow==2.1.

Who can help?

No response

Information

  • The official example scripts
  • My own modified scripts

Tasks

  • An officially supported task in the examples folder (such as GLUE/SQuAD, ...)
  • My own task or dataset (give details below)

Reproduction

Run code cell 1

Expected behavior

No error message should appear when running code cell

@kvutien kvutien added the bug label Mar 8, 2025
@Umashankar86
Copy link

"The issue seems to be in the huggingface/blog repository, not this one.
The file 02_how_to_generate.ipynb is present there.
The error occurs because TensorFlow 2.1 is outdated and no longer available.
A possible fix is to update tensorflow==2.1 to tensorflow>=2.12 or the latest version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants