class_docstr: Unique Evaluator. Now, we support metrics `'unique'`.
      
class_docstr_tok: ["Unique","Evaluator",".","Now",",","we","support","metrics","`","'unique","'","`","."]
code: def __init__(self, config):
      super(UniqueEvaluator, self).__init__(config)
      self.unique_max_ngrams = config["unique_max_ngrams"]
  
imports: from collections import Counter
  from .abstract_evaluator import AbstractEvaluator
label_desc: Use image node_id 1 to create a new UniqueEvaluator object from inherited base classes: AbstractEvaluator with example: obj = UniqueEvaluator(config)