Download utils/load_tasks.py from philschmid/sagemaker-launcher: direct link, hf CLI and curl.
- Browser
- Download file 265 Bytes
-
https://huggingface.co/spaces/philschmid/sagemaker-launcher/resolve/main/utils/load_tasks.py
- Command line
-
hf download hf://spaces/philschmid/sagemaker-launcher/utils/load_tasks.py
-
curl -L -o load_tasks.py https://huggingface.co/spaces/philschmid/sagemaker-launcher/resolve/main/utils/load_tasks.py
265 Bytes
| import streamlit as st | |
| import datasets as ds | |
| def load_tasks(): | |
| return [ | |
| 'causal-language-modeling', | |
| 'masked-language-modeling', | |
| 'question-answering', | |
| 'summarization', | |
| 'text-classification', | |
| 'token-classification', | |
| 'translation', | |
| ] | |