初始化项目,由ModelHub XC社区提供模型
Model: fpadovani/cds_o_fr_13 Source: Original Platform
This commit is contained in:
33
checkpoint-290/config.json
Normal file
33
checkpoint-290/config.json
Normal file
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"activation_function": "gelu_new",
|
||||
"architectures": [
|
||||
"GPT2LMHeadModel"
|
||||
],
|
||||
"attn_pdrop": 0.1,
|
||||
"bos_token_id": 1,
|
||||
"dtype": "float32",
|
||||
"embd_pdrop": 0.1,
|
||||
"eos_token_id": 2,
|
||||
"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,
|
||||
"pad_token_id": 2,
|
||||
"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,
|
||||
"transformers_version": "4.56.1",
|
||||
"use_cache": true,
|
||||
"vocab_size": 16000
|
||||
}
|
||||
9
checkpoint-290/generation_config.json
Normal file
9
checkpoint-290/generation_config.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"_from_model_config": true,
|
||||
"bos_token_id": 1,
|
||||
"eos_token_id": [
|
||||
2
|
||||
],
|
||||
"pad_token_id": 2,
|
||||
"transformers_version": "4.56.1"
|
||||
}
|
||||
3
checkpoint-290/model.safetensors
Normal file
3
checkpoint-290/model.safetensors
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0c596c71d2ec732ac52de949acac1df66720502aba7f5a84fc995bf0609a9841
|
||||
size 392536704
|
||||
3
checkpoint-290/optimizer.pt
Normal file
3
checkpoint-290/optimizer.pt
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b40db240880be0dd860977dd16ad048c95fb3ded8d44ad17b2ac231af107519d
|
||||
size 785167627
|
||||
3
checkpoint-290/rng_state.pth
Normal file
3
checkpoint-290/rng_state.pth
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:be235a748182aa627143148b3af16732552cf036ba7491d0be7a8b58cb9b5ff5
|
||||
size 14709
|
||||
3
checkpoint-290/scaler.pt
Normal file
3
checkpoint-290/scaler.pt
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8d1091afea42f27dc23bab05d303288cc44ef54ba2f473811a88ba56e829db9f
|
||||
size 1383
|
||||
3
checkpoint-290/scheduler.pt
Normal file
3
checkpoint-290/scheduler.pt
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c4f3e92f06d47ad3fa6b1db3daa9ecc2fbce2bec9f7f6c28b082b384cd630cc5
|
||||
size 1465
|
||||
8
checkpoint-290/special_tokens_map.json
Normal file
8
checkpoint-290/special_tokens_map.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"bos_token": "<s>",
|
||||
"eos_token": "</s>",
|
||||
"mask_token": "<mask>",
|
||||
"pad_token": "</s>",
|
||||
"sep_token": "<sep>",
|
||||
"unk_token": "<unk>"
|
||||
}
|
||||
79755
checkpoint-290/tokenizer.json
Normal file
79755
checkpoint-290/tokenizer.json
Normal file
File diff suppressed because it is too large
Load Diff
62
checkpoint-290/tokenizer_config.json
Normal file
62
checkpoint-290/tokenizer_config.json
Normal file
@@ -0,0 +1,62 @@
|
||||
{
|
||||
"added_tokens_decoder": {
|
||||
"0": {
|
||||
"content": "<pad>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"1": {
|
||||
"content": "<s>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"2": {
|
||||
"content": "</s>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"3": {
|
||||
"content": "<unk>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"4": {
|
||||
"content": "<mask>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"5": {
|
||||
"content": "<sep>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
}
|
||||
},
|
||||
"bos_token": "<s>",
|
||||
"clean_up_tokenization_spaces": false,
|
||||
"eos_token": "</s>",
|
||||
"extra_special_tokens": {},
|
||||
"mask_token": "<mask>",
|
||||
"model_max_length": 1000000000000000019884624838656,
|
||||
"pad_token": "</s>",
|
||||
"sep_token": "<sep>",
|
||||
"tokenizer_class": "PreTrainedTokenizerFast",
|
||||
"unk_token": "<unk>"
|
||||
}
|
||||
71
checkpoint-290/trainer_state.json
Normal file
71
checkpoint-290/trainer_state.json
Normal file
@@ -0,0 +1,71 @@
|
||||
{
|
||||
"best_global_step": 290,
|
||||
"best_metric": 3.4042274951934814,
|
||||
"best_model_checkpoint": "/home/p318482/syntactic-bootstrapping/model_trained/cds_o_fr_13/checkpoint-290",
|
||||
"epoch": 2.0,
|
||||
"eval_steps": 500,
|
||||
"global_step": 290,
|
||||
"is_hyper_param_search": false,
|
||||
"is_local_process_zero": true,
|
||||
"is_world_process_zero": true,
|
||||
"log_history": [
|
||||
{
|
||||
"epoch": 0.006896551724137931,
|
||||
"grad_norm": 32.2354736328125,
|
||||
"learning_rate": 0.0,
|
||||
"loss": 9.7326,
|
||||
"step": 1
|
||||
},
|
||||
{
|
||||
"epoch": 1.0,
|
||||
"grad_norm": 1.26012122631073,
|
||||
"learning_rate": 2.88e-05,
|
||||
"loss": 5.8188,
|
||||
"step": 145
|
||||
},
|
||||
{
|
||||
"epoch": 1.0,
|
||||
"eval_loss": 4.1781511306762695,
|
||||
"eval_runtime": 4.3842,
|
||||
"eval_samples_per_second": 803.562,
|
||||
"eval_steps_per_second": 3.193,
|
||||
"step": 145
|
||||
},
|
||||
{
|
||||
"epoch": 2.0,
|
||||
"grad_norm": 1.0639448165893555,
|
||||
"learning_rate": 5.7799999999999995e-05,
|
||||
"loss": 3.6451,
|
||||
"step": 290
|
||||
},
|
||||
{
|
||||
"epoch": 2.0,
|
||||
"eval_loss": 3.4042274951934814,
|
||||
"eval_runtime": 4.6134,
|
||||
"eval_samples_per_second": 763.65,
|
||||
"eval_steps_per_second": 3.035,
|
||||
"step": 290
|
||||
}
|
||||
],
|
||||
"logging_steps": 500,
|
||||
"max_steps": 2900,
|
||||
"num_input_tokens_seen": 0,
|
||||
"num_train_epochs": 20,
|
||||
"save_steps": 500,
|
||||
"stateful_callbacks": {
|
||||
"TrainerControl": {
|
||||
"args": {
|
||||
"should_epoch_stop": false,
|
||||
"should_evaluate": false,
|
||||
"should_log": false,
|
||||
"should_save": true,
|
||||
"should_training_stop": false
|
||||
},
|
||||
"attributes": {}
|
||||
}
|
||||
},
|
||||
"total_flos": 4831812255744000.0,
|
||||
"train_batch_size": 256,
|
||||
"trial_name": null,
|
||||
"trial_params": null
|
||||
}
|
||||
3
checkpoint-290/training_args.bin
Normal file
3
checkpoint-290/training_args.bin
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:35d1173395a906c65a769a2df8203d374e82540a954fe0dc718fba07dd3acdc2
|
||||
size 5905
|
||||
Reference in New Issue
Block a user