Spaces:
Runtime error
Runtime error
Akshayram1
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -25,15 +25,10 @@ import re
|
|
25 |
|
26 |
|
27 |
# default_persist_directory = './chroma_HF/'
|
28 |
-
list_llm = ["
|
29 |
-
"google/gemma-7b-it","google/gemma-2b-it", \
|
30 |
-
"HuggingFaceH4/zephyr-7b-beta", "HuggingFaceH4/zephyr-7b-gemma-v0.1", \
|
31 |
-
"meta-llama/Llama-2-7b-chat-hf", "microsoft/phi-2", \
|
32 |
-
"TinyLlama/TinyLlama-1.1B-Chat-v1.0", "mosaicml/mpt-7b-instruct", "tiiuae/falcon-7b-instruct", \
|
33 |
-
"google/flan-t5-xxl"
|
34 |
-
]
|
35 |
list_llm_simple = [os.path.basename(llm) for llm in list_llm]
|
36 |
|
|
|
37 |
# Load PDF document and create doc splits
|
38 |
def load_doc(list_file_path, chunk_size, chunk_overlap):
|
39 |
# Processing for one document only
|
|
|
25 |
|
26 |
|
27 |
# default_persist_directory = './chroma_HF/'
|
28 |
+
list_llm = ["HuggingFaceH4/zephyr-7b-beta", "mistralai/Mistral-7B-Instruct-v0.2"]
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
list_llm_simple = [os.path.basename(llm) for llm in list_llm]
|
30 |
|
31 |
+
|
32 |
# Load PDF document and create doc splits
|
33 |
def load_doc(list_file_path, chunk_size, chunk_overlap):
|
34 |
# Processing for one document only
|