Last active
February 25, 2023 01:26
-
-
Save yayamamo/7a8faa84d93dd705b92cdded22b3cd48 to your computer and use it in GitHub Desktop.
Setting up BioGPT on macOS
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
pip install torch | |
brew update | |
brew install rustup | |
rustup-init | |
source "$HOME/.cargo/env" | |
git clone https://github.com/huggingface/tokenizers | |
cd tokenizers/bindings/python | |
pip install setuptools_rust | |
python setup.py install | |
pip install transformers -U | |
pip install sacremoses |
Python 3.7.6
Windows 10 Pro (22H2) / Window PowerShell, rust installed through https://www.rust-lang.org/ja/learn/get-started
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Python 3.10.6
macOS 12.6.3