code: def save(self, output_path: str):
      with open(
          os.path.join(output_path, "wordembedding_config.json"), "w"
      ) as fOut:
          json.dump(self.get_config_dict(), fOut, indent=2)
  
      torch.save(
          self.state_dict(),
          os.path.join(output_path, "pytorch_model.bin"),
      )
      self.tokenizer.save(output_path)
  
imports: import torch
  from torch import nn
  from typing import List
  import logging
  import gzip
  from tqdm import tqdm
  import numpy
  import os
  import json
  from ..util import import_from_string, fullname, http_get
  from .tokenizer import WordTokenizer, WhitespaceTokenizer
label_desc: Use image node_id 5 for calling the WordEmbeddings obj's underlying member method code with example usage: obj.save(output_path) without return types