Spaces:
Runtime error
Runtime error
Upload 8 files
Browse files- MendoBERT/config.json +37 -0
- MendoBERT/rng_state.pth +3 -0
- MendoBERT/scheduler.pt +3 -0
- MendoBERT/special_tokens_map.json +7 -0
- MendoBERT/tokenizer_config.json +16 -0
- MendoBERT/trainer_state.json +58 -0
- MendoBERT/training_args.bin +3 -0
- MendoBERT/vocab.txt +0 -0
MendoBERT/config.json
ADDED
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "/kaggle/input/base-model-pubmed-sehatq/out/pubmed_sehatq_1e5_16",
|
3 |
+
"architectures": [
|
4 |
+
"BertForSequenceClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"classifier_dropout": null,
|
9 |
+
"eos_token_ids": 0,
|
10 |
+
"hidden_act": "gelu",
|
11 |
+
"hidden_dropout_prob": 0.1,
|
12 |
+
"hidden_size": 768,
|
13 |
+
"id2label": {
|
14 |
+
"0": "NEGATIVE",
|
15 |
+
"1": "POSITIVE"
|
16 |
+
},
|
17 |
+
"initializer_range": 0.02,
|
18 |
+
"intermediate_size": 3072,
|
19 |
+
"label2id": {
|
20 |
+
"NEGATIVE": 0,
|
21 |
+
"POSITIVE": 1
|
22 |
+
},
|
23 |
+
"layer_norm_eps": 1e-12,
|
24 |
+
"max_position_embeddings": 512,
|
25 |
+
"model_type": "bert",
|
26 |
+
"num_attention_heads": 12,
|
27 |
+
"num_hidden_layers": 12,
|
28 |
+
"output_past": true,
|
29 |
+
"pad_token_id": 0,
|
30 |
+
"position_embedding_type": "absolute",
|
31 |
+
"problem_type": "single_label_classification",
|
32 |
+
"torch_dtype": "float32",
|
33 |
+
"transformers_version": "4.26.1",
|
34 |
+
"type_vocab_size": 2,
|
35 |
+
"use_cache": true,
|
36 |
+
"vocab_size": 31923
|
37 |
+
}
|
MendoBERT/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:02be369efe492b058020bac52384b048af5aae4ae3babf5fe0bbc603fde11717
|
3 |
+
size 14575
|
MendoBERT/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6bc614ea6dc03b8a14708262b855c1be1ac6e10e78a0355f04071e38c401b086
|
3 |
+
size 627
|
MendoBERT/special_tokens_map.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cls_token": "[CLS]",
|
3 |
+
"mask_token": "[MASK]",
|
4 |
+
"pad_token": "[PAD]",
|
5 |
+
"sep_token": "[SEP]",
|
6 |
+
"unk_token": "[UNK]"
|
7 |
+
}
|
MendoBERT/tokenizer_config.json
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cls_token": "[CLS]",
|
3 |
+
"do_basic_tokenize": true,
|
4 |
+
"do_lower_case": true,
|
5 |
+
"mask_token": "[MASK]",
|
6 |
+
"model_max_length": 1000000000000000019884624838656,
|
7 |
+
"name_or_path": "indolem/indobert-base-uncased",
|
8 |
+
"never_split": null,
|
9 |
+
"pad_token": "[PAD]",
|
10 |
+
"sep_token": "[SEP]",
|
11 |
+
"special_tokens_map_file": "/root/.cache/huggingface/hub/models--indolem--indobert-base-uncased/snapshots/b6663c19a819c04798e7a93d681f9bc34ed57b4a/special_tokens_map.json",
|
12 |
+
"strip_accents": null,
|
13 |
+
"tokenize_chinese_chars": true,
|
14 |
+
"tokenizer_class": "BertTokenizer",
|
15 |
+
"unk_token": "[UNK]"
|
16 |
+
}
|
MendoBERT/trainer_state.json
ADDED
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.5050925612449646,
|
3 |
+
"best_model_checkpoint": "my_awesome_model/checkpoint-900",
|
4 |
+
"epoch": 3.0,
|
5 |
+
"global_step": 900,
|
6 |
+
"is_hyper_param_search": false,
|
7 |
+
"is_local_process_zero": true,
|
8 |
+
"is_world_process_zero": true,
|
9 |
+
"log_history": [
|
10 |
+
{
|
11 |
+
"epoch": 1.0,
|
12 |
+
"eval_accuracy": 0.7166979362101313,
|
13 |
+
"eval_f1": 0.7701674277016742,
|
14 |
+
"eval_loss": 0.5804960131645203,
|
15 |
+
"eval_precision": 0.6710875331564987,
|
16 |
+
"eval_recall": 0.9035714285714286,
|
17 |
+
"eval_runtime": 1.6694,
|
18 |
+
"eval_samples_per_second": 319.277,
|
19 |
+
"eval_steps_per_second": 20.367,
|
20 |
+
"step": 300
|
21 |
+
},
|
22 |
+
{
|
23 |
+
"epoch": 1.67,
|
24 |
+
"learning_rate": 2.5e-05,
|
25 |
+
"loss": 0.6088,
|
26 |
+
"step": 500
|
27 |
+
},
|
28 |
+
{
|
29 |
+
"epoch": 2.0,
|
30 |
+
"eval_accuracy": 0.7523452157598499,
|
31 |
+
"eval_f1": 0.7599999999999999,
|
32 |
+
"eval_loss": 0.5575453639030457,
|
33 |
+
"eval_precision": 0.774074074074074,
|
34 |
+
"eval_recall": 0.7464285714285714,
|
35 |
+
"eval_runtime": 1.6732,
|
36 |
+
"eval_samples_per_second": 318.551,
|
37 |
+
"eval_steps_per_second": 20.32,
|
38 |
+
"step": 600
|
39 |
+
},
|
40 |
+
{
|
41 |
+
"epoch": 3.0,
|
42 |
+
"eval_accuracy": 0.7654784240150094,
|
43 |
+
"eval_f1": 0.7877758913412564,
|
44 |
+
"eval_loss": 0.5050925612449646,
|
45 |
+
"eval_precision": 0.7508090614886731,
|
46 |
+
"eval_recall": 0.8285714285714286,
|
47 |
+
"eval_runtime": 1.6654,
|
48 |
+
"eval_samples_per_second": 320.051,
|
49 |
+
"eval_steps_per_second": 20.416,
|
50 |
+
"step": 900
|
51 |
+
}
|
52 |
+
],
|
53 |
+
"max_steps": 3000,
|
54 |
+
"num_train_epochs": 10,
|
55 |
+
"total_flos": 998375413452300.0,
|
56 |
+
"trial_name": null,
|
57 |
+
"trial_params": null
|
58 |
+
}
|
MendoBERT/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8a03e8f9095e13ed9593cb776e67052198f33dcfd86a51f04a894bbd65941379
|
3 |
+
size 3515
|
MendoBERT/vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|