Prompt-Engineering and Transformer-based Question Generation and Evaluation

Rubaba Amyeen
10/29/2023
cs.CLcs.AI

No confident code implementation found for this paper. 9 possible matches can be shown below.

Abstract

Question generation has numerous applications in the educational context. Question generation can prove helpful for students when reviewing content and testing themselves. Furthermore, a question generation model can aid teachers by lessening the burden of creating assessments and other practice material. This paper aims to find the best method to generate questions from textual data through a transformer model and prompt engineering. In this research, we finetuned a pretrained distilBERT model on the SQuAD question answering dataset to generate questions. In addition to training a transformer model, prompt engineering was applied to generate questions effectively using the LLaMA model. The generated questions were compared against the baseline questions in the SQuAD dataset to evaluate the effectiveness of four different prompts. All four prompts demonstrated over 60% similarity on average. Of the prompt-generated questions, 30% achieved a high similarity score greater than 70%.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 9 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{amyeen2023promptengineering,
  title  = {Prompt-Engineering and Transformer-based Question Generation and Evaluation},
  author = {Rubaba Amyeen},
  year   = {2023},
  eprint = {2310.18867},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2310.18867v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2310.18867.svg)](https://codeofpaper.com/paper/2310.18867)

Discussion