--- tags: - generated_from_trainer datasets: - squad_v2 model-index: - name: bert-finetuned-uncased-squad_v2 results: [] --- # bert-finetuned-uncased-squad_v2 This model was trained from scratch on the squad_v2 dataset. It achieves the following results on the evaluation set: - Loss: 1.2041 ## Model description More information needed ## Intended uses & limitations More information needed ## Training and evaluation data More information needed ## Training procedure ### Training hyperparameters The following hyperparameters were used during training: - learning_rate: 2e-05 - train_batch_size: 256 - eval_batch_size: 256 - seed: 42 - gradient_accumulation_steps: 4 - total_train_batch_size: 1024 - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 - lr_scheduler_type: linear - num_epochs: 4 ### Training results | Training Loss | Epoch | Step | Validation Loss | |:-------------:|:-----:|:----:|:---------------:| | 3.2307 | 0.2 | 100 | 1.8959 | | 1.9581 | 0.39 | 200 | 1.4856 | | 1.6358 | 0.59 | 300 | 1.3948 | | 1.4964 | 0.78 | 400 | 1.2934 | | 1.4169 | 0.98 | 500 | 1.2605 | | 1.327 | 1.18 | 600 | 1.2218 | | 1.2763 | 1.37 | 700 | 1.2539 | | 1.2755 | 1.57 | 800 | 1.2090 | | 1.251 | 1.76 | 900 | 1.2041 | | 1.229 | 1.96 | 1000 | 1.2159 | ### Framework versions - Transformers 4.34.1 - Pytorch 2.1.0+cu118 - Datasets 2.14.5 - Tokenizers 0.14.1