Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TF2 porting: sequence feature #682

Merged
merged 53 commits into from
Apr 20, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
d764485
refactor: comment out obsolete code
jimthompson5802 Apr 9, 2020
4961dec
refactor: add method stubs
jimthompson5802 Apr 9, 2020
4f75302
Merge remote-tracking branch 'upstream/tf2_porting' into tf2_sequence…
jimthompson5802 Apr 9, 2020
79b9873
refactor: initial setup for passthrough and embed encorders
jimthompson5802 Apr 10, 2020
567ed2c
refactor: fix up code
jimthompson5802 Apr 10, 2020
0bc17ca
refactor: fix up code
jimthompson5802 Apr 10, 2020
e37f8d6
Merge remote-tracking branch 'upstream/tf2_porting' into tf2_sequence…
jimthompson5802 Apr 10, 2020
c755a4a
refactor: start filling stubs for SequenceInputFeature
jimthompson5802 Apr 11, 2020
38aebba
refactor: baseline SequenceInputFeature code
jimthompson5802 Apr 11, 2020
b5897af
refactor: initial setup for SequenceOutputFeature
jimthompson5802 Apr 11, 2020
f1a18e1
refactor: convert to use super class method
jimthompson5802 Apr 11, 2020
87e3b6a
refactor: convert to use super class method
jimthompson5802 Apr 11, 2020
d2847b6
refactor: add setup for loss and metric functions
jimthompson5802 Apr 11, 2020
04c654b
refactor: consolidate code to delete and setup logits method
jimthompson5802 Apr 11, 2020
f510d70
refactor: consolidate code to delete and setup for decoders
jimthompson5802 Apr 11, 2020
e395954
refactor: fix method signature
jimthompson5802 Apr 11, 2020
3d7fa95
refactor: checkpoint code
jimthompson5802 Apr 11, 2020
2ebf5a5
refactor: adapt encoders to return 'encoder_output' key
jimthompson5802 Apr 13, 2020
4e8dca2
refactor: adapt encoders to return 'encoder_output' key
jimthompson5802 Apr 14, 2020
ecfa703
refactor: start of tagger decoder
jimthompson5802 Apr 14, 2020
ea1ded5
Merge remote-tracking branch 'upstream/tf2_porting' into tf2_sequence…
jimthompson5802 Apr 14, 2020
2d25095
fix: error initializing decoder object
jimthompson5802 Apr 15, 2020
c5e4972
refactor: support new method for passing parameters to decoder
jimthompson5802 Apr 16, 2020
2950d48
refactor: initial working training loop only
jimthompson5802 Apr 18, 2020
cb627a8
refactor: add last prediction logic
jimthompson5802 Apr 18, 2020
2576ab6
refactor: fix last prediction logic
jimthompson5802 Apr 18, 2020
7d6a77d
doc: added todo clean up notes
jimthompson5802 Apr 18, 2020
3d07eb1
doc: add comments on tensor shapes
jimthompson5802 Apr 18, 2020
0233592
fix: failure in reporting probabilities
jimthompson5802 Apr 18, 2020
b171bb6
Merge remote-tracking branch 'upstream/tf2_porting' into tf2_sequence…
jimthompson5802 Apr 18, 2020
5ff730f
refactor: comply with latest design on returning encoder output
jimthompson5802 Apr 18, 2020
5c5ac2a
refactor: comply with parameter usage changes
jimthompson5802 Apr 18, 2020
0efc10d
refactor: remove obsolete code
jimthompson5802 Apr 18, 2020
56ce996
refactor: class renames
jimthompson5802 Apr 18, 2020
fc0775b
feat: add accuracy metric collection
jimthompson5802 Apr 18, 2020
d4d0adf
feat: add preplexity metric class
jimthompson5802 Apr 18, 2020
cecf799
Merge remote-tracking branch 'upstream/tf2_porting' into tf2_sequence…
jimthompson5802 Apr 18, 2020
0f3f55e
fix: corrected labeling for last accuracy
jimthompson5802 Apr 18, 2020
47921f4
refactor: add class attributes with default values
jimthompson5802 Apr 18, 2020
9ba1bfb
doc: added todo for possible clean up work
jimthompson5802 Apr 18, 2020
d9b54f3
feat: start of edit distance metric
jimthompson5802 Apr 19, 2020
10548ac
refactor: incorporate code review comments
jimthompson5802 Apr 19, 2020
de7b133
feat: add edit distance metric
jimthompson5802 Apr 19, 2020
def27bd
refactor: cast sequence metric/loss functions to handle tf.int64 values
jimthompson5802 Apr 19, 2020
7c8d6f1
feat: add token accuracy metric
jimthompson5802 Apr 20, 2020
1af76b4
Minoe cleanup in SequenceBaseFeature and SequenceInputFeature
w4nderlust Apr 20, 2020
0b8dbb1
Cleanup SequencePassthroughEncoder
w4nderlust Apr 20, 2020
236a83f
Cleanup SequenceEmbedEncoder
w4nderlust Apr 20, 2020
9342276
Cleanup all conv1d-related classes and functions
w4nderlust Apr 20, 2020
42d4c87
Merge remote-tracking branch 'upstream/tf2_porting' into tf2_sequence…
jimthompson5802 Apr 20, 2020
ca25850
Merge branch 'tf2_sequence_feature' of https://github.com/jimthompson…
jimthompson5802 Apr 20, 2020
d76ec6c
Ported ParallelCNN to TF2
w4nderlust Apr 20, 2020
4578a92
Merge branch 'tf2_sequence_feature' of github.com:jimthompson5802/lud…
w4nderlust Apr 20, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion ludwig/features/numerical_feature.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@

logger = logging.getLogger(__name__)


# TODO TF2 can we eliminate use of these customer wrapper classes?
# custom class to handle how Ludwig stores predictions
class MSELoss(MeanSquaredError):
def __init__(self, **kwargs):
Expand Down