lapp0 commited on
Commit
abde4af
1 Parent(s): a7c3acf

Training in progress, step 198000

Browse files
README.md CHANGED
@@ -44,7 +44,7 @@ More information needed
44
 
45
  # Resource Usage Comparison
46
 
47
- - VRAM Use: 7.4164 GB
48
 
49
  # Distillation (Teacher -> Student) Architecture Difference:
50
 
@@ -75,7 +75,7 @@ More information needed
75
  <br/>
76
 
77
  # Train Dataset
78
- Trained on 226,096,614 tokens from the [wikimedia/wikipedia](https://huggingface.co/datasets/wikimedia/wikipedia) dataset.
79
 
80
  - Num Samples: `396,000`
81
  - Subset: `20231101.en`
@@ -85,7 +85,7 @@ Trained on 226,096,614 tokens from the [wikimedia/wikipedia](https://huggingface
85
  # Training Objective
86
 
87
  ```
88
- DistillationObjective(logits_loss_component=LossComponent(label=logits, weight=1, loss_fn=kl), attn_loss_component=LossComponent(label=attn, weight=25, loss_fn=raw_mse, layer_mapper=layer-2, projector=orthogonal))
89
  ```
90
 
91
  # Hyperparameters
@@ -95,16 +95,15 @@ The following hyperparameters were used during training:
95
  <summary>Expand</summary>
96
 
97
  - learning_rate: `0.0002`
98
- - train_batch_size: `4`
99
  - eval_batch_size: `8`
100
  - seed: `42`
101
  - optimizer: `Adam with betas=(0.9,0.999) and epsilon=1e-08`
102
  - lr_scheduler_type: `polynomial`
103
- - lr_scheduler_warmup_ratio: `0.2`
104
  - num_epochs: `1.0`
105
- - distillation_objective: `DistillationObjective(logits_loss_component=LossComponent(label=logits, weight=1, loss_fn=kl), attn_loss_component=LossComponent(label=attn, weight=25, loss_fn=raw_mse, layer_mapper=layer-2, projector=orthogonal))`
106
  - train_embeddings: `True`
107
- - lr_scheduler: `<torch.optim.lr_scheduler.LambdaLR object at 0x7fe60c21de40>`
108
  - student_model_name_or_path: `None`
109
  - student_config_name_or_path: `distilbert/distilgpt2`
110
  - student_model_config: `None`
@@ -124,7 +123,7 @@ The following hyperparameters were used during training:
124
  - gradient_accumulation_steps: `1`
125
  - weight_decay: `0.0`
126
  - max_grad_norm: `1.0`
127
- - warmup_ratio: `0.2`
128
  - warmup_steps: `0`
129
  - gradient_checkpointing: `True`
130
 
@@ -135,5 +134,5 @@ The following hyperparameters were used during training:
135
  # Framework Versions
136
  - Distily 0.4.1
137
  - Transformers 4.44.2
138
- - Pytorch 2.4.0+cu121
139
  - Datasets 2.21.0
 
44
 
45
  # Resource Usage Comparison
46
 
47
+ - VRAM Use: 7.4154 GB
48
 
49
  # Distillation (Teacher -> Student) Architecture Difference:
50
 
 
75
  <br/>
76
 
77
  # Train Dataset
78
+ Trained on 226,136,920 tokens from the [wikimedia/wikipedia](https://huggingface.co/datasets/wikimedia/wikipedia) dataset.
79
 
80
  - Num Samples: `396,000`
81
  - Subset: `20231101.en`
 
85
  # Training Objective
86
 
87
  ```
88
+ DistillationObjective(logits_loss_component=LossComponent(label=logits, weight=1, loss_fn=kl), attn_loss_component=LossComponent(label=attn, weight=5, loss_fn=raw_mse, layer_mapper=layer-2, norm=layernorm, projector=mlp))
89
  ```
90
 
91
  # Hyperparameters
 
95
  <summary>Expand</summary>
96
 
97
  - learning_rate: `0.0002`
98
+ - train_batch_size: `2`
99
  - eval_batch_size: `8`
100
  - seed: `42`
101
  - optimizer: `Adam with betas=(0.9,0.999) and epsilon=1e-08`
102
  - lr_scheduler_type: `polynomial`
 
103
  - num_epochs: `1.0`
104
+ - distillation_objective: `DistillationObjective(logits_loss_component=LossComponent(label=logits, weight=1, loss_fn=kl), attn_loss_component=LossComponent(label=attn, weight=5, loss_fn=raw_mse, layer_mapper=layer-2, norm=layernorm, projector=mlp))`
105
  - train_embeddings: `True`
106
+ - lr_scheduler: `<torch.optim.lr_scheduler.LambdaLR object at 0x7f6fd04f91b0>`
107
  - student_model_name_or_path: `None`
108
  - student_config_name_or_path: `distilbert/distilgpt2`
109
  - student_model_config: `None`
 
123
  - gradient_accumulation_steps: `1`
124
  - weight_decay: `0.0`
125
  - max_grad_norm: `1.0`
126
+ - warmup_ratio: `0`
127
  - warmup_steps: `0`
128
  - gradient_checkpointing: `True`
129
 
 
134
  # Framework Versions
135
  - Distily 0.4.1
136
  - Transformers 4.44.2
137
+ - Pytorch 2.3.0
138
  - Datasets 2.21.0
logs/attn_norm=layernorm, attn_projector=mlp, attn_weight=25, learning_rate=0.0001, per_device_train_batch_size=2, warmup_ratio=0/events.out.tfevents.1725107177.63bdd91cff03 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6b159da12ba44042404e6884ea70df3dd27cd1e82815356a2816c87032358449
3
+ size 95114822
logs/attn_norm=layernorm, attn_projector=mlp, attn_weight=5, learning_rate=0.0002, per_device_train_batch_size=2, warmup_ratio=0/completed.flag ADDED
File without changes
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:093dc85d7aa7ea16b441e7ac8ebdb50e781b78d01a3090dfa8465e7d65b3fdb4
3
  size 163832792
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1d9d8e293fac6fc8cb2693ff63b5bbfc9da1b02e34be527442cf20ad69478865
3
  size 163832792
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b04c8be3b9c81ff91b22fb6ea84369bf65907b954e1705878806919caa5e72d1
3
  size 5560
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a3590c112b4c6c928c906f373b7fe7aeb06e68741680f5bd8979abd2d1765ff7
3
  size 5560