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

Model: fpadovani/cds_sh1_fr_30
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-06-04 10:55:18 +08:00
commit 226f4a4038
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:8163498ccccb1e9d191644bc7f428a8729383c05606431287fcb71d5bf590936
size 392536704

View File

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

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9648b41600eb15542f797c31266cd3c1a171655f0f33ec8e7a1c07d6dc3c886a
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": 4.028092384338379,
"best_model_checkpoint": "/home/p318482/syntactic-bootstrapping/model_trained/cds_sh1_fr_30/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": 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
},
{
"epoch": 2.0,
"grad_norm": 1.7844622135162354,
"learning_rate": 5.7799999999999995e-05,
"loss": 4.1747,
"step": 290
},
{
"epoch": 2.0,
"eval_loss": 4.028092384338379,
"eval_runtime": 4.4671,
"eval_samples_per_second": 788.2,
"eval_steps_per_second": 3.134,
"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": 4824888016896000.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:0ae6cc6c783e227db1116f8c005f43aa568ec75be9eed4765d2de3e98ad03a41
size 5905