kejian commited on
Commit
ef0252a
1 Parent(s): a89daea

update model card README.md

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