code: def __init__(self, encoder_path=ENCODER_PATH, vocab_path=None):
      super().__init__(encoder_path=encoder_path, vocab_path=vocab_path)
  
      self.encoder = spm.SentencePieceProcessor()
      self.encoder.Load(ENCODER_PATH + ".model")
  
      self.start_token = self.encoder.piece_to_id("<_start_>")
      self.delimiter_token = self.encoder.piece_to_id("<_delimiter_>")
      self.end_token = self.encoder.piece_to_id("<_classify_>")
      self.cache = {}
  
file_path: finetune/finetune/base_models/oscar/encoder.py
imports: import os
  import json
  import regex
  import logging
  from functools import lru_cache
  import numpy
  import finetune
  from finetune.encoding.input_encoder import BaseEncoder, EncodedOutput, get_pairs
  from finetune.util.tokenization import normalize_nfkc, WEIRD_SPM_CHAR
  import sentencepiece
  import unicodedata
label_desc: Use image node_id 1 to create a new GPCEncoder object from inherited base classes: BaseEncoder with example: obj = GPCEncoder(encoder_path, vocab_path)