djsull/aha_class_v1
Browse files- README.md +19 -16
- config.json +17 -11
- model.safetensors +2 -2
- runs/Sep27_08-46-43_129-146-79-76/events.out.tfevents.1727426804.129-146-79-76.1524859.0 +3 -0
- runs/Sep27_08-46-43_129-146-79-76/events.out.tfevents.1727427293.129-146-79-76.1524859.1 +3 -0
- special_tokens_map.json +2 -2
- tokenizer.json +0 -0
- tokenizer_config.json +23 -7
- training_args.bin +1 -1
- vocab.txt +0 -0
README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
---
|
| 2 |
-
base_model:
|
| 3 |
tags:
|
| 4 |
- generated_from_trainer
|
| 5 |
metrics:
|
|
@@ -15,12 +15,12 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 15 |
|
| 16 |
# aha_class_v1
|
| 17 |
|
| 18 |
-
This model is a fine-tuned version of [
|
| 19 |
It achieves the following results on the evaluation set:
|
| 20 |
-
- Loss: 0.
|
| 21 |
-
- F1: 0.
|
| 22 |
-
- Roc Auc: 0.
|
| 23 |
-
- Accuracy: 0.
|
| 24 |
|
| 25 |
## Model description
|
| 26 |
|
|
@@ -51,16 +51,19 @@ The following hyperparameters were used during training:
|
|
| 51 |
|
| 52 |
| Training Loss | Epoch | Step | Validation Loss | F1 | Roc Auc | Accuracy |
|
| 53 |
|:-------------:|:-----:|:----:|:---------------:|:------:|:-------:|:--------:|
|
| 54 |
-
| No log | 1.0 | 42 | 0.
|
| 55 |
-
| No log | 2.0 | 84 | 0.
|
| 56 |
-
| No log | 3.0 | 126 | 0.
|
| 57 |
-
| No log | 4.0 | 168 | 0.
|
| 58 |
-
| No log | 5.0 | 210 | 0.
|
| 59 |
-
| No log | 6.0 | 252 | 0.
|
| 60 |
-
| No log | 7.0 | 294 | 0.
|
| 61 |
-
| No log | 8.0 | 336 | 0.
|
| 62 |
-
| No log | 9.0 | 378 | 0.
|
| 63 |
-
| No log | 10.0 | 420 | 0.
|
|
|
|
|
|
|
|
|
|
| 64 |
|
| 65 |
|
| 66 |
### Framework versions
|
|
|
|
| 1 |
---
|
| 2 |
+
base_model: monologg/kobigbird-bert-base
|
| 3 |
tags:
|
| 4 |
- generated_from_trainer
|
| 5 |
metrics:
|
|
|
|
| 15 |
|
| 16 |
# aha_class_v1
|
| 17 |
|
| 18 |
+
This model is a fine-tuned version of [monologg/kobigbird-bert-base](https://huggingface.co/monologg/kobigbird-bert-base) on an unknown dataset.
|
| 19 |
It achieves the following results on the evaluation set:
|
| 20 |
+
- Loss: 0.0796
|
| 21 |
+
- F1: 0.9623
|
| 22 |
+
- Roc Auc: 0.9721
|
| 23 |
+
- Accuracy: 0.9478
|
| 24 |
|
| 25 |
## Model description
|
| 26 |
|
|
|
|
| 51 |
|
| 52 |
| Training Loss | Epoch | Step | Validation Loss | F1 | Roc Auc | Accuracy |
|
| 53 |
|:-------------:|:-----:|:----:|:---------------:|:------:|:-------:|:--------:|
|
| 54 |
+
| No log | 1.0 | 42 | 0.3116 | 0.9256 | 0.9463 | 0.8870 |
|
| 55 |
+
| No log | 2.0 | 84 | 0.1718 | 0.9746 | 0.9788 | 0.9565 |
|
| 56 |
+
| No log | 3.0 | 126 | 0.1375 | 0.9576 | 0.9659 | 0.9391 |
|
| 57 |
+
| No log | 4.0 | 168 | 0.1007 | 0.9702 | 0.9746 | 0.9565 |
|
| 58 |
+
| No log | 5.0 | 210 | 0.0927 | 0.9617 | 0.9682 | 0.9478 |
|
| 59 |
+
| No log | 6.0 | 252 | 0.0927 | 0.9617 | 0.9682 | 0.9478 |
|
| 60 |
+
| No log | 7.0 | 294 | 0.0910 | 0.9617 | 0.9682 | 0.9478 |
|
| 61 |
+
| No log | 8.0 | 336 | 0.0796 | 0.9623 | 0.9721 | 0.9478 |
|
| 62 |
+
| No log | 9.0 | 378 | 0.0953 | 0.9580 | 0.9679 | 0.9391 |
|
| 63 |
+
| No log | 10.0 | 420 | 0.0796 | 0.9661 | 0.9724 | 0.9565 |
|
| 64 |
+
| No log | 11.0 | 462 | 0.0890 | 0.9580 | 0.9679 | 0.9391 |
|
| 65 |
+
| 0.1161 | 12.0 | 504 | 0.0910 | 0.9580 | 0.9679 | 0.9391 |
|
| 66 |
+
| 0.1161 | 13.0 | 546 | 0.0916 | 0.9580 | 0.9679 | 0.9391 |
|
| 67 |
|
| 68 |
|
| 69 |
### Framework versions
|
config.json
CHANGED
|
@@ -1,14 +1,16 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "
|
| 3 |
"architectures": [
|
| 4 |
-
"
|
| 5 |
],
|
| 6 |
"attention_probs_dropout_prob": 0.1,
|
| 7 |
-
"
|
|
|
|
|
|
|
| 8 |
"classifier_dropout": null,
|
| 9 |
-
"eos_token_id":
|
| 10 |
"gradient_checkpointing": false,
|
| 11 |
-
"hidden_act": "
|
| 12 |
"hidden_dropout_prob": 0.1,
|
| 13 |
"hidden_size": 768,
|
| 14 |
"id2label": {
|
|
@@ -23,18 +25,22 @@
|
|
| 23 |
"Service": 1,
|
| 24 |
"Token": 2
|
| 25 |
},
|
| 26 |
-
"layer_norm_eps": 1e-
|
| 27 |
-
"max_position_embeddings":
|
| 28 |
-
"model_type": "
|
| 29 |
"num_attention_heads": 12,
|
| 30 |
"num_hidden_layers": 12,
|
| 31 |
-
"
|
|
|
|
| 32 |
"position_embedding_type": "absolute",
|
| 33 |
"problem_type": "multi_label_classification",
|
|
|
|
|
|
|
| 34 |
"tokenizer_class": "BertTokenizer",
|
| 35 |
"torch_dtype": "float32",
|
| 36 |
"transformers_version": "4.42.3",
|
| 37 |
-
"type_vocab_size":
|
|
|
|
| 38 |
"use_cache": true,
|
| 39 |
-
"vocab_size":
|
| 40 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "monologg/kobigbird-bert-base",
|
| 3 |
"architectures": [
|
| 4 |
+
"BigBirdForSequenceClassification"
|
| 5 |
],
|
| 6 |
"attention_probs_dropout_prob": 0.1,
|
| 7 |
+
"attention_type": "block_sparse",
|
| 8 |
+
"block_size": 64,
|
| 9 |
+
"bos_token_id": 5,
|
| 10 |
"classifier_dropout": null,
|
| 11 |
+
"eos_token_id": 6,
|
| 12 |
"gradient_checkpointing": false,
|
| 13 |
+
"hidden_act": "gelu_new",
|
| 14 |
"hidden_dropout_prob": 0.1,
|
| 15 |
"hidden_size": 768,
|
| 16 |
"id2label": {
|
|
|
|
| 25 |
"Service": 1,
|
| 26 |
"Token": 2
|
| 27 |
},
|
| 28 |
+
"layer_norm_eps": 1e-12,
|
| 29 |
+
"max_position_embeddings": 4096,
|
| 30 |
+
"model_type": "big_bird",
|
| 31 |
"num_attention_heads": 12,
|
| 32 |
"num_hidden_layers": 12,
|
| 33 |
+
"num_random_blocks": 3,
|
| 34 |
+
"pad_token_id": 0,
|
| 35 |
"position_embedding_type": "absolute",
|
| 36 |
"problem_type": "multi_label_classification",
|
| 37 |
+
"rescale_embeddings": false,
|
| 38 |
+
"sep_token_id": 3,
|
| 39 |
"tokenizer_class": "BertTokenizer",
|
| 40 |
"torch_dtype": "float32",
|
| 41 |
"transformers_version": "4.42.3",
|
| 42 |
+
"type_vocab_size": 2,
|
| 43 |
+
"use_bias": true,
|
| 44 |
"use_cache": true,
|
| 45 |
+
"vocab_size": 32500
|
| 46 |
}
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3f7544ab951561caa653b97aa5d56430ae1f2c4b02f9fdb24fba7b62542ff90f
|
| 3 |
+
size 457410764
|
runs/Sep27_08-46-43_129-146-79-76/events.out.tfevents.1727426804.129-146-79-76.1524859.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:54e2374ae50fc2a5c58a6043cd885fee13c05722aa1ab9da2dc8ed8b0d57ff77
|
| 3 |
+
size 11308
|
runs/Sep27_08-46-43_129-146-79-76/events.out.tfevents.1727427293.129-146-79-76.1524859.1
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1b9dd88b902c2d1cae14fb17faf22c851c0e2d6e7c6bf659fed291fb31185870
|
| 3 |
+
size 508
|
special_tokens_map.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
{
|
| 2 |
"bos_token": {
|
| 3 |
-
"content": "
|
| 4 |
"lstrip": false,
|
| 5 |
"normalized": false,
|
| 6 |
"rstrip": false,
|
|
@@ -14,7 +14,7 @@
|
|
| 14 |
"single_word": false
|
| 15 |
},
|
| 16 |
"eos_token": {
|
| 17 |
-
"content": "
|
| 18 |
"lstrip": false,
|
| 19 |
"normalized": false,
|
| 20 |
"rstrip": false,
|
|
|
|
| 1 |
{
|
| 2 |
"bos_token": {
|
| 3 |
+
"content": "<s>",
|
| 4 |
"lstrip": false,
|
| 5 |
"normalized": false,
|
| 6 |
"rstrip": false,
|
|
|
|
| 14 |
"single_word": false
|
| 15 |
},
|
| 16 |
"eos_token": {
|
| 17 |
+
"content": "</s>",
|
| 18 |
"lstrip": false,
|
| 19 |
"normalized": false,
|
| 20 |
"rstrip": false,
|
tokenizer.json
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer_config.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
{
|
| 2 |
"added_tokens_decoder": {
|
| 3 |
"0": {
|
| 4 |
-
"content": "[
|
| 5 |
"lstrip": false,
|
| 6 |
"normalized": false,
|
| 7 |
"rstrip": false,
|
|
@@ -9,7 +9,7 @@
|
|
| 9 |
"special": true
|
| 10 |
},
|
| 11 |
"1": {
|
| 12 |
-
"content": "[
|
| 13 |
"lstrip": false,
|
| 14 |
"normalized": false,
|
| 15 |
"rstrip": false,
|
|
@@ -17,7 +17,7 @@
|
|
| 17 |
"special": true
|
| 18 |
},
|
| 19 |
"2": {
|
| 20 |
-
"content": "[
|
| 21 |
"lstrip": false,
|
| 22 |
"normalized": false,
|
| 23 |
"rstrip": false,
|
|
@@ -25,7 +25,7 @@
|
|
| 25 |
"special": true
|
| 26 |
},
|
| 27 |
"3": {
|
| 28 |
-
"content": "[
|
| 29 |
"lstrip": false,
|
| 30 |
"normalized": false,
|
| 31 |
"rstrip": false,
|
|
@@ -39,16 +39,32 @@
|
|
| 39 |
"rstrip": false,
|
| 40 |
"single_word": false,
|
| 41 |
"special": true
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 42 |
}
|
| 43 |
},
|
| 44 |
-
"bos_token": "
|
| 45 |
"clean_up_tokenization_spaces": true,
|
| 46 |
"cls_token": "[CLS]",
|
| 47 |
"do_basic_tokenize": true,
|
| 48 |
"do_lower_case": false,
|
| 49 |
-
"eos_token": "
|
| 50 |
"mask_token": "[MASK]",
|
| 51 |
-
"model_max_length":
|
| 52 |
"never_split": null,
|
| 53 |
"pad_token": "[PAD]",
|
| 54 |
"sep_token": "[SEP]",
|
|
|
|
| 1 |
{
|
| 2 |
"added_tokens_decoder": {
|
| 3 |
"0": {
|
| 4 |
+
"content": "[PAD]",
|
| 5 |
"lstrip": false,
|
| 6 |
"normalized": false,
|
| 7 |
"rstrip": false,
|
|
|
|
| 9 |
"special": true
|
| 10 |
},
|
| 11 |
"1": {
|
| 12 |
+
"content": "[UNK]",
|
| 13 |
"lstrip": false,
|
| 14 |
"normalized": false,
|
| 15 |
"rstrip": false,
|
|
|
|
| 17 |
"special": true
|
| 18 |
},
|
| 19 |
"2": {
|
| 20 |
+
"content": "[CLS]",
|
| 21 |
"lstrip": false,
|
| 22 |
"normalized": false,
|
| 23 |
"rstrip": false,
|
|
|
|
| 25 |
"special": true
|
| 26 |
},
|
| 27 |
"3": {
|
| 28 |
+
"content": "[SEP]",
|
| 29 |
"lstrip": false,
|
| 30 |
"normalized": false,
|
| 31 |
"rstrip": false,
|
|
|
|
| 39 |
"rstrip": false,
|
| 40 |
"single_word": false,
|
| 41 |
"special": true
|
| 42 |
+
},
|
| 43 |
+
"5": {
|
| 44 |
+
"content": "<s>",
|
| 45 |
+
"lstrip": false,
|
| 46 |
+
"normalized": false,
|
| 47 |
+
"rstrip": false,
|
| 48 |
+
"single_word": false,
|
| 49 |
+
"special": true
|
| 50 |
+
},
|
| 51 |
+
"6": {
|
| 52 |
+
"content": "</s>",
|
| 53 |
+
"lstrip": false,
|
| 54 |
+
"normalized": false,
|
| 55 |
+
"rstrip": false,
|
| 56 |
+
"single_word": false,
|
| 57 |
+
"special": true
|
| 58 |
}
|
| 59 |
},
|
| 60 |
+
"bos_token": "<s>",
|
| 61 |
"clean_up_tokenization_spaces": true,
|
| 62 |
"cls_token": "[CLS]",
|
| 63 |
"do_basic_tokenize": true,
|
| 64 |
"do_lower_case": false,
|
| 65 |
+
"eos_token": "</s>",
|
| 66 |
"mask_token": "[MASK]",
|
| 67 |
+
"model_max_length": 4096,
|
| 68 |
"never_split": null,
|
| 69 |
"pad_token": "[PAD]",
|
| 70 |
"sep_token": "[SEP]",
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 5112
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:925348b829f5ec55e7d35fd3744a5b98a5af4861be2064125dfdc907294131ba
|
| 3 |
size 5112
|
vocab.txt
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|