0.2.7 #53
ianyfan
announced in
Announcements
0.2.7
#53
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Added:
DepCCGParser
. (credit: KentaroAOKI Add Japanese support to DepCCGParser #24)CircuitAnsatz
interface, and added three new ansätze.CCGTree
to get the children of a tree.Added a new
.tree2diagram
method toTreeReader
, extracted fromTreeReader.sentence2diagram
.TreeReaderMode
namedHEIGHT
.Checkpoint
for creating, saving and loading checkpoints for training.Changed:
discopy
andtorch
.IQPAnsatz
now post-selects in the Hadamard basis.PytorchModel
now initialises usingxavier_uniform
.CCGTree.to_json
can now be applied toNone
, returningNone
.CCGRule.infer_rule
, direction checks have been made explicit.UnarySwap
is now specified to be aunaryBoxConstructor
.BobcatParser
has been refactored for easier use with external evaluation tools.Fixed:
CCGRule.infer_rule
assigns apunc + X
instance: if the result isX\X
the assigned rule isCONJUNCTION
, otherwise the rule isREMOVE_PUNCTUATION_LEFT
(similarly for punctuation on the right).Removed:
.from_diagrams
inNumpyModel
.kwargs
parameters from several constructors.special_cases
parameter and_ob
method fromCircuitAnsatz
.This discussion was created from the release 0.2.7.
Beta Was this translation helpful? Give feedback.
All reactions