TianyiQ commited on
Commit
63f5b50
1 Parent(s): 09f2102

Upload ./README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +54 -32
README.md CHANGED
@@ -1,41 +1,35 @@
1
  ---
2
- license: other
3
- base_model: meta-llama/Meta-Llama-3-8B
4
- tags:
5
- - llama-factory
6
- - full
7
- - generated_from_trainer
8
- model-index:
9
- - name: C016_random_sample_llama3-8b-base_pretrain_20240504_181744
10
- results: []
11
  ---
12
 
13
- <!-- This model card has been generated automatically according to the information the Trainer had access to. You
14
- should probably proofread and complete it, then remove this comment. -->
15
 
16
- # C016_random_sample_llama3-8b-base_pretrain_20240504_181744
17
 
18
- This model is a fine-tuned version of [/data/pro-align/progressalign/shared_storage/downloaded_models/llama3-8b-base](https://huggingface.co//data/pro-align/progressalign/shared_storage/downloaded_models/llama3-8b-base) on the C016_random_sample_data dataset.
19
- It achieves the following results on the evaluation set:
20
- - Loss: 2.4196
21
 
22
- ## Model description
23
 
24
- More information needed
25
 
26
- ## Intended uses & limitations
27
 
28
- More information needed
 
 
29
 
30
- ## Training and evaluation data
31
 
32
- More information needed
33
 
34
- ## Training procedure
35
 
36
- ### Training hyperparameters
37
 
38
- The following hyperparameters were used during training:
39
  - learning_rate: 1.5e-05
40
  - train_batch_size: 8
41
  - eval_batch_size: 16
@@ -50,7 +44,7 @@ The following hyperparameters were used during training:
50
  - num_epochs: 4.0
51
  - mixed_precision_training: Native AMP
52
 
53
- ### Training results
54
 
55
  | Training Loss | Epoch | Step | Validation Loss |
56
  |:-------------:|:------:|:----:|:---------------:|
@@ -75,10 +69,38 @@ The following hyperparameters were used during training:
75
  | 2.2002 | 3.7001 | 3800 | 2.4294 |
76
  | 2.2437 | 3.8948 | 4000 | 2.4291 |
77
 
78
-
79
- ### Framework versions
80
-
81
- - Transformers 4.40.1
82
- - Pytorch 2.3.0
83
- - Datasets 2.19.0
84
- - Tokenizers 0.19.1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ license: cc-by-4.0
3
+ datasets:
4
+ - PKU-Alignment/ProgressGym-HistText
5
+ base_model:
6
+ - meta-llama/Meta-Llama-3-8B
 
 
 
 
7
  ---
8
 
9
+ # ProgressGym-HistLlama3-8B-C016-pretrain
 
10
 
11
+ ## Overview
12
 
13
+ #### The ProgressGym Framework
 
 
14
 
15
+ ![Framework Diagram](./readme-assets/main-diagram.png)
16
 
17
+ **ProgressGym-HistLlama3-8B-C016-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.
18
 
19
+ To quote the paper [*ProgressGym: Alignment with a Millennium of Moral Progress*](https://arxiv.org/abs/2406.20087):
20
 
21
+ > 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.
22
+ >
23
+ > 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.
24
 
25
+ #### ProgressGym-HistLlama3-8B-C016-pretrain
26
 
27
+ ProgressGym-HistLlama3-8B-C016-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-8B-C016-instruct](https://huggingface.co/PKU-Alignment/ProgressGym-HistLlama3-8B-C016-instruct).
28
 
29
+ **ProgressGym-HistLlama3-8B-C016-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.
30
 
31
+ **ProgressGym-HistLlama3-8B-C016-pretrain is a 16th-century historical language model.** Based on [Meta-Llama-3-8B](https://huggingface.co/meta-llama/Meta-Llama-3-8B), It is continued-pretrained on the 16th-century text data from [ProgressGym-HistText](https://huggingface.co/datasets/PKU-Alignment/ProgressGym-HistText), using the following hyperparameters:
32
 
 
33
  - learning_rate: 1.5e-05
34
  - train_batch_size: 8
35
  - eval_batch_size: 16
 
44
  - num_epochs: 4.0
45
  - mixed_precision_training: Native AMP
46
 
47
+ ... with the following training results:
48
 
49
  | Training Loss | Epoch | Step | Validation Loss |
50
  |:-------------:|:------:|:----:|:---------------:|
 
69
  | 2.2002 | 3.7001 | 3800 | 2.4294 |
70
  | 2.2437 | 3.8948 | 4000 | 2.4291 |
71
 
72
+ Note that the training data volume for the continued pretraining stage is capped at 300MB. When the corresponding century's corpus exceeds this volume, the training data is randomly sampled to fit the volume.
73
+
74
+ ## Links
75
+
76
+ - **[Paper Preprint]** [ProgressGym: Alignment with a Millennium of Moral Progress](https://arxiv.org/abs/2406.20087)
77
+ - **[Leaderboard & Interactive Playground]** PKU-Alignment/ProgressGym-LeaderBoard *(coming soon)*
78
+ - **[Github Codebase]** PKU-Alignment/ProgressGym *(coming soon)*
79
+ - **[Huggingface Data & Model Collection]** [PKU-Alignment/ProgressGym](https://huggingface.co/collections/PKU-Alignment/progressgym-666735fcf3e4efa276226eaa)
80
+ - **[PyPI Package]** *(coming soon)*
81
+
82
+ ## Citation
83
+
84
+ If the datasets, models, or framework of ProgressGym help you in your project, please cite ProgressGym using the bibtex entry below.
85
+
86
+ ```text
87
+ @article{progressgym,
88
+ title={ProgressGym: Alignment with a Millennium of Moral Progress},
89
+ author={Tianyi Qiu and Yang Zhang and Xuchuan Huang and Jasmine Xinze Li and Jiaming Ji and Yaodong Yang},
90
+ journal={arXiv preprint arXiv:2406.20087},
91
+ eprint={2406.20087},
92
+ eprinttype = {arXiv},
93
+ year={2024}
94
+ }
95
+ ```
96
+
97
+ ## Ethics Statement
98
+
99
+ - **Copyright information of historical text data sources**:
100
+ - Project Gutenberg, one among our four source of our historical text data, consists only of texts in the public domain.
101
+ - 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.
102
+ - 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".
103
+ - 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.
104
+ - **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.
105
+ - **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.
106
+ - **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.