akahana commited on
Commit
3a808d7
1 Parent(s): bc0476b

first commit

Browse files
config.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "akahana/indonesia-roberta-small",
3
+ "architectures": [
4
+ "RobertaForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 0,
8
+ "classifier_dropout": null,
9
+ "eos_token_id": 2,
10
+ "gradient_checkpointing": false,
11
+ "hidden_act": "gelu",
12
+ "hidden_dropout_prob": 0.1,
13
+ "hidden_size": 256,
14
+ "id2label": {
15
+ "0": "SEDIH",
16
+ "1": "MARAH",
17
+ "2": "CINTA",
18
+ "3": "TAKUT",
19
+ "4": "BAHAGIA"
20
+ },
21
+ "initializer_range": 0.02,
22
+ "intermediate_size": 1024,
23
+ "label2id": {
24
+ "SEDIH": 0,
25
+ "MARAH": 1,
26
+ "CINTA": 2,
27
+ "TAKUT": 3,
28
+ "BAHAGIA": 4
29
+ },
30
+ "layer_norm_eps": 1e-05,
31
+ "max_position_embeddings": 128,
32
+ "model_type": "roberta",
33
+ "num_attention_heads": 4,
34
+ "num_hidden_layers": 12,
35
+ "pad_token_id": 1,
36
+ "position_embedding_type": "absolute",
37
+ "problem_type": "single_label_classification",
38
+ "torch_dtype": "float32",
39
+ "transformers_version": "4.12.5",
40
+ "type_vocab_size": 1,
41
+ "use_cache": true,
42
+ "vocab_size": 50265
43
+ }
eval_results.txt ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ eval_loss = 1.1938421075994319
2
+ mcc = 0.4171890558712776
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
model_args.json ADDED
@@ -0,0 +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_epsilon": 1e-08, "best_model_dir": "outputs/best_model", "cache_dir": "./output/cache", "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": 3, "encoding": null, "eval_batch_size": 1, "evaluate_during_training": true, "evaluate_during_training_silent": true, "evaluate_during_training_steps": 2000, "evaluate_during_training_verbose": true, "evaluate_each_epoch": true, "fp16": true, "gradient_accumulation_steps": 1, "learning_rate": 3e-05, "local_rank": -1, "logging_steps": 50, "loss_type": null, "loss_args": {}, "manual_seed": 42, "max_grad_norm": 1.0, "max_seq_length": 120, "model_name": "akahana/indonesia-roberta-small", "model_type": "roberta", "multiprocessing_chunksize": -1, "n_gpu": 1, "no_cache": false, "no_save": false, "not_saved_args": [], "num_train_epochs": 200, "optimizer": "AdamW", "output_dir": "./output", "overwrite_output_dir": true, "polynomial_decay_schedule_lr_end": 1e-07, "polynomial_decay_schedule_power": 1.0, "process_count": 1, "quantized_model": false, "reprocess_input_data": true, "save_best_model": true, "save_eval_checkpoints": true, "save_model_every_epoch": true, "save_optimizer_and_scheduler": false, "save_steps": 2000, "scheduler": "linear_schedule_with_warmup", "silent": false, "skip_special_tokens": true, "tensorboard_dir": "./output/logs", "thread_count": null, "tokenizer_name": "akahana/indonesia-roberta-small", "tokenizer_type": null, "train_batch_size": 64, "train_custom_parameters_only": false, "use_cached_eval_features": false, "use_early_stopping": true, "use_hf_datasets": false, "use_multiprocessing": true, "use_multiprocessing_for_evaluation": true, "wandb_kwargs": {}, "wandb_project": null, "warmup_ratio": 0.06, "warmup_steps": 672, "weight_decay": 0.0, "model_class": "ClassificationModel", "labels_list": [0, 1, 2, 3, 4], "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}
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:094abc62a56b9caea7f34559d0628bc49438e3d0d28bec47863d90e0fc4729a5
3
+ size 89864557
special_tokens_map.json ADDED
@@ -0,0 +1 @@
 
 
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 ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"unk_token": "<unk>", "bos_token": "<s>", "eos_token": "</s>", "add_prefix_space": false, "errors": "replace", "sep_token": "</s>", "cls_token": "<s>", "pad_token": "<pad>", "mask_token": "<mask>", "special_tokens_map_file": null, "name_or_path": "akahana/indonesia-roberta-small", "do_lower_case": false, "tokenizer_class": "RobertaTokenizer"}
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fe78300b433f1ff5e93347f1a841555f9f285407c39763e9fd60043de36bb205
3
+ size 3183
training_progress_scores.csv ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ global_step,train_loss,mcc,eval_loss
2
+ 56,1.703125,-0.0019305380904196326,1.5958140980113635
3
+ 112,1.4873046875,0.005282590717631199,1.5764781605113636
4
+ 168,1.2998046875,0.11676109113057202,1.5544766512784092
5
+ 224,1.3544921875,0.14158701565344484,1.523138982599432
6
+ 280,1.173828125,0.20613957603262087,1.4820700905539772
7
+ 336,0.99462890625,0.280371305204426,1.375296297940341
8
+ 392,0.85400390625,0.31748112574302373,1.3328968394886365
9
+ 448,0.80224609375,0.3923794544700449,1.268456476384943
10
+ 504,0.87890625,0.4171646523395207,1.231695556640625
11
+ 560,0.43359375,0.4397805793731963,1.2022810502485795
12
+ 616,1.3134765625,0.4171890558712776,1.1938421075994319
13
+ 672,0.599609375,0.40775564601370196,1.2256167325106535
14
+ 728,0.2271728515625,0.42256508023959105,1.195064197887074
15
+ 784,1.126953125,0.4138079889042665,1.2281960227272728
16
+ 840,0.52783203125,0.4501827655037085,1.2430343627929688
17
+ 896,0.1387939453125,0.42081066882996965,1.2674077814275568
18
+ 952,0.1405029296875,0.42361303087220126,1.3108964399857954
19
+ 1008,1.3798828125,0.43090089141849447,1.3714685613458806
20
+ 1064,0.132080078125,0.39719076936342657,1.367802013050426
21
+ 1120,0.12353515625,0.42008997375928464,1.4051096135919745
vocab.json ADDED
The diff for this file is too large to render. See raw diff