初始化项目,由ModelHub XC社区提供模型
Model: alakxender/dhivehi-gpt2-base Source: Original Platform
This commit is contained in:
39
checkpoint-100/config.json
Normal file
39
checkpoint-100/config.json
Normal file
@@ -0,0 +1,39 @@
|
||||
{
|
||||
"_name_or_path": "gpt2",
|
||||
"activation_function": "gelu_new",
|
||||
"architectures": [
|
||||
"GPT2LMHeadModel"
|
||||
],
|
||||
"attn_pdrop": 0.1,
|
||||
"bos_token_id": 50256,
|
||||
"embd_pdrop": 0.1,
|
||||
"eos_token_id": 50256,
|
||||
"initializer_range": 0.02,
|
||||
"layer_norm_epsilon": 1e-05,
|
||||
"model_type": "gpt2",
|
||||
"n_ctx": 1024,
|
||||
"n_embd": 768,
|
||||
"n_head": 12,
|
||||
"n_inner": null,
|
||||
"n_layer": 12,
|
||||
"n_positions": 1024,
|
||||
"reorder_and_upcast_attn": false,
|
||||
"resid_pdrop": 0.1,
|
||||
"scale_attn_by_inverse_layer_idx": false,
|
||||
"scale_attn_weights": true,
|
||||
"summary_activation": null,
|
||||
"summary_first_dropout": 0.1,
|
||||
"summary_proj_to_labels": true,
|
||||
"summary_type": "cls_index",
|
||||
"summary_use_proj": true,
|
||||
"task_specific_params": {
|
||||
"text-generation": {
|
||||
"do_sample": true,
|
||||
"max_length": 50
|
||||
}
|
||||
},
|
||||
"torch_dtype": "float32",
|
||||
"transformers_version": "4.46.3",
|
||||
"use_cache": true,
|
||||
"vocab_size": 50258
|
||||
}
|
||||
6
checkpoint-100/generation_config.json
Normal file
6
checkpoint-100/generation_config.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"_from_model_config": true,
|
||||
"bos_token_id": 50256,
|
||||
"eos_token_id": 50256,
|
||||
"transformers_version": "4.46.3"
|
||||
}
|
||||
3
checkpoint-100/model.safetensors
Normal file
3
checkpoint-100/model.safetensors
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1256181a39adbe068aa87574a1d09ac9415c0ba76c9cb697990d4de36c71f148
|
||||
size 497777280
|
||||
3
checkpoint-100/optimizer.pt
Normal file
3
checkpoint-100/optimizer.pt
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:478e104bba614a49a6837a2ff7a185b39473b491b02ca126849cf5b547aa0743
|
||||
size 995648442
|
||||
3
checkpoint-100/rng_state.pth
Normal file
3
checkpoint-100/rng_state.pth
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:22204b8ec7253f135580d3475a2867c1ed40c03f554f6e4956370281b08bef33
|
||||
size 14244
|
||||
3
checkpoint-100/scheduler.pt
Normal file
3
checkpoint-100/scheduler.pt
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:84edd34d7d0f0f006b96588fbd196800facfb78577f2aa279cb574a7d9facb10
|
||||
size 1064
|
||||
111
checkpoint-100/trainer_state.json
Normal file
111
checkpoint-100/trainer_state.json
Normal file
@@ -0,0 +1,111 @@
|
||||
{
|
||||
"best_metric": 1.382002830505371,
|
||||
"best_model_checkpoint": "dhivehi-gpt2-base/checkpoint-100",
|
||||
"epoch": 2.4390243902439024,
|
||||
"eval_steps": 100,
|
||||
"global_step": 100,
|
||||
"is_hyper_param_search": false,
|
||||
"is_local_process_zero": true,
|
||||
"is_world_process_zero": true,
|
||||
"log_history": [
|
||||
{
|
||||
"epoch": 0.24390243902439024,
|
||||
"grad_norm": 83.27034759521484,
|
||||
"learning_rate": 2.5000000000000004e-07,
|
||||
"loss": 2.4436,
|
||||
"step": 10
|
||||
},
|
||||
{
|
||||
"epoch": 0.4878048780487805,
|
||||
"grad_norm": 60.58613967895508,
|
||||
"learning_rate": 7.5e-07,
|
||||
"loss": 2.321,
|
||||
"step": 20
|
||||
},
|
||||
{
|
||||
"epoch": 0.7317073170731707,
|
||||
"grad_norm": 29.228893280029297,
|
||||
"learning_rate": 1.25e-06,
|
||||
"loss": 2.0685,
|
||||
"step": 30
|
||||
},
|
||||
{
|
||||
"epoch": 0.975609756097561,
|
||||
"grad_norm": 18.66552734375,
|
||||
"learning_rate": 1.7500000000000002e-06,
|
||||
"loss": 1.8913,
|
||||
"step": 40
|
||||
},
|
||||
{
|
||||
"epoch": 1.2195121951219512,
|
||||
"grad_norm": 10.73972225189209,
|
||||
"learning_rate": 2.25e-06,
|
||||
"loss": 1.7331,
|
||||
"step": 50
|
||||
},
|
||||
{
|
||||
"epoch": 1.4634146341463414,
|
||||
"grad_norm": 6.437626361846924,
|
||||
"learning_rate": 2.7500000000000004e-06,
|
||||
"loss": 1.6317,
|
||||
"step": 60
|
||||
},
|
||||
{
|
||||
"epoch": 1.7073170731707317,
|
||||
"grad_norm": 3.9424028396606445,
|
||||
"learning_rate": 3.2500000000000002e-06,
|
||||
"loss": 1.5445,
|
||||
"step": 70
|
||||
},
|
||||
{
|
||||
"epoch": 1.951219512195122,
|
||||
"grad_norm": 2.4789206981658936,
|
||||
"learning_rate": 3.75e-06,
|
||||
"loss": 1.4638,
|
||||
"step": 80
|
||||
},
|
||||
{
|
||||
"epoch": 2.1951219512195124,
|
||||
"grad_norm": 1.7527034282684326,
|
||||
"learning_rate": 4.250000000000001e-06,
|
||||
"loss": 1.3972,
|
||||
"step": 90
|
||||
},
|
||||
{
|
||||
"epoch": 2.4390243902439024,
|
||||
"grad_norm": 1.9903717041015625,
|
||||
"learning_rate": 4.75e-06,
|
||||
"loss": 1.3272,
|
||||
"step": 100
|
||||
},
|
||||
{
|
||||
"epoch": 2.4390243902439024,
|
||||
"eval_loss": 1.382002830505371,
|
||||
"eval_runtime": 5.1108,
|
||||
"eval_samples_per_second": 56.742,
|
||||
"eval_steps_per_second": 1.957,
|
||||
"step": 100
|
||||
}
|
||||
],
|
||||
"logging_steps": 10,
|
||||
"max_steps": 123,
|
||||
"num_input_tokens_seen": 0,
|
||||
"num_train_epochs": 3,
|
||||
"save_steps": 100,
|
||||
"stateful_callbacks": {
|
||||
"TrainerControl": {
|
||||
"args": {
|
||||
"should_epoch_stop": false,
|
||||
"should_evaluate": false,
|
||||
"should_log": false,
|
||||
"should_save": true,
|
||||
"should_training_stop": false
|
||||
},
|
||||
"attributes": {}
|
||||
}
|
||||
},
|
||||
"total_flos": 3322589478912000.0,
|
||||
"train_batch_size": 32,
|
||||
"trial_name": null,
|
||||
"trial_params": null
|
||||
}
|
||||
3
checkpoint-100/training_args.bin
Normal file
3
checkpoint-100/training_args.bin
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:33253810238ac5f6e19d65eaf18a7b5652de403635f7f896af35a9b7b932f10a
|
||||
size 5240
|
||||
Reference in New Issue
Block a user