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

Commit

Permalink
Fix label namespace in experiment.jsonnet (#240)
Browse files Browse the repository at this point in the history
* fix label namespace in experiment.jsonnet

* update changelog
  • Loading branch information
AkshitaB committed Mar 31, 2021
1 parent abc7e19 commit 155fd76
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Fixed

- Fix bug in `experiment_from_huggingface.jsonnet` by changing `min_count` to have key `labels` instead of `answers`. Resolves failure of model checks that involve calling `_extend` in `vocabulary.py`
- Fixed bug in `experiment_from_huggingface.jsonnet` and `experiment.jsonnet` by changing `min_count` to have key `labels` instead of `answers`. Resolves failure of model checks that involve calling `_extend` in `vocabulary.py`


## [v2.2.0](https://github.com/allenai/allennlp-models/releases/tag/v2.2.0) - 2021-03-26
Expand Down
2 changes: 1 addition & 1 deletion test_fixtures/vision/vilbert_ve/experiment.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ local model_name = "epwalsh/bert-xsmall-dummy";
},
"train_data_path": "test_fixtures/vision/visual_entailment/sample_pairs.jsonl",
"validation_data_path": "test_fixtures/vision/visual_entailment/sample_pairs.jsonl",
"vocabulary": {"min_count": {"answers": 2}},
"vocabulary": {"min_count": {"labels": 2}},
"datasets_for_vocab_creation": ["train"],
"model": {
"type": "ve_vilbert",
Expand Down

0 comments on commit 155fd76

Please sign in to comment.