Training in progress, epoch 3
Browse files- config.json +39 -0
- egy_training_log.txt +159 -0
- model.safetensors +3 -0
- special_tokens_map.json +39 -0
- tokenizer.json +0 -0
- tokenizer_config.json +62 -0
- training_args.bin +3 -0
config.json
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "riotu-lab/ArabianGPT-01B",
|
3 |
+
"activation_function": "gelu_new",
|
4 |
+
"architectures": [
|
5 |
+
"GPT2LMHeadModel"
|
6 |
+
],
|
7 |
+
"attn_pdrop": 0.1,
|
8 |
+
"bos_token_id": null,
|
9 |
+
"embd_pdrop": 0.1,
|
10 |
+
"eos_token_id": 64000,
|
11 |
+
"initializer_range": 0.02,
|
12 |
+
"layer_norm_epsilon": 1e-05,
|
13 |
+
"model_type": "gpt2",
|
14 |
+
"n_ctx": 768,
|
15 |
+
"n_embd": 768,
|
16 |
+
"n_head": 12,
|
17 |
+
"n_inner": null,
|
18 |
+
"n_layer": 12,
|
19 |
+
"n_positions": 768,
|
20 |
+
"reorder_and_upcast_attn": false,
|
21 |
+
"resid_pdrop": 0.1,
|
22 |
+
"scale_attn_by_inverse_layer_idx": false,
|
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 |
+
}
|
34 |
+
},
|
35 |
+
"torch_dtype": "float32",
|
36 |
+
"transformers_version": "4.45.0.dev0",
|
37 |
+
"use_cache": true,
|
38 |
+
"vocab_size": 64005
|
39 |
+
}
|
egy_training_log.txt
ADDED
@@ -0,0 +1,159 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
WARNING:__main__:Process rank: 0, device: cuda:0, n_gpu: 1, distributed training: False, 16-bits training: False
|
2 |
+
INFO:__main__:Training/evaluation parameters TrainingArguments(
|
3 |
+
_n_gpu=1,
|
4 |
+
accelerator_config={'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None, 'use_configured_state': False},
|
5 |
+
adafactor=False,
|
6 |
+
adam_beta1=0.9,
|
7 |
+
adam_beta2=0.999,
|
8 |
+
adam_epsilon=1e-08,
|
9 |
+
auto_find_batch_size=False,
|
10 |
+
batch_eval_metrics=False,
|
11 |
+
bf16=False,
|
12 |
+
bf16_full_eval=False,
|
13 |
+
data_seed=None,
|
14 |
+
dataloader_drop_last=False,
|
15 |
+
dataloader_num_workers=0,
|
16 |
+
dataloader_persistent_workers=False,
|
17 |
+
dataloader_pin_memory=True,
|
18 |
+
dataloader_prefetch_factor=None,
|
19 |
+
ddp_backend=None,
|
20 |
+
ddp_broadcast_buffers=None,
|
21 |
+
ddp_bucket_cap_mb=None,
|
22 |
+
ddp_find_unused_parameters=None,
|
23 |
+
ddp_timeout=1800,
|
24 |
+
debug=[],
|
25 |
+
deepspeed=None,
|
26 |
+
disable_tqdm=False,
|
27 |
+
dispatch_batches=None,
|
28 |
+
do_eval=True,
|
29 |
+
do_predict=False,
|
30 |
+
do_train=True,
|
31 |
+
eval_accumulation_steps=None,
|
32 |
+
eval_delay=0,
|
33 |
+
eval_do_concat_batches=True,
|
34 |
+
eval_on_start=False,
|
35 |
+
eval_steps=None,
|
36 |
+
eval_strategy=IntervalStrategy.EPOCH,
|
37 |
+
eval_use_gather_object=False,
|
38 |
+
evaluation_strategy=epoch,
|
39 |
+
fp16=False,
|
40 |
+
fp16_backend=auto,
|
41 |
+
fp16_full_eval=False,
|
42 |
+
fp16_opt_level=O1,
|
43 |
+
fsdp=[],
|
44 |
+
fsdp_config={'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False},
|
45 |
+
fsdp_min_num_params=0,
|
46 |
+
fsdp_transformer_layer_cls_to_wrap=None,
|
47 |
+
full_determinism=False,
|
48 |
+
gradient_accumulation_steps=1,
|
49 |
+
gradient_checkpointing=False,
|
50 |
+
gradient_checkpointing_kwargs=None,
|
51 |
+
greater_is_better=False,
|
52 |
+
group_by_length=False,
|
53 |
+
half_precision_backend=auto,
|
54 |
+
hub_always_push=False,
|
55 |
+
hub_model_id=None,
|
56 |
+
hub_private_repo=False,
|
57 |
+
hub_strategy=HubStrategy.EVERY_SAVE,
|
58 |
+
hub_token=<HUB_TOKEN>,
|
59 |
+
ignore_data_skip=False,
|
60 |
+
include_inputs_for_metrics=False,
|
61 |
+
include_num_input_tokens_seen=False,
|
62 |
+
include_tokens_per_second=False,
|
63 |
+
jit_mode_eval=False,
|
64 |
+
label_names=None,
|
65 |
+
label_smoothing_factor=0.0,
|
66 |
+
learning_rate=5e-05,
|
67 |
+
length_column_name=length,
|
68 |
+
load_best_model_at_end=True,
|
69 |
+
local_rank=0,
|
70 |
+
log_level=passive,
|
71 |
+
log_level_replica=warning,
|
72 |
+
log_on_each_node=True,
|
73 |
+
logging_dir=/home/iais_marenpielka/Bouthaina/res_nw_yem/runs/Aug31_18-23-30_lmgpu-node-09,
|
74 |
+
logging_first_step=False,
|
75 |
+
logging_nan_inf_filter=True,
|
76 |
+
logging_steps=500,
|
77 |
+
logging_strategy=IntervalStrategy.EPOCH,
|
78 |
+
lr_scheduler_kwargs={},
|
79 |
+
lr_scheduler_type=SchedulerType.LINEAR,
|
80 |
+
max_grad_norm=1.0,
|
81 |
+
max_steps=-1,
|
82 |
+
metric_for_best_model=loss,
|
83 |
+
mp_parameters=,
|
84 |
+
neftune_noise_alpha=None,
|
85 |
+
no_cuda=False,
|
86 |
+
num_train_epochs=20.0,
|
87 |
+
optim=OptimizerNames.ADAMW_TORCH,
|
88 |
+
optim_args=None,
|
89 |
+
optim_target_modules=None,
|
90 |
+
output_dir=/home/iais_marenpielka/Bouthaina/res_nw_yem,
|
91 |
+
overwrite_output_dir=False,
|
92 |
+
past_index=-1,
|
93 |
+
per_device_eval_batch_size=8,
|
94 |
+
per_device_train_batch_size=8,
|
95 |
+
prediction_loss_only=False,
|
96 |
+
push_to_hub=True,
|
97 |
+
push_to_hub_model_id=None,
|
98 |
+
push_to_hub_organization=None,
|
99 |
+
push_to_hub_token=<PUSH_TO_HUB_TOKEN>,
|
100 |
+
ray_scope=last,
|
101 |
+
remove_unused_columns=True,
|
102 |
+
report_to=[],
|
103 |
+
restore_callback_states_from_checkpoint=False,
|
104 |
+
resume_from_checkpoint=None,
|
105 |
+
run_name=/home/iais_marenpielka/Bouthaina/res_nw_yem,
|
106 |
+
save_on_each_node=False,
|
107 |
+
save_only_model=False,
|
108 |
+
save_safetensors=True,
|
109 |
+
save_steps=500,
|
110 |
+
save_strategy=IntervalStrategy.EPOCH,
|
111 |
+
save_total_limit=None,
|
112 |
+
seed=42,
|
113 |
+
skip_memory_metrics=True,
|
114 |
+
split_batches=None,
|
115 |
+
tf32=None,
|
116 |
+
torch_compile=False,
|
117 |
+
torch_compile_backend=None,
|
118 |
+
torch_compile_mode=None,
|
119 |
+
torch_empty_cache_steps=None,
|
120 |
+
torchdynamo=None,
|
121 |
+
tpu_metrics_debug=False,
|
122 |
+
tpu_num_cores=None,
|
123 |
+
use_cpu=False,
|
124 |
+
use_ipex=False,
|
125 |
+
use_legacy_prediction_loop=False,
|
126 |
+
use_mps_device=False,
|
127 |
+
warmup_ratio=0.0,
|
128 |
+
warmup_steps=500,
|
129 |
+
weight_decay=0.0,
|
130 |
+
)
|
131 |
+
INFO:datasets.builder:Using custom data configuration default-553f61aee4dda760
|
132 |
+
INFO:datasets.info:Loading Dataset Infos from /home/iais_marenpielka/Bouthaina/miniconda3/lib/python3.12/site-packages/datasets/packaged_modules/text
|
133 |
+
INFO:datasets.builder:Generating dataset text (/home/iais_marenpielka/.cache/huggingface/datasets/text/default-553f61aee4dda760/0.0.0/96636a050ef51804b84abbfd4f4ad440e01153c24b86293eb5c3b300a41f9101)
|
134 |
+
INFO:datasets.builder:Downloading and preparing dataset text/default to /home/iais_marenpielka/.cache/huggingface/datasets/text/default-553f61aee4dda760/0.0.0/96636a050ef51804b84abbfd4f4ad440e01153c24b86293eb5c3b300a41f9101...
|
135 |
+
INFO:datasets.download.download_manager:Downloading took 0.0 min
|
136 |
+
INFO:datasets.download.download_manager:Checksum Computation took 0.0 min
|
137 |
+
INFO:datasets.builder:Generating train split
|
138 |
+
INFO:datasets.builder:Generating validation split
|
139 |
+
INFO:datasets.utils.info_utils:Unable to verify splits sizes.
|
140 |
+
INFO:datasets.builder:Dataset text downloaded and prepared to /home/iais_marenpielka/.cache/huggingface/datasets/text/default-553f61aee4dda760/0.0.0/96636a050ef51804b84abbfd4f4ad440e01153c24b86293eb5c3b300a41f9101. Subsequent calls will reuse this data.
|
141 |
+
INFO:datasets.arrow_dataset:Caching processed dataset at /home/iais_marenpielka/.cache/huggingface/datasets/text/default-553f61aee4dda760/0.0.0/96636a050ef51804b84abbfd4f4ad440e01153c24b86293eb5c3b300a41f9101/cache-0c0ca65a5faa1c69.arrow
|
142 |
+
INFO:datasets.arrow_dataset:Caching processed dataset at /home/iais_marenpielka/.cache/huggingface/datasets/text/default-553f61aee4dda760/0.0.0/96636a050ef51804b84abbfd4f4ad440e01153c24b86293eb5c3b300a41f9101/cache-ff33919083e7cfc3.arrow
|
143 |
+
WARNING:__main__:The tokenizer picked seems to have a very large `model_max_length` (1000000000000000019884624838656). Using block_size=768 instead. You can change that default value by passing --block_size xxx.
|
144 |
+
INFO:datasets.arrow_dataset:Caching processed dataset at /home/iais_marenpielka/.cache/huggingface/datasets/text/default-553f61aee4dda760/0.0.0/96636a050ef51804b84abbfd4f4ad440e01153c24b86293eb5c3b300a41f9101/cache-b67d61859d143d55.arrow
|
145 |
+
INFO:datasets.arrow_dataset:Caching processed dataset at /home/iais_marenpielka/.cache/huggingface/datasets/text/default-553f61aee4dda760/0.0.0/96636a050ef51804b84abbfd4f4ad440e01153c24b86293eb5c3b300a41f9101/cache-b5882b385151b146.arrow
|
146 |
+
WARNING:accelerate.utils.other:Detected kernel version 5.4.0, which is below the recommended minimum of 5.5.0; this can cause the process to hang. It is recommended to upgrade the kernel to the minimum version or higher.
|
147 |
+
INFO:root:Epoch 1.0: Train Loss = None, Eval Loss = None
|
148 |
+
INFO:absl:Using default tokenizer.
|
149 |
+
INFO:root:Epoch 2.0: Train Loss = 7.8314, Eval Loss = 2.359743595123291
|
150 |
+
INFO:absl:Using default tokenizer.
|
151 |
+
WARNING:huggingface_hub.utils._http:'(MaxRetryError("HTTPSConnectionPool(host='hf-hub-lfs-us-east-1.s3-accelerate.amazonaws.com', port=443): Max retries exceeded with url: /repos/4e/c5/4ec5c12bd4b31fb218515ee480d86e26419d948a9a596a06a6ad09ce77d37e3a/deff7f99580238a45f3ba2bc7047e31a358560b58dc3266d8058c6e623cbfa0f?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=AKIA2JU7TKAQLC2QXPN7%2F20240831%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240831T182623Z&X-Amz-Expires=86400&X-Amz-Signature=e2b8cc4c6a6039dd14e9fd45f97285bd8f4c36e3b9f82774a0533eb3ab485699&X-Amz-SignedHeaders=host&partNumber=30&uploadId=1pifW86uMHklMcYfwNTOkTEVjye.aOXHsYNw1UiFajy5ulD2SMmE7lXK11IQuIa2xOtCET.QPTYOMxy0LOMBKD1rWT_Aq4IFRTZ.IqMHIpcpxuwSEUr.74Jrxu7CFsaq&x-id=UploadPart (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:2406)')))"), '(Request ID: 45c28252-333d-4bd7-bdae-103a87df191a)')' thrown while requesting PUT https://hf-hub-lfs-us-east-1.s3-accelerate.amazonaws.com/repos/4e/c5/4ec5c12bd4b31fb218515ee480d86e26419d948a9a596a06a6ad09ce77d37e3a/deff7f99580238a45f3ba2bc7047e31a358560b58dc3266d8058c6e623cbfa0f?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=AKIA2JU7TKAQLC2QXPN7%2F20240831%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240831T182623Z&X-Amz-Expires=86400&X-Amz-Signature=e2b8cc4c6a6039dd14e9fd45f97285bd8f4c36e3b9f82774a0533eb3ab485699&X-Amz-SignedHeaders=host&partNumber=30&uploadId=1pifW86uMHklMcYfwNTOkTEVjye.aOXHsYNw1UiFajy5ulD2SMmE7lXK11IQuIa2xOtCET.QPTYOMxy0LOMBKD1rWT_Aq4IFRTZ.IqMHIpcpxuwSEUr.74Jrxu7CFsaq&x-id=UploadPart
|
152 |
+
WARNING:huggingface_hub.utils._http:Retrying in 1s [Retry 1/5].
|
153 |
+
INFO:root:Epoch 3.0: Train Loss = 0.9995, Eval Loss = 0.5537932515144348
|
154 |
+
INFO:absl:Using default tokenizer.
|
155 |
+
INFO:root:Epoch 4.0: Train Loss = 0.4848, Eval Loss = 0.5034472942352295
|
156 |
+
INFO:absl:Using default tokenizer.
|
157 |
+
INFO:root:Epoch 5.0: Train Loss = 0.3823, Eval Loss = 0.4827471375465393
|
158 |
+
INFO:absl:Using default tokenizer.
|
159 |
+
INFO:root:Epoch 6.0: Train Loss = 0.293, Eval Loss = 0.4732062816619873
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:154e656891141c4b6e56691de7b6e5e274a9e122d269e3d25cef7a95cf6d92a6
|
3 |
+
size 539221632
|
special_tokens_map.json
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": [
|
3 |
+
{
|
4 |
+
"content": "[s]",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false
|
9 |
+
},
|
10 |
+
{
|
11 |
+
"content": "</s>",
|
12 |
+
"lstrip": false,
|
13 |
+
"normalized": false,
|
14 |
+
"rstrip": false,
|
15 |
+
"single_word": false
|
16 |
+
},
|
17 |
+
{
|
18 |
+
"content": "[sep]",
|
19 |
+
"lstrip": false,
|
20 |
+
"normalized": false,
|
21 |
+
"rstrip": false,
|
22 |
+
"single_word": false
|
23 |
+
}
|
24 |
+
],
|
25 |
+
"eos_token": {
|
26 |
+
"content": "<EOS>",
|
27 |
+
"lstrip": false,
|
28 |
+
"normalized": false,
|
29 |
+
"rstrip": false,
|
30 |
+
"single_word": false
|
31 |
+
},
|
32 |
+
"pad_token": {
|
33 |
+
"content": "<EOS>",
|
34 |
+
"lstrip": false,
|
35 |
+
"normalized": false,
|
36 |
+
"rstrip": false,
|
37 |
+
"single_word": false
|
38 |
+
}
|
39 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,62 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"0": {
|
4 |
+
"content": "<unk>",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false,
|
9 |
+
"special": true
|
10 |
+
},
|
11 |
+
"64000": {
|
12 |
+
"content": "<EOS>",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false,
|
17 |
+
"special": true
|
18 |
+
},
|
19 |
+
"64001": {
|
20 |
+
"content": "<PAD>",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false,
|
25 |
+
"special": true
|
26 |
+
},
|
27 |
+
"64002": {
|
28 |
+
"content": "[s]",
|
29 |
+
"lstrip": false,
|
30 |
+
"normalized": false,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false,
|
33 |
+
"special": true
|
34 |
+
},
|
35 |
+
"64003": {
|
36 |
+
"content": "</s>",
|
37 |
+
"lstrip": false,
|
38 |
+
"normalized": false,
|
39 |
+
"rstrip": false,
|
40 |
+
"single_word": false,
|
41 |
+
"special": true
|
42 |
+
},
|
43 |
+
"64004": {
|
44 |
+
"content": "[sep]",
|
45 |
+
"lstrip": false,
|
46 |
+
"normalized": false,
|
47 |
+
"rstrip": false,
|
48 |
+
"single_word": false,
|
49 |
+
"special": true
|
50 |
+
}
|
51 |
+
},
|
52 |
+
"additional_special_tokens": [
|
53 |
+
"[s]",
|
54 |
+
"</s>",
|
55 |
+
"[sep]"
|
56 |
+
],
|
57 |
+
"clean_up_tokenization_spaces": true,
|
58 |
+
"eos_token": "<EOS>",
|
59 |
+
"model_max_length": 1000000000000000019884624838656,
|
60 |
+
"pad_token": "<EOS>",
|
61 |
+
"tokenizer_class": "PreTrainedTokenizerFast"
|
62 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a80b641e121dfe14109ce291c3105dd7ce50626e7c8145f15a49c5d87658a2ca
|
3 |
+
size 5240
|