Team Ai
Apppublic

Fisharp/starcoder-playground

sourceHugging Faceupdated 3y agoView on Hugging Face
6likes
settings.py17 linesDownload Raw Back to root
1# URLs for the StarCoder Models/APIs2DEFAULT_HUGGINGFACE_MODELS_API_BASE_URL = "https://api-inference.huggingface.co/models/"3DEFAULT_STARCODER_API_PATH = "bigcode/starcoder/"4DEFAULT_STARCODER_BASE_API_PATH = "bigcode/starcoderbase/"5FIM_INDICATOR = "<FILL_HERE>"6DEFAULT_PORT = 78607 8STATIC_PATH = "static"9 10DEFAULT_SETTINGS = dict(11    temperature = 0.9,12    max_new_tokens = 256,13    top_p = 0.95,14    repetition_penalty = 1.0,15    version = "StarCoder",16)17