code: def check_pretrain(pt):
      check_vocab(pt.vocab)
      check_embedding(pt.emb)
  
imports: import os
  import tempfile
  import pytest
  import numpy
  import torch
  from stanza.models.common import pretrain
  from stanza.models.common.vocab import UNK_ID
  from stanza.tests import *
label_desc: Use image node_id 3 for calling a global function with example usage: check_pretrain(pt) without return types