uzw commited on
Commit
bbd7c72
·
verified ·
1 Parent(s): 360c1e8

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +21 -3
README.md CHANGED
@@ -2,11 +2,14 @@
2
  license: apache-2.0
3
  ---
4
 
5
- ### Generating Questions Given Context and Answers
 
 
 
6
 
7
  Traditional BART model is not pre-trained on QG tasks. We fine-tuned `facebook/bart-large` model using 55k human-created question answering pairs with contexts collected by [Demszky et al. (2018)](https://arxiv.org/abs/1809.02922). The dataset includes SQuAD and QA2D question answering pairs associated with contexts.
8
 
9
- ### How to use
10
  Here is how to use this model in PyTorch:
11
  ```python
12
  from transformers import BartForConditionalGeneration, BartTokenizer
@@ -46,4 +49,19 @@ for i, question in enumerate(generated_questions, 1):
46
  print(f"Generated Question {i}: {question}")
47
  ```
48
 
49
- Adjusting parameter `num_return_sequences` to generate multiple questions.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  license: apache-2.0
3
  ---
4
 
5
+ > This Question Generation model is a part of the [PlainQAFact](https://github.com/zhiwenyou103/PlainQAFact) factuality evaluation framework.
6
+
7
+
8
+ ## Generating Questions Given Context and Answers
9
 
10
  Traditional BART model is not pre-trained on QG tasks. We fine-tuned `facebook/bart-large` model using 55k human-created question answering pairs with contexts collected by [Demszky et al. (2018)](https://arxiv.org/abs/1809.02922). The dataset includes SQuAD and QA2D question answering pairs associated with contexts.
11
 
12
+ ## How to use
13
  Here is how to use this model in PyTorch:
14
  ```python
15
  from transformers import BartForConditionalGeneration, BartTokenizer
 
49
  print(f"Generated Question {i}: {question}")
50
  ```
51
 
52
+ Adjusting parameter `num_return_sequences` to generate multiple questions.
53
+
54
+
55
+ ## Citation
56
+ If you use data from PlainFact or PlainFact-summary, please cite with the following BibTex entry:
57
+ ```
58
+ @misc{you2025plainqafactautomaticfactualityevaluation,
59
+ title={PlainQAFact: Automatic Factuality Evaluation Metric for Biomedical Plain Language Summaries Generation},
60
+ author={Zhiwen You and Yue Guo},
61
+ year={2025},
62
+ eprint={2503.08890},
63
+ archivePrefix={arXiv},
64
+ primaryClass={cs.CL},
65
+ url={https://arxiv.org/abs/2503.08890},
66
+ }
67
+ ```