Skip to content

Instantly share code, notes, and snippets.

@yayamamo
Last active February 25, 2023 01:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yayamamo/7a8faa84d93dd705b92cdded22b3cd48 to your computer and use it in GitHub Desktop.
Save yayamamo/7a8faa84d93dd705b92cdded22b3cd48 to your computer and use it in GitHub Desktop.
Setting up BioGPT on macOS
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
@yayamamo
Copy link
Author

Python 3.10.6
macOS 12.6.3

@yayamamo
Copy link
Author

yayamamo commented Feb 25, 2023

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