-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings.py
More file actions
27 lines (21 loc) · 1.01 KB
/
Copy pathsettings.py
File metadata and controls
27 lines (21 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import os
_ROOT_DIR = "/projects/multimodal_bootcamp/multimodal-td-2"
USER = os.getenv("USER")
USER_ROOT_DIR = f"{_ROOT_DIR}/{USER}"
TEAM_ROOT_DIR = f"{_ROOT_DIR}/shared"
# if not os.environ.get("HF_HOME"):
os.environ["HF_HOME"] = f"{USER_ROOT_DIR}/.cache/huggingface"
# print(f'HF_HOME is set to {os.environ["HF_HOME"]}')
RET_MODEL_PATHS = {
"colpali13": "vidore/colpali-v1.3",
"colqwen2010": "vidore/colqwen2-v1.0",
# "colqwen2502": "vidore/colqwen2.5-v0.2",
"llamanemo3bv1": f"{_ROOT_DIR}/model-weights/llama-nemoretriever-colembed-3b-v1",
# "llamanemo3bv1": "nvidia/llama-nemoretriever-colembed-3b-v1",
}
GEN_MODEL_PATHS = {
# "qwen25_vl_7b_instruct": "/fs02/model-weights/Qwen2.5-VL-7B-Instruct", # NOTE: ValueError: Unrecognized image processor in /fs02/model-weights/Qwen2.5-VL-7B-Instruct
"qwen25_vl_7b_instruct": "Qwen/Qwen2.5-VL-7B-Instruct",
"qwen25_vl_32b_instruct": "/fs02/model-weights/Qwen2.5-VL-32B-Instruct",
"qwen25_vl_72b_instruct_awq": "Qwen/Qwen2.5-VL-72B-Instruct-AWQ",
}