kejian commited on
Commit
eaf376f
1 Parent(s): 89d1700

update model card README.md

Browse files
Files changed (1) hide show
  1. README.md +126 -0
README.md ADDED
@@ -0,0 +1,126 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: deliberate-awr
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
+ # deliberate-awr
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.0005
39
+ - train_batch_size: 64
40
+ - eval_batch_size: 32
41
+ - seed: 42
42
+ - gradient_accumulation_steps: 2
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: 12589
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': {'datasets': ['kejian/codeparrot-train-more-filter-3.3b-cleaned'],
60
+ 'is_split_by_sentences': True,
61
+ 'skip_tokens': 1649934336},
62
+ 'generation': {'batch_size': 128,
63
+ 'every_n_steps': 512,
64
+ 'force_call_on': [12589],
65
+ 'metrics_configs': [{}, {'n': 1}, {}],
66
+ 'scenario_configs': [{'display_as_html': True,
67
+ 'generate_kwargs': {'do_sample': True,
68
+ 'eos_token_id': 0,
69
+ 'max_length': 640,
70
+ 'min_length': 10,
71
+ 'temperature': 0.7,
72
+ 'top_k': 0,
73
+ 'top_p': 0.9},
74
+ 'name': 'unconditional',
75
+ 'num_hits_threshold': 0,
76
+ 'num_samples': 2048},
77
+ {'display_as_html': True,
78
+ 'generate_kwargs': {'do_sample': True,
79
+ 'eos_token_id': 0,
80
+ 'max_length': 272,
81
+ 'min_length': 10,
82
+ 'temperature': 0.7,
83
+ 'top_k': 0,
84
+ 'top_p': 0.9},
85
+ 'name': 'functions',
86
+ 'num_hits_threshold': 0,
87
+ 'num_samples': 2048,
88
+ 'prompts_path': 'resources/functions_csnet.jsonl',
89
+ 'use_prompt_for_scoring': True}],
90
+ 'scorer_config': {}},
91
+ 'kl_gpt3_callback': {'every_n_steps': 512,
92
+ 'force_call_on': [12589],
93
+ 'gpt3_kwargs': {'model_name': 'code-cushman-001'},
94
+ 'max_tokens': 64,
95
+ 'num_samples': 4096},
96
+ 'model': {'from_scratch': False,
97
+ 'gpt2_config_kwargs': {'reorder_and_upcast_attn': True,
98
+ 'scale_attn_by': True},
99
+ 'model_kwargs': {'revision': '9b71edc6c769705c1ef1955b6f5cfdd5a7d1b802',
100
+ 'value_head_config': {'is_detached': False}},
101
+ 'path_or_name': 'kejian/spectacular-awr'},
102
+ 'objective': {'alpha': 0.05, 'beta': 1, 'name': 'AWR'},
103
+ 'tokenizer': {'path_or_name': 'codeparrot/codeparrot-small'},
104
+ 'training': {'dataloader_num_workers': 0,
105
+ 'effective_batch_size': 128,
106
+ 'evaluation_strategy': 'no',
107
+ 'fp16': True,
108
+ 'hub_model_id': 'deliberate-awr',
109
+ 'hub_strategy': 'all_checkpoints',
110
+ 'learning_rate': 0.0005,
111
+ 'logging_first_step': True,
112
+ 'logging_steps': 1,
113
+ 'num_tokens': 3300000000.0,
114
+ 'output_dir': 'training_output',
115
+ 'per_device_train_batch_size': 16,
116
+ 'push_to_hub': True,
117
+ 'remove_unused_columns': False,
118
+ 'save_steps': 12589,
119
+ 'save_strategy': 'steps',
120
+ 'seed': 42,
121
+ 'tokens_already_seen': 1649934336,
122
+ 'warmup_ratio': 0.01,
123
+ 'weight_decay': 0.1}}
124
+
125
+ # Wandb URL:
126
+ https://wandb.ai/kejian/uncategorized/runs/2qh5z2cm