-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Text classifier runs even when explicitly disabled via command-line #13840
Comments
FWIW, the same thing happens if you disable EpsilonGreedyBandit (by leaving the defaults in place, i.e. not enabling it):
|
@stephendonner hi, this is intentional so that we build local history when changing between models. @moritzhaller to clarify. Thanks |
@stephendonner yes that is intended as we distinguish between "processors" which are building up local state as the user browses and the matching "models" which use that local state to decide which add to choose. By design the processors will always be active even if its feature is disabled so as to circumvent a cold-start of the feature did we wish to enable it later on. Hope that make sense. |
thx for confirming, @tmancey and @moritzhaller; this makes intuitive sense, and is the same (converse) for when bandit is disabled, but still processes/runs, as you mentioned during our I'll put this in my memory banks; besides the early entries:
would it make sense to somehow annotate in the logs that a particular processor (text classifier, purchase-intent classifier, bandit), even while disabled, is still actively processing, but not being used by the model, or do you see that as superfluous? (I imagine it would add more Obviously, feel free to resolve as you see appropriately, and thanks again! |
@stephendonner maybe we could augment the processor logs to indicate that the associated model is enabled/disabled, worth considering. I will close this ticket in the meantime. Thanks! |
Description
Found while testing brave/brave-core#7533 / #13395; apologies, @tmancey and @moritzhaller if this is a misunderstanding of mine in any way.
Steps to Reproduce
Build ID:
Brave 1.20.93 Chromium: 88.0.4324.96 (Official Build) dev (x86_64)
Revision 68dba2d8a0b149a1d3afac56fa74648032bcf46b-refs/branch-heads/4324@{#1784}
OS macOS Version 11.1 (Build 20C69)
--args --enable-logging=stderr --vmodule="*/bat-native-ledger/*"=6,"*/brave_rewards/*"=6,"*/bat-native-ads/*"=6,"*/bat-native-confirmations/*"=6,"*/brave_ads/*"=6,"*/brave_user_model/*"=6 --brave-ads-staging --brave-ads-debug --rewards=staging=true,reconcile-interval=5 --disable-features="TextClassification" --enable-features="EpsilonGreedyBandit"
google.com
Actual result:
It appears that both:
google.com
is correctly classified as a search engineExpected result:
I would expect, given both the command-line arg as well as the corresponding entry "Text classification feature is disabled" iin the logs, for no text-classification resources to be loaded, nor for
google.com
to be classified (correctly) as a search-engine page, since the feature should be disabled.Reproduces how often:
100%
Brave version (brave://version info)
Version/Channel Information:
Other Additional Information:
Miscellaneous Information:
The text was updated successfully, but these errors were encountered: