Edit model card

ProgressGym-HistLlama3-8B-C018-instruct

Overview

The ProgressGym Framework

Framework Diagram

ProgressGym-HistLlama3-8B-C018-instruct is part of the ProgressGym framework for research and experimentation on progress alignment - the emulation of moral progress in AI alignment algorithms, as a measure to prevent risks of societal value lock-in.

To quote the paper ProgressGym: Alignment with a Millennium of Moral Progress:

Frontier AI systems, including large language models (LLMs), hold increasing influence over the epistemology of human users. Such influence can reinforce prevailing societal values, potentially contributing to the lock-in of misguided moral beliefs and, consequently, the perpetuation of problematic moral practices on a broad scale.

We introduce progress alignment as a technical solution to mitigate this imminent risk. Progress alignment algorithms learn to emulate the mechanics of human moral progress, thereby addressing the susceptibility of existing alignment methods to contemporary moral blindspots.

ProgressGym-HistLlama3-8B-C018-instruct

ProgressGym-HistLlama3-8B-C018-instruct is one of the 36 historical language models in the ProgressGym framework.

ProgressGym-HistLlama3-8B-C018-instruct is under continual iteration. Improving upon the current version, new versions of the model are currently being trained to reflect historical moral tendencies in ever more comprehensive ways.

ProgressGym-HistLlama3-8B-C018-instruct is a 18th-century historical language model. Based on Meta-Llama-3-8B, It is continued-pretrained on the 18th-century text data from ProgressGym-HistText, using the following hyperparameters:

  • learning_rate: 1.5e-05
  • train_batch_size: 8
  • eval_batch_size: 16
  • seed: 42
  • distributed_type: multi-GPU
  • num_devices: 8
  • total_train_batch_size: 64
  • total_eval_batch_size: 128
  • optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • lr_scheduler_type: polynomial
  • lr_scheduler_warmup_steps: 20
  • num_epochs: 4.0
  • mixed_precision_training: Native AMP

... with the following training results:

Training Loss Epoch Step Validation Loss
2.3701 0.2186 200 2.3702
2.3183 0.4372 400 2.3160
2.2634 0.6557 600 2.2863
2.2522 0.8743 800 2.2706
2.0306 1.0929 1000 2.2777
2.0095 1.3115 1200 2.2760
2.0539 1.5301 1400 2.2746
2.0338 1.7486 1600 2.2743
2.0648 1.9672 1800 2.2737
2.0297 2.1858 2000 2.2766
2.0487 2.4044 2200 2.2767
2.0329 2.6230 2400 2.2770
2.0213 2.8415 2600 2.2766
2.0559 3.0601 2800 2.2771
2.0543 3.2787 3000 2.2773
2.0317 3.4973 3200 2.2772
1.988 3.7158 3400 2.2770
2.0355 3.9344 3600 2.2772

Note that the training data volume for the continued pretraining stage is capped at 3GB. When the corresponding century's corpus exceeds this volume, the training data is randomly sampled to fit the volume.

ProgressGym-HistLlama3-8B-C018-instruct is an instruction-tuned language model. It is tuned on ProgressGym-TimelessQA, using the following hyperparameters. Note, however, that the snapshot at training step 10 is used for the final model, to minimize erosion of the value tendencies learned during continued pretraining; we qualitatively observe that this snapshot still possesses strong instruction-following capabilities.

  • learning_rate: 1.5e-05
  • train_batch_size: 8
  • eval_batch_size: 16
  • seed: 42
  • distributed_type: multi-GPU
  • num_devices: 8
  • total_train_batch_size: 64
  • total_eval_batch_size: 128
  • optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • lr_scheduler_type: polynomial
  • lr_scheduler_warmup_steps: 20
  • num_epochs: 4.0
  • mixed_precision_training: Native AMP

... with the following training results:

Training Loss Epoch Step Validation Loss
0.8108 0.4167 20 0.8423
0.7995 0.8333 40 0.8555
0.4526 1.25 60 0.8816
0.4663 1.6667 80 0.8521
0.3927 2.0833 100 0.8507
0.4017 2.5 120 0.8561
0.368 2.9167 140 0.8608
0.3677 3.3333 160 0.8647
0.3635 3.75 180 0.8676

Links

Citation

If the datasets, models, or framework of ProgressGym help you in your project, please cite ProgressGym using the bibtex entry below.

@article{progressgym,
  title={ProgressGym: Alignment with a Millennium of Moral Progress},
  author={Tianyi Qiu and Yang Zhang and Xuchuan Huang and Jasmine Xinze Li and Jiaming Ji and Yaodong Yang},
  journal={arXiv preprint arXiv:2406.20087},
  eprint={2406.20087},
  eprinttype = {arXiv},
  year={2024}
}

Ethics Statement

  • Copyright information of historical text data sources:
    • Project Gutenberg, one among our four source of our historical text data, consists only of texts in the public domain.
    • For the text that we draw from Internet Archive, we only include those that uploaded by Library of Congress, which are texts freely released online by the U.S. Library of Congress for research and public use.
    • The text data from Early English Books Online are, according to their publisher, "freely available to the public" and "available for access, distribution, use, or reuse by anyone".
    • The last remaining source of our historical text data, the Pile of Law dataset, is released under a Creative Commons license, which we adhere to in our use.
  • Reproducibility: To ensure reproducibility, we open-source all the code involved in the production of our main results (including the entire pipeline starting from data collection and model training), as well as the supporting infrastructure (the ProgressGym framework), making replication as easy as running a few simple script files.
  • Misuse Prevention: In order to prevent potential misuse of progress alignment algorithms, we have carefully formulated progress alignment as strictly value-neutral, without a priori assumptions on the direction of progress. In the event of potential misuse of our dataset, we condemn any misuse attempt to the strongest degree possible, and will work with the research community on whistleblowing for such attempts.
  • Open-Sourcing: We confirm that our code, data, and models are to be open-sourced under a CC-BY 4.0 license. We will continue to maintain and update our open-source repositories and models.
Downloads last month
23
Safetensors
Model size
8.03B params
Tensor type
FP16
·
Inference Examples
This model does not have enough activity to be deployed to Inference API (serverless) yet. Increase its social visibility and check back later, or deploy to Inference Endpoints (dedicated) instead.

Model tree for PKU-Alignment/ProgressGym-HistLlama3-8B-C018-instruct-v0.2

Datasets used to train PKU-Alignment/ProgressGym-HistLlama3-8B-C018-instruct-v0.2

Collection including PKU-Alignment/ProgressGym-HistLlama3-8B-C018-instruct-v0.2