Saving model gmra_google-bert/bert-base-uncased_12112024T103207
Browse files- README.md +95 -0
- config.json +43 -0
- model.safetensors +3 -0
- runs/Nov12_05-02-07_3e71c030542d/events.out.tfevents.1731387735.3e71c030542d.617.0 +3 -0
- runs/Nov12_05-02-07_3e71c030542d/events.out.tfevents.1731391002.3e71c030542d.617.1 +3 -0
- special_tokens_map.json +7 -0
- tokenizer.json +0 -0
- tokenizer_config.json +55 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
README.md
ADDED
@@ -0,0 +1,95 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
- f1
|
9 |
+
model-index:
|
10 |
+
- name: bert-base-uncased_12112024T103207
|
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-base-uncased_12112024T103207
|
18 |
+
|
19 |
+
This model is a fine-tuned version of [google-bert/bert-base-uncased](https://huggingface.co/google-bert/bert-base-uncased) on the None dataset.
|
20 |
+
It achieves the following results on the evaluation set:
|
21 |
+
- Loss: 0.4280
|
22 |
+
- F1: 0.8755
|
23 |
+
- Learning Rate: 0.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: 1e-05
|
43 |
+
- train_batch_size: 8
|
44 |
+
- eval_batch_size: 8
|
45 |
+
- seed: 42
|
46 |
+
- gradient_accumulation_steps: 4
|
47 |
+
- total_train_batch_size: 32
|
48 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
49 |
+
- lr_scheduler_type: cosine
|
50 |
+
- lr_scheduler_warmup_steps: 600
|
51 |
+
- num_epochs: 30
|
52 |
+
- mixed_precision_training: Native AMP
|
53 |
+
|
54 |
+
### Training results
|
55 |
+
|
56 |
+
| Training Loss | Epoch | Step | Validation Loss | F1 | Rate |
|
57 |
+
|:-------------:|:-------:|:----:|:---------------:|:------:|:------:|
|
58 |
+
| No log | 0.9942 | 86 | 1.7552 | 0.1858 | 0.0000 |
|
59 |
+
| No log | 2.0 | 173 | 1.6269 | 0.3187 | 0.0000 |
|
60 |
+
| No log | 2.9942 | 259 | 1.4885 | 0.4438 | 0.0000 |
|
61 |
+
| No log | 4.0 | 346 | 1.3478 | 0.4980 | 0.0000 |
|
62 |
+
| No log | 4.9942 | 432 | 1.1903 | 0.5445 | 0.0000 |
|
63 |
+
| 1.5065 | 6.0 | 519 | 1.0219 | 0.5810 | 0.0000 |
|
64 |
+
| 1.5065 | 6.9942 | 605 | 0.9065 | 0.6140 | 1e-05 |
|
65 |
+
| 1.5065 | 8.0 | 692 | 0.7955 | 0.6526 | 0.0000 |
|
66 |
+
| 1.5065 | 8.9942 | 778 | 0.6876 | 0.7032 | 0.0000 |
|
67 |
+
| 1.5065 | 10.0 | 865 | 0.6171 | 0.7536 | 0.0000 |
|
68 |
+
| 1.5065 | 10.9942 | 951 | 0.5734 | 0.7612 | 0.0000 |
|
69 |
+
| 0.7171 | 12.0 | 1038 | 0.4960 | 0.8147 | 0.0000 |
|
70 |
+
| 0.7171 | 12.9942 | 1124 | 0.4820 | 0.8358 | 0.0000 |
|
71 |
+
| 0.7171 | 14.0 | 1211 | 0.4557 | 0.8445 | 0.0000 |
|
72 |
+
| 0.7171 | 14.9942 | 1297 | 0.4596 | 0.8524 | 0.0000 |
|
73 |
+
| 0.7171 | 16.0 | 1384 | 0.4299 | 0.8651 | 0.0000 |
|
74 |
+
| 0.7171 | 16.9942 | 1470 | 0.4426 | 0.8671 | 6e-06 |
|
75 |
+
| 0.2382 | 18.0 | 1557 | 0.4280 | 0.8755 | 0.0000 |
|
76 |
+
| 0.2382 | 18.9942 | 1643 | 0.4517 | 0.8728 | 0.0000 |
|
77 |
+
| 0.2382 | 20.0 | 1730 | 0.4473 | 0.8761 | 0.0000 |
|
78 |
+
| 0.2382 | 20.9942 | 1816 | 0.4599 | 0.8798 | 0.0000 |
|
79 |
+
| 0.2382 | 22.0 | 1903 | 0.4927 | 0.8777 | 0.0000 |
|
80 |
+
| 0.2382 | 22.9942 | 1989 | 0.4768 | 0.8819 | 0.0000 |
|
81 |
+
| 0.0713 | 24.0 | 2076 | 0.4970 | 0.8808 | 0.0000 |
|
82 |
+
| 0.0713 | 24.9942 | 2162 | 0.5031 | 0.8808 | 0.0000 |
|
83 |
+
| 0.0713 | 26.0 | 2249 | 0.4807 | 0.8845 | 7e-07 |
|
84 |
+
| 0.0713 | 26.9942 | 2335 | 0.4959 | 0.8825 | 4e-07 |
|
85 |
+
| 0.0713 | 28.0 | 2422 | 0.5034 | 0.8818 | 2e-07 |
|
86 |
+
| 0.0344 | 28.9942 | 2508 | 0.5037 | 0.8818 | 0.0 |
|
87 |
+
| 0.0344 | 29.8266 | 2580 | 0.5037 | 0.8824 | 0.0 |
|
88 |
+
|
89 |
+
|
90 |
+
### Framework versions
|
91 |
+
|
92 |
+
- Transformers 4.44.2
|
93 |
+
- Pytorch 2.5.1+cu124
|
94 |
+
- Datasets 3.1.0
|
95 |
+
- Tokenizers 0.19.1
|
config.json
ADDED
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "google-bert/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,
|
12 |
+
"id2label": {
|
13 |
+
"0": "acknowledgement",
|
14 |
+
"1": "change_request",
|
15 |
+
"2": "critical",
|
16 |
+
"3": "discussion_participation",
|
17 |
+
"4": "discussion_trigger",
|
18 |
+
"5": "reference"
|
19 |
+
},
|
20 |
+
"initializer_range": 0.02,
|
21 |
+
"intermediate_size": 3072,
|
22 |
+
"label2id": {
|
23 |
+
"acknowledgement": 0,
|
24 |
+
"change_request": 1,
|
25 |
+
"critical": 2,
|
26 |
+
"discussion_participation": 3,
|
27 |
+
"discussion_trigger": 4,
|
28 |
+
"reference": 5
|
29 |
+
},
|
30 |
+
"layer_norm_eps": 1e-12,
|
31 |
+
"max_position_embeddings": 512,
|
32 |
+
"model_type": "bert",
|
33 |
+
"num_attention_heads": 12,
|
34 |
+
"num_hidden_layers": 12,
|
35 |
+
"pad_token_id": 0,
|
36 |
+
"position_embedding_type": "absolute",
|
37 |
+
"problem_type": "single_label_classification",
|
38 |
+
"torch_dtype": "float32",
|
39 |
+
"transformers_version": "4.44.2",
|
40 |
+
"type_vocab_size": 2,
|
41 |
+
"use_cache": true,
|
42 |
+
"vocab_size": 30522
|
43 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:44a303cc1712b64b17fbc68be34aef719c48465a13ea88e1fac84abea0534a41
|
3 |
+
size 437970952
|
runs/Nov12_05-02-07_3e71c030542d/events.out.tfevents.1731387735.3e71c030542d.617.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cdb3cc7d7ee2b55ba33f8a0b5183988a8851ca2dadee288760717c5d9717f5c5
|
3 |
+
size 18089
|
runs/Nov12_05-02-07_3e71c030542d/events.out.tfevents.1731391002.3e71c030542d.617.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bb92733fda0e9e2c8939837e8f429c4c4dda32a025e355031a001f585b5b1379
|
3 |
+
size 463
|
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,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": true,
|
45 |
+
"cls_token": "[CLS]",
|
46 |
+
"do_lower_case": true,
|
47 |
+
"mask_token": "[MASK]",
|
48 |
+
"model_max_length": 512,
|
49 |
+
"pad_token": "[PAD]",
|
50 |
+
"sep_token": "[SEP]",
|
51 |
+
"strip_accents": null,
|
52 |
+
"tokenize_chinese_chars": true,
|
53 |
+
"tokenizer_class": "BertTokenizer",
|
54 |
+
"unk_token": "[UNK]"
|
55 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ab30dd2797da110549b6af87c493271819f7f06eca5a7bce49dd46e9a3bb98c0
|
3 |
+
size 5240
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|