code: def main():
      """
      python kg2instruction/evaluate.py \
          --standard_path data/NER/processed.json \
          --submit_path data/NER/processed.json \
          --task NER \
          --language zh
      """
      parse = argparse.ArgumentParser()
      parse.add_argument(
          "--standard_path", type=str, default="data/NER/processed.json"
      )
      parse.add_argument(
          "--submit_path", type=str, default="results/ner_test.json"
      )
      parse.add_argument(
          "--task",
          type=str,
          default="RE",
          choices=["NER", "RE", "EE", "EET", "EEA"],
      )
      parse.add_argument(
          "--language", type=str, default="zh", choices=["zh", "en"]
      )
      parse.add_argument("--NAN", type=str, default="")
      parse.add_argument("--prefix", type=str, default="")
      parse.add_argument("--match_mode", type=str, default="set")
      parse.add_argument("--metrics_list", type=str, default="f1")
      options = parse.parse_args()
  
      evaluate(options)
  
file_path: DeepKE/example/llm/InstructKGC/kg2instruction/evaluate.py
imports: import sys
  import json
  import re
  import argparse
  from eval.metrics import Metric, EEMetric
  from eval.extracter import NERExtractor, REExtractor, EEExtractor, EETExtractor, EEAExtractor
label_desc: Use image node_id 5 for calling a global function with example usage: main() without return types