p3nguknight commited on
Commit
7c808c6
1 Parent(s): 61931a6

Switch to model without token

Browse files
Files changed (2) hide show
  1. README.md +5 -1
  2. app.py +2 -2
README.md CHANGED
@@ -9,8 +9,12 @@ sdk_version: 4.44.0
9
  app_file: app.py
10
  pinned: false
11
  license: apache-2.0
 
 
 
 
12
  preload_from_hub:
13
  - vidore/colpaligemma-3b-pt-448-base config.json,model-00001-of-00002.safetensors,model-00002-of-00002.safetensors,model.safetensors.index.json,preprocessor_config.json,special_tokens_map.json,tokenizer.json,tokenizer_config.json 12c59eb7e23bc4c26876f7be7c17760d5d3a1ffa
14
  - vidore/colpali-v1.2 adapter_config.json,adapter_model.safetensors,preprocessor_config.json,special_tokens_map.json,tokenizer.json,tokenizer_config.json 2d54d5d3684a4f5ceeefbef95df0c94159fd6a45
15
- - mistralai/Pixtral-12B-2409 params.json,tekken.json,consolidated.safetensors ba6a661500dabeddb2e531e732f0ca39f82ee694
16
  ---
 
9
  app_file: app.py
10
  pinned: false
11
  license: apache-2.0
12
+ models:
13
+ - vidore/colpaligemma-3b-pt-448-base
14
+ - vidore/colpali-v1.2
15
+ - mistral-community/pixtral-12b-240910
16
  preload_from_hub:
17
  - vidore/colpaligemma-3b-pt-448-base config.json,model-00001-of-00002.safetensors,model-00002-of-00002.safetensors,model.safetensors.index.json,preprocessor_config.json,special_tokens_map.json,tokenizer.json,tokenizer_config.json 12c59eb7e23bc4c26876f7be7c17760d5d3a1ffa
18
  - vidore/colpali-v1.2 adapter_config.json,adapter_model.safetensors,preprocessor_config.json,special_tokens_map.json,tokenizer.json,tokenizer_config.json 2d54d5d3684a4f5ceeefbef95df0c94159fd6a45
19
+ - mistral-community/pixtral-12b-240910 params.json,tekken.json,consolidated.safetensors ba6a661500dabeddb2e531e732f0ca39f82ee694
20
  ---
app.py CHANGED
@@ -18,8 +18,8 @@ from pdf2image import convert_from_path
18
  from torch.utils.data import DataLoader
19
  from tqdm import tqdm
20
 
21
- PIXTAL_MODEL_ID = "mistralai--Pixtral-12B-2409"
22
- PIXTRAL_MODEL_SNAPSHOT = "ba6a661500dabeddb2e531e732f0ca39f82ee694"
23
  PIXTRAL_MODEL_PATH = (
24
  f"~/.cache/huggingface/hub/models--{PIXTAL_MODEL_ID}/{PIXTRAL_MODEL_SNAPSHOT}"
25
  )
 
18
  from torch.utils.data import DataLoader
19
  from tqdm import tqdm
20
 
21
+ PIXTAL_MODEL_ID = "mistral-community--pixtral-12b-240910"
22
+ PIXTRAL_MODEL_SNAPSHOT = "95758896fcf4691ec9674f29ec90d1441d9d26d2"
23
  PIXTRAL_MODEL_PATH = (
24
  f"~/.cache/huggingface/hub/models--{PIXTAL_MODEL_ID}/{PIXTRAL_MODEL_SNAPSHOT}"
25
  )