Skip to content

Instantly share code, notes, and snippets.

@ThomasDelteil
Last active March 8, 2019 18:10
Show Gist options
  • Save ThomasDelteil/63a37d87bb14c7b98f0b4cd9a4167d32 to your computer and use it in GitHub Desktop.
Save ThomasDelteil/63a37d87bb14c7b98f0b4cd9a4167d32 to your computer and use it in GitHub Desktop.
GRT_Amazon_08
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
#!/bin/bash
echo ". /home/ec2-user/anaconda3/etc/profile.d/conda.sh" >> ~/.bashrc
source ~/.bashrc
source activate mxnet_p36
sudo chown -R ec2-user /tmp
pip uninstall mxnet-cu90mkl -y
pip install mxnet-cu90mkl --user --pre --upgrade
pip install gluonnlp --user --pre --upgrade
pip install gluoncv --user --pre --upgrade
cd /home/ec2-user/SageMaker
git clone https://gist.github.com/ThomasDelteil/63a37d87bb14c7b98f0b4cd9a4167d32 GRT_gluon_toolkits
wget http://gluon-nlp.mxnet.io/_downloads/sentence_embedding.zip
unzip sentence_embedding.zip -d GRT_gluon_toolkits
rm sentence_embedding.zip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment