code: def train(
      data: str,
      model: str,
      vocab_size: int,
      coverage: float = 1.0,
      n_threads: int = -1,
      pad_id: int = 0,
      unk_id: int = 1,
      bos_id: int = 2,
      eos_id: int = 3,
  ) -> "BPE":
      _youtokentome_cython.BPE.train(
          data=data,
          model=model,
          vocab_size=vocab_size,
          n_threads=n_threads,
          coverage=coverage,
          pad_id=pad_id,
          unk_id=unk_id,
          bos_id=bos_id,
          eos_id=eos_id,
      )
  
      return BPE(model=model, n_threads=n_threads)
  
file_path: YouTokenToMe/youtokentome/youtokentome.py
imports: import _youtokentome_cython
  from enum import Enum
  from typing import List, Union, Optional, Collection
label_desc: Use image node_id 2 for calling the BPE obj's underlying member method code with example usage: obj.train(data, model, vocab_size, coverage, n_threads, pad_id, unk_id, bos_id, eos_id) and returns: BPE