-
Notifications
You must be signed in to change notification settings - Fork 38
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
Quality scores when responseOptions.qualityScores:true
but skip-cost:true
#361
Comments
There is also a solution where the client does not try to do the above. In the short term, @abhi-agg is expected to know this caveat. Values being not within limits should be signal enough. A neat way to solve the general problem is perhaps to leak model information ( Use the following information:
Pass required stuff indicating capability of
There is also a config UI problem: |
I know, but that feels like a you're holding it wrong type of solution. I think I like most of your solution. If we could expose the (parsed?!) model config options through public interface of I'm pretty happy with having a std::string (or the Yaml datastructure that marian uses) as the configuration. That way bergamot-translator doesn't need code changes to be synced with every update to marian. My initial idea was to figure out where QualityEstimator gets its values from from the History object, and then see whether I can make it detect that those values are uninitialised. Similar to how |
This information doesn't need to leak via |
Do not disagree. However, setting the correct YAML + ResponseOptions is necessary at the client. Is a 2 line change. The C++ change proposed here to trigger an ABORT is a larger change. The ABORT is intended for a developer to know and set the right config, there's no recovery given the WASM exception state. Is this really what we want to wait on for implementing QE? A competent developer should be able to navigate and simplify all our lives, allowing an eventual fix?
This is a feasible idea. For a Since I'm assigned this, please treat this as intimation, that I'm not going to get around to solving this until ARM and separate graphs from workspaces are solved (particularly to help @abhi-agg schedule). |
Oh no this is in no way blocking. Just intended as a convenience feature and a way to prevent wrong output( as opposed to an error message) in case of a mistake |
I am completely aware of the caveats.
This issue is not blocking QE integration. I just left my opinion regarding the solution. |
When
responseOptions.qualityScores:true
is used with a model that hasskip-cost:true
, the quality scores output is still there and there is no error message. However, they average around 20 instead of the -0.1…-0.9 ish?I'd expected that it would fail on an ABORT, instead of return completely different scores.
The text was updated successfully, but these errors were encountered: