Sabyasachi commited on
Commit
bd22779
1 Parent(s): 734ca4d

update model card README.md

Browse files
Files changed (1) hide show
  1. README.md +21 -14
README.md CHANGED
@@ -1,22 +1,20 @@
1
  ---
2
  license: mit
3
  tags:
4
- - generated_from_keras_callback
5
  model-index:
6
- - name: Sabyasachi/codeparrot-ds
7
  results: []
8
  ---
9
 
10
- <!-- This model card has been generated automatically according to the information Keras had access to. You should
11
- probably proofread and complete it, then remove this comment. -->
12
 
13
- # Sabyasachi/codeparrot-ds
14
 
15
  This model is a fine-tuned version of [gpt2](https://huggingface.co/gpt2) on an unknown dataset.
16
  It achieves the following results on the evaluation set:
17
- - Train Loss: 9.9291
18
- - Validation Loss: 9.3601
19
- - Epoch: 0
20
 
21
  ## Model description
22
 
@@ -35,19 +33,28 @@ More information needed
35
  ### Training hyperparameters
36
 
37
  The following hyperparameters were used during training:
38
- - optimizer: {'name': 'AdamWeightDecay', 'learning_rate': {'class_name': 'WarmUp', 'config': {'initial_learning_rate': 5e-05, 'decay_schedule_fn': {'class_name': 'PolynomialDecay', 'config': {'initial_learning_rate': 5e-05, 'decay_steps': -868, 'end_learning_rate': 0.0, 'power': 1.0, 'cycle': False, 'name': None}, '__passive_serialization__': True}, 'warmup_steps': 1000, 'power': 1.0, 'name': None}}, 'decay': 0.0, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-08, 'amsgrad': False, 'weight_decay_rate': 0.01}
39
- - training_precision: mixed_float16
 
 
 
 
 
 
 
 
 
40
 
41
  ### Training results
42
 
43
- | Train Loss | Validation Loss | Epoch |
44
- |:----------:|:---------------:|:-----:|
45
- | 9.9291 | 9.3601 | 0 |
46
 
47
 
48
  ### Framework versions
49
 
50
  - Transformers 4.27.3
51
- - TensorFlow 2.11.0
52
  - Datasets 2.10.1
53
  - Tokenizers 0.13.2
 
1
  ---
2
  license: mit
3
  tags:
4
+ - generated_from_trainer
5
  model-index:
6
+ - name: codeparrot-ds
7
  results: []
8
  ---
9
 
10
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
11
+ should probably proofread and complete it, then remove this comment. -->
12
 
13
+ # codeparrot-ds
14
 
15
  This model is a fine-tuned version of [gpt2](https://huggingface.co/gpt2) on an unknown dataset.
16
  It achieves the following results on the evaluation set:
17
+ - Loss: 1.6087
 
 
18
 
19
  ## Model description
20
 
 
33
  ### Training hyperparameters
34
 
35
  The following hyperparameters were used during training:
36
+ - learning_rate: 0.0005
37
+ - train_batch_size: 32
38
+ - eval_batch_size: 32
39
+ - seed: 42
40
+ - gradient_accumulation_steps: 8
41
+ - total_train_batch_size: 256
42
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
43
+ - lr_scheduler_type: cosine
44
+ - lr_scheduler_warmup_steps: 1000
45
+ - num_epochs: 1
46
+ - mixed_precision_training: Native AMP
47
 
48
  ### Training results
49
 
50
+ | Training Loss | Epoch | Step | Validation Loss |
51
+ |:-------------:|:-----:|:----:|:---------------:|
52
+ | 2.4778 | 0.93 | 5000 | 1.6087 |
53
 
54
 
55
  ### Framework versions
56
 
57
  - Transformers 4.27.3
58
+ - Pytorch 1.13.1+cu116
59
  - Datasets 2.10.1
60
  - Tokenizers 0.13.2