End of training
Browse files- README.md +111 -0
- config.json +34 -0
- model.safetensors +3 -0
- runs/Jun10_23-01-17_AM-F3QHW9HCXG/events.out.tfevents.1749614509.AM-F3QHW9HCXG.82781.0 +3 -0
- special_tokens_map.json +7 -0
- tokenizer.json +0 -0
- tokenizer_config.json +56 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
README.md
ADDED
|
@@ -0,0 +1,111 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: transformers
|
| 3 |
+
license: apache-2.0
|
| 4 |
+
base_model: google-bert/bert-base-uncased
|
| 5 |
+
tags:
|
| 6 |
+
- generated_from_trainer
|
| 7 |
+
metrics:
|
| 8 |
+
- accuracy
|
| 9 |
+
model-index:
|
| 10 |
+
- name: bert-bias-classifier_teacher
|
| 11 |
+
results: []
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 15 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 16 |
+
|
| 17 |
+
# bert-bias-classifier_teacher
|
| 18 |
+
|
| 19 |
+
This model is a fine-tuned version of [google-bert/bert-base-uncased](https://huggingface.co/google-bert/bert-base-uncased) on an unknown dataset.
|
| 20 |
+
It achieves the following results on the evaluation set:
|
| 21 |
+
- Loss: 0.0000
|
| 22 |
+
- Accuracy: 1.0
|
| 23 |
+
- Auc: 1.0
|
| 24 |
+
|
| 25 |
+
## Model description
|
| 26 |
+
|
| 27 |
+
More information needed
|
| 28 |
+
|
| 29 |
+
## Intended uses & limitations
|
| 30 |
+
|
| 31 |
+
More information needed
|
| 32 |
+
|
| 33 |
+
## Training and evaluation data
|
| 34 |
+
|
| 35 |
+
More information needed
|
| 36 |
+
|
| 37 |
+
## Training procedure
|
| 38 |
+
|
| 39 |
+
### Training hyperparameters
|
| 40 |
+
|
| 41 |
+
The following hyperparameters were used during training:
|
| 42 |
+
- learning_rate: 0.0002
|
| 43 |
+
- train_batch_size: 10
|
| 44 |
+
- eval_batch_size: 10
|
| 45 |
+
- seed: 42
|
| 46 |
+
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 47 |
+
- lr_scheduler_type: linear
|
| 48 |
+
- num_epochs: 50
|
| 49 |
+
|
| 50 |
+
### Training results
|
| 51 |
+
|
| 52 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Auc |
|
| 53 |
+
|:-------------:|:-----:|:-----:|:---------------:|:--------:|:---:|
|
| 54 |
+
| 0.0374 | 1.0 | 1260 | 0.0003 | 1.0 | 1.0 |
|
| 55 |
+
| 0.0074 | 2.0 | 2520 | 0.0011 | 1.0 | 1.0 |
|
| 56 |
+
| 0.0081 | 3.0 | 3780 | 0.0000 | 1.0 | 1.0 |
|
| 57 |
+
| 0.0085 | 4.0 | 5040 | 0.0000 | 1.0 | 1.0 |
|
| 58 |
+
| 0.0057 | 5.0 | 6300 | 0.0005 | 1.0 | 1.0 |
|
| 59 |
+
| 0.0091 | 6.0 | 7560 | 0.0000 | 1.0 | 1.0 |
|
| 60 |
+
| 0.0057 | 7.0 | 8820 | 0.0000 | 1.0 | 1.0 |
|
| 61 |
+
| 0.0062 | 8.0 | 10080 | 0.0000 | 1.0 | 1.0 |
|
| 62 |
+
| 0.0057 | 9.0 | 11340 | 0.0000 | 1.0 | 1.0 |
|
| 63 |
+
| 0.0054 | 10.0 | 12600 | 0.0000 | 1.0 | 1.0 |
|
| 64 |
+
| 0.0032 | 11.0 | 13860 | 0.0000 | 1.0 | 1.0 |
|
| 65 |
+
| 0.0066 | 12.0 | 15120 | 0.0000 | 1.0 | 1.0 |
|
| 66 |
+
| 0.0046 | 13.0 | 16380 | 0.0000 | 1.0 | 1.0 |
|
| 67 |
+
| 0.0045 | 14.0 | 17640 | 0.0000 | 1.0 | 1.0 |
|
| 68 |
+
| 0.0046 | 15.0 | 18900 | 0.0000 | 1.0 | 1.0 |
|
| 69 |
+
| 0.0019 | 16.0 | 20160 | 0.0000 | 1.0 | 1.0 |
|
| 70 |
+
| 0.0039 | 17.0 | 21420 | 0.0000 | 1.0 | 1.0 |
|
| 71 |
+
| 0.0051 | 18.0 | 22680 | 0.0005 | 1.0 | 1.0 |
|
| 72 |
+
| 0.0044 | 19.0 | 23940 | 0.0001 | 1.0 | 1.0 |
|
| 73 |
+
| 0.0035 | 20.0 | 25200 | 0.0000 | 1.0 | 1.0 |
|
| 74 |
+
| 0.0038 | 21.0 | 26460 | 0.0000 | 1.0 | 1.0 |
|
| 75 |
+
| 0.0035 | 22.0 | 27720 | 0.0000 | 1.0 | 1.0 |
|
| 76 |
+
| 0.0033 | 23.0 | 28980 | 0.0000 | 1.0 | 1.0 |
|
| 77 |
+
| 0.0019 | 24.0 | 30240 | 0.0000 | 1.0 | 1.0 |
|
| 78 |
+
| 0.0012 | 25.0 | 31500 | 0.0000 | 1.0 | 1.0 |
|
| 79 |
+
| 0.0044 | 26.0 | 32760 | 0.0000 | 1.0 | 1.0 |
|
| 80 |
+
| 0.0023 | 27.0 | 34020 | 0.0000 | 1.0 | 1.0 |
|
| 81 |
+
| 0.0021 | 28.0 | 35280 | 0.0000 | 1.0 | 1.0 |
|
| 82 |
+
| 0.0017 | 29.0 | 36540 | 0.0000 | 1.0 | 1.0 |
|
| 83 |
+
| 0.0018 | 30.0 | 37800 | 0.0000 | 1.0 | 1.0 |
|
| 84 |
+
| 0.0039 | 31.0 | 39060 | 0.0000 | 1.0 | 1.0 |
|
| 85 |
+
| 0.0033 | 32.0 | 40320 | 0.0000 | 1.0 | 1.0 |
|
| 86 |
+
| 0.0018 | 33.0 | 41580 | 0.0000 | 1.0 | 1.0 |
|
| 87 |
+
| 0.0019 | 34.0 | 42840 | 0.0000 | 1.0 | 1.0 |
|
| 88 |
+
| 0.0033 | 35.0 | 44100 | 0.0000 | 1.0 | 1.0 |
|
| 89 |
+
| 0.0018 | 36.0 | 45360 | 0.0000 | 1.0 | 1.0 |
|
| 90 |
+
| 0.0024 | 37.0 | 46620 | 0.0000 | 1.0 | 1.0 |
|
| 91 |
+
| 0.0017 | 38.0 | 47880 | 0.0000 | 1.0 | 1.0 |
|
| 92 |
+
| 0.0017 | 39.0 | 49140 | 0.0000 | 1.0 | 1.0 |
|
| 93 |
+
| 0.0013 | 40.0 | 50400 | 0.0000 | 1.0 | 1.0 |
|
| 94 |
+
| 0.0005 | 41.0 | 51660 | 0.0000 | 1.0 | 1.0 |
|
| 95 |
+
| 0.002 | 42.0 | 52920 | 0.0000 | 1.0 | 1.0 |
|
| 96 |
+
| 0.0021 | 43.0 | 54180 | 0.0000 | 1.0 | 1.0 |
|
| 97 |
+
| 0.003 | 44.0 | 55440 | 0.0000 | 1.0 | 1.0 |
|
| 98 |
+
| 0.0021 | 45.0 | 56700 | 0.0000 | 1.0 | 1.0 |
|
| 99 |
+
| 0.0006 | 46.0 | 57960 | 0.0000 | 1.0 | 1.0 |
|
| 100 |
+
| 0.0015 | 47.0 | 59220 | 0.0000 | 1.0 | 1.0 |
|
| 101 |
+
| 0.0007 | 48.0 | 60480 | 0.0000 | 1.0 | 1.0 |
|
| 102 |
+
| 0.0017 | 49.0 | 61740 | 0.0000 | 1.0 | 1.0 |
|
| 103 |
+
| 0.0007 | 50.0 | 63000 | 0.0000 | 1.0 | 1.0 |
|
| 104 |
+
|
| 105 |
+
|
| 106 |
+
### Framework versions
|
| 107 |
+
|
| 108 |
+
- Transformers 4.51.3
|
| 109 |
+
- Pytorch 2.7.1
|
| 110 |
+
- Datasets 3.6.0
|
| 111 |
+
- Tokenizers 0.21.1
|
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 |
+
"gradient_checkpointing": false,
|
| 8 |
+
"hidden_act": "gelu",
|
| 9 |
+
"hidden_dropout_prob": 0.1,
|
| 10 |
+
"hidden_size": 768,
|
| 11 |
+
"id2label": {
|
| 12 |
+
"0": "Unbiased",
|
| 13 |
+
"1": "Biased"
|
| 14 |
+
},
|
| 15 |
+
"initializer_range": 0.02,
|
| 16 |
+
"intermediate_size": 3072,
|
| 17 |
+
"label2id": {
|
| 18 |
+
"Biased": 1,
|
| 19 |
+
"Unbiased": 0
|
| 20 |
+
},
|
| 21 |
+
"layer_norm_eps": 1e-12,
|
| 22 |
+
"max_position_embeddings": 512,
|
| 23 |
+
"model_type": "bert",
|
| 24 |
+
"num_attention_heads": 12,
|
| 25 |
+
"num_hidden_layers": 12,
|
| 26 |
+
"pad_token_id": 0,
|
| 27 |
+
"position_embedding_type": "absolute",
|
| 28 |
+
"problem_type": "single_label_classification",
|
| 29 |
+
"torch_dtype": "float32",
|
| 30 |
+
"transformers_version": "4.51.3",
|
| 31 |
+
"type_vocab_size": 2,
|
| 32 |
+
"use_cache": true,
|
| 33 |
+
"vocab_size": 30522
|
| 34 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:83f3f38f82b4500183d9c3063d1b4eb21fbca5c1cb304195472c054891f57686
|
| 3 |
+
size 437958648
|
runs/Jun10_23-01-17_AM-F3QHW9HCXG/events.out.tfevents.1749614509.AM-F3QHW9HCXG.82781.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:742378dad474fd89661bc85611c27ba63312ea3e8d7242eff1e9062a055e727c
|
| 3 |
+
size 34927
|
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 |
+
}
|
tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
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 |
+
}
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:177dd820ae473bb5b3825af2b1c39789b52563231681f965ff9dc74e2d69ee89
|
| 3 |
+
size 5713
|
vocab.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|