code: def f1_zh_score(prediction, reference, **kwargs):
      prediction_tokens = list(jieba.cut(prediction, cut_all=False))
      ground_truth_tokens = list(jieba.cut(reference, cut_all=False))
      prediction_tokens = [
          normalize_zh_answer(token) for token in prediction_tokens
      ]
      ground_truth_tokens = [
          normalize_zh_answer(token) for token in ground_truth_tokens
      ]
      prediction_tokens = [
          token for token in prediction_tokens if len(token) > 0
      ]
      ground_truth_tokens = [
          token for token in ground_truth_tokens if len(token) > 0
      ]
      return _f1_score(prediction_tokens, ground_truth_tokens)
  
imports: import difflib
  import re
  import string
  from collections import Counter
  import jieba
  from fuzzywuzzy import fuzz
  from rouge import Rouge
label_desc: Use image node_id 23 for calling a global function with example usage: f1_zh_score(prediction, reference) and returns: _f1_score