sameearif commited on
Commit
48d29e4
·
verified ·
1 Parent(s): 49e0764

Model save

Browse files
README.md CHANGED
@@ -1,27 +1,27 @@
1
  ---
2
  library_name: transformers
3
- license: mit
4
- base_model: FacebookAI/roberta-large
5
  tags:
6
  - generated_from_trainer
7
  metrics:
8
  - accuracy
9
  - f1
10
  model-index:
11
- - name: roberta-large-csb
12
  results: []
13
  ---
14
 
15
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
16
  should probably proofread and complete it, then remove this comment. -->
17
 
18
- # roberta-large-csb
19
 
20
- This model is a fine-tuned version of [FacebookAI/roberta-large](https://huggingface.co/FacebookAI/roberta-large) on an unknown dataset.
21
  It achieves the following results on the evaluation set:
22
- - Loss: 0.4928
23
- - Accuracy: 0.8703
24
- - F1: 0.8701
25
 
26
  ## Model description
27
 
@@ -52,16 +52,16 @@ The following hyperparameters were used during training:
52
 
53
  | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
54
  |:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|
55
- | 0.4257 | 1.0 | 455 | 0.4663 | 0.7956 | 0.7887 |
56
- | 0.3337 | 2.0 | 910 | 0.3817 | 0.8549 | 0.8549 |
57
- | 0.3542 | 3.0 | 1365 | 0.4928 | 0.8703 | 0.8701 |
58
- | 0.2674 | 4.0 | 1820 | 0.6630 | 0.8615 | 0.8616 |
59
- | 0.0791 | 5.0 | 2275 | 0.8964 | 0.8615 | 0.8612 |
60
- | 0.0331 | 6.0 | 2730 | 1.1715 | 0.8352 | 0.8327 |
61
- | 0.0427 | 7.0 | 3185 | 1.1071 | 0.8637 | 0.8638 |
62
- | 0.0002 | 8.0 | 3640 | 1.1752 | 0.8615 | 0.8616 |
63
- | 0.0001 | 9.0 | 4095 | 1.2017 | 0.8637 | 0.8637 |
64
- | 0.037 | 10.0 | 4550 | 1.2238 | 0.8637 | 0.8637 |
65
 
66
 
67
  ### Framework versions
 
1
  ---
2
  library_name: transformers
3
+ license: apache-2.0
4
+ base_model: google-bert/bert-large-uncased
5
  tags:
6
  - generated_from_trainer
7
  metrics:
8
  - accuracy
9
  - f1
10
  model-index:
11
+ - name: bert-large-csb
12
  results: []
13
  ---
14
 
15
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
16
  should probably proofread and complete it, then remove this comment. -->
17
 
18
+ # bert-large-csb
19
 
20
+ This model is a fine-tuned version of [google-bert/bert-large-uncased](https://huggingface.co/google-bert/bert-large-uncased) on an unknown dataset.
21
  It achieves the following results on the evaluation set:
22
+ - Loss: 0.5239
23
+ - Accuracy: 0.8637
24
+ - F1: 0.8638
25
 
26
  ## Model description
27
 
 
52
 
53
  | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
54
  |:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|
55
+ | 0.4506 | 1.0 | 455 | 0.4215 | 0.7890 | 0.7831 |
56
+ | 0.2919 | 2.0 | 910 | 0.4337 | 0.8505 | 0.8505 |
57
+ | 0.3034 | 3.0 | 1365 | 0.5239 | 0.8637 | 0.8638 |
58
+ | 0.2416 | 4.0 | 1820 | 0.5891 | 0.8527 | 0.8527 |
59
+ | 0.0793 | 5.0 | 2275 | 0.8805 | 0.8374 | 0.8371 |
60
+ | 0.0385 | 6.0 | 2730 | 1.1213 | 0.8396 | 0.8384 |
61
+ | 0.0215 | 7.0 | 3185 | 1.1417 | 0.8440 | 0.8437 |
62
+ | 0.0001 | 8.0 | 3640 | 1.3328 | 0.8484 | 0.8482 |
63
+ | 0.0001 | 9.0 | 4095 | 1.3534 | 0.8418 | 0.8416 |
64
+ | 0.0165 | 10.0 | 4550 | 1.4137 | 0.8418 | 0.8415 |
65
 
66
 
67
  ### Framework versions
bert-large-uncased_best/config.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "BertForSequenceClassification"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.1,
6
+ "classifier_dropout": null,
7
+ "dtype": "float32",
8
+ "gradient_checkpointing": false,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 1024,
12
+ "id2label": {
13
+ "0": "Rejected",
14
+ "1": "Accepted"
15
+ },
16
+ "initializer_range": 0.02,
17
+ "intermediate_size": 4096,
18
+ "label2id": {
19
+ "Accepted": 1,
20
+ "Rejected": 0
21
+ },
22
+ "layer_norm_eps": 1e-12,
23
+ "max_position_embeddings": 512,
24
+ "model_type": "bert",
25
+ "num_attention_heads": 16,
26
+ "num_hidden_layers": 24,
27
+ "pad_token_id": 0,
28
+ "position_embedding_type": "absolute",
29
+ "problem_type": "single_label_classification",
30
+ "transformers_version": "4.57.3",
31
+ "type_vocab_size": 2,
32
+ "use_cache": true,
33
+ "vocab_size": 30522
34
+ }
bert-large-uncased_best/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:426c4e9a0a2490149e1fc026871b3f1e54946f71fa41f6edc6b397c626139b00
3
+ size 1340622760
bert-large-uncased_best/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
+ }
bert-large-uncased_best/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
bert-large-uncased_best/tokenizer_config.json ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "[PAD]",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "100": {
12
+ "content": "[UNK]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "101": {
20
+ "content": "[CLS]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "102": {
28
+ "content": "[SEP]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "103": {
36
+ "content": "[MASK]",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "clean_up_tokenization_spaces": false,
45
+ "cls_token": "[CLS]",
46
+ "do_lower_case": true,
47
+ "extra_special_tokens": {},
48
+ "mask_token": "[MASK]",
49
+ "model_max_length": 512,
50
+ "pad_token": "[PAD]",
51
+ "sep_token": "[SEP]",
52
+ "strip_accents": null,
53
+ "tokenize_chinese_chars": true,
54
+ "tokenizer_class": "BertTokenizer",
55
+ "unk_token": "[UNK]"
56
+ }
bert-large-uncased_best/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:553e61d724fc0884b0f9eb7c628a2a275cb4f93f4def704b76307450f074c4ef
3
+ size 5432
bert-large-uncased_best/vocab.txt ADDED
The diff for this file is too large to render. See raw diff
 
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:634f22e086d642b6ccbed9363ec7e29841eb80abf1bf4b38a10a840daa9567a0
3
  size 1340622760
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:426c4e9a0a2490149e1fc026871b3f1e54946f71fa41f6edc6b397c626139b00
3
  size 1340622760