PΛBLØ ᄃΞ commited on
Commit
a78350b
·
unverified ·
1 Parent(s): a57d1fa

Update app.py

Browse files

Mistral-7B-instruct-exl2

Files changed (1) hide show
  1. app.py +11 -6
app.py CHANGED
@@ -16,16 +16,21 @@ import flash_attn
16
  model = None
17
  cache = None
18
 
 
 
 
 
 
19
  snapshot_download(
20
  repo_id="turboderp/Mistral-Nemo-Instruct-12B-exl2",
21
  revision="8.0bpw",
22
  local_dir = "./models/Mistral-Nemo-Instruct-12B-exl2"
23
  )
24
- snapshot_download(
25
- repo_id="MikeRoz/mistralai_Mistral-Small-24B-Instruct-2501-6.0bpw-h6-exl2",
26
- revision="main",
27
- local_dir = "./models/Mistral-Small-24B-Instruct-exl2"
28
- )
29
 
30
  css = """
31
  .bubble-wrap {
@@ -125,7 +130,7 @@ def respond(
125
  ):
126
  global model
127
  global cache
128
- model_path = "models/Mistral-Nemo-Instruct-12B-exl2/"
129
  # Set up the model configuration
130
  config = ExLlamaV2Config(model_path)
131
  if model is None or cache is None:
 
16
  model = None
17
  cache = None
18
 
19
+ snapshot_download(
20
+ repo_id="bartowski/Mistral-7B-Instruct-v0.3-exl2",
21
+ revision="8_0",
22
+ local_dir = "./models/Mistral-7B-instruct-exl2"
23
+ )
24
  snapshot_download(
25
  repo_id="turboderp/Mistral-Nemo-Instruct-12B-exl2",
26
  revision="8.0bpw",
27
  local_dir = "./models/Mistral-Nemo-Instruct-12B-exl2"
28
  )
29
+ # snapshot_download(
30
+ # repo_id="MikeRoz/mistralai_Mistral-Small-24B-Instruct-2501-6.0bpw-h6-exl2",
31
+ # revision="main",
32
+ # local_dir = "./models/Mistral-Small-24B-Instruct-exl2"
33
+ # )
34
 
35
  css = """
36
  .bubble-wrap {
 
130
  ):
131
  global model
132
  global cache
133
+ model_path = "models/Mistral-7B-instruct-exl2/"
134
  # Set up the model configuration
135
  config = ExLlamaV2Config(model_path)
136
  if model is None or cache is None: