conda create --name tf_metal_keras3 python=3.9
conda activate tf_metal_keras3
pip install --upgrade ipywidgets
pip install pandas
pip install numpy
pip install -U scikit-learn
pip install seaborn
pip install matplotlib
conda install -c apple tensorflow-deps
python3 -m pip install tensorflow-macos
python3 -m pip install tensorflow-metal
pip install keras-hub
pip install /Users/alexia/Downloads/tensorflow_text-2.16.1-cp39-cp39-macosx_11_0_arm64.whl
More information here
More information here