lapp0 commited on
Commit
cdd50c6
1 Parent(s): 591f7de

End of training

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=5, loss_fn=raw_mse, layer_mapper=layer-2, norm=rmsnorm, projector=orthogonal))
89
  ```
90
 
91
  # Hyperparameters
@@ -95,15 +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
  - 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=rmsnorm, projector=orthogonal))`
105
  - train_embeddings: `True`
106
- - lr_scheduler: `<torch.optim.lr_scheduler.LambdaLR object at 0x7f57888f3700>`
107
  - student_model_name_or_path: `None`
108
  - student_config_name_or_path: `distilbert/distilgpt2`
109
  - student_model_config: `None`
@@ -133,6 +133,6 @@ The following hyperparameters were used during training:
133
 
134
  # Framework Versions
135
  - Distily 0.4.1
136
- - Transformers 4.44.1
137
- - Pytorch 2.4.0+cu121
138
  - Datasets 2.21.0
 
44
 
45
  # Resource Usage Comparison
46
 
47
+ - VRAM Use: 8.0719 GB
48
 
49
  # Distillation (Teacher -> Student) Architecture Difference:
50
 
 
75
  <br/>
76
 
77
  # Train Dataset
78
+ Trained on 226,120,971 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, projector=orthogonal))
89
  ```
90
 
91
  # Hyperparameters
 
95
  <summary>Expand</summary>
96
 
97
  - learning_rate: `0.0002`
98
+ - train_batch_size: `8`
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, projector=orthogonal))`
105
  - train_embeddings: `True`
106
+ - lr_scheduler: `<torch.optim.lr_scheduler.LambdaLR object at 0x7f69141039a0>`
107
  - student_model_name_or_path: `None`
108
  - student_config_name_or_path: `distilbert/distilgpt2`
109
  - student_model_config: `None`
 
133
 
134
  # Framework Versions
135
  - Distily 0.4.1
136
+ - Transformers 4.44.2
137
+ - Pytorch 2.3.0
138
  - Datasets 2.21.0
config.json CHANGED
@@ -40,7 +40,7 @@
40
  }
41
  },
42
  "torch_dtype": "bfloat16",
43
- "transformers_version": "4.44.1",
44
  "use_cache": true,
45
  "vocab_size": 50257
46
  }
 
40
  }
41
  },
42
  "torch_dtype": "bfloat16",
43
+ "transformers_version": "4.44.2",
44
  "use_cache": true,
45
  "vocab_size": 50257
46
  }
generation_config.json CHANGED
@@ -2,5 +2,5 @@
2
  "_from_model_config": true,
3
  "bos_token_id": 50256,
4
  "eos_token_id": 50256,
5
- "transformers_version": "4.44.1"
6
  }
 
2
  "_from_model_config": true,
3
  "bos_token_id": 50256,
4
  "eos_token_id": 50256,
5
+ "transformers_version": "4.44.2"
6
  }
logs/attn_norm=None, attn_projector=orthogonal, attn_weight=5, learning_rate=0.0002, per_device_train_batch_size=8, warmup_ratio=0/events.out.tfevents.1725154238.849724f928d2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:528649f570606bbe3570c24f7a15fd752789b84e7be704c53e7bdf92f35f09c9
3
+ size 23671654
logs/attn_norm=None, attn_projector=orthogonal, attn_weight=5, learning_rate=0.0002, per_device_train_batch_size=8, warmup_ratio=0/events.out.tfevents.1725162384.849724f928d2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c5e969cc53a89817364e3e8846128bcdafb8430a6e04702991179123454a5510
3
+ size 529
logs/attn_norm=layernorm, attn_projector=orthogonal, attn_weight=5, learning_rate=0.0002, per_device_train_batch_size=8, warmup_ratio=0/completed.flag ADDED
File without changes
logs/attn_norm=layernorm_teacher_only, ADDED
File without changes
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:363bb36cfeee39dc5404e2642d29bc23d9c67a635c0db6e9b7417e7cbec3b497
3
  size 163832792
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:45d62c432f775cbdda3a750d07efe0d0529b4c05a031b4c6a84529b68eb1f8b1
3
  size 163832792
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:cae73e29762f617bdb9fa139016c8068dd595abe8212755c4225cd860c968669
3
  size 5560
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:14f714d43a749f120e9125fa032bbc3ef73d61dcb69b9c461f2cc0669f9d006d
3
  size 5560