Closed rvashurin closed 1 month ago
WhiteboxModel#generate
WhiteboxModel
WhiteboxModel#device()
#device
#estimate_uncertainty
Example of usage provided in temporary test_model_api.py script in the root.
test_model_api.py
WhiteboxModel#generate
renamed to #pg_generateWhiteboxModel
now acts like a proxy to it's underlying HF model - any unknown method calls will be redirected to itWhiteboxModel#device()
replaced by#device
, and old method removed - it will be responded by HF model directlyWhiteboxModel#generate
method acts exactly like it's HF models method, and returns normal model output as it's first return value#estimate_uncertainty
call with the list of estimators specified as additional argument to #generateExample of usage provided in temporary
test_model_api.py
script in the root.