BogdanTurbal commited on
Commit
eb0d2b9
1 Parent(s): 4bfe9c0

End of training

Browse files
README.md ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ base_model: BogdanTurbal/model_gpt2_large_d_gender_bias_ep_1_sqn_a_p_100_v_9
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
+ model-index:
9
+ - name: model_gpt2_large_d_gender_bias_hate_bias_ep_1_a_sqn_a_b_p_100_3_v_9
10
+ results: []
11
+ ---
12
+
13
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
14
+ should probably proofread and complete it, then remove this comment. -->
15
+
16
+ # model_gpt2_large_d_gender_bias_hate_bias_ep_1_a_sqn_a_b_p_100_3_v_9
17
+
18
+ This model is a fine-tuned version of [BogdanTurbal/model_gpt2_large_d_gender_bias_ep_1_sqn_a_p_100_v_9](https://huggingface.co/BogdanTurbal/model_gpt2_large_d_gender_bias_ep_1_sqn_a_p_100_v_9) on an unknown dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 0.7395
21
+ - Balanced Accuracy: 0.8199
22
+ - Accuracy: 0.8199
23
+ - F1 Micro: 0.8199
24
+ - F1 Macro: 0.8199
25
+ - Precision Micro: 0.8199
26
+ - Precision Macro: 0.8199
27
+ - Recall Micro: 0.8199
28
+ - Recall Macro: 0.8199
29
+ - Auc: 0.9052
30
+
31
+ ## Model description
32
+
33
+ More information needed
34
+
35
+ ## Intended uses & limitations
36
+
37
+ More information needed
38
+
39
+ ## Training and evaluation data
40
+
41
+ More information needed
42
+
43
+ ## Training procedure
44
+
45
+ ### Training hyperparameters
46
+
47
+ The following hyperparameters were used during training:
48
+ - learning_rate: 2e-05
49
+ - train_batch_size: 8
50
+ - eval_batch_size: 64
51
+ - seed: 42
52
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
53
+ - lr_scheduler_type: linear
54
+ - num_epochs: 4
55
+
56
+ ### Training results
57
+
58
+ | Training Loss | Epoch | Step | Validation Loss | Balanced Accuracy | Accuracy | F1 Micro | F1 Macro | Precision Micro | Precision Macro | Recall Micro | Recall Macro | Auc |
59
+ |:-------------:|:-----:|:----:|:---------------:|:-----------------:|:--------:|:--------:|:--------:|:---------------:|:---------------:|:------------:|:------------:|:------:|
60
+ | 0.7497 | 1.0 | 46 | 0.4263 | 0.8092 | 0.8092 | 0.8092 | 0.8090 | 0.8092 | 0.8104 | 0.8092 | 0.8092 | 0.8927 |
61
+ | 0.1717 | 2.0 | 92 | 0.5743 | 0.8174 | 0.8174 | 0.8174 | 0.8174 | 0.8174 | 0.8179 | 0.8174 | 0.8174 | 0.9053 |
62
+ | 0.0239 | 3.0 | 138 | 0.7343 | 0.8191 | 0.8191 | 0.8191 | 0.8190 | 0.8191 | 0.8199 | 0.8191 | 0.8191 | 0.9054 |
63
+ | 0.0011 | 4.0 | 184 | 0.7395 | 0.8199 | 0.8199 | 0.8199 | 0.8199 | 0.8199 | 0.8199 | 0.8199 | 0.8199 | 0.9052 |
64
+
65
+
66
+ ### Framework versions
67
+
68
+ - Transformers 4.42.4
69
+ - Pytorch 2.3.1+cu121
70
+ - Datasets 2.20.0
71
+ - Tokenizers 0.19.1
config.json ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "BogdanTurbal/model_gpt2_large_d_gender_bias_ep_1_sqn_a_p_100_v_9",
3
+ "activation_function": "gelu_new",
4
+ "architectures": [
5
+ "GPT2ForSequenceClassification"
6
+ ],
7
+ "attn_pdrop": 0.1,
8
+ "bos_token_id": 50256,
9
+ "embd_pdrop": 0.1,
10
+ "eos_token_id": 50256,
11
+ "initializer_range": 0.02,
12
+ "layer_norm_epsilon": 1e-05,
13
+ "model_type": "gpt2",
14
+ "n_ctx": 1024,
15
+ "n_embd": 1280,
16
+ "n_head": 20,
17
+ "n_inner": null,
18
+ "n_layer": 36,
19
+ "n_positions": 1024,
20
+ "pad_token_id": 50256,
21
+ "problem_type": "single_label_classification",
22
+ "reorder_and_upcast_attn": false,
23
+ "resid_pdrop": 0.1,
24
+ "scale_attn_by_inverse_layer_idx": false,
25
+ "scale_attn_weights": true,
26
+ "summary_activation": null,
27
+ "summary_first_dropout": 0.1,
28
+ "summary_proj_to_labels": true,
29
+ "summary_type": "cls_index",
30
+ "summary_use_proj": true,
31
+ "task_specific_params": {
32
+ "text-generation": {
33
+ "do_sample": true,
34
+ "max_length": 50
35
+ }
36
+ },
37
+ "torch_dtype": "float32",
38
+ "transformers_version": "4.42.4",
39
+ "use_cache": true,
40
+ "vocab_size": 50257
41
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9e1cdd45fc10cb2d209461358b90ff84d03862e0d031dfd8c92b0dc8ecc90ccf
3
+ size 3096176248
special_tokens_map.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "<|endoftext|>",
3
+ "eos_token": "<|endoftext|>",
4
+ "pad_token": "<|endoftext|>",
5
+ "unk_token": "<|endoftext|>"
6
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "added_tokens_decoder": {
4
+ "50256": {
5
+ "content": "<|endoftext|>",
6
+ "lstrip": false,
7
+ "normalized": true,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ }
12
+ },
13
+ "bos_token": "<|endoftext|>",
14
+ "clean_up_tokenization_spaces": true,
15
+ "eos_token": "<|endoftext|>",
16
+ "model_max_length": 1024,
17
+ "pad_token": "<|endoftext|>",
18
+ "tokenizer_class": "GPT2Tokenizer",
19
+ "unk_token": "<|endoftext|>"
20
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c00c7e889c07a14fef9dcbc06452dc7466a6d71846832269936d02baec58197e
3
+ size 5240
vocab.json ADDED
The diff for this file is too large to render. See raw diff