Downloads · 30 days
11
14% of all-time downloads
Jaiminshahh/finetuned-gpt2
finetuned-gpt2 is a text generation model from Jaiminshahh. Use it when you need the model to write or continue text. It is set up for transformers.
This model card documents a GPT-2 model fine-tuned on a dataset of multiple-choice medical exam questions. The model has been trained to generate answers based on a given question and corresponding options.
Downloads · 30 days
11
14% of all-time downloads
All-time downloads
79
Public
Parameters
124M
498 MB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors498 MB · 99%
From the Hugging Face model README
This model card documents a GPT-2 model fine-tuned on a dataset of multiple-choice medical exam questions. The model has been trained to generate answers based on a given question and corresponding options.
This model can be used to automatically generate answers for multiple-choice medical exam questions. It is suited for educational purposes, quiz generation, and training applications.
182,822 training samples
The input was tokenized with Hugging Face's GPT-2 tokenizer. Data was formatted as a question followed by the answer options.
Number of Training Epochs: 20 Batch Size (Training): 64 Learning Rate: 1e-5 Mixed Precision (FP16): True
Batch Size (Evaluation): 64
Testing Data: The model was evaluated on a held-out validation set of medical exam questions. Factors: The model's ability to select the correct answer from the given options was the key evaluation factor. Metrics: Cross-entropy loss was used to monitor performance during training, with validation loss used to evaluate generalization.
Training Loss: Decreased from 1.8577 to 1.6961 over 20 epochs. Validation Loss: Decreased from 1.8692 to 1.7394, demonstrating good generalization performance.