We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 541e4cf commit 5d49d74Copy full SHA for 5d49d74
src/trustyai/language/detoxify/tmarco.py
@@ -104,7 +104,7 @@ def __init__(
104
"cuda" if torch.cuda.is_available() else "cpu"
105
)
106
107
- def load_models(self, experts: list[str] = None, expert_weights: list = None):
+ def load_models(self, experts: list[str] = None, expert_weights: list = None): # pylint: disable=unsubscriptable-object
108
"""Load expert models."""
109
if expert_weights is not None:
110
self.expert_weights = expert_weights
0 commit comments