class_docstr: Adds adapters to the BertModel module.
class_docstr_tok: ["Adds","adapters","to","the","BertModel","module","."]
code: def set_default_language(self, language: str):
      raise ValueError(
          "`set_default_language` is not implemented for models using `adapters`. Use `set_active_adapters` instead."
      )
  
file_path: adapters/src/adapters/models/xmod/mixin_xmod.py
imports: from typing import Iterable, Tuple
  import torch.nn
  from transformers.utils import logging
  from ...composition import adjust_tensors_for_parallel_
  from ...model_mixin import EmbeddingAdaptersMixin, InvertibleAdaptersMixin, ModelBaseAdaptersMixin
label_desc: Use image node_id 5 for calling the XmodModelAdaptersMixin obj's underlying member method code with example usage: obj.set_default_language(language) without return types