axolotl version: 0.18.0
base_model: HuggingFaceH4/zephyr-7b-beta
plugins:
- axolotl_plugins.custom_trainer_args.CustomTrainerArgsPlugin
trainer_cls: trainers.npo.NPOWeightDistanceTrainer
custom_trainer_args:
reference_model_name_or_path: HuggingFaceH4/zephyr-7b-beta
beta: 0.0225
retain_coefficient: 1.0
coefficient_weight_dist: 1000.0
datasets:
- path: cais/wmdp-bio-forget-corpus
split: train
type: data.authors_documents
- path: Salesforce/wikitext
name: wikitext-2-raw-v1
split: test
type: data.authors_documents
shuffle_merged_datasets: false
dataset_num_proc: 8
dataset_prepared_path: artifacts/tamia/cache/axolotl/z7b-wmdp-bio--unlearn-fft-npo-weight-distance/prepared
val_set_size: 0.0
output_dir: artifacts/generated/hpo/z7b-wmdp-bio--unlearn-fft-npo-weight-distance-hpo/models/z7b-wmdp-bio--unlearn-fft-npo-weight-distance-hpo--005
sequence_len: 512
sample_packing: false
pad_to_sequence_len: false
remove_unused_columns: false
train_on_inputs: true
micro_batch_size: 8
gradient_accumulation_steps: 1
max_steps: 150
learning_rate: 1.0e-06
optimizer: adamw_torch
weight_decay: 0.0
lr_scheduler: constant
warmup_steps: 0
max_grad_norm: 0.0
bf16: true
tf32: false
gradient_checkpointing: false
attn_implementation: eager
device_map:
model.embed_tokens: 0
model.layers.0: 0
model.layers.1: 0
model.layers.2: 0
model.layers.3: 0
model.layers.4: 0
model.layers.5: 0
model.layers.6: 0
model.layers.7: 0
model.layers.8: 1
model.layers.9: 1
model.layers.10: 1
model.layers.11: 1
model.layers.12: 1
model.layers.13: 1
model.layers.14: 1
model.layers.15: 1
model.layers.16: 2
model.layers.17: 2
model.layers.18: 2
model.layers.19: 2
model.layers.20: 2
model.layers.21: 2
model.layers.22: 2
model.layers.23: 2
model.layers.24: 3
model.layers.25: 3
model.layers.26: 3
model.layers.27: 3
model.layers.28: 3
model.layers.29: 3
model.layers.30: 3
model.layers.31: 3
model.norm: 3
lm_head: 3
seed: 42
data_seed: 42
eval_strategy: 'no'
save_strategy: steps
save_steps: 150
save_total_limit: 1
save_only_model: true
logging_steps: 1
wandb_project: lp-tamper-resistance
wandb_name: z7b-wmdp-bio--unlearn-fft-npo-weight-distance
artifacts/generated/hpo/z7b-wmdp-bio--unlearn-fft-npo-weight-distance-hpo/models/z7b-wmdp-bio--unlearn-fft-npo-weight-distance-hpo--005
This model is a fine-tuned version of HuggingFaceH4/zephyr-7b-beta on the cais/wmdp-bio-forget-corpus and the Salesforce/wikitext datasets.
Model description
More information needed
Intended uses & limitations
More information needed
Training and evaluation data
More information needed
Training procedure
Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 1e-06
- train_batch_size: 8
- eval_batch_size: 8
- seed: 42
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: constant
- training_steps: 150
Training results
Framework versions
- Transformers 5.14.1
- Pytorch 2.12.1+cu130
- Datasets 4.8.4
- Tokenizers 0.22.2