TianyiQ's picture
Upload ./README.md with huggingface_hub
7e9df39 verified
metadata
license: cc-by-4.0
tags:
  - alignment
  - value alignment
  - AI safety
  - safety
  - LLM
  - history
datasets:
  - PKU-Alignment/ProgressGym-HistText
base_model:
  - meta-llama/Meta-Llama-3-70B

ProgressGym-HistLlama3-70B-C015-pretrain

Overview

The ProgressGym Framework

Framework Diagram

ProgressGym-HistLlama3-70B-C015-pretrain 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-70B-C015-pretrain

ProgressGym-HistLlama3-70B-C015-pretrain is one of the 36 historical language models in the ProgressGym framework. It is a pretrained model without instruction-tuning. For the instruction-tuned version, see ProgressGym-HistLlama3-70B-C015-instruct.

ProgressGym-HistLlama3-70B-C015-pretrain 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-70B-C015-pretrain is a 15th-century historical language model. Based on Meta-Llama-3-70B, It is continued-pretrained on the 15th-century text data from ProgressGym-HistText, using the following hyperparameters:

  • learning_rate: 3e-06
  • train_batch_size: 1
  • eval_batch_size: 2
  • seed: 42
  • distributed_type: multi-GPU
  • num_devices: 32
  • gradient_accumulation_steps: 4
  • total_train_batch_size: 128
  • total_eval_batch_size: 64
  • optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • lr_scheduler_type: polynomial
  • lr_scheduler_warmup_ratio: 0.075
  • num_epochs: 3.0
  • mixed_precision_training: Native AMP

... with the following training results:

Training Loss Epoch Step Validation Loss
2.0376 0.1558 3 2.0736
2.0549 0.3117 6 2.0736
2.1192 0.4675 9 2.0664
2.1346 0.6234 12 2.0558
2.08 0.7792 15 2.0401
2.0576 0.9351 18 2.0248
2.0351 1.0909 21 2.0168
1.9633 1.2468 24 2.0135
2.0389 1.4026 27 2.0117
1.9637 1.5584 30 2.0107
1.9749 1.7143 33 2.0100
2.0231 1.8701 36 2.0094
1.9785 2.0260 39 2.0088
1.9619 2.1818 42 2.0083
1.9971 2.3377 45 2.0078
1.9992 2.4935 48 2.0075
1.9912 2.6494 51 2.0071
1.9894 2.8052 54 2.0067
2.0143 2.9610 57 2.0062

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.

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.