Mavidart commited on
Commit
24e964a
·
verified ·
1 Parent(s): c0de48b

Training complete

Browse files
Files changed (7) hide show
  1. README.md +15 -16
  2. config.json +9 -5
  3. model.safetensors +2 -2
  4. tokenizer.json +0 -0
  5. tokenizer_config.json +14 -12
  6. training_args.bin +1 -1
  7. vocab.txt +0 -0
README.md CHANGED
@@ -1,7 +1,6 @@
1
  ---
2
  library_name: transformers
3
- license: apache-2.0
4
- base_model: bert-base-uncased
5
  tags:
6
  - classification
7
  - generated_from_trainer
@@ -17,10 +16,10 @@ should probably proofread and complete it, then remove this comment. -->
17
 
18
  # chat-prompts
19
 
20
- This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on an unknown dataset.
21
  It achieves the following results on the evaluation set:
22
- - Loss: 4.1966
23
- - Accuracy: 0.4471
24
 
25
  ## Model description
26
 
@@ -51,21 +50,21 @@ The following hyperparameters were used during training:
51
 
52
  | Training Loss | Epoch | Step | Validation Loss | Accuracy |
53
  |:-------------:|:-----:|:----:|:---------------:|:--------:|
54
- | No log | 1.0 | 22 | 5.1516 | 0.0059 |
55
- | No log | 2.0 | 44 | 4.9859 | 0.0235 |
56
- | No log | 3.0 | 66 | 4.8969 | 0.0235 |
57
- | No log | 4.0 | 88 | 4.7226 | 0.1118 |
58
- | No log | 5.0 | 110 | 4.5940 | 0.1235 |
59
- | No log | 6.0 | 132 | 4.4824 | 0.2176 |
60
- | No log | 7.0 | 154 | 4.3730 | 0.2824 |
61
- | No log | 8.0 | 176 | 4.2695 | 0.3824 |
62
- | No log | 9.0 | 198 | 4.2165 | 0.4353 |
63
- | No log | 10.0 | 220 | 4.1966 | 0.4471 |
64
 
65
 
66
  ### Framework versions
67
 
68
  - Transformers 4.47.0
69
- - Pytorch 2.5.1+cu121
70
  - Datasets 3.2.0
71
  - Tokenizers 0.21.0
 
1
  ---
2
  library_name: transformers
3
+ base_model: mrm8488/electricidad-base-discriminator
 
4
  tags:
5
  - classification
6
  - generated_from_trainer
 
16
 
17
  # chat-prompts
18
 
19
+ This model is a fine-tuned version of [mrm8488/electricidad-base-discriminator](https://huggingface.co/mrm8488/electricidad-base-discriminator) on an unknown dataset.
20
  It achieves the following results on the evaluation set:
21
+ - Loss: 4.8844
22
+ - Accuracy: 0.1647
23
 
24
  ## Model description
25
 
 
50
 
51
  | Training Loss | Epoch | Step | Validation Loss | Accuracy |
52
  |:-------------:|:-----:|:----:|:---------------:|:--------:|
53
+ | No log | 1.0 | 22 | 5.1285 | 0.0059 |
54
+ | No log | 2.0 | 44 | 5.1238 | 0.0118 |
55
+ | No log | 3.0 | 66 | 5.1159 | 0.0118 |
56
+ | No log | 4.0 | 88 | 5.0894 | 0.0118 |
57
+ | No log | 5.0 | 110 | 5.0602 | 0.0176 |
58
+ | No log | 6.0 | 132 | 5.0048 | 0.0294 |
59
+ | No log | 7.0 | 154 | 4.9572 | 0.0706 |
60
+ | No log | 8.0 | 176 | 4.9201 | 0.0941 |
61
+ | No log | 9.0 | 198 | 4.8930 | 0.1294 |
62
+ | No log | 10.0 | 220 | 4.8844 | 0.1647 |
63
 
64
 
65
  ### Framework versions
66
 
67
  - Transformers 4.47.0
68
+ - Pytorch 2.5.1+cu124
69
  - Datasets 3.2.0
70
  - Tokenizers 0.21.0
config.json CHANGED
@@ -1,11 +1,11 @@
1
  {
2
- "_name_or_path": "bert-base-uncased",
3
  "architectures": [
4
- "BertForSequenceClassification"
5
  ],
6
  "attention_probs_dropout_prob": 0.1,
7
  "classifier_dropout": null,
8
- "gradient_checkpointing": false,
9
  "hidden_act": "gelu",
10
  "hidden_dropout_prob": 0.1,
11
  "hidden_size": 768,
@@ -355,15 +355,19 @@
355
  },
356
  "layer_norm_eps": 1e-12,
357
  "max_position_embeddings": 512,
358
- "model_type": "bert",
359
  "num_attention_heads": 12,
360
  "num_hidden_layers": 12,
361
  "pad_token_id": 0,
362
  "position_embedding_type": "absolute",
363
  "problem_type": "single_label_classification",
 
 
 
 
364
  "torch_dtype": "float32",
365
  "transformers_version": "4.47.0",
366
  "type_vocab_size": 2,
367
  "use_cache": true,
368
- "vocab_size": 30522
369
  }
 
1
  {
2
+ "_name_or_path": "mrm8488/electricidad-base-discriminator",
3
  "architectures": [
4
+ "ElectraForSequenceClassification"
5
  ],
6
  "attention_probs_dropout_prob": 0.1,
7
  "classifier_dropout": null,
8
+ "embedding_size": 768,
9
  "hidden_act": "gelu",
10
  "hidden_dropout_prob": 0.1,
11
  "hidden_size": 768,
 
355
  },
356
  "layer_norm_eps": 1e-12,
357
  "max_position_embeddings": 512,
358
+ "model_type": "electra",
359
  "num_attention_heads": 12,
360
  "num_hidden_layers": 12,
361
  "pad_token_id": 0,
362
  "position_embedding_type": "absolute",
363
  "problem_type": "single_label_classification",
364
+ "summary_activation": "gelu",
365
+ "summary_last_dropout": 0.1,
366
+ "summary_type": "first",
367
+ "summary_use_proj": true,
368
  "torch_dtype": "float32",
369
  "transformers_version": "4.47.0",
370
  "type_vocab_size": 2,
371
  "use_cache": true,
372
+ "vocab_size": 31002
373
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:9940cb5c93dceebd52cdc4da91a0904950bfe226ed2779d003cab3218d8bc717
3
- size 438472340
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aa9983a57965077200b57c2d0a75fcb4fa0d40108fee763e82bb370ec76b9c7d
3
+ size 439947500
tokenizer.json CHANGED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json CHANGED
@@ -1,39 +1,39 @@
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,
@@ -41,16 +41,18 @@
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
  }
 
1
  {
2
  "added_tokens_decoder": {
3
  "0": {
4
+ "content": "[MASK]",
5
  "lstrip": false,
6
  "normalized": false,
7
  "rstrip": false,
8
  "single_word": false,
9
  "special": true
10
  },
11
+ "1": {
12
+ "content": "[PAD]",
13
  "lstrip": false,
14
  "normalized": false,
15
  "rstrip": false,
16
  "single_word": false,
17
  "special": true
18
  },
19
+ "3": {
20
+ "content": "[UNK]",
21
  "lstrip": false,
22
  "normalized": false,
23
  "rstrip": false,
24
  "single_word": false,
25
  "special": true
26
  },
27
+ "4": {
28
+ "content": "[CLS]",
29
  "lstrip": false,
30
  "normalized": false,
31
  "rstrip": false,
32
  "single_word": false,
33
  "special": true
34
  },
35
+ "5": {
36
+ "content": "[SEP]",
37
  "lstrip": false,
38
  "normalized": false,
39
  "rstrip": false,
 
41
  "special": true
42
  }
43
  },
44
+ "clean_up_tokenization_spaces": true,
45
  "cls_token": "[CLS]",
46
+ "do_basic_tokenize": true,
47
  "do_lower_case": true,
48
  "extra_special_tokens": {},
49
  "mask_token": "[MASK]",
50
+ "model_max_length": 1000000000000000019884624838656,
51
+ "never_split": null,
52
  "pad_token": "[PAD]",
53
  "sep_token": "[SEP]",
54
  "strip_accents": null,
55
  "tokenize_chinese_chars": true,
56
+ "tokenizer_class": "ElectraTokenizer",
57
  "unk_token": "[UNK]"
58
  }
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:feb93df72fdc84ca6dcf11cedf6471d14c0f1f43e26a31bace1b83a0ae3578bf
3
  size 5304
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:66bfc2d5202dfd51fdfc4df0477042812da0d71dd6d659b8a772fc0cb4222b0e
3
  size 5304
vocab.txt CHANGED
The diff for this file is too large to render. See raw diff