Spaces:
Build error
Build error
Download settings.py from Tj/starcoder-playground: direct link, hf CLI and curl.
- Browser
- Download file 461 Bytes
-
https://huggingface.co/spaces/Tj/starcoder-playground/resolve/main/settings.py
- Command line
-
hf download hf://spaces/Tj/starcoder-playground/settings.py
-
curl -L -o settings.py https://huggingface.co/spaces/Tj/starcoder-playground/resolve/main/settings.py
461 Bytes
| # URLs for the StarCoder Models/APIs | |
| DEFAULT_HUGGINGFACE_MODELS_API_BASE_URL = "https://api-inference.huggingface.co/models/" | |
| DEFAULT_STARCODER_API_PATH = "bigcode/starcoder/" | |
| DEFAULT_STARCODER_BASE_API_PATH = "bigcode/starcoderbase/" | |
| FIM_INDICATOR = "<FILL_HERE>" | |
| DEFAULT_PORT = 7860 | |
| STATIC_PATH = "static" | |
| DEFAULT_SETTINGS = dict( | |
| temperature = 0.9, | |
| max_new_tokens = 256, | |
| top_p = 0.95, | |
| repetition_penalty = 1.0, | |
| version = "StarCoder", | |
| ) | |