From 90517cc320f8d5b6a652483fe38f34ccc5a1a660 Mon Sep 17 00:00:00 2001 From: caoying03 Date: Fri, 21 Apr 2017 15:04:39 +0800 Subject: [PATCH] make working directories for example configurations. --- .pre-commit-config.yaml | 27 +++++++++++++++++++++++++++ .style.yapf | 3 +++ README.md | 2 +- language_model/README.md | 0 ltr/README.md | 0 mt_with_external_memory/README.md | 0 nce_cost/README.md | 0 nested_sequence/README.md | 0 ntm/README.md | 0 regression/README.md | 0 scheduled_sampling/README.md | 0 seq2seq/README.md | 0 sequence_tagging_for_ner/README.md | 0 text_classification/README.md | 0 word_embedding/README.md | 0 15 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 .pre-commit-config.yaml create mode 100644 .style.yapf create mode 100644 language_model/README.md create mode 100644 ltr/README.md create mode 100644 mt_with_external_memory/README.md create mode 100644 nce_cost/README.md create mode 100644 nested_sequence/README.md create mode 100644 ntm/README.md create mode 100644 regression/README.md create mode 100644 scheduled_sampling/README.md create mode 100644 seq2seq/README.md create mode 100644 sequence_tagging_for_ner/README.md create mode 100644 text_classification/README.md create mode 100644 word_embedding/README.md diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 00000000..4efc176f --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,27 @@ +- repo: https://github.com/pre-commit/mirrors-yapf.git + sha: v0.16.0 + hooks: + - id: yapf + files: \.py$ +- repo: https://github.com/pre-commit/pre-commit-hooks + sha: a11d9314b22d8f8c7556443875b731ef05965464 + hooks: + - id: check-merge-conflict + - id: check-symlinks + - id: detect-private-key + files: (?!.*paddle)^.*$ + - id: end-of-file-fixer + files: \.md$ + - id: trailing-whitespace + files: \.md$ +- repo: https://github.com/Lucas-C/pre-commit-hooks + sha: v1.0.1 + hooks: + - id: forbid-crlf + files: \.md$ + - id: remove-crlf + files: \.md$ + - id: forbid-tabs + files: \.md$ + - id: remove-tabs + files: \.md$ diff --git a/.style.yapf b/.style.yapf new file mode 100644 index 00000000..4741fb4f --- /dev/null +++ b/.style.yapf @@ -0,0 +1,3 @@ +[style] +based_on_style = pep8 +column_limit = 80 diff --git a/README.md b/README.md index 400df088..1260ee57 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,2 @@ # models -Model configureations +Model configurations diff --git a/language_model/README.md b/language_model/README.md new file mode 100644 index 00000000..e69de29b diff --git a/ltr/README.md b/ltr/README.md new file mode 100644 index 00000000..e69de29b diff --git a/mt_with_external_memory/README.md b/mt_with_external_memory/README.md new file mode 100644 index 00000000..e69de29b diff --git a/nce_cost/README.md b/nce_cost/README.md new file mode 100644 index 00000000..e69de29b diff --git a/nested_sequence/README.md b/nested_sequence/README.md new file mode 100644 index 00000000..e69de29b diff --git a/ntm/README.md b/ntm/README.md new file mode 100644 index 00000000..e69de29b diff --git a/regression/README.md b/regression/README.md new file mode 100644 index 00000000..e69de29b diff --git a/scheduled_sampling/README.md b/scheduled_sampling/README.md new file mode 100644 index 00000000..e69de29b diff --git a/seq2seq/README.md b/seq2seq/README.md new file mode 100644 index 00000000..e69de29b diff --git a/sequence_tagging_for_ner/README.md b/sequence_tagging_for_ner/README.md new file mode 100644 index 00000000..e69de29b diff --git a/text_classification/README.md b/text_classification/README.md new file mode 100644 index 00000000..e69de29b diff --git a/word_embedding/README.md b/word_embedding/README.md new file mode 100644 index 00000000..e69de29b -- GitLab