|
#!/bin/bash |
|
|
|
|
|
|
|
|
|
git config --global credential.helper store |
|
|
|
|
|
mkdir -p $HOME/app/notebooks |
|
|
|
|
|
git clone https://huggingface.co/derek-thomas/tgi-benchmark-notebooks /tmp/tgi-benchmark-notebooks |
|
|
|
|
|
mv /tmp/tgi-benchmark-notebooks/0*.ipynb $HOME/app/notebooks |
|
|
|
|
|
rm -rf /tmp/tgi-benchmark-notebooks |
|
|
|
|
|
mkdir -p ~/.jupyter/lab/user-settings/@jupyterlab/apputils-extension/ && \ |
|
echo '{ "theme": "JupyterLab Dark" }' > ~/.jupyter/lab/user-settings/@jupyterlab/apputils-extension/themes.jupyterlab-settings |
|
|
|
mkdir -p ~/.jupyter/lab/user-settings/@jupyterlab/codemirror-extension && \ |
|
echo '{ |
|
"keyMaps": { |
|
"vim": true, |
|
"keyMapConfig": { |
|
"inoremap": [ |
|
["jk", "<Esc>"] |
|
] |
|
} |
|
} |
|
}' > ~/.jupyter/lab/user-settings/@jupyterlab/codemirror-extension/keymap.jupyterlab-settings |
|
|
|
|
|
|
|
echo "All right on the HF site" |