Skip to content
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

stop instantiating detectors in analyze.report_digest #719

Open
leondz opened this issue Jun 3, 2024 · 0 comments
Open

stop instantiating detectors in analyze.report_digest #719

leondz opened this issue Jun 3, 2024 · 0 comments
Labels
detectors work on code that inherits from or manages Detector enhancement Architectural upgrades

Comments

@leondz
Copy link
Owner

leondz commented Jun 3, 2024

There's no need for it; it's slow and noisy.

Example noise:

Some weights of the model checkpoint at ynie/roberta-large-snli_mnli_fever_anli_R1_R2_R3-nli were not used when initializing RobertaForSequenceClassification: ['roberta.pooler.dense.bias', 'roberta.pooler.dense.weight']
- This IS expected if you are initializing RobertaForSequenceClassification from the checkpoint of a model trained on another task or with another architecture (e.g. initializing a BertForSequenceClassification model from a BertForPreTraining model).
- This IS NOT expected if you are initializing RobertaForSequenceClassification from the checkpoint of a model that you expect to be exactly identical (initializing a BertForSequenceClassification model from a BertForSequenceClassification model).
✔️  garak run complete in 74.03s
@leondz leondz added enhancement Architectural upgrades detectors work on code that inherits from or manages Detector labels Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
detectors work on code that inherits from or manages Detector enhancement Architectural upgrades
Projects
None yet
Development

No branches or pull requests

1 participant