File size: 835 Bytes
f788018
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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