tomekkorbak commited on
Commit
42b3fed
1 Parent(s): fa77810

update model card README.md

Browse files
Files changed (1) hide show
  1. README.md +121 -0
README.md ADDED
@@ -0,0 +1,121 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: silly_nobel
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
+ # silly_nobel
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.0001
39
+ - train_batch_size: 16
40
+ - eval_batch_size: 8
41
+ - seed: 42
42
+ - gradient_accumulation_steps: 8
43
+ - total_train_batch_size: 128
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: 2524
48
+ - mixed_precision_training: Native AMP
49
+
50
+ ### Framework versions
51
+
52
+ - Transformers 4.24.0
53
+ - Pytorch 1.11.0+cu113
54
+ - Datasets 2.5.1
55
+ - Tokenizers 0.11.6
56
+
57
+
58
+ # Full config
59
+ {'dataset': {'conditional_training_config': {'aligned_prefix': '<|aligned|>',
60
+ 'drop_token_fraction': 0.1,
61
+ 'misaligned_prefix': '<|misaligned|>',
62
+ 'threshold': 0},
63
+ 'datasets': ['kejian/codeparrot-train-more-filter-3.3b-cleaned'],
64
+ 'is_split_by_sentences': True,
65
+ 'skip_tokens': 2969174016},
66
+ 'generation': {'batch_size': 128,
67
+ 'force_call_on': [503],
68
+ 'metrics_configs': [{}, {'n': 1}, {}],
69
+ 'scenario_configs': [{'display_as_html': True,
70
+ 'generate_kwargs': {'bad_words_ids': [[32769]],
71
+ 'do_sample': True,
72
+ 'eos_token_id': 0,
73
+ 'max_length': 640,
74
+ 'min_length': 10,
75
+ 'temperature': 0.7,
76
+ 'top_k': 0,
77
+ 'top_p': 0.9},
78
+ 'name': 'unconditional',
79
+ 'num_hits_threshold': 0,
80
+ 'num_samples': 4096,
81
+ 'prefix': '<|aligned|>',
82
+ 'use_prompt_for_scoring': False}],
83
+ 'scorer_config': {}},
84
+ 'kl_gpt3_callback': {'force_call_on': [503],
85
+ 'gpt3_kwargs': {'model_name': 'code-cushman-001'},
86
+ 'max_tokens': 64,
87
+ 'num_samples': 4096,
88
+ 'prefix': '<|aligned|>',
89
+ 'should_insert_prefix': True},
90
+ 'model': {'from_scratch': False,
91
+ 'gpt2_config_kwargs': {'reorder_and_upcast_attn': True,
92
+ 'scale_attn_by': True},
93
+ 'model_kwargs': {'revision': '9cdfa11a07b00726ddfdabb554de05b29d777db3'},
94
+ 'num_additional_tokens': 2,
95
+ 'path_or_name': 'kejian/grainy-pep8'},
96
+ 'objective': {'name': 'MLE'},
97
+ 'tokenizer': {'path_or_name': 'codeparrot/codeparrot-small',
98
+ 'special_tokens': ['<|aligned|>', '<|misaligned|>']},
99
+ 'training': {'dataloader_num_workers': 0,
100
+ 'effective_batch_size': 128,
101
+ 'evaluation_strategy': 'no',
102
+ 'fp16': True,
103
+ 'hub_model_id': 'silly_nobel',
104
+ 'hub_strategy': 'all_checkpoints',
105
+ 'learning_rate': 0.0001,
106
+ 'logging_first_step': True,
107
+ 'logging_steps': 10,
108
+ 'num_tokens': 3300000000,
109
+ 'output_dir': 'training_output',
110
+ 'per_device_train_batch_size': 16,
111
+ 'push_to_hub': True,
112
+ 'remove_unused_columns': False,
113
+ 'save_steps': 100,
114
+ 'save_strategy': 'steps',
115
+ 'seed': 42,
116
+ 'tokens_already_seen': 2969174016,
117
+ 'warmup_ratio': 0.01,
118
+ 'weight_decay': 0.1}}
119
+
120
+ # Wandb URL:
121
+ https://wandb.ai/tomekkorbak/apo/runs/24pv07g1