初始化项目,由ModelHub XC社区提供模型

Model: fpadovani/cds_o_fr_13
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-06-04 10:55:17 +08:00
commit 0eeb6eecd7
308 changed files with 1692832 additions and 0 deletions

View 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
}

View 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"
}

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0c596c71d2ec732ac52de949acac1df66720502aba7f5a84fc995bf0609a9841
size 392536704

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b40db240880be0dd860977dd16ad048c95fb3ded8d44ad17b2ac231af107519d
size 785167627

View 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
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8d1091afea42f27dc23bab05d303288cc44ef54ba2f473811a88ba56e829db9f
size 1383

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c4f3e92f06d47ad3fa6b1db3daa9ecc2fbce2bec9f7f6c28b082b384cd630cc5
size 1465

View 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

File diff suppressed because it is too large Load Diff

View 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>"
}

View 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
}

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:35d1173395a906c65a769a2df8203d374e82540a954fe0dc718fba07dd3acdc2
size 5905