Last active
January 1, 2022 22:11
-
-
Save scottchu/93cf8db5630bd4bdba4ca6b6e443b05a to your computer and use it in GitHub Desktop.
Setting up snorkel+jupyter+tensorflow on M1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# updated 2021-11-21 | |
# Create conda environment | |
conda create --name snorkel "python=3.9" -y | |
conda activate snorkel | |
# Install Additional Packages | |
conda install -y \ | |
"numpy<1.20.0" \ | |
"pandas==1.3.3" \ | |
"scipy<2.0.0" \ | |
"scikit-learn<0.25.0" \ | |
grpcio \ | |
spacy \ | |
pytorch \ | |
sentencepiece \ | |
transformers | |
# Install Tensorflow | |
conda install -c apple tensorflow-deps -y | |
pip install tensorflow-macos tensorflow-metal | |
pip install pytorch-transformers jupyterlab snorkel |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment