neavo commited on
Commit
1910372
Β·
verified Β·
1 Parent(s): 75881c0

Upload 10 files

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ tokenizer.json filter=lfs diff=lfs merge=lfs -text
config.json ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "assets/facebookai_xlm_roberta_base_pretrain_20240825",
3
+ "architectures": [
4
+ "XLMRobertaForTokenClassification"
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
+ "id2label": {
14
+ "0": "O",
15
+ "1": "B-EVT",
16
+ "2": "I-EVT",
17
+ "3": "B-LOC",
18
+ "4": "I-LOC",
19
+ "5": "B-ORG",
20
+ "6": "I-ORG",
21
+ "7": "B-PER",
22
+ "8": "I-PER",
23
+ "9": "B-PRD",
24
+ "10": "I-PRD"
25
+ },
26
+ "initializer_range": 0.02,
27
+ "intermediate_size": 3072,
28
+ "label2id": {
29
+ "B-EVT": 1,
30
+ "B-LOC": 3,
31
+ "B-ORG": 5,
32
+ "B-PER": 7,
33
+ "B-PRD": 9,
34
+ "I-EVT": 2,
35
+ "I-LOC": 4,
36
+ "I-ORG": 6,
37
+ "I-PER": 8,
38
+ "I-PRD": 10,
39
+ "O": 0
40
+ },
41
+ "layer_norm_eps": 1e-05,
42
+ "max_position_embeddings": 514,
43
+ "model_type": "xlm-roberta",
44
+ "num_attention_heads": 12,
45
+ "num_hidden_layers": 12,
46
+ "output_past": true,
47
+ "pad_token_id": 1,
48
+ "position_embedding_type": "absolute",
49
+ "torch_dtype": "float32",
50
+ "transformers_version": "4.44.1",
51
+ "type_vocab_size": 1,
52
+ "use_cache": true,
53
+ "vocab_size": 250002
54
+ }
metrics.json ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "eval_loss": 0.02277005836367607,
3
+ "eval_f1": 0.7852199094697778,
4
+ "eval_recall": 0.8112753523547611,
5
+ "eval_accuracy": 0.9927801284665579,
6
+ "eval_precision": 0.7610698020868087,
7
+ "eval_classification_report": {
8
+ "EVT": {
9
+ "precision": 0.7716535433070866,
10
+ "recall": 0.7461928934010152,
11
+ "f1-score": 0.7587096774193549,
12
+ "support": 394
13
+ },
14
+ "LOC": {
15
+ "precision": 0.7782152230971129,
16
+ "recall": 0.8375706214689266,
17
+ "f1-score": 0.8068027210884353,
18
+ "support": 708
19
+ },
20
+ "ORG": {
21
+ "precision": 0.7717908082408875,
22
+ "recall": 0.795751633986928,
23
+ "f1-score": 0.7835880933226066,
24
+ "support": 612
25
+ },
26
+ "PER": {
27
+ "precision": 0.8608108108108108,
28
+ "recall": 0.8959212376933896,
29
+ "f1-score": 0.8780151619572709,
30
+ "support": 711
31
+ },
32
+ "PRD": {
33
+ "precision": 0.7205882352941176,
34
+ "recall": 0.7190775681341719,
35
+ "f1-score": 0.7198321091290661,
36
+ "support": 477
37
+ },
38
+ "micro avg": {
39
+ "precision": 0.7872909698996655,
40
+ "recall": 0.8111647139903515,
41
+ "f1-score": 0.7990495587236932,
42
+ "support": 2902
43
+ },
44
+ "macro avg": {
45
+ "precision": 0.7806117241500031,
46
+ "recall": 0.7989027909368863,
47
+ "f1-score": 0.7893895525833468,
48
+ "support": 2902
49
+ },
50
+ "weighted avg": {
51
+ "precision": 0.7867336055757932,
52
+ "recall": 0.8111647139903515,
53
+ "f1-score": 0.7985294792396477,
54
+ "support": 2902
55
+ }
56
+ },
57
+ "eval_runtime": 4.347,
58
+ "eval_samples_per_second": 282.035,
59
+ "eval_steps_per_second": 2.3,
60
+ "epoch": 7.884922749067661,
61
+ "train_loss": 0.0145
62
+ }
metrics_trends.png ADDED
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:994e16bff10a124f70bdd4abf12ffe06b1e4500e167b255e8b366f212e2589de
3
+ size 1109914790
sentencepiece.bpe.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cfc8146abe2a0488e9e2a0c56de7952f7c11ab059eca145a0a727afce0db2865
3
+ size 5069051
special_tokens_map.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "cls_token": {
10
+ "content": "<s>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "eos_token": {
17
+ "content": "</s>",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "mask_token": {
24
+ "content": "<mask>",
25
+ "lstrip": true,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "pad_token": {
31
+ "content": "<pad>",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ },
37
+ "sep_token": {
38
+ "content": "</s>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false
43
+ },
44
+ "unk_token": {
45
+ "content": "<unk>",
46
+ "lstrip": false,
47
+ "normalized": false,
48
+ "rstrip": false,
49
+ "single_word": false
50
+ }
51
+ }
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3a56def25aa40facc030ea8b0b87f3688e4b3c39eb8b45d5702b3a1300fe2a20
3
+ size 17082734
tokenizer_config.json ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": true,
46
+ "cls_token": "<s>",
47
+ "do_lower_case": false,
48
+ "eos_token": "</s>",
49
+ "mask_token": "<mask>",
50
+ "model_max_length": 512,
51
+ "pad_token": "<pad>",
52
+ "sep_token": "</s>",
53
+ "tokenizer_class": "XLMRobertaTokenizer",
54
+ "unk_token": "<unk>"
55
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8647bfd714d3e8ba8091d106f391128fe8eda962364ebb5c1921618f150989c1
3
+ size 5112
training_args.json ADDED
@@ -0,0 +1,147 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "output_dir": "output",
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": 32,
10
+ "per_device_eval_batch_size": 128,
11
+ "per_gpu_train_batch_size": null,
12
+ "per_gpu_eval_batch_size": null,
13
+ "gradient_accumulation_steps": 2,
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": 24,
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": 20,
36
+ "logging_nan_inf_filter": true,
37
+ "save_strategy": "no",
38
+ "save_steps": 500,
39
+ "save_total_limit": null,
40
+ "save_safetensors": false,
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": true,
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": 200,
65
+ "dataloader_num_workers": 0,
66
+ "dataloader_prefetch_factor": null,
67
+ "past_index": -1,
68
+ "run_name": "output",
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
+ "use_configured_state": false
93
+ },
94
+ "deepspeed": null,
95
+ "label_smoothing_factor": 0.0,
96
+ "optim": "adamw_8bit",
97
+ "optim_args": null,
98
+ "adafactor": false,
99
+ "group_by_length": false,
100
+ "length_column_name": "length",
101
+ "report_to": [
102
+ "tensorboard",
103
+ "wandb"
104
+ ],
105
+ "ddp_find_unused_parameters": null,
106
+ "ddp_bucket_cap_mb": null,
107
+ "ddp_broadcast_buffers": null,
108
+ "dataloader_pin_memory": true,
109
+ "dataloader_persistent_workers": false,
110
+ "skip_memory_metrics": true,
111
+ "use_legacy_prediction_loop": false,
112
+ "push_to_hub": false,
113
+ "resume_from_checkpoint": null,
114
+ "hub_model_id": null,
115
+ "hub_strategy": "every_save",
116
+ "hub_token": null,
117
+ "hub_private_repo": false,
118
+ "hub_always_push": false,
119
+ "gradient_checkpointing": false,
120
+ "gradient_checkpointing_kwargs": null,
121
+ "include_inputs_for_metrics": false,
122
+ "eval_do_concat_batches": true,
123
+ "fp16_backend": "auto",
124
+ "evaluation_strategy": null,
125
+ "push_to_hub_model_id": null,
126
+ "push_to_hub_organization": null,
127
+ "push_to_hub_token": null,
128
+ "_n_gpu": 1,
129
+ "mp_parameters": "",
130
+ "auto_find_batch_size": false,
131
+ "full_determinism": false,
132
+ "torchdynamo": null,
133
+ "ray_scope": "last",
134
+ "ddp_timeout": 1800,
135
+ "torch_compile": false,
136
+ "torch_compile_backend": null,
137
+ "torch_compile_mode": null,
138
+ "dispatch_batches": null,
139
+ "split_batches": null,
140
+ "include_tokens_per_second": false,
141
+ "include_num_input_tokens_seen": false,
142
+ "neftune_noise_alpha": null,
143
+ "optim_target_modules": null,
144
+ "batch_eval_metrics": false,
145
+ "eval_on_start": false,
146
+ "eval_use_gather_object": false
147
+ }