{"record":{"id":"6a67c4ab792c9e62","repo":"tensorflow/models","slug":"s-does-not-exist-6a67c4","errorCode":null,"errorMessage":"%s does not exist.","messagePattern":"(.+?) does not exist\\.","errorType":"exception","errorClass":"ValueError","httpStatus":null,"severity":"error","filePath":"official/nlp/finetuning/superglue/run_superglue.py","lineNumber":76,"sourceCode":"    'RTE': 'cls_accuracy',\n    'WiC': 'cls_accuracy',\n    'WSC': 'cls_accuracy',\n    'BoolQ': 'cls_accuracy',\n    'ReCoRD': 'cls_accuracy',\n    'AX-g': 'cls_accuracy',\n}\n\nAXG_CLASS_NAMES = ['entailment', 'not_entailment']\nRTE_CLASS_NAMES = ['entailment', 'not_entailment']\nCB_CLASS_NAMES = ['entailment', 'neutral', 'contradiction']\nBOOLQ_CLASS_NAMES = ['True', 'False']\n\n\ndef _override_exp_config_by_file(exp_config, exp_config_files):\n  \"\"\"Overrides an `ExperimentConfig` object by files.\"\"\"\n  for exp_config_file in exp_config_files:\n    if not tf.io.gfile.exists(exp_config_file):\n      raise ValueError('%s does not exist.' % exp_config_file)\n    params_dict.override_params_dict(\n        exp_config, exp_config_file, is_strict=True)\n\n  return exp_config\n\n\ndef _override_exp_config_by_flags(exp_config, input_meta_data):\n  \"\"\"Overrides an `ExperimentConfig` object by flags.\"\"\"\n  if FLAGS.task_name in 'AX-b':\n    override_task_cfg_fn = functools.partial(\n        binary_helper.override_sentence_prediction_task_config,\n        num_classes=input_meta_data['num_labels'],\n        metric_type='matthews_corrcoef')\n  elif FLAGS.task_name in ('CB', 'COPA', 'RTE', 'WiC', 'WSC', 'BoolQ', 'ReCoRD',\n                           'AX-g'):\n    override_task_cfg_fn = functools.partial(\n        binary_helper.override_sentence_prediction_task_config,\n        num_classes=input_meta_data['num_labels'])","sourceCodeStart":58,"sourceCodeEnd":94,"githubUrl":"https://github.com/tensorflow/models/blob/e006f5f0d534913e49c1f1dae87364039fa607e2/official/nlp/finetuning/superglue/run_superglue.py#L58-L94","documentation":"Error \"%s does not exist.\" thrown in tensorflow/models.","triggerScenarios":"Thrown at official/nlp/finetuning/superglue/run_superglue.py:76 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"e006f5f0d534913e49c1f1dae87364039fa607e2","analyzedAt":"2026-08-24T14:09:15.576Z","schemaVersion":2},"datasetVersion":"2026-08-24T17:17:21.512Z"}