From 6d74836c4ef5fb9dd346b6b11ec3d0b46f99997e Mon Sep 17 00:00:00 2001 From: speedcell4 Date: Thu, 30 Sep 2021 21:05:50 +0900 Subject: [PATCH 1/3] Chore: Add cliff.toml configuration for for git-cliff --- cliff.toml | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 cliff.toml diff --git a/cliff.toml b/cliff.toml new file mode 100644 index 0000000..0d345e2 --- /dev/null +++ b/cliff.toml @@ -0,0 +1,52 @@ +# configuration file for git-cliff (0.1.0) + +[changelog] +# changelog header +header = """ +# Changelog +All notable changes to this project will be documented in this file.\n +""" +# template for the changelog body +# https://tera.netlify.app/docs/#introduction +body = """ +{% if version %}\ + ## [{{ version | replace(from="v", to="") }}] - {{ timestamp | date(format="%Y-%m-%d") }} +{% else %}\ + ## [unreleased] +{% endif %}\ +{% for group, commits in commits | group_by(attribute="group") %} + ### {{ group | upper_first }} + {% for commit in commits %} + - {{ commit.message | upper_first }}\ + {% endfor %} +{% endfor %}\n +""" +# remove the leading and trailing whitespaces from the template +trim = true +# changelog footer +footer = """ + +""" + +[git] +# allow only conventional commits +# https://www.conventionalcommits.org +conventional_commits = true +# regex for parsing and grouping commits +commit_parsers = [ + { message = "^Feat*", group = "Features" }, + { message = "^Fix*", group = "Bug Fixes" }, + { message = "^Doc*", group = "Documentation" }, + { message = "^Perf*", group = "Performance" }, + { message = "^Refactor*", group = "Refactor" }, + { message = "^Style*", group = "Styling" }, + { message = "^Test*", group = "Testing" }, + { message = "^Chore\\(release\\): prepare for*", skip = true }, + { message = "^Chore*", group = "Miscellaneous Tasks" }, +] +# filter out the commits that are not matched by commit parsers +filter_commits = false +# glob pattern for matching git tags +tag_pattern = "v[0-9]*" +# regex for skipping tags +skip_tags = "v0.1.0-beta.1" From d6e0448083cfb6fa579ba4558aa360ab52ef8310 Mon Sep 17 00:00:00 2001 From: speedcell4 Date: Fri, 19 Nov 2021 18:12:50 +0900 Subject: [PATCH 2/3] Update README.md --- README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1200d43..a917353 100644 --- a/README.md +++ b/README.md @@ -90,4 +90,13 @@ print(decoder.marginals(emissions=emissions)) - [ ] Tree CRF - [ ] Non-Projective Dependency Tree (Matrix-tree Theorem) - [ ] Probabilistic Context-free Grammars (PCFG) -- [ ] Dependency Model with Valence (DMV) \ No newline at end of file +- [ ] Dependency Model with Valence (DMV) + +## Citation + +@misc{wang2020torchlatent, + title={TorchLatent: High Performance Structured Prediction in PyTorch}, + author={Yiran Wang}, + year={2020}, + howpublished = "\url{https://github.com/speedcell4/torchlatent}" +} From a033a95cb6f67bc0831d18e68cc0257acc74349a Mon Sep 17 00:00:00 2001 From: speedcell4 Date: Fri, 19 Nov 2021 18:13:05 +0900 Subject: [PATCH 3/3] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index a917353..7516561 100644 --- a/README.md +++ b/README.md @@ -94,9 +94,11 @@ print(decoder.marginals(emissions=emissions)) ## Citation +``` @misc{wang2020torchlatent, title={TorchLatent: High Performance Structured Prediction in PyTorch}, author={Yiran Wang}, year={2020}, howpublished = "\url{https://github.com/speedcell4/torchlatent}" } +```