kejian commited on
Commit
68ecd1f
1 Parent(s): 16e3a1e

update model card README.md

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