You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue is meant to track the possibility of some workaround to get QE to be optional at run time, as opposed to construction time (skip-cost= true).
auto nextState = encdec_->step(graph, state, hypIndices, words, batchIndices, beamSize);
return cost_->apply(nextState);
}
If I insert a bool skipCost defaulting to false as part of the arguments here and ignore the cost operation if skipCost=true and trigger the param via beamsearch (see below), there is a possibility?
jerinphilip
changed the title
Optional apply logprob computation at runtime
Optional apply logprob computation at call site instead of construction site
Feb 22, 2022
This issue is meant to track the possibility of some workaround to get QE to be optional at run time, as opposed to construction time (
skip-cost= true
).Trace:
skip-cost
:marian-dev/src/translator/scorers.cpp
Lines 41 to 43 in 08b1544
createModelFromOptions
:marian-dev/src/models/model_factory.cpp
Lines 370 to 376 in 08b1544
StepWise
:marian-dev/src/models/costs.h
Lines 309 to 313 in 08b1544
StepWise
Relevant call site:marian-dev/src/models/costs.h
Lines 360 to 369 in 08b1544
If I insert a bool
skipCost
defaulting to false as part of the arguments here and ignore the cost operation ifskipCost=true
and trigger the param via beamsearch (see below), there is a possibility?Call-site:
marian-dev/src/translator/beam_search.cpp
Line 421 in 08b1544
marian-dev/src/translator/scorers.h
Lines 129 to 138 in 08b1544
The text was updated successfully, but these errors were encountered: