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

Commit 49f43ec

Browse files
gabrielStanovskymatt-gardner
authored andcommitted
Remove large openie model file (#1756)
* removing large file * using srl test model instead of the large Open IE file
1 parent 609babe commit 49f43ec

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
Binary file not shown.

allennlp/tests/predictors/open_information_extraction_test.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def test_uses_named_inputs(self):
1313
}
1414

1515
archive = load_archive(self.FIXTURES_ROOT / \
16-
'open_information_extraction' / 'serialization' / 'model.tar.gz')
16+
'srl' / 'serialization' / 'model.tar.gz')
1717
predictor = Predictor.from_archive(archive, 'open-information-extraction')
1818

1919
result = predictor.predict_json(inputs)
@@ -44,7 +44,7 @@ def test_prediction_with_no_verbs(self):
4444
"""
4545
input1 = {"sentence": "Blah no verb sentence."}
4646
archive = load_archive(self.FIXTURES_ROOT / \
47-
'open_information_extraction' / 'serialization' / 'model.tar.gz')
47+
'srl' / 'serialization' / 'model.tar.gz')
4848
predictor = Predictor.from_archive(archive, 'open-information-extraction')
4949

5050
result = predictor.predict_json(input1)

0 commit comments

Comments
 (0)