初始化项目,由ModelHub XC社区提供模型
Model: Raiff1982/Codette-Ultimate Source: Original Platform
This commit is contained in:
38
checkpoint-20/config.json
Normal file
38
checkpoint-20/config.json
Normal file
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"activation_function": "gelu_new",
|
||||
"architectures": [
|
||||
"GPT2LMHeadModel"
|
||||
],
|
||||
"attn_pdrop": 0.1,
|
||||
"bos_token_id": 50256,
|
||||
"dtype": "float32",
|
||||
"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
|
||||
}
|
||||
},
|
||||
"transformers_version": "4.57.3",
|
||||
"use_cache": true,
|
||||
"vocab_size": 50257
|
||||
}
|
||||
6
checkpoint-20/generation_config.json
Normal file
6
checkpoint-20/generation_config.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"_from_model_config": true,
|
||||
"bos_token_id": 50256,
|
||||
"eos_token_id": 50256,
|
||||
"transformers_version": "4.57.3"
|
||||
}
|
||||
50001
checkpoint-20/merges.txt
Normal file
50001
checkpoint-20/merges.txt
Normal file
File diff suppressed because it is too large
Load Diff
3
checkpoint-20/model.safetensors
Normal file
3
checkpoint-20/model.safetensors
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5c4e164f21cedff7fb14aaff04bedac46f96a73ae5aa148ff53cdf358b52e849
|
||||
size 497774208
|
||||
3
checkpoint-20/optimizer.pt
Normal file
3
checkpoint-20/optimizer.pt
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0c5b7a3cd0d09d057593396306cc5aa97752a23c36938003556f8f77a992262a
|
||||
size 995638603
|
||||
3
checkpoint-20/rng_state.pth
Normal file
3
checkpoint-20/rng_state.pth
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f39c42f892fce9058b24e637cc495714af91a6735b8b1b84dba44c2e12c576b1
|
||||
size 14455
|
||||
3
checkpoint-20/scheduler.pt
Normal file
3
checkpoint-20/scheduler.pt
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:34a74659298f1f10d35a718d16dbe7bf40f77e8feab543dca6d1fd397a2610a1
|
||||
size 1465
|
||||
6
checkpoint-20/special_tokens_map.json
Normal file
6
checkpoint-20/special_tokens_map.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"bos_token": "<|endoftext|>",
|
||||
"eos_token": "<|endoftext|>",
|
||||
"pad_token": "<|endoftext|>",
|
||||
"unk_token": "<|endoftext|>"
|
||||
}
|
||||
250320
checkpoint-20/tokenizer.json
Normal file
250320
checkpoint-20/tokenizer.json
Normal file
File diff suppressed because it is too large
Load Diff
21
checkpoint-20/tokenizer_config.json
Normal file
21
checkpoint-20/tokenizer_config.json
Normal file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"add_prefix_space": false,
|
||||
"added_tokens_decoder": {
|
||||
"50256": {
|
||||
"content": "<|endoftext|>",
|
||||
"lstrip": false,
|
||||
"normalized": true,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
}
|
||||
},
|
||||
"bos_token": "<|endoftext|>",
|
||||
"clean_up_tokenization_spaces": false,
|
||||
"eos_token": "<|endoftext|>",
|
||||
"extra_special_tokens": {},
|
||||
"model_max_length": 1024,
|
||||
"pad_token": "<|endoftext|>",
|
||||
"tokenizer_class": "GPT2Tokenizer",
|
||||
"unk_token": "<|endoftext|>"
|
||||
}
|
||||
48
checkpoint-20/trainer_state.json
Normal file
48
checkpoint-20/trainer_state.json
Normal file
@@ -0,0 +1,48 @@
|
||||
{
|
||||
"best_global_step": null,
|
||||
"best_metric": null,
|
||||
"best_model_checkpoint": null,
|
||||
"epoch": 2.0,
|
||||
"eval_steps": 50,
|
||||
"global_step": 20,
|
||||
"is_hyper_param_search": false,
|
||||
"is_local_process_zero": true,
|
||||
"is_world_process_zero": true,
|
||||
"log_history": [
|
||||
{
|
||||
"epoch": 1.0,
|
||||
"grad_norm": 10.57249641418457,
|
||||
"learning_rate": 9e-06,
|
||||
"loss": 4.6189,
|
||||
"step": 10
|
||||
},
|
||||
{
|
||||
"epoch": 2.0,
|
||||
"grad_norm": 10.192131996154785,
|
||||
"learning_rate": 1.9e-05,
|
||||
"loss": 4.0122,
|
||||
"step": 20
|
||||
}
|
||||
],
|
||||
"logging_steps": 10,
|
||||
"max_steps": 20,
|
||||
"num_input_tokens_seen": 0,
|
||||
"num_train_epochs": 2,
|
||||
"save_steps": 50,
|
||||
"stateful_callbacks": {
|
||||
"TrainerControl": {
|
||||
"args": {
|
||||
"should_epoch_stop": false,
|
||||
"should_evaluate": false,
|
||||
"should_log": false,
|
||||
"should_save": true,
|
||||
"should_training_stop": true
|
||||
},
|
||||
"attributes": {}
|
||||
}
|
||||
},
|
||||
"total_flos": 20903362560000.0,
|
||||
"train_batch_size": 1,
|
||||
"trial_name": null,
|
||||
"trial_params": null
|
||||
}
|
||||
3
checkpoint-20/training_args.bin
Normal file
3
checkpoint-20/training_args.bin
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6505d5e391a78f0d2023f1d5d93a3df39e7a8689d73ee423706fbdb73bbd9202
|
||||
size 5777
|
||||
1
checkpoint-20/vocab.json
Normal file
1
checkpoint-20/vocab.json
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user