Model save
Browse files- README.md +133 -0
- final_model/config.json +26 -0
- final_model/model.safetensors +3 -0
- final_model/special_tokens_map.json +7 -0
- final_model/tokenizer.json +0 -0
- final_model/tokenizer_config.json +58 -0
- final_model/training_args.bin +3 -0
- final_model/vocab.txt +0 -0
- logs/events.out.tfevents.1741531042.36c56c76e8b8.31.6 +2 -2
- model.safetensors +1 -1
README.md
ADDED
|
@@ -0,0 +1,133 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: transformers
|
| 3 |
+
base_model: SpanBERT/spanbert-large-cased
|
| 4 |
+
tags:
|
| 5 |
+
- generated_from_trainer
|
| 6 |
+
model-index:
|
| 7 |
+
- name: bert-squad2
|
| 8 |
+
results: []
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 12 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 13 |
+
|
| 14 |
+
# bert-squad2
|
| 15 |
+
|
| 16 |
+
This model is a fine-tuned version of [SpanBERT/spanbert-large-cased](https://huggingface.co/SpanBERT/spanbert-large-cased) on an unknown dataset.
|
| 17 |
+
It achieves the following results on the evaluation set:
|
| 18 |
+
- Loss: 5.9506
|
| 19 |
+
|
| 20 |
+
## Model description
|
| 21 |
+
|
| 22 |
+
More information needed
|
| 23 |
+
|
| 24 |
+
## Intended uses & limitations
|
| 25 |
+
|
| 26 |
+
More information needed
|
| 27 |
+
|
| 28 |
+
## Training and evaluation data
|
| 29 |
+
|
| 30 |
+
More information needed
|
| 31 |
+
|
| 32 |
+
## Training procedure
|
| 33 |
+
|
| 34 |
+
### Training hyperparameters
|
| 35 |
+
|
| 36 |
+
The following hyperparameters were used during training:
|
| 37 |
+
- learning_rate: 5e-05
|
| 38 |
+
- train_batch_size: 8
|
| 39 |
+
- eval_batch_size: 8
|
| 40 |
+
- seed: 42
|
| 41 |
+
- optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 42 |
+
- lr_scheduler_type: linear
|
| 43 |
+
- lr_scheduler_warmup_steps: 5
|
| 44 |
+
- num_epochs: 3.0
|
| 45 |
+
|
| 46 |
+
### Training results
|
| 47 |
+
|
| 48 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
| 49 |
+
|:-------------:|:------:|:----:|:---------------:|
|
| 50 |
+
| 1.5815 | 0.0394 | 100 | 1.1717 |
|
| 51 |
+
| 1.1525 | 0.0788 | 200 | 1.1207 |
|
| 52 |
+
| 1.1214 | 0.1182 | 300 | 1.1106 |
|
| 53 |
+
| 1.1132 | 0.1576 | 400 | 1.1067 |
|
| 54 |
+
| 1.1205 | 0.1970 | 500 | 1.1044 |
|
| 55 |
+
| 3.7006 | 0.2364 | 600 | 5.9506 |
|
| 56 |
+
| 5.9537 | 0.2758 | 700 | 5.9506 |
|
| 57 |
+
| 5.9517 | 0.3152 | 800 | 5.9506 |
|
| 58 |
+
| 5.954 | 0.3546 | 900 | 5.9506 |
|
| 59 |
+
| 5.9531 | 0.3940 | 1000 | 5.9506 |
|
| 60 |
+
| 5.9527 | 0.4334 | 1100 | 5.9506 |
|
| 61 |
+
| 5.9505 | 0.4728 | 1200 | 5.9506 |
|
| 62 |
+
| 5.9528 | 0.5122 | 1300 | 5.9506 |
|
| 63 |
+
| 5.9491 | 0.5516 | 1400 | 5.9506 |
|
| 64 |
+
| 5.9523 | 0.5910 | 1500 | 5.9506 |
|
| 65 |
+
| 5.951 | 0.6304 | 1600 | 5.9506 |
|
| 66 |
+
| 5.9526 | 0.6698 | 1700 | 5.9506 |
|
| 67 |
+
| 5.9499 | 0.7092 | 1800 | 5.9506 |
|
| 68 |
+
| 5.9513 | 0.7486 | 1900 | 5.9506 |
|
| 69 |
+
| 5.9496 | 0.7880 | 2000 | 5.9506 |
|
| 70 |
+
| 5.9528 | 0.8274 | 2100 | 5.9506 |
|
| 71 |
+
| 5.9538 | 0.8668 | 2200 | 5.9506 |
|
| 72 |
+
| 5.9535 | 0.9062 | 2300 | 5.9506 |
|
| 73 |
+
| 5.9535 | 0.9456 | 2400 | 5.9506 |
|
| 74 |
+
| 5.9521 | 0.9850 | 2500 | 5.9506 |
|
| 75 |
+
| 5.95 | 1.0244 | 2600 | 5.9506 |
|
| 76 |
+
| 5.9501 | 1.0638 | 2700 | 5.9506 |
|
| 77 |
+
| 5.9507 | 1.1032 | 2800 | 5.9506 |
|
| 78 |
+
| 5.9512 | 1.1426 | 2900 | 5.9506 |
|
| 79 |
+
| 5.9522 | 1.1820 | 3000 | 5.9506 |
|
| 80 |
+
| 5.9524 | 1.2214 | 3100 | 5.9506 |
|
| 81 |
+
| 5.9494 | 1.2608 | 3200 | 5.9506 |
|
| 82 |
+
| 5.9526 | 1.3002 | 3300 | 5.9506 |
|
| 83 |
+
| 5.953 | 1.3396 | 3400 | 5.9506 |
|
| 84 |
+
| 5.9512 | 1.3790 | 3500 | 5.9506 |
|
| 85 |
+
| 5.9533 | 1.4184 | 3600 | 5.9506 |
|
| 86 |
+
| 5.9544 | 1.4578 | 3700 | 5.9506 |
|
| 87 |
+
| 5.9514 | 1.4972 | 3800 | 5.9506 |
|
| 88 |
+
| 5.9504 | 1.5366 | 3900 | 5.9506 |
|
| 89 |
+
| 5.9527 | 1.5760 | 4000 | 5.9506 |
|
| 90 |
+
| 5.9516 | 1.6154 | 4100 | 5.9506 |
|
| 91 |
+
| 5.9492 | 1.6548 | 4200 | 5.9506 |
|
| 92 |
+
| 5.9531 | 1.6942 | 4300 | 5.9506 |
|
| 93 |
+
| 5.951 | 1.7336 | 4400 | 5.9506 |
|
| 94 |
+
| 5.9526 | 1.7730 | 4500 | 5.9506 |
|
| 95 |
+
| 5.9517 | 1.8125 | 4600 | 5.9506 |
|
| 96 |
+
| 5.9518 | 1.8519 | 4700 | 5.9506 |
|
| 97 |
+
| 5.951 | 1.8913 | 4800 | 5.9506 |
|
| 98 |
+
| 5.9521 | 1.9307 | 4900 | 5.9506 |
|
| 99 |
+
| 5.9529 | 1.9701 | 5000 | 5.9506 |
|
| 100 |
+
| 5.9502 | 2.0095 | 5100 | 5.9506 |
|
| 101 |
+
| 5.9496 | 2.0489 | 5200 | 5.9506 |
|
| 102 |
+
| 5.9505 | 2.0883 | 5300 | 5.9506 |
|
| 103 |
+
| 5.9527 | 2.1277 | 5400 | 5.9506 |
|
| 104 |
+
| 5.9523 | 2.1671 | 5500 | 5.9506 |
|
| 105 |
+
| 5.951 | 2.2065 | 5600 | 5.9506 |
|
| 106 |
+
| 5.9515 | 2.2459 | 5700 | 5.9506 |
|
| 107 |
+
| 5.9503 | 2.2853 | 5800 | 5.9506 |
|
| 108 |
+
| 5.9502 | 2.3247 | 5900 | 5.9506 |
|
| 109 |
+
| 5.9498 | 2.3641 | 6000 | 5.9506 |
|
| 110 |
+
| 5.9494 | 2.4035 | 6100 | 5.9506 |
|
| 111 |
+
| 5.9526 | 2.4429 | 6200 | 5.9506 |
|
| 112 |
+
| 5.9496 | 2.4823 | 6300 | 5.9506 |
|
| 113 |
+
| 5.9532 | 2.5217 | 6400 | 5.9506 |
|
| 114 |
+
| 5.9523 | 2.5611 | 6500 | 5.9506 |
|
| 115 |
+
| 5.9482 | 2.6005 | 6600 | 5.9506 |
|
| 116 |
+
| 5.9522 | 2.6399 | 6700 | 5.9506 |
|
| 117 |
+
| 5.9505 | 2.6793 | 6800 | 5.9506 |
|
| 118 |
+
| 5.9512 | 2.7187 | 6900 | 5.9506 |
|
| 119 |
+
| 5.9529 | 2.7581 | 7000 | 5.9506 |
|
| 120 |
+
| 5.9505 | 2.7975 | 7100 | 5.9506 |
|
| 121 |
+
| 5.9496 | 2.8369 | 7200 | 5.9506 |
|
| 122 |
+
| 5.9525 | 2.8763 | 7300 | 5.9506 |
|
| 123 |
+
| 5.9518 | 2.9157 | 7400 | 5.9506 |
|
| 124 |
+
| 5.9519 | 2.9551 | 7500 | 5.9506 |
|
| 125 |
+
| 5.9516 | 2.9945 | 7600 | 5.9506 |
|
| 126 |
+
|
| 127 |
+
|
| 128 |
+
### Framework versions
|
| 129 |
+
|
| 130 |
+
- Transformers 4.47.0
|
| 131 |
+
- Pytorch 2.5.1+cu121
|
| 132 |
+
- Datasets 3.3.1
|
| 133 |
+
- Tokenizers 0.21.0
|
final_model/config.json
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "SpanBERT/spanbert-large-cased",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"BertForQuestionAnswering"
|
| 5 |
+
],
|
| 6 |
+
"attention_probs_dropout_prob": 0.1,
|
| 7 |
+
"classifier_dropout": null,
|
| 8 |
+
"directionality": "bidi",
|
| 9 |
+
"hidden_act": "gelu",
|
| 10 |
+
"hidden_dropout_prob": 0.1,
|
| 11 |
+
"hidden_size": 1024,
|
| 12 |
+
"initializer_range": 0.02,
|
| 13 |
+
"intermediate_size": 4096,
|
| 14 |
+
"layer_norm_eps": 1e-12,
|
| 15 |
+
"max_position_embeddings": 512,
|
| 16 |
+
"model_type": "bert",
|
| 17 |
+
"num_attention_heads": 16,
|
| 18 |
+
"num_hidden_layers": 24,
|
| 19 |
+
"pad_token_id": 0,
|
| 20 |
+
"position_embedding_type": "absolute",
|
| 21 |
+
"torch_dtype": "float32",
|
| 22 |
+
"transformers_version": "4.47.0",
|
| 23 |
+
"type_vocab_size": 2,
|
| 24 |
+
"use_cache": true,
|
| 25 |
+
"vocab_size": 28996
|
| 26 |
+
}
|
final_model/model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2acc7bd90de41e3839e2baa2a6d714b99091c75169568c6a4759fa7d66196670
|
| 3 |
+
size 1330173664
|
final_model/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 |
+
}
|
final_model/tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
final_model/tokenizer_config.json
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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_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": "BertTokenizer",
|
| 57 |
+
"unk_token": "[UNK]"
|
| 58 |
+
}
|
final_model/training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:52433b75caaa3d2c7682b979093687ec5c5661c49fa8037b26e4f71163b9706f
|
| 3 |
+
size 5304
|
final_model/vocab.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
logs/events.out.tfevents.1741531042.36c56c76e8b8.31.6
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:5658c7e91a15af2002883ce2f52dfc90c364e5f652a1ac8892bfb75bc8fc2d2b
|
| 3 |
+
size 41942
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 1330173664
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2acc7bd90de41e3839e2baa2a6d714b99091c75169568c6a4759fa7d66196670
|
| 3 |
size 1330173664
|