clementsan commited on
Commit
37ae113
1 Parent(s): 3324680

Add new LLM: Yi-6B-Chat

Browse files
Files changed (1) hide show
  1. app.py +5 -12
app.py CHANGED
@@ -22,18 +22,11 @@ import accelerate
22
 
23
 
24
  # default_persist_directory = './chroma_HF/'
25
-
26
- llm_name0 = "mistralai/Mixtral-8x7B-Instruct-v0.1"
27
- llm_name1 = "mistralai/Mistral-7B-Instruct-v0.2"
28
- llm_name2 = "mistralai/Mistral-7B-Instruct-v0.1"
29
- llm_name3 = "mistralai/Mistral-7B-Instruct-v0.1"
30
- llm_name4 = "HuggingFaceH4/zephyr-7b-beta"
31
- llm_name5 = "TinyLlama/TinyLlama-1.1B-Chat-v1.0"
32
- llm_name6 = "microsoft/phi-2"
33
- llm_name7 = "mosaicml/mpt-7b-instruct"
34
- llm_name8 = "tiiuae/falcon-7b-instruct"
35
- llm_name9 = "google/flan-t5-xxl"
36
- list_llm = [llm_name0, llm_name1, llm_name2, llm_name3, llm_name4, llm_name5, llm_name6, llm_name7, llm_name8, llm_name9]
37
  list_llm_simple = [os.path.basename(llm) for llm in list_llm]
38
 
39
  # Load PDF document and create doc splits
 
22
 
23
 
24
  # default_persist_directory = './chroma_HF/'
25
+ list_llm = ["mistralai/Mixtral-8x7B-Instruct-v0.1", "mistralai/Mistral-7B-Instruct-v0.2", "mistralai/Mistral-7B-Instruct-v0.1", \
26
+ "HuggingFaceH4/zephyr-7b-beta", "01-ai/Yi-6B-Chat", "meta-llama/Llama-2-7b-chat-hf", \
27
+ "microsoft/phi-2", "TinyLlama/TinyLlama-1.1B-Chat-v1.0", "mosaicml/mpt-7b-instruct", \
28
+ "tiiuae/falcon-7b-instruct", "google/flan-t5-xxl"
29
+ ]
 
 
 
 
 
 
 
30
  list_llm_simple = [os.path.basename(llm) for llm in list_llm]
31
 
32
  # Load PDF document and create doc splits