File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
- 0.1.4
1
+ 0.1.5
Original file line number Diff line number Diff line change 10
10
import torch
11
11
from torch .utils .data import DataLoader
12
12
13
- from . methods .utils .data import (
13
+ from methods .utils .data import (
14
14
create_multiple_choice_prompt ,
15
15
preprocess_function_seq2seq_vqa ,
16
16
preprocess_function_seq2seq_vqa_channel ,
17
17
preprocess_function_causal_vqa ,
18
18
preprocess_function_causal_vqa_channel ,
19
19
)
20
- from . methods .utils .methods import (
20
+ from methods .utils .methods import (
21
21
compute_conditional_score_seq2seq_vqa ,
22
22
compute_conditional_score_causal_vqa ,
23
23
compute_mask_process_of_elimination ,
24
24
inference_process_of_elimination ,
25
25
inference_language_modeling ,
26
26
inference_calibration ,
27
27
)
28
- from . methods .utils .utils import load_data , load_model , set_seed
28
+ from methods .utils .utils import load_data , load_model , set_seed
29
29
30
30
all_checkpoints = {
31
31
"BLIP2-OPT" : ["Salesforce/blip2-opt-2.7b" ],
You can’t perform that action at this time.
0 commit comments