llm-multi-demo / model.py
John6666's picture
Upload 7 files
f788018 verified
raw
history blame contribute delete
835 Bytes
from utils import find_model_list, list_uniq
llm_serverless_models = [
"NousResearch/Nous-Hermes-2-Mixtral-8x7B-DPO",
]
llm_models = [
"mistralai/Mistral-7B-Instruct-v0.3",
]
#llm_models.extend(find_model_list("Casual-Autopsy"))
llm_models.extend(find_model_list("", [], "gguf", "downloads", 60, True))
llm_models = list_uniq(llm_models)
# Examples:
#llm_models = ['mistralai/Mistral-7B-Instruct-v0.3', 'NousResearch/Nous-Hermes-2-Mixtral-8x7B-DPO'] # specific models
#models = find_model_list("NousResearch", [], "", "last_modified", 20) # NousResearch's latest 20 models
#models = find_model_list("", [], "", "last_modified", 20) # latest 20 text-generation models of huggingface
#models = find_model_list("", [], "", "downloads", 20) # monthly most downloaded 20 text-generation models of huggingface