Skip to content
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.

fix TransformerQA predictor test #145

Merged
merged 1 commit into from
Oct 9, 2020
Merged

fix TransformerQA predictor test #145

merged 1 commit into from
Oct 9, 2020

Conversation

epwalsh
Copy link
Member

@epwalsh epwalsh commented Oct 9, 2020

Quick fix to an oversight I missed in the SQuAD updates. This test randomly fails sometimes. This fixes that.

@epwalsh epwalsh requested a review from dirkgr October 9, 2020 17:45
Copy link
Member

@dirkgr dirkgr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we just replace the example with something that shouldn't fail?

@dirkgr
Copy link
Member

dirkgr commented Oct 9, 2020

Oh, it's running an untrained model. So no amount of sense in the example will make this behave properly.

@epwalsh
Copy link
Member Author

epwalsh commented Oct 9, 2020

Right

Copy link
Member

@dirkgr dirkgr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is kind of a screwy test now, but Akshita is depending on this being merged right now, so let's merge it and fix it if it becomes a problem later.

@dirkgr dirkgr merged commit 18008d0 into master Oct 9, 2020
@dirkgr dirkgr deleted the tqa-test-fix branch October 9, 2020 22:56
AkshitaB added a commit that referenced this pull request Oct 9, 2020
dirkgr added a commit that referenced this pull request Jan 26, 2021
* temporarily patch allennlp to data-loading branch

* run on vision PRs

* Updates for new data loading API (#101)

* updates for new data loading

* implement sharding for squad readers

* implement apply_token_indexers

* update tests

* fixes

* fixes

* fix

* fix image build

* make linter happy

* try setting seed

* refactor lm tests

* update CHANGELOG

* undo branch patch

* ensure vision CI runs on every commit (#120)

* ensure vision CI runs on every commit

* try fix CHANGELOG check

* improve generation dataset readers (#122)

* improve generation dataset readers

* clean up

* format

* fix TransformerQA predictor test (#145) (#146)

Co-authored-by: Evan Pete Walsh <[email protected]>

* Training config test fix (#157)

* fix training configs and config tests

* update CHANGELOG

* fix

* fix test-install CI job (#172)

* fix test-install CI job

* show pip freeze output

* fix

* fix LM training config

* fix SNLI reader

* VE model card (#189)

* task card and model card for visual entailment

* update archive

* fixes for data loading updates in core (#192)

* fixes for data loading updates in core

* fix

* fix piqa reader test

* Moving vision models (#199)

* Moving vision models

* Formatting

* Prepare for release v2.0.0rc1

* Forgot some changes in the Changelog

* Run against the main branch of allennlp

Co-authored-by: Dirk Groeneveld <[email protected]>
Co-authored-by: Akshita Bhagia <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants