diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8ff36e098ba9ea25faec99ef2bf5ced768483975..ede1c53a4aefc9cc144ea20f57193bc5dbb886ec 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -33,11 +33,3 @@ entry: bash .clang_format.hook -i language: system files: \.(c|cc|cxx|cpp|cu|h|hpp|hxx|cuh|proto)$ -- repo: local - hooks: - - id: convert-markdown-into-html - name: convert-markdown-into-html - description: Convert README.md into index.html - entry: python .pre-commit-hooks/convert_markdown_into_html.py - language: system - files: .+README\.md$ diff --git a/.pre-commit-hooks/convert_markdown_into_html.py b/.pre-commit-hooks/convert_markdown_into_html.py deleted file mode 100644 index 66f44ef23c5d9a82436dfbe4b6bcdfc4e69ab55a..0000000000000000000000000000000000000000 --- a/.pre-commit-hooks/convert_markdown_into_html.py +++ /dev/null @@ -1,95 +0,0 @@ -import argparse -import re -import sys - -HEAD = """ - - - - - - - - - - - - - - - - -
-
- - - - - - - -""" - - -def convert_markdown_into_html(argv=None): - parser = argparse.ArgumentParser() - parser.add_argument('filenames', nargs='*', help='Filenames to fix') - args = parser.parse_args(argv) - - retv = 0 - - for filename in args.filenames: - with open( - re.sub(r"README", "index", re.sub(r"\.md$", ".html", filename)), - "w") as output: - output.write(HEAD) - with open(filename) as input: - for line in input: - output.write(line) - output.write(TAIL) - - return retv - - -if __name__ == '__main__': - sys.exit(convert_markdown_into_html()) diff --git a/ctr/index.html b/ctr/index.html deleted file mode 100644 index 78dc8e825928780f6998fbd9f8178479c4c2aa04..0000000000000000000000000000000000000000 --- a/ctr/index.html +++ /dev/null @@ -1,403 +0,0 @@ - - - - - - - - - - - - - - - - - -
-
- - - - - - - diff --git a/dssm/index.html b/dssm/index.html deleted file mode 100644 index 5c4a1a9d316821f25bbf204c3ba7698573722b94..0000000000000000000000000000000000000000 --- a/dssm/index.html +++ /dev/null @@ -1,328 +0,0 @@ - - - - - - - - - - - - - - - - - -
-
- - - - - - - diff --git a/generate_chinese_poetry/index.html b/generate_chinese_poetry/index.html deleted file mode 100644 index a5dba006b9c5c272061d9d83589e0f4c2fd6eb13..0000000000000000000000000000000000000000 --- a/generate_chinese_poetry/index.html +++ /dev/null @@ -1,65 +0,0 @@ - - - - - - - - - - - - - - - - - -
-
- - - - - - - diff --git a/generate_sequence_by_rnn_lm/index.html b/generate_sequence_by_rnn_lm/index.html deleted file mode 100644 index 17e81d9e52494efc18948f8e6e70c5d253614fbc..0000000000000000000000000000000000000000 --- a/generate_sequence_by_rnn_lm/index.html +++ /dev/null @@ -1,226 +0,0 @@ - - - - - - - - - - - - - - - - - -
-
- - - - - - - diff --git a/globally_normalized_reader/index.html b/globally_normalized_reader/index.html deleted file mode 100644 index c8c23c5bad340c7f043f662e4334e9c0f772e55e..0000000000000000000000000000000000000000 --- a/globally_normalized_reader/index.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - - - - - - - - - - - -
-
- - - - - - - diff --git a/hsigmoid/index.html b/hsigmoid/index.html deleted file mode 100644 index 738e81f25a01cfce2ef948f1bef70a38932de6fa..0000000000000000000000000000000000000000 --- a/hsigmoid/index.html +++ /dev/null @@ -1,226 +0,0 @@ - - - - - - - - - - - - - - - - - -
-
- - - - - - - diff --git a/image_classification/index.html b/image_classification/index.html deleted file mode 100644 index 48009093f9505fa425890d3103bf0c8e21073b63..0000000000000000000000000000000000000000 --- a/image_classification/index.html +++ /dev/null @@ -1,302 +0,0 @@ - - - - - - - - - - - - - - - - - -
-
- - - - - - - diff --git a/ltr/index.html b/ltr/index.html deleted file mode 100644 index 59fb2d3260e7d88841ae099fac96b00890463fdf..0000000000000000000000000000000000000000 --- a/ltr/index.html +++ /dev/null @@ -1,422 +0,0 @@ - - - - - - - - - - - - - - - - - -
-
- - - - - - - diff --git a/nce_cost/index.html b/nce_cost/index.html deleted file mode 100644 index 1a7d8271a0f8ee3a951359eda0609044f3cf5542..0000000000000000000000000000000000000000 --- a/nce_cost/index.html +++ /dev/null @@ -1,217 +0,0 @@ - - - - - - - - - - - - - - - - - -
-
- - - - - - - diff --git a/nested_sequence/index.html b/nested_sequence/index.html deleted file mode 100644 index 51f66f93f70eeb7a52e848f190b8e33ead14bbb0..0000000000000000000000000000000000000000 --- a/nested_sequence/index.html +++ /dev/null @@ -1,73 +0,0 @@ - - - - - - - - - - - - - - - - - -
-
- - - - - - - diff --git a/nested_sequence/text_classification/index.html b/nested_sequence/text_classification/index.html deleted file mode 100644 index 1838415cecd63ec95c4966d31bf0f3d0bf6beb63..0000000000000000000000000000000000000000 --- a/nested_sequence/text_classification/index.html +++ /dev/null @@ -1,302 +0,0 @@ - - - - - - - - - - - - - - - - - -
-
- - - - - - - diff --git a/neural_qa/index.html b/neural_qa/index.html deleted file mode 100644 index 53786d97abb674d298d151437035e4bdfc6b9321..0000000000000000000000000000000000000000 --- a/neural_qa/index.html +++ /dev/null @@ -1,188 +0,0 @@ - - - - - - - - - - - - - - - - - -
-
- - - - - - - diff --git a/nmt_without_attention/index.html b/nmt_without_attention/index.html deleted file mode 100644 index cf610710ddec3b6510d1fa48ce414c4a441aa59a..0000000000000000000000000000000000000000 --- a/nmt_without_attention/index.html +++ /dev/null @@ -1,412 +0,0 @@ - - - - - - - - - - - - - - - - - -
-
- - - - - - - diff --git a/scene_text_recognition/index.html b/scene_text_recognition/index.html deleted file mode 100644 index 4331b2b9636c159aedc1e96f0731e44cca9889cf..0000000000000000000000000000000000000000 --- a/scene_text_recognition/index.html +++ /dev/null @@ -1,192 +0,0 @@ - - - - - - - - - - - - - - - - - -
-
- - - - - - - diff --git a/scheduled_sampling/index.html b/scheduled_sampling/index.html deleted file mode 100644 index 8d327c4b1ad687ef18ca81302cf6dccf049cab51..0000000000000000000000000000000000000000 --- a/scheduled_sampling/index.html +++ /dev/null @@ -1,277 +0,0 @@ - - - - - - - - - - - - - - - - - -
-
- - - - - - - diff --git a/sequence_tagging_for_ner/index.html b/sequence_tagging_for_ner/index.html deleted file mode 100644 index 389f4d502c94af9f46a5e5af0a7e3c812dca8d2f..0000000000000000000000000000000000000000 --- a/sequence_tagging_for_ner/index.html +++ /dev/null @@ -1,236 +0,0 @@ - - - - - - - - - - - - - - - - - -
-
- - - - - - - diff --git a/ssd/index.html b/ssd/index.html deleted file mode 100644 index 6a2788901657e770a0e2f320637bdf3c705e19d9..0000000000000000000000000000000000000000 --- a/ssd/index.html +++ /dev/null @@ -1,293 +0,0 @@ - - - - - - - - - - - - - - - - - -
-
- - - - - - - diff --git a/text_classification/index.html b/text_classification/index.html deleted file mode 100644 index 21e4e14dacb01f9ed373798d27e3f8482f2cd13c..0000000000000000000000000000000000000000 --- a/text_classification/index.html +++ /dev/null @@ -1,262 +0,0 @@ - - - - - - - - - - - - - - - - - -
-
- - - - - - -