valeriylo commited on
Commit
8c61b1c
1 Parent(s): bf587d2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -4
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(