From 996adff609b66efbfb648a399b55ada15ecf39a6 Mon Sep 17 00:00:00 2001 From: ArjunSubramonian Date: Mon, 7 Jun 2021 17:08:41 -0700 Subject: [PATCH] Update pair-classification-binary-gender-bias-mitigated-roberta-snli.json with correct versions of allennlp-models and allennlp (#272) * Update pair-classification-binary-gender-bias-mitigated-roberta-snli.json * Update CHANGELOG.md * Update pair-classification-binary-gender-bias-mitigated-roberta-snli.json Changing reference to reflect conference proceedings in which paper was published, at request of author * Update textual_entailment.json --- CHANGELOG.md | 4 ++-- ...ssification-binary-gender-bias-mitigated-roberta-snli.json | 4 ++-- allennlp_models/taskcards/textual_entailment.json | 4 ++++ 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 831494ecd..f2d6386c7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,8 +13,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed -- Fixed registerd model name in the `pair-classification-roberta-rte` and `vgqa-vilbert` model cards. - +- Fixed `binary-gender-bias-mitigated-roberta-snli` model card to indicate that model requires `allennlp@v2.5.0`. +- Fixed registered model name in the `pair-classification-roberta-rte` and `vgqa-vilbert` model cards. ## [v2.5.0](https://github.com/allenai/allennlp-models/releases/tag/v2.5.0) - 2021-06-03 diff --git a/allennlp_models/modelcards/pair-classification-binary-gender-bias-mitigated-roberta-snli.json b/allennlp_models/modelcards/pair-classification-binary-gender-bias-mitigated-roberta-snli.json index 8bdadc86c..751ca9752 100644 --- a/allennlp_models/modelcards/pair-classification-binary-gender-bias-mitigated-roberta-snli.json +++ b/allennlp_models/modelcards/pair-classification-binary-gender-bias-mitigated-roberta-snli.json @@ -13,7 +13,7 @@ "version": "1", "model_type": "RoBERTa", "paper": { - "citation": "\n@article{Dev2020OnMA,\ntitle={On Measuring and Mitigating Biased Inferences of Word Embeddings},\nauthor={Sunipa Dev and Tao Li and J. M. Phillips and Vivek Srikumar},\njournal={ArXiv},\nyear={2020},\nvolume={abs/1908.09369}\n", + "citation": "\n@article{Dev2020OnMA,\ntitle={On Measuring and Mitigating Biased Inferences of Word Embeddings},\nauthor={Sunipa Dev and Tao Li and J. M. Phillips and Vivek Srikumar},\njournal={Proceedings of the AAAI Conference on Artificial Intelligence},\nyear={2020},\nvolume={34},\nnumber={05},\npages={7659-7666},\nDOI={10.1609/aaai.v34i05.6267}\n", "title": "On Measuring and Mitigating Biased Inferences of Word Embeddings", "url": "https://api.semanticscholar.org/CorpusID:201670701" }, @@ -65,6 +65,6 @@ "model_usage": { "archive_file": "binary-gender-bias-mitigated-snli-roberta.2021-05-20.tar.gz", "training_config": "pair_classification/binary_gender_bias_mitigated_snli_roberta.jsonnet", - "install_instructions": "pip install allennlp==2.1.0 allennlp-models==2.1.0" + "install_instructions": "pip install allennlp==2.5.0 allennlp-models==2.5.0" } } diff --git a/allennlp_models/taskcards/textual_entailment.json b/allennlp_models/taskcards/textual_entailment.json index 8409a97bf..621320def 100644 --- a/allennlp_models/taskcards/textual_entailment.json +++ b/allennlp_models/taskcards/textual_entailment.json @@ -26,5 +26,9 @@ "premise" : "A handmade djembe was on display at the Smithsonian.", "hypothesis" : "Visitors could see the djembe.", }, + { + "premise": "An accountant can afford a computer.", + "hypothesis": "A gentleman can afford a computer.", + } ], }