Update app.py
Browse files
app.py
CHANGED
@@ -52,16 +52,17 @@ LOADER_MAPPING = {
|
|
52 |
".txt": (TextLoader, {"encoding": "utf8"}),
|
53 |
}
|
54 |
|
55 |
-
|
56 |
repo_name = "IlyaGusev/saiga2_13b_ggml"
|
57 |
model_name = "ggml-model-q4_1.bin"
|
58 |
embedder_name = "sentence-transformers/paraphrase-multilingual-mpnet-base-v2"
|
59 |
-
|
60 |
"""
|
|
|
61 |
repo_name = "IlyaGusev/saiga_13b_lora_llamacpp"
|
62 |
model_name = "ggml-model-q4_1.bin"
|
63 |
-
embedder_name = "sentence-transformers/paraphrase-multilingual-mpnet-base-v2"
|
64 |
-
""
|
|
|
65 |
snapshot_download(repo_id=repo_name, local_dir=".", allow_patterns=model_name)
|
66 |
|
67 |
model = Llama(
|
|
|
52 |
".txt": (TextLoader, {"encoding": "utf8"}),
|
53 |
}
|
54 |
|
55 |
+
"""
|
56 |
repo_name = "IlyaGusev/saiga2_13b_ggml"
|
57 |
model_name = "ggml-model-q4_1.bin"
|
58 |
embedder_name = "sentence-transformers/paraphrase-multilingual-mpnet-base-v2"
|
|
|
59 |
"""
|
60 |
+
|
61 |
repo_name = "IlyaGusev/saiga_13b_lora_llamacpp"
|
62 |
model_name = "ggml-model-q4_1.bin"
|
63 |
+
#embedder_name = "sentence-transformers/paraphrase-multilingual-mpnet-base-v2"
|
64 |
+
embedder_name = "ai-forever/sbert_large_mt_nlu_ru"
|
65 |
+
|
66 |
snapshot_download(repo_id=repo_name, local_dir=".", allow_patterns=model_name)
|
67 |
|
68 |
model = Llama(
|