Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,54 +1,19 @@
|
|
| 1 |
---
|
| 2 |
-
|
| 3 |
license: mit
|
| 4 |
-
base_model: nlpie/tiny-clinicalbert
|
| 5 |
tags:
|
| 6 |
-
-
|
| 7 |
-
|
| 8 |
-
-
|
| 9 |
-
|
|
|
|
|
|
|
| 10 |
---
|
| 11 |
|
| 12 |
-
<!-- This
|
| 13 |
-
should probably proofread and complete it, then remove this comment. -->
|
| 14 |
|
| 15 |
# tiny-clinicalbert-qa
|
| 16 |
|
| 17 |
-
|
| 18 |
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
More information needed
|
| 22 |
-
|
| 23 |
-
## Intended uses & limitations
|
| 24 |
-
|
| 25 |
-
More information needed
|
| 26 |
-
|
| 27 |
-
## Training and evaluation data
|
| 28 |
-
|
| 29 |
-
More information needed
|
| 30 |
-
|
| 31 |
-
## Training procedure
|
| 32 |
-
|
| 33 |
-
### Training hyperparameters
|
| 34 |
-
|
| 35 |
-
The following hyperparameters were used during training:
|
| 36 |
-
- learning_rate: 3e-05
|
| 37 |
-
- train_batch_size: 16
|
| 38 |
-
- eval_batch_size: 8
|
| 39 |
-
- seed: 42
|
| 40 |
-
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 41 |
-
- lr_scheduler_type: linear
|
| 42 |
-
- lr_scheduler_warmup_steps: 500
|
| 43 |
-
- num_epochs: 5.0
|
| 44 |
-
|
| 45 |
-
### Training results
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
### Framework versions
|
| 50 |
-
|
| 51 |
-
- Transformers 4.53.0
|
| 52 |
-
- Pytorch 2.7.1+cu118
|
| 53 |
-
- Datasets 3.6.0
|
| 54 |
-
- Tokenizers 0.21.2
|
|
|
|
| 1 |
---
|
| 2 |
+
language: en
|
| 3 |
license: mit
|
|
|
|
| 4 |
tags:
|
| 5 |
+
- question-answering
|
| 6 |
+
- pytorch
|
| 7 |
+
- bert
|
| 8 |
+
datasets:
|
| 9 |
+
- rajpurkar/squad_v2
|
| 10 |
+
- Eladio/emrqa-msquad
|
| 11 |
---
|
| 12 |
|
| 13 |
+
<!-- This README.md file is used to generate the README on https://huggingface.co/jon-t/tiny-clinicalbert-qa -->
|
|
|
|
| 14 |
|
| 15 |
# tiny-clinicalbert-qa
|
| 16 |
|
| 17 |
+
A lightweight, domain-adapted BERT model for clinical question answering, trained on a combination of [SQuAD v2](https://huggingface.co/datasets/rajpurkar/squad_v2) and [EMRQA-MSQuAD](https://huggingface.co/datasets/Eladio/emrqa-msquad) datasets.
|
| 18 |
|
| 19 |
+
Source code for the training script is available [on GitHub](https://github.com/jon-edward/tiny-clinicalbert-qa). See [eval_results.json](https://huggingface.co/jon-t/tiny-clinicalbert-qa/blob/main/eval_results.json) for evaluation results, and [train_results.json](https://huggingface.co/jon-t/tiny-clinicalbert-qa/blob/main/train_results.json) for training results.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|