8000 Remove large openie model file by gabrielStanovsky · Pull Request #1756 · allenai/allennlp · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Dec 16, 2022. It is now read-only.

Remove large openie model file #1756

Merged

Conversation

gabrielStanovsky
Copy link
Contributor
  • Remove large Open IE model file (~30mb), which was pushed accidentally.
  • Use SRL's fixture model instead, in testing the Open IE predictor.

@gabrielStanovsky
Copy link
Contributor Author

Addresses #1754

Copy link
Contributor
@matt-gardner matt-gardner left a comment

Choose a reason for hiding this comment

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

Thanks!

@matt-gardner matt-gardner merged commit 49f43ec into allenai:master Sep 12, 2018
@huntzhan
Copy link
Contributor

Hi team, this file still exists in the git history. To remove it entirely, the admin could follow this and this guides. The change requires push --force and should be done by admin of repo only.

➜  allennlp tempFile=$(mktemp)
IFS=$'\n'
for commitSHA1 in $(git rev-list --all); do
        git ls-tree -r --long "$commitSHA1" >>"$tempFile"
done
➜  allennlp sort --key 3 "$tempFile" | \
        uniq | \
        sort --key 4 --numeric-sort --reverse

100644 blob 194477803731209e32b5a16191d664e22ce7abad 34068339	allennlp/tests/fixtures/open_information_extraction/serialization/model.tar.gz
100644 blob ea037c6f6e2ab04231056ef148e033677a7e6e4c 8720384	allennlp/tests/fixtures/data/atis/atis.db
100644 blob ad35b7aaaa57cf05bba25a49136061422d659825 1373369	allennlp/service/static/lib/babel.min.js
100644 blob 8e0d573308083a7ee686b397e5bd959ec407d7cb  653066	allennlp/service/static/lib/react-dom.js
100644 blob bb4fac0613755cbada5c903a9e13df57dfa9b4c4  450896	tests/fixtures/elmo/lm_weights.hdf5
100644 blob bb4fac0613755cbada5c903a9e13df57dfa9b4c4  450896	allennlp/tests/fixtures/elmo/lm_weights.hdf5
100644 blob 6ba3daa16db3aa4b9bb26ca34835b931b845db60  450896	tests/fixtures/elmo/lm_weights.hdf5
100644 blob fff1752d3097ddc9ab2e0ff9a8bbdf13b0550be3  435427	tutorials/how_to/visualization_images/bidaf_attention_demo.png
100644 blob 18b950bed672780fdce06d7d6249d14147a0e67c  395659	tutorials/how_to/visualization_images/wikitables_overview.png
100644 blob ed8e8bb91956965ebfba0462f8e9e0483ebff459  207828	tests/fixtures/data/triviaqa-sample.tgz
100644 blob ed8e8bb91956965ebfba0462f8e9e0483ebff459  207828	allennlp/tests/fixtures/data/triviaqa-sample.tgz
100644 blob 987e696a7ead69b16071b8d9d56df57f97120f4b  175690	tutorials/how_to/debugging_images/inspect_variable.png
100644 blob fe862c48571cb01b6a554fdcb1ac400aed9fdd21  160897	tutorials/getting_started/data/cr.train

@nelson-liu
Copy link
Contributor

@huntzhan thanks for bringing this up --- the decision was made to not change the git history through force-pushing (also see #1757 (comment))

@huntzhan
Copy link
Contributor

@nelson-liu got it, thank you for your clarification.

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.

4 participants
0