This model doesn't have `encoder` attribute, and `None` cannot be subscriptable. Things all right after apply this patch: ```python def patch(): from span_marker.configuration import SpanMarkerConfig def patch_getattribute(self, key: str): try: return super(SpanMarkerConfig, self).__getattribute__(key) except AttributeError as e: try: return super(SpanMarkerConfig, self).__getattribute__("encoder")[key] except KeyError: raise e except TypeError: raise e SpanMarkerConfig.__getattribute__ = patch_getattribute ```