初始化项目,由ModelHub XC社区提供模型
Model: fpadovani/cds_sh1_fr_30 Source: Original Platform
This commit is contained in:
33
checkpoint-145/config.json
Normal file
33
checkpoint-145/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-145/generation_config.json
Normal file
9
checkpoint-145/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-145/model.safetensors
Normal file
3
checkpoint-145/model.safetensors
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:dca475870282421bfffdb6770dfee1380c4fef35a9b480acf8b1d48824ee7a96
|
||||
size 392536704
|
||||
3
checkpoint-145/optimizer.pt
Normal file
3
checkpoint-145/optimizer.pt
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:50cd21d5b06525da814783a893eb14612294da411cde1224a691de14e0841fa1
|
||||
size 785167627
|
||||
3
checkpoint-145/rng_state.pth
Normal file
3
checkpoint-145/rng_state.pth
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0bfd3abc25f9d7f6b21f9eb0f2eaa62de75a7f0c042353f7458982f067805503
|
||||
size 14709
|
||||
3
checkpoint-145/scaler.pt
Normal file
3
checkpoint-145/scaler.pt
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f5df1288dff0dd62cba1e1176806173143916d981612ae8735c36fe34a88ddce
|
||||
size 1383
|
||||
3
checkpoint-145/scheduler.pt
Normal file
3
checkpoint-145/scheduler.pt
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b7eaf2ad06e52ed79db29ee48341938f726763e955f5764a6b1d5b3957eff02c
|
||||
size 1401
|
||||
8
checkpoint-145/special_tokens_map.json
Normal file
8
checkpoint-145/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-145/tokenizer.json
Normal file
79755
checkpoint-145/tokenizer.json
Normal file
File diff suppressed because it is too large
Load Diff
62
checkpoint-145/tokenizer_config.json
Normal file
62
checkpoint-145/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>"
|
||||
}
|
||||
56
checkpoint-145/trainer_state.json
Normal file
56
checkpoint-145/trainer_state.json
Normal file
@@ -0,0 +1,56 @@
|
||||
{
|
||||
"best_global_step": 145,
|
||||
"best_metric": 4.516501426696777,
|
||||
"best_model_checkpoint": "/home/p318482/syntactic-bootstrapping/model_trained/cds_sh1_fr_30/checkpoint-145",
|
||||
"epoch": 1.0,
|
||||
"eval_steps": 500,
|
||||
"global_step": 145,
|
||||
"is_hyper_param_search": false,
|
||||
"is_local_process_zero": true,
|
||||
"is_world_process_zero": true,
|
||||
"log_history": [
|
||||
{
|
||||
"epoch": 0.006896551724137931,
|
||||
"grad_norm": 34.13589859008789,
|
||||
"learning_rate": 0.0,
|
||||
"loss": 9.8164,
|
||||
"step": 1
|
||||
},
|
||||
{
|
||||
"epoch": 1.0,
|
||||
"grad_norm": 1.4214282035827637,
|
||||
"learning_rate": 2.88e-05,
|
||||
"loss": 6.0017,
|
||||
"step": 145
|
||||
},
|
||||
{
|
||||
"epoch": 1.0,
|
||||
"eval_loss": 4.516501426696777,
|
||||
"eval_runtime": 4.3416,
|
||||
"eval_samples_per_second": 810.983,
|
||||
"eval_steps_per_second": 3.225,
|
||||
"step": 145
|
||||
}
|
||||
],
|
||||
"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": 2412444008448000.0,
|
||||
"train_batch_size": 256,
|
||||
"trial_name": null,
|
||||
"trial_params": null
|
||||
}
|
||||
3
checkpoint-145/training_args.bin
Normal file
3
checkpoint-145/training_args.bin
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0ae6cc6c783e227db1116f8c005f43aa568ec75be9eed4765d2de3e98ad03a41
|
||||
size 5905
|
||||
Reference in New Issue
Block a user