-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinternlm2.sh
More file actions
94 lines (86 loc) · 3.04 KB
/
internlm2.sh
File metadata and controls
94 lines (86 loc) · 3.04 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
#
python run_ic_bench.py \
--model=internlm/internlm-xcomposer2-vl-7b \
--batchsize=2 \
--workers=4 \
--prompt_query='Which of these cars is shown in the image?' \
--model_cache_dir=/media/gregor/cache1/hf_cache \
--dataset=stanford_cars \
--image_root=/media/gregor/cache1/icbench/stanfordcars/stanford_cars \
#
#python run_ic_bench.py \
#--model=internlm/internlm-xcomposer2-vl-7b \
#--batchsize=2 \
#--workers=4 \
#--prompt_query='Which of these pets is shown in the image?' \
#--model_cache_dir=/media/gregor/cache1/hf_cache \
#--dataset=oxford_pet \
#--image_root=/media/gregor/cache1/icbench/oxfordpets/oxford-iiit-pet \
#
#python run_ic_bench.py \
#--model=internlm/internlm-xcomposer2-vl-7b \
#--batchsize=2 \
#--workers=4 \
#--prompt_query='Which of these aircrafts is shown in the image?' \
#--model_cache_dir=/media/gregor/cache1/hf_cache \
#--dataset=fgvc_aircraft \
#--image_root=/media/gregor/cache1/icbench/fgvcaircraft/fgvc-aircraft-2013b \
#
#python run_ic_bench.py \
#--model=internlm/internlm-xcomposer2-vl-7b \
#--batchsize=2 \
#--workers=4 \
#--prompt_query='Which of these flowers is shown in the image?' \
#--model_cache_dir=/media/gregor/cache1/hf_cache \
#--dataset=flowers102 \
#--image_root=/media/gregor/cache1/icbench/flowers102/flowers-102/ \
#
#python run_ic_bench.py \
#--model=internlm/internlm-xcomposer2-vl-7b \
#--batchsize=2 \
#--workers=4 \
#--prompt_query='Which of these dishes is shown in the image?' \
#--model_cache_dir=/media/gregor/cache1/hf_cache \
#--dataset=food101 \
#--image_root=/media/gregor/cache1/icbench/food101/food-101 \
#
#python run_ic_bench.py \
#--model=internlm/internlm-xcomposer2-vl-7b \
#--batchsize=2 \
#--workers=4 \
#--prompt_query='Which of these choices is shown in the image?' \
#--model_cache_dir=/media/gregor/cache1/hf_cache \
#--dataset=imagenet \
#--image_root=/media/gregor/cache1/icbench/imagenet/val \
python run_ic_bench.py \
--model=internlm/internlm-xcomposer2-vl-7b \
--batchsize=2 \
--workers=4 \
--prompt_query='Which of these choices is shown in the image?' \
--model_cache_dir=/media/gregor/cache1/hf_cache \
--dataset=imagenet-rendition \
--image_root=/media/gregor/cache1/icbench/imagenetr/imagenet-r/ \
python run_ic_bench.py \
--model=internlm/internlm-xcomposer2-vl-7b \
--batchsize=2 \
--workers=4 \
--prompt_query='Which of these choices is shown in the image?' \
--model_cache_dir=/media/gregor/cache1/hf_cache \
--dataset=imagenet-adversarial \
--image_root=/media/gregor/cache1/icbench/imageneta/imagenet-a/ \
python run_ic_bench.py \
--model=internlm/internlm-xcomposer2-vl-7b \
--batchsize=2 \
--workers=4 \
--prompt_query='Which of these choices is shown in the image?' \
--model_cache_dir=/media/gregor/cache1/hf_cache \
--dataset=imagenet-sketch \
--image_root=/media/gregor/cache1/icbench/imagenetsketch/sketch/ \
python run_ic_bench.py \
--model=internlm/internlm-xcomposer2-vl-7b \
--batchsize=2 \
--workers=4 \
--prompt_query='Which of these choices is shown in the image?' \
--model_cache_dir=/media/gregor/cache1/hf_cache \
--dataset=geode \
--image_root=/media/gregor/cache1/icbench/geode \