ml python3/3.10.12
ml pytorch/1.13.1

install_dir="${TUT_PATH:-$HOME/LLM}"
export MYPATH=$HOME/LLM/3/SentSim/
export PYTHONPATH=$TMPDIR/lib/python3.10/site-packages/:$PYTHONPATH
export SENTENCE_TRANSFORMERS_HOME=$TMPDIR/models

jupyter notebook demo.ipynb #--NotebookApp.iopub_data_rate_limit=1.0e10 

# https://stackoverflow.com/questions/69621290/how-to-load-bert-pretrained-model-with-sentencetransformers-from-local-path
# When you load your model from local file, you have to specify the path
#	 of the model, not its name. This means that the argument of 
#	 SentenceTransformer() has to be the full path to the folder that 
#	 contains the config.json file
