Improve model card: metadata & paper link
Browse filesThis PR addresses several improvements for the model card:
- Corrects the `library_name` metadata from `pytorch` to `transformers` based on the provided usage example and model architecture in `config.json`. This ensures the automated "how to use" widget on the model page functions correctly.
- Adds the `datasets` metadata `uzw/PlainFact`, as the GitHub README for the `PlainQAFact` framework explicitly links to this dataset on the Hugging Face Hub, indicating its strong association with the model.
- Updates the introductory sentence in the model card to accurately link to the [PlainQAFact: Retrieval-augmented Factual Consistency Evaluation Metric for Biomedical Plain Language Summarization](https://huggingface.co/papers/2503.08890) paper and the [GitHub repository](https://github.com/zhiwenyou103/PlainQAFact) for better discoverability.
- Adds a top-level model card title `# uzw/bart-large-question-generation` for better structure.
- Removes the redundant GitHub link at the end of the model card, as it is now included in the introduction.
|
@@ -1,17 +1,20 @@
|
|
| 1 |
---
|
| 2 |
-
license: apache-2.0
|
| 3 |
base_model:
|
| 4 |
- facebook/bart-large
|
| 5 |
language:
|
| 6 |
- en
|
| 7 |
-
library_name:
|
|
|
|
| 8 |
pipeline_tag: text-generation
|
| 9 |
tags:
|
| 10 |
- question-generation
|
|
|
|
|
|
|
| 11 |
---
|
| 12 |
|
| 13 |
-
|
| 14 |
|
|
|
|
| 15 |
|
| 16 |
## Generating Questions Given Context and Answers
|
| 17 |
|
|
@@ -72,6 +75,4 @@ If you use this QG model in your research, please cite with the following BibTex
|
|
| 72 |
primaryClass={cs.CL},
|
| 73 |
url={https://arxiv.org/abs/2503.08890},
|
| 74 |
}
|
| 75 |
-
```
|
| 76 |
-
|
| 77 |
-
> Code: https://github.com/zhiwenyou103/PlainQAFact
|
|
|
|
| 1 |
---
|
|
|
|
| 2 |
base_model:
|
| 3 |
- facebook/bart-large
|
| 4 |
language:
|
| 5 |
- en
|
| 6 |
+
library_name: transformers
|
| 7 |
+
license: apache-2.0
|
| 8 |
pipeline_tag: text-generation
|
| 9 |
tags:
|
| 10 |
- question-generation
|
| 11 |
+
datasets:
|
| 12 |
+
- uzw/PlainFact
|
| 13 |
---
|
| 14 |
|
| 15 |
+
# uzw/bart-large-question-generation
|
| 16 |
|
| 17 |
+
This Question Generation model is part of the [PlainQAFact: Retrieval-augmented Factual Consistency Evaluation Metric for Biomedical Plain Language Summarization](https://huggingface.co/papers/2503.08890) factuality evaluation framework. For more details, refer to the [paper](https://huggingface.co/papers/2503.08890) and the [GitHub repository](https://github.com/zhiwenyou103/PlainQAFact).
|
| 18 |
|
| 19 |
## Generating Questions Given Context and Answers
|
| 20 |
|
|
|
|
| 75 |
primaryClass={cs.CL},
|
| 76 |
url={https://arxiv.org/abs/2503.08890},
|
| 77 |
}
|
| 78 |
+
```
|
|
|
|
|
|