File size: 2,499 Bytes
cd4aacd
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
estimator:
  accelerator: gpu
  precision: 32
  deterministic: true
  tf32_mode: high
callbacks:
  timer:
    _target_: energizer.active_learning.callbacks.Timer
  save_outputs:
    _target_: src.callbacks.SaveOutputs
    dirpath: ./logs/
    instance_level: false
    batch_level: false
    epoch_level: false
  early_stopping:
    _target_: energizer.callbacks.early_stopping.EarlyStopping
    monitor: train/avg_f1_minclass
    stage: train
    interval: epoch
    mode: max
    min_delta: 1.0e-05
    patience: 10
    stopping_threshold: null
    divergence_threshold: null
    verbose: true
  model_checkpoint:
    _target_: energizer.callbacks.model_checkpoint.ModelCheckpoint
    dirpath: .checkpoints
    monitor: train/avg_f1_minclass
    stage: train
    mode: max
    save_last: false
    save_top_k: 1
    verbose: true
loggers:
  tensorboard:
    _target_: energizer.loggers.TensorBoardLogger
    root_dir: ./
    name: tb_logs
    version: null
data:
  batch_size: 32
  eval_batch_size: 256
  num_workers: 32
  pin_memory: true
  drop_last: false
  persistent_workers: true
  shuffle: true
  seed: 123456
  replacement: false
  max_length: 512
active_data:
  budget: 100
  positive_budget: 5
  seed: 654321
fit:
  min_steps: 100
  max_epochs: 10
  learning_rate: 4.0e-05
  optimizer: adamw
  log_interval: 1
  enable_progress_bar: false
  limit_train_batches: null
  limit_validation_batches: null
active_fit:
  max_budget: 5000
  query_size: 25
  reinit_model: true
  limit_pool_batches: null
  limit_test_batches: null
test:
  log_interval: 1
  enable_progress_bar: false
  limit_batches: null
strategy:
  name: anchoral_entropy
  args:
    seed: 42
    subpool_size: 10000
    num_neighbours: 50
    max_search_size: null
    num_anchors: 10
    anchor_strategy_minority: kmeans_pp_sampling
    anchor_strategy_majority: kmeans_pp_sampling
    minority_classes_ids: null
model:
  name: deberta_v3-base
  seed: 654321
dataset:
  name: agnews-business-.01
  text_column: text
  label_column: labels
  uid_column: uid
  prepared_path: /rds/user/pl487/hpc-work/anchoral/data/prepared/agnews-business-.01
  processed_path: /rds/user/pl487/hpc-work/anchoral/data/processed/agnews
  minority_classes:
  - 1
index_metric: all-mpnet-base-v2_cosine
log_interval: 1
enable_progress_bar: false
limit_batches: null
seed: 42
experiment_group: deberta_v3-base/new
run_name: agnews-business-.01/deberta_v3-base_anchoral_entropy_2023-12-06T10-52-24
data_path: /rds/user/pl487/hpc-work/anchoral/data