Model save
Browse filesFiles changed (5)
- README.md+45-10
- config.json+8-3
- model.safetensors+1-1
- tokenizer_config.json+3-44
- training_args.bin+2-2
12345678910111213141516171819---language: enlicense: mittags:- question-answering- pytorch- bertdatasets:- rajpurkar/squad_v2- Eladio/emrqa-msquad---<!-- This README.md file is used to generate the README on https://huggingface.co/jon-t/tiny-clinicalbert-qa --># tiny-clinicalbert-qaA 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.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.123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354---library_name: transformerslicense: mitbase_model: nlpie/tiny-clinicalberttags:- generated_from_trainermodel-index:- name: tiny-clinicalbert-qaresults: []---<!-- This model card has been generated automatically according to the information the Trainer had access to. Youshould probably proofread and complete it, then remove this comment. --># tiny-clinicalbert-qaThis model is a fine-tuned version of [nlpie/tiny-clinicalbert](https://huggingface.co/nlpie/tiny-clinicalbert) on the None dataset.## Model descriptionMore information needed## Intended uses & limitationsMore information needed## Training and evaluation dataMore information needed## Training procedure### Training hyperparametersThe following hyperparameters were used during training:- learning_rate: 3e-05- train_batch_size: 16- eval_batch_size: 8- seed: 42- optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments- lr_scheduler_type: linear- lr_scheduler_warmup_steps: 500.0- num_epochs: 5.0### Training results### Framework versions- Transformers 5.14.1- Pytorch 2.13.0+cpu- Datasets 5.0.1- Tokenizers 0.22.2
4 unmodified lines56789101112131415161718192021223 unmodified lines2627282930313233344 unmodified lines"fusion_config_map": {},"fusions": {}},"architectures": ["BertForQuestionAnswering"],"attention_probs_dropout_prob": 0.1,"cell": {},"classifier_dropout": null,"emb_size": 312,"hidden_act": "gelu","hidden_dropout_prob": 0.1,"hidden_size": 312,"initializer_range": 0.02,"intermediate_size": 1200,"layer_norm_eps": 1e-12,"max_position_embeddings": 512,"model_type": "bert",3 unmodified lines"position_embedding_type": "absolute","pre_trained": "","structure": [],"torch_dtype": "float32","transformers_version": "4.53.0","type_vocab_size": 2,"use_cache": true,"vocab_size": 28996}4 unmodified lines567891011121314151617181920212223242526273 unmodified lines3132333435363738394 unmodified lines"fusion_config_map": {},"fusions": {}},"add_cross_attention": false,"architectures": ["BertForQuestionAnswering"],"attention_probs_dropout_prob": 0.1,"bos_token_id": null,"cell": {},"classifier_dropout": null,"dtype": "float32","emb_size": 312,"eos_token_id": null,"hidden_act": "gelu","hidden_dropout_prob": 0.1,"hidden_size": 312,"initializer_range": 0.02,"intermediate_size": 1200,"is_decoder": false,"layer_norm_eps": 1e-12,"max_position_embeddings": 512,"model_type": "bert",3 unmodified lines"position_embedding_type": "absolute","pre_trained": "","structure": [],"tie_word_embeddings": true,"transformers_version": "5.14.1","type_vocab_size": 2,"use_cache": false,"vocab_size": 28996}
123version https://git-lfs.github.com/spec/v1oid sha256:7d3657b1c5b964a52ea00ad22dc81b668b3c61a6a6cac9e8710179368a7fdbd4size 55116544123version https://git-lfs.github.com/spec/v1oid sha256:8d976c76fda239976198418be4c84d6f9fa39feb895992232210f2918723a7ccsize 55116544
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950{"added_tokens_decoder": {"0": {"content": "[PAD]","lstrip": false,"normalized": false,"rstrip": false,"single_word": false,"special": true},"100": {"content": "[UNK]","lstrip": false,"normalized": false,"rstrip": false,"single_word": false,"special": true},"101": {"content": "[CLS]","lstrip": false,"normalized": false,"rstrip": false,"single_word": false,"special": true},"102": {"content": "[SEP]","lstrip": false,"normalized": false,"rstrip": false,"single_word": false,"special": true},"103": {"content": "[MASK]","lstrip": false,"normalized": false,"rstrip": false,"single_word": false,"special": true}},"clean_up_tokenization_spaces": false,"cls_token": "[CLS]","do_lower_case": false,"extra_special_tokens": {},"mask_token": "[MASK]","model_max_length": 512,"pad_token": "[PAD]",123456789{"backend": "tokenizers","cls_token": "[CLS]","do_lower_case": false,"is_local": false,"local_files_only": false,"mask_token": "[MASK]","model_max_length": 512,"pad_token": "[PAD]",
123version https://git-lfs.github.com/spec/v1oid sha256:04d002568c0d82a783b96ddf9c655d8e3f299e295fed9d6d6efb5c69ca7fe545size 5777123version https://git-lfs.github.com/spec/v1oid sha256:54f9b3b1fa256a31a6f86e846d4638120f1cd16d4937ae69e8b785ddc08841b8size 5201
README.md+45-10
config.json+8-3
model.safetensors+1-1
tokenizer_config.json+3-44
training_args.bin+2-2