class_docstr: This model can weight word embeddings, for example, with idf-values.
class_docstr_tok: ["This","model","can","weight","word","embeddings",",","for","example",",","with","idf-values","."]
code: def load(input_path):
      with open(os.path.join(input_path, "config.json")) as fIn:
          config = json.load(fIn)
  
      return WordWeights(**config)
  
file_path: sentence-transformers/sentence_transformers/models/WordWeights.py
imports: import torch
  from torch import Tensor
  from torch import nn
  from typing import List, Dict
  import os
  import json
  import logging
label_desc: Use image node_id 5 for calling the WordWeights obj's underlying member method code with example usage: obj.load(input_path) and returns: WordWeights