kaantureyyen commited on
Commit
2723b76
·
verified ·
1 Parent(s): a6a2152

Upload 7 files

Browse files
Files changed (7) hide show
  1. config.json +37 -0
  2. model.safetensors +3 -0
  3. optimizer.pt +3 -0
  4. rng_state.pth +3 -0
  5. scheduler.pt +3 -0
  6. trainer_state.json +54 -0
  7. training_args.bin +3 -0
config.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "nlpaueb/legal-bert-base-uncased",
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": "fair",
15
+ "1": "unfair"
16
+ },
17
+ "initializer_range": 0.02,
18
+ "intermediate_size": 3072,
19
+ "label2id": {
20
+ "fair": 0,
21
+ "unfair": 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.46.2",
34
+ "type_vocab_size": 2,
35
+ "use_cache": true,
36
+ "vocab_size": 30522
37
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b95ef629a9ad4444908a3495277b50551b67ee7dbd26c958c01db07a762e46db
3
+ size 437958648
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b409e5e913e7d6e5139cbe8ef094bd29692b845adc47572462de1f7b76babad5
3
+ size 876038394
rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b47ccc270578dfa4b17fde23aa6595c69b9a7abd485d1f92186555ad440e6502
3
+ size 14244
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:893f62fc9d2d6736205403a59790c8216cb2996ddcd8dc0a6f1a64e3333039fd
3
+ size 1064
trainer_state.json ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.9094800950901479,
3
+ "best_model_checkpoint": "model_checkpoint/fine-tuned_legalbert_fair-unfair/checkpoint-261",
4
+ "epoch": 0.999043062200957,
5
+ "eval_steps": 500,
6
+ "global_step": 261,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 0.999043062200957,
13
+ "eval_accuracy": 0.8990216209687161,
14
+ "eval_f1": 0.9094800950901479,
15
+ "eval_loss": 0.2566342055797577,
16
+ "eval_precision": 0.9323265263688336,
17
+ "eval_recall": 0.8990216209687161,
18
+ "eval_runtime": 895.4955,
19
+ "eval_samples_per_second": 9.245,
20
+ "eval_steps_per_second": 0.578,
21
+ "step": 261
22
+ }
23
+ ],
24
+ "logging_steps": 500,
25
+ "max_steps": 783,
26
+ "num_input_tokens_seen": 0,
27
+ "num_train_epochs": 3,
28
+ "save_steps": 500,
29
+ "stateful_callbacks": {
30
+ "EarlyStoppingCallback": {
31
+ "args": {
32
+ "early_stopping_patience": 2,
33
+ "early_stopping_threshold": 0.01
34
+ },
35
+ "attributes": {
36
+ "early_stopping_patience_counter": 0
37
+ }
38
+ },
39
+ "TrainerControl": {
40
+ "args": {
41
+ "should_epoch_stop": false,
42
+ "should_evaluate": false,
43
+ "should_log": false,
44
+ "should_save": true,
45
+ "should_training_stop": false
46
+ },
47
+ "attributes": {}
48
+ }
49
+ },
50
+ "total_flos": 1099014878238720.0,
51
+ "train_batch_size": 8,
52
+ "trial_name": null,
53
+ "trial_params": null
54
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:07ae4da02d519fd37190c10504631e3b47cf03adf97813ecc819a5b4c445c7d1
3
+ size 5304