kejian commited on
Commit
f72d2ec
1 Parent(s): 71db8a1

update model card README.md

Browse files
Files changed (1) hide show
  1. README.md +127 -0
README.md ADDED
@@ -0,0 +1,127 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ license: apache-2.0
5
+ tags:
6
+ - generated_from_trainer
7
+ datasets:
8
+ - kejian/codeparrot-train-more-filter-3.3b-cleaned
9
+ model-index:
10
+ - name: kejian/final-cond-25-0.25
11
+ results: []
12
+ ---
13
+
14
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
15
+ should probably proofread and complete it, then remove this comment. -->
16
+
17
+ # kejian/final-cond-25-0.25
18
+
19
+ This model was trained from scratch on the kejian/codeparrot-train-more-filter-3.3b-cleaned dataset.
20
+
21
+ ## Model description
22
+
23
+ More information needed
24
+
25
+ ## Intended uses & limitations
26
+
27
+ More information needed
28
+
29
+ ## Training and evaluation data
30
+
31
+ More information needed
32
+
33
+ ## Training procedure
34
+
35
+ ### Training hyperparameters
36
+
37
+ The following hyperparameters were used during training:
38
+ - learning_rate: 0.0008
39
+ - train_batch_size: 32
40
+ - eval_batch_size: 16
41
+ - seed: 42
42
+ - gradient_accumulation_steps: 2
43
+ - total_train_batch_size: 64
44
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
45
+ - lr_scheduler_type: linear
46
+ - lr_scheduler_warmup_ratio: 0.01
47
+ - training_steps: 50354
48
+ - mixed_precision_training: Native AMP
49
+
50
+ ### Framework versions
51
+
52
+ - Transformers 4.23.0
53
+ - Pytorch 1.13.0+cu116
54
+ - Datasets 2.0.0
55
+ - Tokenizers 0.12.1
56
+
57
+
58
+ # Full config
59
+ {'dataset': {'conditional_training_config': {'aligned_prefix': '<|aligned|>',
60
+ 'drop_token_fraction': 0.25,
61
+ 'misaligned_prefix': '<|misaligned|>',
62
+ 'threshold': 0.000475},
63
+ 'datasets': ['kejian/codeparrot-train-more-filter-3.3b-cleaned'],
64
+ 'is_split_by_sentences': True},
65
+ 'generation': {'batch_size': 64,
66
+ 'metrics_configs': [{}, {'n': 1}, {}],
67
+ 'scenario_configs': [{'display_as_html': True,
68
+ 'generate_kwargs': {'do_sample': True,
69
+ 'eos_token_id': 0,
70
+ 'max_length': 704,
71
+ 'min_length': 10,
72
+ 'temperature': 0.7,
73
+ 'top_k': 0,
74
+ 'top_p': 0.9},
75
+ 'name': 'unconditional',
76
+ 'num_samples': 512,
77
+ 'prefix': '<|aligned|>',
78
+ 'use_prompt_for_scoring': False},
79
+ {'display_as_html': True,
80
+ 'generate_kwargs': {'do_sample': True,
81
+ 'eos_token_id': 0,
82
+ 'max_length': 272,
83
+ 'min_length': 10,
84
+ 'temperature': 0.7,
85
+ 'top_k': 0,
86
+ 'top_p': 0.9},
87
+ 'name': 'functions',
88
+ 'num_samples': 512,
89
+ 'prefix': '<|aligned|>',
90
+ 'prompt_before_control': True,
91
+ 'prompts_path': 'resources/functions_csnet.jsonl',
92
+ 'use_prompt_for_scoring': True}],
93
+ 'scorer_config': {}},
94
+ 'kl_gpt3_callback': {'gpt3_kwargs': {'model_name': 'code-cushman-001'},
95
+ 'max_tokens': 64,
96
+ 'num_samples': 4096,
97
+ 'prefix': '<|aligned|>'},
98
+ 'model': {'from_scratch': True,
99
+ 'gpt2_config_kwargs': {'reorder_and_upcast_attn': True,
100
+ 'scale_attn_by': True},
101
+ 'num_additional_tokens': 2,
102
+ 'path_or_name': 'codeparrot/codeparrot-small'},
103
+ 'objective': {'name': 'MLE'},
104
+ 'tokenizer': {'path_or_name': 'codeparrot/codeparrot-small',
105
+ 'special_tokens': ['<|aligned|>', '<|misaligned|>']},
106
+ 'training': {'dataloader_num_workers': 0,
107
+ 'effective_batch_size': 64,
108
+ 'evaluation_strategy': 'no',
109
+ 'fp16': True,
110
+ 'hub_model_id': 'kejian/final-cond-25-0.25',
111
+ 'hub_strategy': 'all_checkpoints',
112
+ 'learning_rate': 0.0008,
113
+ 'logging_first_step': True,
114
+ 'logging_steps': 1,
115
+ 'num_tokens': 3300000000.0,
116
+ 'output_dir': 'training_output',
117
+ 'per_device_train_batch_size': 16,
118
+ 'push_to_hub': True,
119
+ 'remove_unused_columns': False,
120
+ 'save_steps': 5000,
121
+ 'save_strategy': 'steps',
122
+ 'seed': 42,
123
+ 'warmup_ratio': 0.01,
124
+ 'weight_decay': 0.1}}
125
+
126
+ # Wandb URL:
127
+ https://wandb.ai/kejian/uncategorized/runs/ssntrqry