Enterprise is seeing some issues with the ReferenceRisk and ReferenceNeed models.
I open this task to document the steps to resolve these issues for future reference. Details can be found here.
Reference-risk
- Unexpected issue: The expected response, included in the public model card, says the model would return the url domain that was parsed and assessed. It is not doing so.
To return additional reference metadata, set extended_output to True in the input. See the API doc.
- Unexpected issue: The model is failing on multiple languages (listed in the chart below) that the model card says it supports. The model card also says that the model should not be used in "Evaluating a domain that has no previous usage history in the target language Wikipedia".
This is a config issue explained in T384172#10475450. Muniza has opened an MR for this.
UPDATE: Merged and deployed. The model supports all wikis now.
Reference-need
- Receiving 500 errors ("AttributeError : 'Error' object has no attribute 'comment'")
This issue occurs because the model server didn't handle the 'Error' object returned from knowledge_integrity. (fix)
UPDATE: Merged and deployed. This kind of error now returns a proper error code and message.
- Expected Issue: The model is running slow. Seeing anywhere between 500 ms to 8 sec. Out of 10 calls, already see 4 above 2 seconds; 1 even at 8 seconds.
According to the previous load testing results, the model is running with an average latency of ~400ms on the test set. I'll do additional load tests and report back on this.
UPDATE: T384172#10499785