Training in progress, step 61875
Browse files- README.md +7 -7
- config.json +1 -1
- generation_config.json +1 -1
- logs/attn_norm=instancenorm, attn_projector=orthogonal, attn_weight=5, learning_rate=0.0002, per_device_train_batch_size=16, warmup_ratio=0/events.out.tfevents.1725226845.e3f806ea38c9 +3 -0
- logs/attn_norm=layernorm, attn_projector=orthogonal, attn_weight=5, learning_rate=0.0002, per_device_train_batch_size=16, warmup_ratio=0/completed.flag +0 -0
- model.safetensors +1 -1
- training_args.bin +1 -1
README.md
CHANGED
@@ -44,7 +44,7 @@ More information needed
|
|
44 |
|
45 |
# Resource Usage Comparison
|
46 |
|
47 |
-
- VRAM Use: 15.
|
48 |
|
49 |
# Distillation (Teacher -> Student) Architecture Difference:
|
50 |
|
@@ -75,7 +75,7 @@ More information needed
|
|
75 |
<br/>
|
76 |
|
77 |
# Train Dataset
|
78 |
-
Trained on 521,
|
79 |
|
80 |
- Num Samples: `990,000`
|
81 |
- Subset: `20231101.en`
|
@@ -85,7 +85,7 @@ Trained on 521,413,804 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=
|
89 |
```
|
90 |
|
91 |
# Hyperparameters
|
@@ -94,16 +94,16 @@ The following hyperparameters were used during training:
|
|
94 |
<details>
|
95 |
<summary>Expand</summary>
|
96 |
|
97 |
-
- learning_rate: `0.
|
98 |
- train_batch_size: `16`
|
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=
|
105 |
- train_embeddings: `True`
|
106 |
-
- lr_scheduler: `<torch.optim.lr_scheduler.LambdaLR object at
|
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.
|
137 |
- Pytorch 2.4.0+cu121
|
138 |
- Datasets 2.21.0
|
|
|
44 |
|
45 |
# Resource Usage Comparison
|
46 |
|
47 |
+
- VRAM Use: 15.6998 GB
|
48 |
|
49 |
# Distillation (Teacher -> Student) Architecture Difference:
|
50 |
|
|
|
75 |
<br/>
|
76 |
|
77 |
# Train Dataset
|
78 |
+
Trained on 521,396,836 tokens from the [wikimedia/wikipedia](https://huggingface.co/datasets/wikimedia/wikipedia) dataset.
|
79 |
|
80 |
- Num Samples: `990,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=orthogonal))
|
89 |
```
|
90 |
|
91 |
# Hyperparameters
|
|
|
94 |
<details>
|
95 |
<summary>Expand</summary>
|
96 |
|
97 |
+
- learning_rate: `0.0002`
|
98 |
- train_batch_size: `16`
|
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=orthogonal))`
|
105 |
- train_embeddings: `True`
|
106 |
+
- lr_scheduler: `<torch.optim.lr_scheduler.LambdaLR object at 0x7f27463e4130>`
|
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.1
|
137 |
- Pytorch 2.4.0+cu121
|
138 |
- Datasets 2.21.0
|
config.json
CHANGED
@@ -40,7 +40,7 @@
|
|
40 |
}
|
41 |
},
|
42 |
"torch_dtype": "bfloat16",
|
43 |
-
"transformers_version": "4.44.
|
44 |
"use_cache": true,
|
45 |
"vocab_size": 50257
|
46 |
}
|
|
|
40 |
}
|
41 |
},
|
42 |
"torch_dtype": "bfloat16",
|
43 |
+
"transformers_version": "4.44.1",
|
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.
|
6 |
}
|
|
|
2 |
"_from_model_config": true,
|
3 |
"bos_token_id": 50256,
|
4 |
"eos_token_id": 50256,
|
5 |
+
"transformers_version": "4.44.1"
|
6 |
}
|
logs/attn_norm=instancenorm, attn_projector=orthogonal, attn_weight=5, learning_rate=0.0002, per_device_train_batch_size=16, warmup_ratio=0/events.out.tfevents.1725226845.e3f806ea38c9
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b343aac436afe08227fb0543bc6bdcec98728dd32956b670d86ce4c4b3f39399
|
3 |
+
size 29625542
|
logs/attn_norm=layernorm, attn_projector=orthogonal, attn_weight=5, learning_rate=0.0002, per_device_train_batch_size=16, 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:
|
3 |
size 163832792
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:57f916976a1bd8d429b98f3930bf8a2cbfd340e321b23e23ebbeff299a4fb91c
|
3 |
size 163832792
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 5624
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c6b91721f47dc49c287e44dfb0783c67997359318338972ec49d6322f0404aae
|
3 |
size 5624
|