neavo commited on
Commit
250fa11
·
verified ·
1 Parent(s): b1fae42

Upload 8 files

Browse files
config.json CHANGED
@@ -1,28 +1,29 @@
1
- {
2
- "_name_or_path": "assets/facebookai_xlm_roberta_base",
3
- "architectures": [
4
- "XLMRobertaForMaskedLM"
5
- ],
6
- "attention_probs_dropout_prob": 0.1,
7
- "bos_token_id": 0,
8
- "classifier_dropout": null,
9
- "eos_token_id": 2,
10
- "hidden_act": "gelu",
11
- "hidden_dropout_prob": 0.1,
12
- "hidden_size": 768,
13
- "initializer_range": 0.02,
14
- "intermediate_size": 3072,
15
- "layer_norm_eps": 1e-05,
16
- "max_position_embeddings": 514,
17
- "model_type": "xlm-roberta",
18
- "num_attention_heads": 12,
19
- "num_hidden_layers": 12,
20
- "output_past": true,
21
- "pad_token_id": 1,
22
- "position_embedding_type": "absolute",
23
- "torch_dtype": "float32",
24
- "transformers_version": "4.47.0",
25
- "type_vocab_size": 1,
26
- "use_cache": true,
27
- "vocab_size": 250002
28
- }
 
 
1
+ {
2
+ "_name_or_path": "assets/facebookai_xlm_roberta_base",
3
+ "architectures": [
4
+ "XLMRobertaForMaskedLM"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 0,
8
+ "classifier_dropout": null,
9
+ "eos_token_id": 2,
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 768,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 3072,
15
+ "layer_norm_eps": 1e-05,
16
+ "max_position_embeddings": 514,
17
+ "model_type": "xlm-roberta",
18
+ "num_attention_heads": 12,
19
+ "num_hidden_layers": 12,
20
+ "output_past": true,
21
+ "pad_token_id": 1,
22
+ "position_embedding_type": "absolute",
23
+ "reference_compile": null,
24
+ "torch_dtype": "float32",
25
+ "transformers_version": "4.48.0",
26
+ "type_vocab_size": 1,
27
+ "use_cache": true,
28
+ "vocab_size": 250002
29
+ }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:98afd8269c67540955c75445024b3e9f34640a3d60f70c5e7cec2f804e829877
3
  size 1113205088
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b2e50fb6e5cb06134cfd7be0ba9a6e01675ef132bdca1718c3aecc1c32fb842a
3
  size 1113205088
special_tokens_map.json CHANGED
@@ -1,15 +1,15 @@
1
- {
2
- "bos_token": "<s>",
3
- "cls_token": "<s>",
4
- "eos_token": "</s>",
5
- "mask_token": {
6
- "content": "<mask>",
7
- "lstrip": true,
8
- "normalized": false,
9
- "rstrip": false,
10
- "single_word": false
11
- },
12
- "pad_token": "<pad>",
13
- "sep_token": "</s>",
14
- "unk_token": "<unk>"
15
- }
 
1
+ {
2
+ "bos_token": "<s>",
3
+ "cls_token": "<s>",
4
+ "eos_token": "</s>",
5
+ "mask_token": {
6
+ "content": "<mask>",
7
+ "lstrip": true,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false
11
+ },
12
+ "pad_token": "<pad>",
13
+ "sep_token": "</s>",
14
+ "unk_token": "<unk>"
15
+ }
tokenizer_config.json CHANGED
@@ -1,56 +1,56 @@
1
- {
2
- "added_tokens_decoder": {
3
- "0": {
4
- "content": "<s>",
5
- "lstrip": false,
6
- "normalized": false,
7
- "rstrip": false,
8
- "single_word": false,
9
- "special": true
10
- },
11
- "1": {
12
- "content": "<pad>",
13
- "lstrip": false,
14
- "normalized": false,
15
- "rstrip": false,
16
- "single_word": false,
17
- "special": true
18
- },
19
- "2": {
20
- "content": "</s>",
21
- "lstrip": false,
22
- "normalized": false,
23
- "rstrip": false,
24
- "single_word": false,
25
- "special": true
26
- },
27
- "3": {
28
- "content": "<unk>",
29
- "lstrip": false,
30
- "normalized": false,
31
- "rstrip": false,
32
- "single_word": false,
33
- "special": true
34
- },
35
- "250001": {
36
- "content": "<mask>",
37
- "lstrip": true,
38
- "normalized": false,
39
- "rstrip": false,
40
- "single_word": false,
41
- "special": true
42
- }
43
- },
44
- "bos_token": "<s>",
45
- "clean_up_tokenization_spaces": false,
46
- "cls_token": "<s>",
47
- "do_lower_case": false,
48
- "eos_token": "</s>",
49
- "extra_special_tokens": {},
50
- "mask_token": "<mask>",
51
- "model_max_length": 512,
52
- "pad_token": "<pad>",
53
- "sep_token": "</s>",
54
- "tokenizer_class": "XLMRobertaTokenizer",
55
- "unk_token": "<unk>"
56
- }
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "<s>",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "1": {
12
+ "content": "<pad>",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "2": {
20
+ "content": "</s>",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "3": {
28
+ "content": "<unk>",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "250001": {
36
+ "content": "<mask>",
37
+ "lstrip": true,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "bos_token": "<s>",
45
+ "clean_up_tokenization_spaces": false,
46
+ "cls_token": "<s>",
47
+ "do_lower_case": false,
48
+ "eos_token": "</s>",
49
+ "extra_special_tokens": {},
50
+ "mask_token": "<mask>",
51
+ "model_max_length": 512,
52
+ "pad_token": "<pad>",
53
+ "sep_token": "</s>",
54
+ "tokenizer_class": "XLMRobertaTokenizer",
55
+ "unk_token": "<unk>"
56
+ }
trainer_state.json CHANGED
The diff for this file is too large to render. See raw diff
 
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b08346156c4ed671d8256f9ee9e056de5bf583dbb21d4361955304edf918c897
3
- size 5304
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d0248bcc08258853752fa496fa7a411c44ef6785f0a082234eb6edfe80d95f73
3
+ size 5432
training_args.json CHANGED
@@ -1,147 +1,150 @@
1
- {
2
- "output_dir": "output/facebookai_xlm_roberta_base_pretrain",
3
- "overwrite_output_dir": false,
4
- "do_train": false,
5
- "do_eval": false,
6
- "do_predict": false,
7
- "eval_strategy": "no",
8
- "prediction_loss_only": false,
9
- "per_device_train_batch_size": 8,
10
- "per_device_eval_batch_size": 8,
11
- "per_gpu_train_batch_size": null,
12
- "per_gpu_eval_batch_size": null,
13
- "gradient_accumulation_steps": 16,
14
- "eval_accumulation_steps": null,
15
- "eval_delay": 0,
16
- "torch_empty_cache_steps": null,
17
- "learning_rate": 2e-05,
18
- "weight_decay": 0.01,
19
- "adam_beta1": 0.9,
20
- "adam_beta2": 0.999,
21
- "adam_epsilon": 1e-08,
22
- "max_grad_norm": 1.0,
23
- "num_train_epochs": 2,
24
- "max_steps": -1,
25
- "lr_scheduler_type": "linear",
26
- "lr_scheduler_kwargs": {},
27
- "warmup_ratio": 0.1,
28
- "warmup_steps": 0,
29
- "log_level": "passive",
30
- "log_level_replica": "warning",
31
- "log_on_each_node": true,
32
- "logging_dir": "logs",
33
- "logging_strategy": "steps",
34
- "logging_first_step": false,
35
- "logging_steps": 10,
36
- "logging_nan_inf_filter": true,
37
- "save_strategy": "steps",
38
- "save_steps": 100,
39
- "save_total_limit": 3,
40
- "save_safetensors": true,
41
- "save_on_each_node": false,
42
- "save_only_model": false,
43
- "restore_callback_states_from_checkpoint": false,
44
- "no_cuda": false,
45
- "use_cpu": false,
46
- "use_mps_device": false,
47
- "seed": 42,
48
- "data_seed": null,
49
- "jit_mode_eval": false,
50
- "use_ipex": false,
51
- "bf16": true,
52
- "fp16": false,
53
- "fp16_opt_level": "O1",
54
- "half_precision_backend": "auto",
55
- "bf16_full_eval": false,
56
- "fp16_full_eval": false,
57
- "tf32": null,
58
- "local_rank": 0,
59
- "ddp_backend": null,
60
- "tpu_num_cores": null,
61
- "tpu_metrics_debug": false,
62
- "debug": [],
63
- "dataloader_drop_last": false,
64
- "eval_steps": null,
65
- "dataloader_num_workers": 0,
66
- "dataloader_prefetch_factor": null,
67
- "past_index": -1,
68
- "run_name": "output/facebookai_xlm_roberta_base_pretrain",
69
- "disable_tqdm": false,
70
- "remove_unused_columns": true,
71
- "label_names": null,
72
- "load_best_model_at_end": false,
73
- "metric_for_best_model": null,
74
- "greater_is_better": null,
75
- "ignore_data_skip": false,
76
- "fsdp": [],
77
- "fsdp_min_num_params": 0,
78
- "fsdp_config": {
79
- "min_num_params": 0,
80
- "xla": false,
81
- "xla_fsdp_v2": false,
82
- "xla_fsdp_grad_ckpt": false
83
- },
84
- "fsdp_transformer_layer_cls_to_wrap": null,
85
- "accelerator_config": {
86
- "split_batches": false,
87
- "dispatch_batches": null,
88
- "even_batches": true,
89
- "use_seedable_sampler": true,
90
- "non_blocking": false,
91
- "gradient_accumulation_kwargs": null
92
- },
93
- "deepspeed": null,
94
- "label_smoothing_factor": 0.0,
95
- "optim": "ademamix_8bit",
96
- "optim_args": null,
97
- "adafactor": false,
98
- "group_by_length": false,
99
- "length_column_name": "length",
100
- "report_to": [
101
- "wandb"
102
- ],
103
- "ddp_find_unused_parameters": null,
104
- "ddp_bucket_cap_mb": null,
105
- "ddp_broadcast_buffers": null,
106
- "dataloader_pin_memory": true,
107
- "dataloader_persistent_workers": false,
108
- "skip_memory_metrics": true,
109
- "use_legacy_prediction_loop": false,
110
- "push_to_hub": false,
111
- "resume_from_checkpoint": null,
112
- "hub_model_id": null,
113
- "hub_strategy": "every_save",
114
- "hub_token": "<HUB_TOKEN>",
115
- "hub_private_repo": null,
116
- "hub_always_push": false,
117
- "gradient_checkpointing": false,
118
- "gradient_checkpointing_kwargs": null,
119
- "include_inputs_for_metrics": false,
120
- "include_for_metrics": [],
121
- "eval_do_concat_batches": true,
122
- "fp16_backend": "auto",
123
- "evaluation_strategy": null,
124
- "push_to_hub_model_id": null,
125
- "push_to_hub_organization": null,
126
- "push_to_hub_token": "<PUSH_TO_HUB_TOKEN>",
127
- "mp_parameters": "",
128
- "auto_find_batch_size": false,
129
- "full_determinism": false,
130
- "torchdynamo": null,
131
- "ray_scope": "last",
132
- "ddp_timeout": 1800,
133
- "torch_compile": false,
134
- "torch_compile_backend": null,
135
- "torch_compile_mode": null,
136
- "dispatch_batches": null,
137
- "split_batches": null,
138
- "include_tokens_per_second": false,
139
- "include_num_input_tokens_seen": false,
140
- "neftune_noise_alpha": null,
141
- "optim_target_modules": null,
142
- "batch_eval_metrics": false,
143
- "eval_on_start": false,
144
- "use_liger_kernel": false,
145
- "eval_use_gather_object": false,
146
- "average_tokens_across_devices": false
 
 
 
147
  }
 
1
+ {
2
+ "output_dir": "output/facebookai_xlm_roberta_base_pt_e1",
3
+ "overwrite_output_dir": false,
4
+ "do_train": false,
5
+ "do_eval": true,
6
+ "do_predict": false,
7
+ "eval_strategy": "steps",
8
+ "prediction_loss_only": false,
9
+ "per_device_train_batch_size": 8,
10
+ "per_device_eval_batch_size": 8,
11
+ "per_gpu_train_batch_size": null,
12
+ "per_gpu_eval_batch_size": null,
13
+ "gradient_accumulation_steps": 32,
14
+ "eval_accumulation_steps": null,
15
+ "eval_delay": 0,
16
+ "torch_empty_cache_steps": null,
17
+ "learning_rate": 5e-05,
18
+ "weight_decay": 0.01,
19
+ "adam_beta1": 0.9,
20
+ "adam_beta2": 0.999,
21
+ "adam_epsilon": 1e-08,
22
+ "max_grad_norm": 1.0,
23
+ "num_train_epochs": 1,
24
+ "max_steps": -1,
25
+ "lr_scheduler_type": "warmup_stable_decay",
26
+ "lr_scheduler_kwargs": {
27
+ "num_decay_steps": 1562,
28
+ "num_stable_steps": 12494
29
+ },
30
+ "warmup_ratio": 0.1,
31
+ "warmup_steps": 0,
32
+ "log_level": "passive",
33
+ "log_level_replica": "warning",
34
+ "log_on_each_node": true,
35
+ "logging_dir": "output/facebookai_xlm_roberta_base_pt_e1/runs/Jan18_11-08-32_Neavo-PC",
36
+ "logging_strategy": "steps",
37
+ "logging_first_step": false,
38
+ "logging_steps": 5,
39
+ "logging_nan_inf_filter": true,
40
+ "save_strategy": "no",
41
+ "save_steps": 0,
42
+ "save_total_limit": null,
43
+ "save_safetensors": true,
44
+ "save_on_each_node": false,
45
+ "save_only_model": false,
46
+ "restore_callback_states_from_checkpoint": false,
47
+ "no_cuda": false,
48
+ "use_cpu": false,
49
+ "use_mps_device": false,
50
+ "seed": 42,
51
+ "data_seed": null,
52
+ "jit_mode_eval": false,
53
+ "use_ipex": false,
54
+ "bf16": true,
55
+ "fp16": false,
56
+ "fp16_opt_level": "O1",
57
+ "half_precision_backend": "auto",
58
+ "bf16_full_eval": false,
59
+ "fp16_full_eval": false,
60
+ "tf32": null,
61
+ "local_rank": 0,
62
+ "ddp_backend": null,
63
+ "tpu_num_cores": null,
64
+ "tpu_metrics_debug": false,
65
+ "debug": [],
66
+ "dataloader_drop_last": false,
67
+ "eval_steps": 200,
68
+ "dataloader_num_workers": 4,
69
+ "dataloader_prefetch_factor": 8,
70
+ "past_index": -1,
71
+ "run_name": "output/facebookai_xlm_roberta_base_pt_e1",
72
+ "disable_tqdm": false,
73
+ "remove_unused_columns": true,
74
+ "label_names": null,
75
+ "load_best_model_at_end": false,
76
+ "metric_for_best_model": null,
77
+ "greater_is_better": null,
78
+ "ignore_data_skip": false,
79
+ "fsdp": [],
80
+ "fsdp_min_num_params": 0,
81
+ "fsdp_config": {
82
+ "min_num_params": 0,
83
+ "xla": false,
84
+ "xla_fsdp_v2": false,
85
+ "xla_fsdp_grad_ckpt": false
86
+ },
87
+ "fsdp_transformer_layer_cls_to_wrap": null,
88
+ "accelerator_config": {
89
+ "split_batches": false,
90
+ "dispatch_batches": null,
91
+ "even_batches": true,
92
+ "use_seedable_sampler": true,
93
+ "non_blocking": false,
94
+ "gradient_accumulation_kwargs": null
95
+ },
96
+ "deepspeed": null,
97
+ "label_smoothing_factor": 0.0,
98
+ "optim": "adamw_torch",
99
+ "optim_args": null,
100
+ "adafactor": false,
101
+ "group_by_length": false,
102
+ "length_column_name": "length",
103
+ "report_to": [
104
+ "wandb"
105
+ ],
106
+ "ddp_find_unused_parameters": null,
107
+ "ddp_bucket_cap_mb": null,
108
+ "ddp_broadcast_buffers": null,
109
+ "dataloader_pin_memory": true,
110
+ "dataloader_persistent_workers": true,
111
+ "skip_memory_metrics": true,
112
+ "use_legacy_prediction_loop": false,
113
+ "push_to_hub": false,
114
+ "resume_from_checkpoint": null,
115
+ "hub_model_id": null,
116
+ "hub_strategy": "every_save",
117
+ "hub_token": "<HUB_TOKEN>",
118
+ "hub_private_repo": null,
119
+ "hub_always_push": false,
120
+ "gradient_checkpointing": true,
121
+ "gradient_checkpointing_kwargs": null,
122
+ "include_inputs_for_metrics": false,
123
+ "include_for_metrics": [],
124
+ "eval_do_concat_batches": true,
125
+ "fp16_backend": "auto",
126
+ "evaluation_strategy": null,
127
+ "push_to_hub_model_id": null,
128
+ "push_to_hub_organization": null,
129
+ "push_to_hub_token": "<PUSH_TO_HUB_TOKEN>",
130
+ "mp_parameters": "",
131
+ "auto_find_batch_size": false,
132
+ "full_determinism": false,
133
+ "torchdynamo": null,
134
+ "ray_scope": "last",
135
+ "ddp_timeout": 1800,
136
+ "torch_compile": true,
137
+ "torch_compile_backend": "inductor",
138
+ "torch_compile_mode": null,
139
+ "dispatch_batches": null,
140
+ "split_batches": null,
141
+ "include_tokens_per_second": false,
142
+ "include_num_input_tokens_seen": false,
143
+ "neftune_noise_alpha": null,
144
+ "optim_target_modules": null,
145
+ "batch_eval_metrics": false,
146
+ "eval_on_start": false,
147
+ "use_liger_kernel": false,
148
+ "eval_use_gather_object": false,
149
+ "average_tokens_across_devices": false
150
  }