Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@danielezhu
Copy link
Contributor

@danielezhu danielezhu commented Feb 15, 2024

Description of changes:
This PR is a follow-up of #191, where the last traces of the XSUM dataset are removed from the codebase. The integration tests that used XSUM now use Gigaword, and have had their expected values updated.

This PR also updates all of the integration tests so that ray.shutdown() is called in between the tests for each evaluation algorithm. This is used to clean up resources in between tests, and has reduced the mask disk usage during testing from ~18 GB to ~6 GB.

Lastly, this PR moves the initialization of the SummarizationAccuracy object in test_summarization_accuracy.py from the top of the file into the test method. This is required because code at the top level of every file gets run at the very start of testing, before any tests are executed. This means that the BertscoreHelperModel actor created by the SummarizationAccuracy object also gets created right from the beginning. When we call ray.shutdown() the first time, it will clean up the BertscoreHelperModel resource, meaning that by the time we execute the summarization accuracy integ test, said actor will not exist as expected, and the test will fail.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

xiaoyi-cheng
xiaoyi-cheng previously approved these changes Feb 15, 2024
oyangz
oyangz previously approved these changes Feb 15, 2024
@danielezhu danielezhu dismissed stale reviews from oyangz and xiaoyi-cheng via f7c0619 February 15, 2024 21:55
@danielezhu danielezhu merged commit c18b93d into aws:main Feb 16, 2024
@danielezhu danielezhu deleted the remove_xsum_from_integ_test branch February 16, 2024 08:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants