pietrolesci's picture
Upload folder using huggingface_hub
cd4aacd verified
hydra:
run:
dir: ./outputs/${experiment_group}/${run_name}
sweep:
dir: ./outputs/multirun/${experiment_group}
subdir: ${run_name}_${hydra.job.id}
launcher:
_target_: hydra_plugins.hydra_joblib_launcher.joblib_launcher.JoblibLauncher
n_jobs: 3
backend: null
prefer: processes
require: null
verbose: 0
timeout: null
pre_dispatch: 2*n_jobs
batch_size: auto
temp_folder: null
max_nbytes: null
mmap_mode: r
sweeper:
_target_: hydra._internal.core_plugins.basic_sweeper.BasicSweeper
max_batch_size: null
params: null
help:
app_name: ${hydra.job.name}
header: '${hydra.help.app_name} is powered by Hydra.
'
footer: 'Powered by Hydra (https://hydra.cc)
Use --hydra-help to view Hydra specific help
'
template: '${hydra.help.header}
== Configuration groups ==
Compose your configuration from those groups (group=option)
$APP_CONFIG_GROUPS
== Config ==
Override anything in the config (foo.bar=value)
$CONFIG
${hydra.help.footer}
'
hydra_help:
template: 'Hydra (${hydra.runtime.version})
See https://hydra.cc for more info.
== Flags ==
$FLAGS_HELP
== Configuration groups ==
Compose your configuration from those groups (For example, append hydra/job_logging=disabled
to command line)
$HYDRA_CONFIG_GROUPS
Use ''--cfg hydra'' to Show the Hydra config.
'
hydra_help: ???
hydra_logging:
version: 1
formatters:
colorlog:
(): colorlog.ColoredFormatter
format: '[%(cyan)s%(asctime)s%(reset)s][%(purple)sHYDRA%(reset)s] %(message)s'
handlers:
console:
class: logging.StreamHandler
formatter: colorlog
stream: ext://sys.stdout
root:
level: INFO
handlers:
- console
disable_existing_loggers: false
job_logging:
version: 1
formatters:
simple:
format: '[%(asctime)s][%(name)s][%(levelname)s] - %(message)s'
colorlog:
(): colorlog.ColoredFormatter
format: '[%(cyan)s%(asctime)s%(reset)s][%(blue)s%(name)s%(reset)s][%(log_color)s%(levelname)s%(reset)s]
- %(message)s'
log_colors:
DEBUG: purple
INFO: green
WARNING: yellow
ERROR: red
CRITICAL: bold_red
handlers:
console:
class: logging.StreamHandler
formatter: colorlog
stream: ext://sys.stdout
file:
class: logging.FileHandler
formatter: simple
filename: ${hydra.job.name}.log
root:
level: INFO
handlers:
- console
- file
disable_existing_loggers: false
env: {}
mode: MULTIRUN
searchpath: []
callbacks: {}
output_subdir: .hydra
overrides:
hydra:
- hydra.mode=MULTIRUN
task:
- experiment_group=binary_classification_superextended
- dataset=amazon_agri
- strategy=seals_badge,anchoral_badge
- data.seed=654321
- model.seed=654321
- active_data.seed=654321
- +launcher=joblib
- active_fit.max_budget=20000
- active_fit.query_size=100
job:
name: active_train
chdir: true
override_dirname: +launcher=joblib,active_data.seed=654321,active_fit.max_budget=20000,active_fit.query_size=100,data.seed=654321,dataset=amazon_agri,experiment_group=binary_classification_superextended,model.seed=654321,strategy=seals_badge,anchoral_badge
id: ???
num: ???
config_name: conf
env_set: {}
env_copy: []
config:
override_dirname:
kv_sep: '='
item_sep: ','
exclude_keys: []
runtime:
version: 1.3.2
version_base: '1.3'
cwd: /home/pl487/anchoral
config_sources:
- path: hydra.conf
schema: pkg
provider: hydra
- path: /home/pl487/anchoral/conf
schema: file
provider: main
- path: hydra_plugins.hydra_colorlog.conf
schema: pkg
provider: hydra-colorlog
- path: ''
schema: structured
provider: schema
output_dir: ???
choices:
launcher: joblib
dataset: amazon_agri
strategy: null
hydra/env: default
hydra/callbacks: null
hydra/job_logging: colorlog
hydra/hydra_logging: colorlog
hydra/hydra_help: default
hydra/help: default
hydra/sweeper: basic
hydra/launcher: joblib
hydra/output: default
verbose: false
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:
wandb:
_target_: energizer.loggers.wandb.WandbLogger
project: anchoral
entity: pietro_lesci
group: ${strategy.name}_${dataset.name}_${model.name}
name: ${run_name}
tags:
- ${experiment_group}
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: 654321
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: ${log_interval}
enable_progress_bar: ${enable_progress_bar}
limit_train_batches: ${limit_batches}
limit_validation_batches: ${limit_batches}
active_fit:
max_budget: 20000
query_size: 100
reinit_model: true
limit_pool_batches: ${limit_batches}
limit_test_batches: ${limit_batches}
test:
log_interval: ${log_interval}
enable_progress_bar: ${enable_progress_bar}
limit_batches: ${limit_batches}
strategy: ???
model:
name: bert-base
seed: 654321
dataset:
name: amazon-agri
text_column: text
label_column: labels
uid_column: uid
prepared_path: ${data_path}/prepared/amazoncat-agri
processed_path: ${data_path}/processed/amazoncat-13k
minority_classes:
- 1
index_metric: all-mpnet-base-v2_cosine
log_interval: 1
enable_progress_bar: false
limit_batches: null
seed: 42
experiment_group: binary_classification_superextended
run_name: ${dataset.name}/${model.name}_${strategy.name}_${now:%Y-%m-%d}T${now:%H-%M-%S}
data_path: /home/pl487/anchoral/data