File tree Expand file tree Collapse file tree 2 files changed +17
-6
lines changed
Expand file tree Collapse file tree 2 files changed +17
-6
lines changed Original file line number Diff line number Diff line change 11.DEFAULT_GOAL := all
22
3+ # Determine OS (from https://gist.github.com/sighingnow/deee806603ec9274fd47)
4+
5+ UNAME_S := $(shell uname -s)
6+ ifeq ($(UNAME_S ) ,Linux)
7+ OSFLAG := linux
8+ endif
9+ ifeq ($(UNAME_S ) ,Darwin)
10+ OSFLAG := macosx
11+ endif
12+
313#
414# Set file and version for embeddings and model, plus local paths
515#
@@ -84,9 +94,9 @@ datasets = data/splitting/2019.12.0_splitting_train.tsv \
8494 data/parsing/2020.3.2_parsing_train.tsv \
8595 data/parsing/2020.3.2_parsing_test.tsv \
8696 data/parsing/2020.3.2_parsing_valid.tsv \
87- data/multitask/2020.3.19_multitask_train .tsv \
88- data/multitask/2020.3.19_multitask_test .tsv \
89- data/multitask/2020.3.19_multitask_valid .tsv
97+ data/multitask/2020.3.18_multitask_train .tsv \
98+ data/multitask/2020.3.18_multitask_test .tsv \
99+ data/multitask/2020.3.18_multitask_valid .tsv
90100
91101
92102rodrigues_datasets = data/rodrigues/clean_train.txt \
@@ -121,9 +131,10 @@ sync_model_to_s3:
121131# artefacts otherwise they can make a mess of your build! Public access to
122132# the wheel is granted with the --acl public-read flag.
123133
134+
124135.PHONY : dist
125136dist :
126- -rm build/bin build/bdist.linux-x86_64 -r
137+ -rm build/lib build/ bin build/bdist.$( OSFLAG ) * -r
127138 -rm deep_reference_parser-20* -r
128139 -rm deep_reference_parser.egg-info -r
129140 -rm dist/*
Original file line number Diff line number Diff line change 11__name__ = "deep_reference_parser"
2- __version__ = "2020.3.3 "
2+ __version__ = "2020.4.5 "
33__description__ = "Deep learning model for finding and parsing references"
44__url__ = "https://github.com/wellcometrust/deep_reference_parser"
55__author__ = "Wellcome Trust DataLabs Team"
66__author_email__ = "[email protected] " 77__license__ = "MIT"
88__splitter_model_version__ = "2020.3.6_splitting"
99__parser_model_version__ = "2020.3.8_parsing"
10- __splitparser_model_version__ = "2020.3.19_multitask "
10+ __splitparser_model_version__ = "2020.4.5_multitask "
You can’t perform that action at this time.
0 commit comments