-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.yaml
38 lines (28 loc) · 1.11 KB
/
config.yaml
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
defaults:
# The available prompt selection methods are "MI, MI_G, MI_L, MI_GL, GE, GE_M, LE, MDL, MDL_M, ZLP, ZPM, ZMV, PPL, PPL_L"
- method: MI
- dataset: sst2
- prompt: base_prompts
- decoder: opt-2.7b
- calibration: cbm-softmax
- _self_
# If true, only get P(y|x,t) using a first token, not all tokens
first_token: false
# If true, get sum log prediction probability (not mean)
sum_log_prob: false
# fix the size of dataset.
num_samples: 1000
# fix random seed.
seed: 42
# If you want a fewshot evaluation, pass this argument a value corresponding to the number of shots you want.
# You can choose from '1', '2', '4', '1,2', '1,4', '2,4', and '1,2,4'."
fewshot: null
# Decide whether to evaluate when extracting p(y|x,t)
do_eval: true
# Whether or not to use mixed precision training. Choose from ‘no’, ‘fp16’, ‘bf16 or ‘fp8’.
mixed_precision: 'no'
# Choose whether to filter prompts in the way described in the ZPS paper (https://arxiv.org/abs/2211.04668).
# If true, the prompts will be filtered.
filter: false
# If true, the dataset is set to be unbalanced in the dynamic task.
unbalance: false