Last active
October 1, 2020 09:24
-
-
Save sogaiu/2e690bf2020e669601609b3c7e8e7f08 to your computer and use it in GitHub Desktop.
use virtualenv with gigasquid's "hugging fact gpt with clojure" tutorial
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
# some tweaks to instructions at: | |
# http://gigasquidsoftware.com/blog/2020/01/10/hugging-face-gpt-with-clojure/ | |
mkdir hugging-face-gpt-clojure | |
cd hugging-face-gpt-clojure | |
# keep system clean by using virtualenv | |
sudo apt install virtualenv | |
virtualenv -p python3 hfgc | |
source hfgc/bin/activate | |
# don't need sudo now | |
pip3 install torch | |
pip3 install transformers | |
# XXX: may (not?) need to install python3-pip, but haven't tried without | |
# continue with tutorial |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment