def METHOD_NAME(self, nodes: Sequence[BaseNode]) -> IndexDict:
    """Generate a PLAID index from the ColBERT checkpoint via its hugging face
    model_name.
    """
    from colbert import Indexer, Searcher, IndexUpdater
    from colbert.infra import ColBERTConfig, Run, RunConfig
    index_struct = IndexDict()
    docs_list = []
    for i, node in enumerate(nodes):
        docs_list.append(node.get_content())
        self._docs_pos_to_node_id[i] = node.node_id
        index_struct.add_node(node, text_id=str(i))
    with Run().context(
        RunConfig(index_root=self.index_path, nranks=self.ranks, gpus=self.gpus)
    ):
        config = ColBERTConfig(
            doc_maxlen=self.doc_maxlen,
            query_maxlen=self.query_maxlen,
            nbits=self.nbits,
            kmeans_niters=self.kmeans_niters,
        )
        indexer = Indexer(checkpoint=self.model_name, config=config)
        indexer.index("", collection=docs_list, overwrite=True)
        self.store = Searcher(
            index="", collection=docs_list, checkpoint=self.model_name
        )
        self.updater = IndexUpdater(
            config=config, searcher=self.store, checkpoint=self.model_name
        )
    return index_struct