Skip to content
Snippets Groups Projects

Enhanced dependency parsing develop to master

Merged Mateusz Klimaszewski requested to merge develop into master
Viewing commit fd024dcc
Show latest version
5 files
+ 34
43
Compare changes
  • Side-by-side
  • Inline
Files
5
@@ -148,6 +148,7 @@ class GraphDependencyRelationModel(base.Predictor):
output = head_output
output["prediction"] = (relation_prediction.argmax(-1), head_output["prediction"])
output["rel_probability"] = relation_prediction
if labels is not None and labels[0] is not None:
if sample_weights is None: