Upload folder using huggingface_hub
Browse files- checkpoint-1/config.json +41 -0
- checkpoint-1/generation_config.json +7 -0
- checkpoint-1/model.safetensors +3 -0
- checkpoint-1/optimizer.pt +3 -0
- checkpoint-1/rng_state.pth +3 -0
- checkpoint-1/scheduler.pt +3 -0
- checkpoint-1/tokenizer.json +0 -0
- checkpoint-1/tokenizer_config.json +13 -0
- checkpoint-1/trainer_state.json +42 -0
- checkpoint-1/training_args.bin +3 -0
- config.json +41 -0
- generation_config.json +7 -0
- model.safetensors +3 -0
- tokenizer.json +0 -0
- tokenizer_config.json +13 -0
- training_args.bin +3 -0
checkpoint-1/config.json
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"activation_function": "gelu_new",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"CodeGenForCausalLM"
|
| 5 |
+
],
|
| 6 |
+
"attn_pdrop": 0.0,
|
| 7 |
+
"bos_token_id": 1,
|
| 8 |
+
"dtype": "float16",
|
| 9 |
+
"embd_pdrop": 0.0,
|
| 10 |
+
"eos_token_id": 50256,
|
| 11 |
+
"gradient_checkpointing": false,
|
| 12 |
+
"initializer_range": 0.02,
|
| 13 |
+
"layer_norm_epsilon": 1e-05,
|
| 14 |
+
"model_type": "codegen",
|
| 15 |
+
"n_ctx": 2048,
|
| 16 |
+
"n_embd": 1024,
|
| 17 |
+
"n_head": 16,
|
| 18 |
+
"n_inner": null,
|
| 19 |
+
"n_layer": 20,
|
| 20 |
+
"n_positions": 2048,
|
| 21 |
+
"resid_pdrop": 0.0,
|
| 22 |
+
"rotary_dim": 32,
|
| 23 |
+
"scale_attn_weights": true,
|
| 24 |
+
"summary_activation": null,
|
| 25 |
+
"summary_first_dropout": 0.1,
|
| 26 |
+
"summary_proj_to_labels": true,
|
| 27 |
+
"summary_type": "cls_index",
|
| 28 |
+
"summary_use_proj": true,
|
| 29 |
+
"task_specific_params": {
|
| 30 |
+
"text-generation": {
|
| 31 |
+
"do_sample": true,
|
| 32 |
+
"max_length": 50,
|
| 33 |
+
"temperature": 1.0
|
| 34 |
+
}
|
| 35 |
+
},
|
| 36 |
+
"tie_word_embeddings": false,
|
| 37 |
+
"tokenizer_class": "GPT2Tokenizer",
|
| 38 |
+
"transformers_version": "5.15.1",
|
| 39 |
+
"use_cache": false,
|
| 40 |
+
"vocab_size": 50296
|
| 41 |
+
}
|
checkpoint-1/generation_config.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_from_model_config": true,
|
| 3 |
+
"bos_token_id": 1,
|
| 4 |
+
"eos_token_id": 50256,
|
| 5 |
+
"transformers_version": "5.15.1",
|
| 6 |
+
"use_cache": true
|
| 7 |
+
}
|
checkpoint-1/model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d8925e2885710ef4b0e3661968d2fe314144909176c365577b1095c84ebc526f
|
| 3 |
+
size 709737632
|
checkpoint-1/optimizer.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6bcb97626f8f6a6aa7d4c7c392185d35a9c72beda0eeb975fc8c54433e4892c4
|
| 3 |
+
size 1419574795
|
checkpoint-1/rng_state.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4dc8c6913278f9c517962f5aa36e8b395dff7d28049918ddd24f3bbc58af2ae5
|
| 3 |
+
size 14455
|
checkpoint-1/scheduler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6e7a808092c9737ce7476966a087defa251dbafd354d39128871d37cbc6fa6c4
|
| 3 |
+
size 1465
|
checkpoint-1/tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
checkpoint-1/tokenizer_config.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_prefix_space": false,
|
| 3 |
+
"backend": "tokenizers",
|
| 4 |
+
"bos_token": "<|endoftext|>",
|
| 5 |
+
"eos_token": "<|endoftext|>",
|
| 6 |
+
"is_local": false,
|
| 7 |
+
"local_files_only": false,
|
| 8 |
+
"model_max_length": 2048,
|
| 9 |
+
"pad_token": "<|pad|>",
|
| 10 |
+
"return_token_type_ids": false,
|
| 11 |
+
"tokenizer_class": "CodeGenTokenizer",
|
| 12 |
+
"unk_token": "<|endoftext|>"
|
| 13 |
+
}
|
checkpoint-1/trainer_state.json
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_global_step": null,
|
| 3 |
+
"best_metric": null,
|
| 4 |
+
"best_model_checkpoint": null,
|
| 5 |
+
"epoch": 1.0,
|
| 6 |
+
"eval_steps": 500,
|
| 7 |
+
"global_step": 1,
|
| 8 |
+
"is_hyper_param_search": false,
|
| 9 |
+
"is_local_process_zero": true,
|
| 10 |
+
"is_world_process_zero": true,
|
| 11 |
+
"log_history": [
|
| 12 |
+
{
|
| 13 |
+
"epoch": 1.0,
|
| 14 |
+
"eval_loss": 0.9913151860237122,
|
| 15 |
+
"eval_runtime": 0.7606,
|
| 16 |
+
"eval_samples_per_second": 1.315,
|
| 17 |
+
"eval_steps_per_second": 1.315,
|
| 18 |
+
"step": 1
|
| 19 |
+
}
|
| 20 |
+
],
|
| 21 |
+
"logging_steps": 50,
|
| 22 |
+
"max_steps": 1,
|
| 23 |
+
"num_input_tokens_seen": 0,
|
| 24 |
+
"num_train_epochs": 1,
|
| 25 |
+
"save_steps": 500,
|
| 26 |
+
"stateful_callbacks": {
|
| 27 |
+
"TrainerControl": {
|
| 28 |
+
"args": {
|
| 29 |
+
"should_epoch_stop": false,
|
| 30 |
+
"should_evaluate": false,
|
| 31 |
+
"should_log": false,
|
| 32 |
+
"should_save": true,
|
| 33 |
+
"should_training_stop": true
|
| 34 |
+
},
|
| 35 |
+
"attributes": {}
|
| 36 |
+
}
|
| 37 |
+
},
|
| 38 |
+
"total_flos": 34582703472.0,
|
| 39 |
+
"train_batch_size": 1,
|
| 40 |
+
"trial_name": null,
|
| 41 |
+
"trial_params": null
|
| 42 |
+
}
|
checkpoint-1/training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b2038a2b94e7c830303976d67a59ddeb18fb248dbc981227772d92cd08472c85
|
| 3 |
+
size 5201
|
config.json
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"activation_function": "gelu_new",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"CodeGenForCausalLM"
|
| 5 |
+
],
|
| 6 |
+
"attn_pdrop": 0.0,
|
| 7 |
+
"bos_token_id": 1,
|
| 8 |
+
"dtype": "float16",
|
| 9 |
+
"embd_pdrop": 0.0,
|
| 10 |
+
"eos_token_id": 50256,
|
| 11 |
+
"gradient_checkpointing": false,
|
| 12 |
+
"initializer_range": 0.02,
|
| 13 |
+
"layer_norm_epsilon": 1e-05,
|
| 14 |
+
"model_type": "codegen",
|
| 15 |
+
"n_ctx": 2048,
|
| 16 |
+
"n_embd": 1024,
|
| 17 |
+
"n_head": 16,
|
| 18 |
+
"n_inner": null,
|
| 19 |
+
"n_layer": 20,
|
| 20 |
+
"n_positions": 2048,
|
| 21 |
+
"resid_pdrop": 0.0,
|
| 22 |
+
"rotary_dim": 32,
|
| 23 |
+
"scale_attn_weights": true,
|
| 24 |
+
"summary_activation": null,
|
| 25 |
+
"summary_first_dropout": 0.1,
|
| 26 |
+
"summary_proj_to_labels": true,
|
| 27 |
+
"summary_type": "cls_index",
|
| 28 |
+
"summary_use_proj": true,
|
| 29 |
+
"task_specific_params": {
|
| 30 |
+
"text-generation": {
|
| 31 |
+
"do_sample": true,
|
| 32 |
+
"max_length": 50,
|
| 33 |
+
"temperature": 1.0
|
| 34 |
+
}
|
| 35 |
+
},
|
| 36 |
+
"tie_word_embeddings": false,
|
| 37 |
+
"tokenizer_class": "GPT2Tokenizer",
|
| 38 |
+
"transformers_version": "5.15.1",
|
| 39 |
+
"use_cache": false,
|
| 40 |
+
"vocab_size": 50296
|
| 41 |
+
}
|
generation_config.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_from_model_config": true,
|
| 3 |
+
"bos_token_id": 1,
|
| 4 |
+
"eos_token_id": 50256,
|
| 5 |
+
"transformers_version": "5.15.1",
|
| 6 |
+
"use_cache": true
|
| 7 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d8925e2885710ef4b0e3661968d2fe314144909176c365577b1095c84ebc526f
|
| 3 |
+
size 709737632
|
tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_prefix_space": false,
|
| 3 |
+
"backend": "tokenizers",
|
| 4 |
+
"bos_token": "<|endoftext|>",
|
| 5 |
+
"eos_token": "<|endoftext|>",
|
| 6 |
+
"is_local": false,
|
| 7 |
+
"local_files_only": false,
|
| 8 |
+
"model_max_length": 2048,
|
| 9 |
+
"pad_token": "<|pad|>",
|
| 10 |
+
"return_token_type_ids": false,
|
| 11 |
+
"tokenizer_class": "CodeGenTokenizer",
|
| 12 |
+
"unk_token": "<|endoftext|>"
|
| 13 |
+
}
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b2038a2b94e7c830303976d67a59ddeb18fb248dbc981227772d92cd08472c85
|
| 3 |
+
size 5201
|