TransQuest
commited on
Commit
•
9b92f14
1
Parent(s):
98b852d
First model version
Browse files- config.json +11 -14
- eval_results.txt +11 -11
- model_args.json +1 -1
- optimizer.pt +2 -2
- pytorch_model.bin +2 -2
- scheduler.pt +1 -1
- sentencepiece.bpe.model +3 -0
- special_tokens_map.json +1 -1
- tokenizer.json +0 -0
- tokenizer_config.json +1 -1
- training_args.bin +1 -1
config.json
CHANGED
@@ -1,32 +1,29 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
"architectures": [
|
4 |
-
"
|
5 |
],
|
6 |
"attention_probs_dropout_prob": 0.1,
|
|
|
7 |
"classifier_dropout": null,
|
8 |
-
"
|
9 |
"hidden_act": "gelu",
|
10 |
"hidden_dropout_prob": 0.1,
|
11 |
"hidden_size": 768,
|
12 |
"initializer_range": 0.02,
|
13 |
"intermediate_size": 3072,
|
14 |
-
"layer_norm_eps": 1e-
|
15 |
-
"max_position_embeddings":
|
16 |
-
"model_type": "
|
17 |
"num_attention_heads": 12,
|
18 |
"num_hidden_layers": 12,
|
19 |
-
"
|
20 |
-
"
|
21 |
-
"pooler_num_attention_heads": 12,
|
22 |
-
"pooler_num_fc_layers": 3,
|
23 |
-
"pooler_size_per_head": 128,
|
24 |
-
"pooler_type": "first_token_transform",
|
25 |
"position_embedding_type": "absolute",
|
26 |
"problem_type": "single_label_classification",
|
27 |
"torch_dtype": "float32",
|
28 |
"transformers_version": "4.16.2",
|
29 |
-
"type_vocab_size":
|
30 |
"use_cache": true,
|
31 |
-
"vocab_size":
|
32 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "xlm-roberta-base",
|
3 |
"architectures": [
|
4 |
+
"XLMRobertaForSequenceClassification"
|
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 |
"problem_type": "single_label_classification",
|
24 |
"torch_dtype": "float32",
|
25 |
"transformers_version": "4.16.2",
|
26 |
+
"type_vocab_size": 1,
|
27 |
"use_cache": true,
|
28 |
+
"vocab_size": 250002
|
29 |
}
|
eval_results.txt
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
-
accuracy = 0.
|
2 |
-
auprc = 0.
|
3 |
-
auroc = 0.
|
4 |
-
eval_loss = 0.
|
5 |
-
fn =
|
6 |
-
fp =
|
7 |
-
macro_f1 = 0.
|
8 |
-
mcc = 0.
|
9 |
-
tn =
|
10 |
-
tp =
|
11 |
-
weighted_f1 = 0.
|
|
|
1 |
+
accuracy = 0.9240895129442738
|
2 |
+
auprc = 0.8611675773330013
|
3 |
+
auroc = 0.9568999839214756
|
4 |
+
eval_loss = 0.21043916642665864
|
5 |
+
fn = 73
|
6 |
+
fp = 100
|
7 |
+
macro_f1 = 0.8772280551302447
|
8 |
+
mcc = 0.7550662217302937
|
9 |
+
tn = 1757
|
10 |
+
tp = 349
|
11 |
+
weighted_f1 = 0.9249881346495145
|
model_args.json
CHANGED
@@ -1 +1 @@
|
|
1 |
-
{"adafactor_beta1": null, "adafactor_clip_threshold": 1.0, "adafactor_decay_rate": -0.8, "adafactor_eps": [1e-30, 0.001], "adafactor_relative_step": true, "adafactor_scale_parameter": true, "adafactor_warmup_init": true, "adam_betas": [0.9, 0.999], "adam_epsilon": 1e-08, "best_model_dir": "
|
|
|
1 |
+
{"adafactor_beta1": null, "adafactor_clip_threshold": 1.0, "adafactor_decay_rate": -0.8, "adafactor_eps": [1e-30, 0.001], "adafactor_relative_step": true, "adafactor_scale_parameter": true, "adafactor_warmup_init": true, "adam_betas": [0.9, 0.999], "adam_epsilon": 1e-08, "best_model_dir": "temp_xlmr_en_es/outputs/best_model", "cache_dir": "temp_xlmr_en_es/cache_dir/", "config": {}, "cosine_schedule_num_cycles": 0.5, "custom_layer_parameters": [], "custom_parameter_groups": [], "dataloader_num_workers": 0, "do_lower_case": false, "dynamic_quantize": false, "early_stopping_consider_epochs": false, "early_stopping_delta": 0, "early_stopping_metric": "eval_loss", "early_stopping_metric_minimize": true, "early_stopping_patience": 10, "encoding": null, "eval_batch_size": 512, "evaluate_during_training": true, "evaluate_during_training_silent": true, "evaluate_during_training_steps": 200, "evaluate_during_training_verbose": true, "evaluate_each_epoch": true, "fp16": false, "gradient_accumulation_steps": 1, "learning_rate": 1e-05, "local_rank": -1, "logging_steps": 200, "loss_type": null, "loss_args": {}, "manual_seed": 777, "max_grad_norm": 1.0, "max_seq_length": 256, "model_name": "xlm-roberta-base", "model_type": "xlmroberta", "multiprocessing_chunksize": 500, "n_gpu": 1, "no_cache": false, "no_save": false, "not_saved_args": [], "num_train_epochs": 3, "optimizer": "AdamW", "output_dir": "temp_xlmr_en_es/outputs/", "overwrite_output_dir": true, "polynomial_decay_schedule_lr_end": 1e-07, "polynomial_decay_schedule_power": 1.0, "process_count": 78, "quantized_model": false, "reprocess_input_data": true, "save_best_model": true, "save_eval_checkpoints": false, "save_model_every_epoch": false, "save_optimizer_and_scheduler": true, "save_recent_only": true, "save_steps": 200, "scheduler": "linear_schedule_with_warmup", "silent": false, "skip_special_tokens": true, "tensorboard_dir": null, "thread_count": null, "tokenizer_name": "xlm-roberta-base", "tokenizer_type": null, "train_batch_size": 32, "train_custom_parameters_only": false, "use_cached_eval_features": false, "use_early_stopping": true, "use_hf_datasets": false, "use_multiprocessing": false, "use_multiprocessing_for_evaluation": false, "wandb_kwargs": {}, "wandb_project": "Xeventminer", "warmup_ratio": 0.06, "warmup_steps": 116, "weight_decay": 0, "model_class": "TextClassificationModel", "labels_list": [0, 1], "labels_map": {}, "lazy_delimiter": "\t", "lazy_labels_column": 1, "lazy_loading": false, "lazy_loading_start_line": 1, "lazy_text_a_column": null, "lazy_text_b_column": null, "lazy_text_column": 0, "onnx": false, "regression": false, "sliding_window": false, "special_tokens_list": [], "stride": 0.8, "tie_value": 1}
|
optimizer.pt
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0afb642255caf244480cd326aacc1be93d085f73ce9b004547ae92318cbec8f3
|
3 |
+
size 2224529093
|
pytorch_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a4a1a6314d396649089a71043ffda72e98f184b727f5f735c11cb112fd1d419e
|
3 |
+
size 1112267893
|
scheduler.pt
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 627
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0a178fe0d4f5740c916bb95d666f189f27f88814ebec35559a4be3b31b1e105c
|
3 |
size 627
|
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
CHANGED
@@ -1 +1 @@
|
|
1 |
-
{"unk_token": "
|
|
|
1 |
+
{"bos_token": "<s>", "eos_token": "</s>", "unk_token": "<unk>", "sep_token": "</s>", "pad_token": "<pad>", "cls_token": "<s>", "mask_token": {"content": "<mask>", "single_word": false, "lstrip": true, "rstrip": false, "normalized": false}}
|
tokenizer.json
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
CHANGED
@@ -1 +1 @@
|
|
1 |
-
{"
|
|
|
1 |
+
{"bos_token": "<s>", "eos_token": "</s>", "sep_token": "</s>", "cls_token": "<s>", "unk_token": "<unk>", "pad_token": "<pad>", "mask_token": {"content": "<mask>", "single_word": false, "lstrip": true, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "do_lower_case": false, "model_max_length": 512, "special_tokens_map_file": null, "name_or_path": "xlm-roberta-base", "tokenizer_class": "XLMRobertaTokenizer"}
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 3323
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fbdb12bb8ac7c516b58d782a4638179c0be476073d3d6faddb90c79b0d1263e9
|
3 |
size 3323
|