diff --git a/README.md b/README.md index 4837cdaee3..3ebe4e9134 100644 --- a/README.md +++ b/README.md @@ -78,7 +78,6 @@ Create and activate a virtual environment with [venv](https://docs.python.org/3/ # venv python -m venv .my-env source .my-env/bin/activate - # uv uv venv .my-env source .my-env/bin/activate @@ -88,10 +87,10 @@ Install Transformers in your virtual environment. ```py # pip -pip install transformers +pip install "transformers[torch]" # uv -uv pip install transformers +uv pip install "transformers[torch]" ``` Install Transformers from source if you want the latest changes in the library or are interested in contributing. However, the *latest* version may not be stable. Feel free to open an [issue](https://github.com/huggingface/transformers/issues) if you encounter an error. @@ -99,7 +98,7 @@ Install Transformers from source if you want the latest changes in the library o ```shell git clone https://github.com/huggingface/transformers.git cd transformers -pip install . +pip install .[torch] ``` ## Quickstart diff --git a/setup.py b/setup.py index 2d3f45cf14..c3888e5373 100644 --- a/setup.py +++ b/setup.py @@ -484,6 +484,9 @@ setup( "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Topic :: Scientific/Engineering :: Artificial Intelligence", ], cmdclass={"deps_table_update": DepsTableUpdateCommand},